Posted on 06-05-2019 02:44 PM
We recently setup NetSUS on an Ubuntu VM that we'd like to use to push out certain updates to our users. The install seemed to go fine: Installed the service, changed the IP to the Static IP dedicated to it, and changed the login user passwords. However, when I try to sync the System Update Server manually, nothing happens.
If I check the logs for Reposado_sync.py, I get this output:
Here's the text output:
(in the interest of saving space, I've deleted entries from 5/27 to 6/4 because it's the exact same two lines on all those days)
May 24 14:41:40 repo_sync run started
May 24 14:41:40 Downloading 5635386 bytes from https://swscan.apple.com/content/catalogs/others/index-10.11-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog...
May 24 14:41:41 562 products found in https://swscan.apple.com/content/catalogs/others/index-10.11-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog
May 24 14:41:41 Downloading 1359 bytes from http://swcdn.apple.com/content/downloads/05/56/031-02368/a0h5nceqb9kjzzs3eus566vngukimq9j86/BootCampESD.smd...
May 24 14:41:41 Downloading 629362811 bytes from http://swcdn.apple.com/content/downloads/05/56/031-02368/a0h5nceqb9kjzzs3eus566vngukimq9j86/BootCampESD.pkg...
May 24 14:44:42 repo_sync run started
May 24 14:44:43 562 products found in https://swscan.apple.com/content/catalogs/others/index-10.11-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog
May 24 14:45:32 repo_sync run started
May 24 14:45:33 562 products found in https://swscan.apple.com/content/catalogs/others/index-10.11-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog
May 24 14:51:51 repo_sync run started
May 24 14:51:52 562 products found in https://swscan.apple.com/content/catalogs/others/index-10.11-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog
May 25 03:00:01 repo_sync run started
May 25 03:00:02 562 products found in https://swscan.apple.com/content/catalogs/others/index-10.11-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog
May 26 03:00:01 repo_sync run started
May 26 03:00:02 562 products found in https://swscan.apple.com/content/catalogs/others/index-10.11-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog
(Repeats for days)
Jun 04 03:00:01 repo_sync run started
Jun 04 03:00:02 Downloading 5644324 bytes from https://swscan.apple.com/content/catalogs/others/index-10.11-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog...
Jun 04 03:00:02 563 products found in https://swscan.apple.com/content/catalogs/others/index-10.11-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog
Jun 05 03:00:01 repo_sync run started
Jun 05 03:00:02 Downloading 5636038 bytes from https://swscan.apple.com/content/catalogs/others/index-10.11-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog...
Jun 05 03:00:03 562 products found in https://swscan.apple.com/content/catalogs/others/index-10.11-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog
Jun 05 13:59:26 repo_sync run started
Jun 05 13:59:27 562 products found in https://swscan.apple.com/content/catalogs/others/index-10.11-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog
Jun 05 13:59:56 repo_sync run started
Jun 05 13:59:57 562 products found in https://swscan.apple.com/content/catalogs/others/index-10.11-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog
Jun 05 14:32:15 repo_sync run started
Jun 05 14:32:16 562 products found in https://swscan.apple.com/content/catalogs/others/index-10.11-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog
It looks like it starts to try and download the updates then stops when the sync runs again, and nothing further gets pulled down.
Not sure what the issue is, especially since my Linux Fu is weak. I can try scrapping the whole thing and starting over if I misstepped somewhere, but I just don't know enough about Linux to know where I went wrong.
I followed all the steps in the ReadMe doc on NetSUS's GitHub page, but it still ended up this way.
Any assistance on this matter would be great, as we've been without Updates for a couple of weeks now due to this issue.
Thanks!
Posted on 07-20-2019 07:15 AM
Any update to you progress? I have the same problem.
Posted on 07-25-2019 10:17 AM
Nope, No answers. No one has been able to assist with this at all. And now I'm having even more problems with this hackneyed piece of software:
I just did a wipe and reinstall of the whole system and NetSUS, and when booting up the new version of the NetSUS, I'm getting these pre-loaded branches and bad catalog URLs.
This program is poorly put together, I find. I'm almost tempted to go and buy the last version of Mac Server that includes an SUS, at least that way I know that I can just turn on the damn thing an it should work as opposed to this junk software.
I'm really displeased with it and it's lack of support for peple who are not Linus Torvalds.
Just go to content caching unless your business is forcing you to go the NetSUS server route. It's not worth the headache and lack of interest from the support community.
Posted on 07-25-2019 11:52 AM
@HashMaster9000 Are you using a base Ubuntu OS install, or one that's built and configured for your Enterprise environment? The screenshot you posted looks a while lot like what I saw attempting to install NetSUS 5 on a RHEL 7 VM in my environment which is locked down 6 ways from Sunday by corporate policy. If I install it on a base RHEL 7 VM running in VMware Fusion on my Mac it installs and configures fine.
Posted on 07-25-2019 12:27 PM
From what I can see, your branch catalog is missing a "/" in the path between "com" and "catalog". Do you also have enough storage for the SUS? I'm using about 500 GB and I'm cutting it close and will probably have to add more.
Posted on 07-25-2019 12:29 PM
Posted on 07-26-2019 12:40 PM
@sdagley: It is an Ubuntu installation to a VM on our Windows Hyper-V. That's how we have our server structure setup, and it's got full auth to go outside our network. So there's no lockdown that I'm aware of unless you can recall something specific that may be causing the issue due to a lockdown.
@cnorrisAdmin : We just spun this up and those URL's (which aren't acutally URL's, it looks like they're Linux commands) auto populated in the branches and in the catalog fields. This was what I saw immedaitely when I logged in after deployment last night. So I'm guessing the install is broken at this point.
Posted on 07-26-2019 01:04 PM
@HashMaster9000 Sorry, I don't know the specifics of how we have our RHEL VMs configured. I do know it's structured so that even though I can get sudo access on a system to run something like the NetSUS installer there are restrictions in place preventing modification of some areas of the file system, creation/modification of user accounts, and even scheduling a cronjob. The effect was that NetSUS would install (I don't think the installer does much error checking) but not run, and I also had bogus branch names like you describe.