Change Software Update Server updates storage location

Does anyone know how to change the Software Update Server updates storage location? As with so many other slightly advanced features that have dissappeared from the server GUI, it appears that the abilty to tell the server where to put its repository of updtates has gone.

OS X Server

Posted on Aug 28, 2012 11:21 AM

Reply
6 replies

Aug 29, 2012 5:55 AM in response to Erich Wetzel

I figured out another way from the command line.


1. You probably want to stop the sw update service first. You can do that in the GUI. But if you want to perform this exercise all from the command line, use the following:

serveradmin stop swupdate


2. This shows the current setting for the storage location:

serveradmin settings swupdate:updatesDocRoot


3. This will set a new location. Note the quotation marks (") on the path, use them.

serveradmin settings swupdate:updatesDocRoot = "/Path/to/swupdate/store/"


4. Use the first command again to check your handy work:

serveradmin settings swupdate:updatesDocRoot


5. Start sw update service from the GUI or with this:

serveradmin start swupdate

Sep 28, 2016 5:15 AM in response to Eric.

The "serveradmin" command is not available in a fresh installation of OS X 10.11.6 + Server 5.2. I got a "command not found" error. The command was there with the previous edition of Server.app, and after I had updated it to v. 5.2 to test it before I did the clean install. I had to reconfigure my storage, that's why I did a clean install of the OS + Server.app.


Software Update service is also not listed in Server.app even though its folder is present in /Library/Server with the base config plist.


Now, trying to figure out what to do, since I need this functionality.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Change Software Update Server updates storage location

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.