as i haven't seen that error much and don't see it mentioned much online, i thought i'd ask the greg & the group for any clarification. mostly, i want to confirm the error has nothing to do with my set up.
hey gang: i've set up a proof of concept instance of reposado and margarita. both are running nicely in OSX 10.9.4 Server. i'm able to create branches, add and delete items and manage via the GUI and command line. the catalogs created and stored in the /html/content/catalogs folder are available and readable in browsers from other machines on the network, showing the plists as expected. we don't have a FQDN yet (it's a proof of concept), so i'm using the IP of the server in the CatalogURL name. For eaxmple: 111.222.333.444:8088/content/catalogs/others/index-10.9-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog.after modifying the CatalogURL via the defaults command and verifying we've got the correct URL, i run software update from both the GUI and command line. the test computers all connect and then.... error out with: "Service connection interrupted! Couldn’t communicate with a helper application."as i haven't seen that error much and don't see it mentioned much online, i thought i'd ask the greg & the group for any clarification. mostly, i want to confirm the error has nothing to do with my set up.
our pref file is as follows:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>LocalCatalogURLBase</key>
<string>111.222.333.444</string>
My apologies, Greg:I omitted the full story: I'd included the http prefix initially and gotten a different error message which returns when I put it back:
dkoff$ softwareupdate -l
Software Update Tool
Copyright 2002-2012 Apple Inc.
Finding available software
unsupported URLCurrentlly the plist is set to:dkoff$ defaults read /Library/Preferences/com.apple.SoftwareUpdate.plist
{
AutomaticCheckEnabled = 1;
CatalogURL = "http://10.216.220.203:8088/content/catalogs/others/index-10.9-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog";
LastAttemptSystemVersion = "10.9.4 (13E28)";
LastRecommendedUpdatesAvailable = 0;
LastResultCode = 100;
LastSessionSuccessful = 1;
LastUpdatesAvailable = 0;
PrimaryLanguages = (
en
);
RecommendedUpdates = (
);
SkipLocalCDN = 0;}As before, if I drop that same URL into any browser, it pulls up the catalog.
That's not a URL, that's an IP address. You want something like<key>UpdatesMetadataDir</key>
<string>/SuS/meta</string>
<key>UpdatesRootDir</key>
<string>/SuS/html</string>
<key>RepoSyncLogFile</key>
<string>/var/log/ReposadoSync.log</string>
</dict>
</plist>
--
You received this message because you are subscribed to the Google Groups "reposado" group.
To unsubscribe from this group and stop receiving emails from it, send an email to reposado+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>LocalCatalogURLBase</key>
<string>xx.216.220.203</string>
ah!i'd fixed the pref file by appending the http prefix and running softwareupdate -l on my client machines with the same results. but... i didn't re-do a repo-sync after changing that pref file. that's important. perhaps something to add to the documentation?
yes, you can't predict every mistake others will make.no, i wasn't suggesting you alter the documentation about a valid URL as it is clear.yes, i *was* suggesting that you alter the doc to include the part about a repo_sync being required if you change the LocalCatalogURLBase.
There might be other changes that require a repo_sync. Anything that would change what is synced and the created catalogs might require a new repo_sync.
Copy that. I'll update my own docs to better remember this in the future.
Based on your suggestion, I've edited the server prefs
and re-run repo_sync and it fixed the URL issue, thank you. However, now when I call softwareupdate from CLI or GUI, I'm getting a different error: "The operation couldn’t be completed. (NSURLErrorDomain error -1100.)".
Catalogs for each of three branches are live and can be viewed in a client browser. If the catalog is EMPTY (and one of them is currently) the softwareupdate request works and returns: "No new software available." So I'm guessing that the software is working. But if I then add even just one patch into the empty branch, it goes back to showing the NSURLErrorDomain error.
Out of curiosity, running softwareupdate -i from CLI runs and returns no errors.
I can't see them from here, so I cannot be sure you made appropriate changes.
Do these URLs work?
On Wednesday, August 6, 2014 3:57:50 PM UTC-7, Greg Neagle wrote:Do these URLs work?they do not.
Do these URLs work?they do not.
<key>UpdatesMetadataDir</key>
<string>/SuS/meta</string>
<key>UpdatesRootDir</key>
<string>/SuS/html</string>
I think you've bit off too much at once...
i've gone back to retrace my steps based on your suggestions, thank you both greg and ken. i've removed all branches from the set up and removed margarita. i'm thinking the issue might lay with the differences between how i've set up the websites service on the server and the repo server settings. but i'm not sure.1) i set the websites service on mavericks server to serve 10.216.220.203/SuS/html as the root folder via port 8088
2) i set our repo server prefs to:<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"><plist version="1.0"><dict><key>LocalCatalogURLBase</key><string>10.216.220.203:8088/SuS/html</string>
<key>RepoSyncLogFile</key><string>/var/log/ReposadoSync.log</string><key>UpdatesMetadataDir</key><string>/SuS/meta</string><key>UpdatesRootDir</key><string>/SuS/html</string></dict></plist>
a sample index.html file placed in that UpdatesRootDir gets served up just fine when pointing a browser to: http://10.216.220.203:8088
entering the following catalogURL into a browser lists the full updates:
if i copy the full path listed for a sample pkg in that same catalog file, i get a "URL not found" error for: 10.216.220.203/SuS/html/content/downloads/42/47/031-00536/0e3xru4xatuj4v9wb0y113nirfvnz34v8d/CLTools_Executables.pkgbut if i remove the "/SuS/html" from the URL and enter the following, the same download works fine: 10.216.220.203:8088/content/downloads/42/47/031-00536/0e3xru4xatuj4v9wb0y113nirfvnz34v8d/CLTools_Executables.pkg
obviously, there's something going on there.