nordic_user

Q: Mail, Calendar and Contacts upgrade failed

Mail, Calendar and Contacts upgrade failed. From Lion (fresh install) to Mountain Lion.

 

The services mentioned stored data on another volume. Lion Server optionally offered the ability to relocate the storage path. Seems like Mountain Lion doesn't allow that anymore, and the upgrade process cannot handle it (move data and restore path to default).

 

  • Mail: domain name is just se (should be mydomain.se) - impossible to change - writing new setting fails.

 

  • Calendar: error reading settings, when button On/Off is changed to On the following message shows: "The error occurred while processing a command of type 'getLocationList' in plug-in 'servermgr_calendar'". I found another thread on this issue: https://discussions.apple.com/message/19020164#19020164

 

  • Contacts: when button On/Off is changed to On, the service tries to start but fails - button reverts to Off

 

 

From my perspective it seems like the upgrade process wasn't validated in respect of relocate storage path before going public. I would really appreciate guidance in this matter to fix the problem.

 

Thanks.

Mac mini, OS X Server

Posted on Jul 26, 2012 12:38 PM

Close

Q: Mail, Calendar and Contacts upgrade failed

  • All replies
  • Helpful answers

  • by ~morgen,

    ~morgen ~morgen Jul 27, 2012 12:14 PM in response to nordic_user
    Level 1 (140 points)
    Jul 27, 2012 12:14 PM in response to nordic_user

    Storing service data on a separate volume is supported in OS X Server in Mountain Lion still.  The UI for it is in Server.app > Hardware > Settings > Service Data.

     

    As for the upgrade failing, the thread you linked to covers two separate issues: the --language issue, and this issue:

     

    OSError: [Errno 2] No such file or directory: '/Library/CalendarServer/Documents/Data'

     

    Which one are you running into?  Look for such errors in /Library/Logs/ServerSetup.log

  • by nordic_user,

    nordic_user nordic_user Jul 27, 2012 3:42 PM in response to ~morgen
    Level 1 (20 points)
    Jul 27, 2012 3:42 PM in response to ~morgen

    Regarding store data on another volume, you are correct. I found the option earlier today.

     

    This morning I followed the advice in the thread regarding calendar (mentioned above), changed the system language to english / trashed server.app and /library/server-folder before I restarted and installed server.app again. This time the process made it to the end without errors. But mail, calendar and contacts were still missing.

     

    So I decided to wipe the startup volume and install Mountain Lion Server fresh. Worked out perfectly. Tried to change the path to store data to my other volume in order to pick up the data, but was refused since there was existing data!

     

    Is there a solution to import the old data to the new installation (mail, calendar and contacts)?

     

    Thanks for looking into this issue.

  • by dreness,

    dreness dreness Jul 27, 2012 4:01 PM in response to nordic_user
    Level 1 (60 points)
    Jul 27, 2012 4:01 PM in response to nordic_user

    nordic_user wrote:

    ...

    Is there a solution to import the old data to the new installation (mail, calendar and contacts)?

     

    Hi,

     

    If you have a backup of the Lion Server, you can probably do a migration as documented here:

     

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

     

    Cheers,

    -dre

  • by nordic_user,Solvedanswer

    nordic_user nordic_user Jul 28, 2012 1:59 PM in response to dreness
    Level 1 (20 points)
    Jul 28, 2012 1:59 PM in response to dreness

    Now I've recovered my mail by copy the content in old cur folder to the new one located in (UI) Library/Server/Mail/Data/mail/<hex-folder>

  • by Stefan R,

    Stefan R Stefan R Aug 6, 2012 2:52 AM in response to nordic_user
    Level 1 (15 points)
    Aug 6, 2012 2:52 AM in response to nordic_user

    Hi

     

    I am guessing you are using a OS running with a non English language setting.

     

    Then I know what is the problem. Set your system language to English. Throw out Server.app. After some seconds the server will realize it is not a server anymor. Calm... all your mail folders and web sites are secure.

     

    Reinstall your system from recovery partition restart+alt choose recovery HD.

     

    When done... download and lauch Server.app again (Don't change your systems languages settings, it must be set to English, German, French or Japanese otherwise everything is a f-n ****.

     

    No... things should be better. Then, if you end up like me, the system will have made somwhat a mess of the settings files for the mail service.

     

    The main.cf file controling your mail settings exists in two places, apparently ?!?! both are used but open them in a editor and change all hash: and paths to point to

    /Library/Server/Mail/Config/postfix/....

    instead of

    /etc/postfix/...

     

    It should get you on the way. My Wiki still can't read its setting file but I haven't given it any attention yet.