Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I've upgraded from Snow Leopard to Lion, then I purchased and installed the Server from App Store.

Now I'd like to remove the Server features, and revert to standard Lion. I don't mind reinstalling, I don't want to reformat, or restore from backup.

What is the most correct and complete process?

share|improve this question
    
I was under the impression that Server was just the additional set of components that are "wrapped" under the Server bundle. The other day, I realized I did not need the Server features yet, so I deleted the bundle like you would delete any other app. Does that mean that the server components are still there? I thought they were sandboxed in the bundle. Have you tried removing it? –  Christian Correa Jul 29 '11 at 20:16
    
What does the Server bundle install that you don't want? –  jtbandes Jul 30 '11 at 17:36

4 Answers 4

Since the server component changes files and preferences, you can't easily undo those changes other than by a back up. There is no uninstall - and there are in general no way to undo any patch or upgrade - even between major revisions like 10.6.7 to 10.6.8.

The only sure way is to restore those settings and files that get changed from a backup or set things up after a totally clean installation.

Boot into recovery, erase the volume and install Lion (without the server component) and you will have a correct and complete non server Lion. You can migrate data in from external drives, time machine (at any point in time) or make the set up new by hand.

Lion will not allow a simple re-install to "undo" the server changes as it's not programmed to do all that work in reverse.

share|improve this answer
    
I am afraid this is the answer. I'm going to leave the question unanswered for a bit to give others a chance to suggest an answer I'll like better. ie. Not requiring to erase the volume. –  zevlag Jul 29 '11 at 20:25
    
I hope you get a better answer. I'd give it a week, and accept if no one else steps up. I would love to be proved wrong on this. I've been digging into the server install and it would be amazing if you could roll back the changes without a backup snapshot. –  bmike Jul 29 '11 at 20:35
lsbom  -p F /var/db/receipts/com.apple.pkg.Server*.bom | perl -pi -e 's/\.//'

Gives you the files installed by the Server packages, in double quotes, absolute paths.

share|improve this answer

(Edited version)

To uninstall OS X Lion Server, it depends on the server state. If the server is not configured, one need only to delete the Server app from the Applications folder, and restart the machine.

(I have tried this. It works except for one thing. In the AppStore, you will always get a notification when the server app can be updated.)

If the server has been configured, I can only point you to this apple support document:

http://support.apple.com/kb/HT4827

Please note that this article refers only to disabling Server, not removing it.

share|improve this answer

Once you have configured the Server app it will download and install its components which are not deleted with the app.

Server app is just an interface to these individual control modules similar to command line tools or like preferences items that plug into the server.app

You can use the above method to look for the files that the server.app downloaded but I doubt if you can straightaway delete them.

The Server.app once configured will mark your OS X Lion as OS X Lion Server and you will continue to receive server related update alerts even if you delete it.

/System/Library/CoreServices/ServerVersion.plist

This file is created when you configure the server and OS X Lion will look for it while checking for the software updates.

If you delete this file OS will fallback to "SystemVersion.plist" in the same folder and your machine should be back to non server updates :)

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.