jamf / NetSUS

NetBoot and Software Update Server
https://jamfnation.jamfsoftware.com/viewProduct.html?id=180
304 stars 69 forks source link

Issues with update catalogs #126

Open vdiscipio opened 5 years ago

vdiscipio commented 5 years ago

Hi,

We are a NetSUS V5 image user and I have setup the appropriate updates I want in a test catalog the URL provided in the NetSUS web interface is http://$FQDN/content/catalogs/index_Test-Staff.sucatalog. I have pushed the catalog out to a test client and am getting the error, "Can't load data from software update server" ($FQDN). Looking at the Apache access logs on the netsuslp server I am seeing: "GET /content/catalogs/index_Test-Staff.sucatalog HTTP/1.1" 404 626 "-" "Software%20Update (unknown version) CFNetwork/811.5.4 Darwin/16.7.0 (x86_64)"

Looking at the rewrite rules in /var/www/html/.htaccess it should have matched on: RewriteCond %{HTTP_USER_AGENT} Darwin/16 RewriteRule ^index.sucatalog$ index-10.12-10.11-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog [L]

or looking at the rewrite rules in /srv/SUS/html/content/catalogs/.htaccess it should have matched on: RewriteCond %{HTTP_USER_AGENT} Darwin/16 RewriteRule ^index(.*).sucatalog$ others/index-10.12-10.11-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1$1.sucatalog [L]

both http://netsuslp-2019.wooster.edu/index-10.14-10.13-10.12-10.11-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog and http://netsuslp-2019.wooster.edu/content/catalogs/others/index-10.14-10.13-10.12-10.11-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog are navigable links from the client.

Any suggestions on where to look next? Any other useful information I could provide?

thanks in advance.