Newsroom Update

Beginning in May, a special Today at Apple series titled “Made for Business” will offer small business owners and entrepreneurs free opportunities to learn how Apple products and services can support their growth and success. Learn more >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

howto reinstall/reinitialize os x server

Had lion server install on my mac mini.

Now updated to mountian lion and OS X Server.


I got a bunch of servces that don't work.

I am pretty sure migration failed, but there wasn't any mesages.

Open directory is working and all I care about saving is user accounts.


Is there a way to reset services (message,mail, cal, ...) to defaults and start over?

Posted on Jul 26, 2012 12:40 PM

Reply
40 replies

Jul 26, 2012 4:25 PM in response to dreiland

I hope you backup your lion server. On lion server I would archive the Open Directory info and then do whatever backups you need such as mail etc...


Anyway best to put mountain lion on USB flash drive along with OS X Server app. Boot from flash drive reformat the hard drive and install mountain lion. Then install the Server app. I do believe there's an import opinion in the Server app.



i'll be doing a test migration process over the weekend.

Jul 27, 2012 3:55 PM in response to Hamish Blair

Hi,


The answer is: maybe, depending on what you mean by 'initialization'. If you did an in-place upgrade, I don't think you will be able to redo the portions of setup that upgrade your Lion Server data and configuration for the new server version - other than by restoring your entire system from a backup, and then doing the upgrade again.


It is possible to re-run the setup processes that convert a mac into a server, though. Move Server.app to the trash; this should tell all running server services to shut down and prepare to be jetisoned. Any existing server-related user data will be preserved in /Library/Server. You can then re-install Server.app and go through setup again.


If you want to reset all the service data and configuration to the default 'fresh install' state, as well as re-run Server setup:


  1. Move Server.app to the trash
  2. Rename /Library/Server to /Library/Server.backup, or just delete it if you're sure there's no data there you need to save.
  3. Reinstall Server.app and proceed with setup.


Hope this helps,

-dre

Jul 28, 2012 5:57 AM in response to dreness

The method of dreness worked for me. As I was not suspecting server.app to be corrupted,

1. I put Server.App in the bin,

2. this is detected by the system and trigger all the services to stop within a few seconds: confirmation required.

3. I deleted /Library/Server (or change name)

4. I moved back Server.App in the application folder

5. I restarted Server setup from the beginning.


Thanks

Jul 29, 2012 11:26 AM in response to Hamish Blair

I got a bunch of servces that don't work and the migration failed.

Got a lot of error messages in the Library/Logs/ServerSetup.log:


22:09:14.306 Setup extra failed:

path: /Applications/Server.app/Contents/ServerRoot/System/Library/ServerSetup/Migrati onExtras/30-ftpconfigmigrator.pl

RESULT CODE: 1

STDOUT: Did not supply a valid language for the --language parameter, needs to be one of [en|fr|de|ja]


I did the following to rerun the migration process


First, I solved my problem "Did not supply a valid language for the --language parameter" by doing:

Set system language to English ( open terminal, type sudo languagesetup and choose option 1 )

change language to English in System Preferences


Run setup assisted again:

I put Server.App in the bin, this is detected by the system and trigger all the services to stop within a few seconds: confirmation required.

Rename the folder "Migrated" (/Library/Server/Migrated) to "Previous".

Remove all other folders from /Library/Server/ folder.


Reboot

Move back Server.App in the application folder

Run the Server.App


It solved the problem for me!

Sep 12, 2012 11:10 PM in response to DenisF

Hi everybody...

I have so many problems with osx server (mountain lion) and want to perform a clean install.

I followed your instructions and it works but what i want is to delete completely the previous settings and start with a completly fresh server. (with your method, when reinstalling server, it take back all the settings and i don't want that...)


I also try to delete server apps with appcleaner but i'm not able to clean all these previous settings...


Thanks for your help...

howto reinstall/reinitialize os x server

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