-
All replies
-
Helpful answers
-
Jul 26, 2012 4:25 PM in response to dreilandby haykong,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 26, 2012 9:36 PM in response to haykongby Hamish Blair,Is there a way to start over again and re-run the initialisation process?
-
Jul 27, 2012 3:55 PM in response to Hamish Blairby dreness,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:
- Move Server.app to the trash
- Rename /Library/Server to /Library/Server.backup, or just delete it if you're sure there's no data there you need to save.
- Reinstall Server.app and proceed with setup.
Hope this helps,
-dre
-
Jul 28, 2012 5:57 AM in response to drenessby DenisF,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 28, 2012 6:34 AM in response to drenessby dreiland,Thankyou very muh Dreness. This works for me as help.
Things are much healthier now.
Thanks DenisF for confirming as well.
So far, no impact to open directory and network user accounts.
OS X Server seems alot of cooked and stable than Lion Server.
-
-
Jul 29, 2012 11:26 AM in response to Hamish Blairby noben,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!
-
Jul 29, 2012 1:29 PM in response to DenisFby DenisF,Rebooting before putting the server.app in the folder application is a good idea of Roben.
Note that as soon as you put the server.app in the applicaiton folder, some process starts like folder creation in /library.
In my case it killed at least a ruby process which was taking 100% CPU
-
Sep 12, 2012 11:10 PM in response to DenisFby lewax,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...
-
Sep 13, 2012 12:09 AM in response to dreilandby Mark23,Make sure you have all data you want to keep saved or migrated.
To uninstall the server app, please enter the following into terminal:
sudo rm -rf /Applications/Server.app
And remove the directory /Library/Server
After this you have mountain lion (client) again and you can reinstall OS X Server.
-
Sep 13, 2012 2:34 AM in response to Mark23by lewax,Hi Mark and thanks for your answer.
In fact, your solution do exactly the same job as other solutions in this post... And when i reinstall os x server, it take back all the settings previously used...
What i want is to restart with a complettly clean server without any settings...
-
Sep 13, 2012 2:55 AM in response to lewaxby Mark23,have you rebooted after following my suggestions?
-
Sep 13, 2012 3:04 AM in response to lewaxby Mark23,look here: http://support.apple.com/kb/HT4827
and skip step 6
-
Sep 13, 2012 5:05 AM in response to Mark23by lewax,Mark23 wrote:
have you rebooted after following my suggestions?
Yes
And your other solution is exctly what i've done... Each time, when reinstalling, server apps re use old config like file sharing, dns and so...