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.

Calendar won't start after upgrade to Mountain Lion

Hi,


After upgrading to ML, my calendar service didn't want to start.


There is a "Error reading settings" message in the Server window when selecting "Calendar". Additionally, when clicking the "on" button, I get the following error:


The error occurred while processing a command of type 'getLocationList' in plug-in 'servermgr_calendar'.

Where do I start troubleshooting this issue?

Posted on Jul 25, 2012 1:28 PM

Reply
57 replies

Jul 25, 2012 3:18 PM in response to sjolshag

Look in /var/log/caldavd/servermgr_calendar.log for "getLocationList" to see if there are any errors. A successful operation would look something like:


[cal] 7/25/12 3:11:35 PM PDT : calendarServerOperationWithRequest

[cal] 7/25/12 3:11:35 PM PDT : Sending to utility

<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">

<plist version="1.0">

<dict>

<key>command</key>

<string>getLocationList</string>

</dict>

</plist>



[cal] 7/25/12 3:11:36 PM PDT : returned from utility

<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">

<plist version="1.0">

<dict>

<key>command</key>

<string>getLocationList</string>

<key>result</key>

<array>

<dict>

<key>AutoSchedule</key>

<false/>

<key>GeneratedUID</key>

<string>1119F7D2-21DA-4453-81F7-54E803F092FC</string>

<key>RealName</key>

<string>Morgen's test location</string>

<key>RecordName</key>

<array>

<string>1119F7D2-21DA-4453-81F7-54E803F092FC</string>

</array>

</dict>

</array>

</dict>

</plist>



[cal] 7/25/12 3:11:36 PM PDT : No error from plist parser

[cal] 7/25/12 3:11:36 PM PDT : Resulting dictionary

{

command = getLocationList;

result = (

{

AutoSchedule = 0;

GeneratedUID = "1119F7D2-21DA-4453-81F7-54E803F092FC";

RealName = "Morgen's test location";

RecordName = (

"1119F7D2-21DA-4453-81F7-54E803F092FC"

);

}

);

}



Possible problems could include not being able to read /Library/Server/Calendar and Contacts/Data/resources.xml or augments.xml, which is the source of information for the locations/resources list within Server.app.


In a terminal window you could also try using the "calendarserver_manage_principals" utility to list locations, e.g.:


% sudo calendarserver_manage_principals --list-principals locations

Full name Record name UUID

--------- ----------- ----

Morgen's test location 1119F7D2-21DA-4453-81F7-54E803F092FC 1119F7D2-21DA-4453-81F7-54E803F092FC



Did you have any resources or locations defined for calendar server within Server.app prior to upgrading?

Jul 25, 2012 4:03 PM in response to _morgen__

The only logfile in the Library/Logs/Migration/ folder:



-------------------------------------------------------------

Begin Mail Migration: Wed Jul 25 22:09:51 2012

-------------------------------------------------------------

purge: 0

sourceRoot: /Library/Server/Previous

sourceType: System

sourceVersion: 10.7.4

targetRoot: /

language: sv

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


Cant remember the message that the server.app displayed. Just something about not able to complete the migration.

Jul 25, 2012 4:15 PM in response to _morgen__

true!


It has lot of "Setup extra succeeded"....., but the file ends with:


22:11:08.912 Setup extra succeeded:

path: /Applications/Server.app/Contents/ServerRoot/System/Library/ServerSetup/CommonE xtras/smbsetup.sh

RESULT CODE: 0

STDOUT:

STDERR:



22:11:09.251 Setup extra succeeded:

path: /Applications/Server.app/Contents/ServerRoot/System/Library/ServerSetup/CommonE xtras/webCommonSetup

RESULT CODE: 0

STDOUT:

STDERR:



22:11:09.267 Setup extra failed with code 1 at path: /Applications/Server.app/Contents/ServerRoot/System/Library/ServerSetup/Migrati onExtras/001-migrationExtraServerRestore.pl

22:11:18.604 touching SetupRegComplete

22:11:18.604 touching ServerSetupDone

22:11:18.604 touching PromotionDone

Jul 25, 2012 4:23 PM in response to _morgen__

Hm, sorry. I found more errors!


22:09:14.233 Setup extra failed:

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

RESULT CODE: 1

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



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]


22:09:14.457 Setup extra failed:

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

RESULT CODE: 1

STDOUT: --targetRoot is the key for value /

--sourceRoot is the key for value /Library/Server/Previous

--purge is the key for value 1

--sourceVersion is the key for value 10.7.4

--sourceType is the key for value System

--language is the key for value sv



22:09:14.571 Setup extra failed:

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

RESULT CODE: 1

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


22:09:14.692 Setup extra failed:

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

RESULT CODE: 1

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


22:09:14.763 Setup extra failed:

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

RESULT CODE: 1

STDOUT: --targetRoot is the key for value /

--sourceRoot is the key for value /Library/Server/Previous

--purge is the key for value 1

--sourceVersion is the key for value 10.7.4

--sourceType is the key for value System

--language is the key for value sv

sourceVersion := 10.7.4

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



22:09:14.836 Setup extra failed:

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

RESULT CODE: 1

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



22:09:14.910 Setup extra failed:

path: /Applications/Server.app/Contents/ServerRoot/System/Library/ServerSetup/Migrati onExtras/58_jabbermigrator.pl

RESULT CODE: 1

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


22:09:51.870 Setup extra failed:

path: /Applications/Server.app/Contents/ServerRoot/System/Library/ServerSetup/Migrati onExtras/65_mail_migrator.pl

RESULT CODE: 1

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


22:09:53.035 Setup extra failed:

path: /Applications/Server.app/Contents/ServerRoot/System/Library/ServerSetup/Migrati onExtras/70_calendarmigrator.py

RESULT CODE: 2

STDOUT:

STDERR: Usage: 70_calendarmigrator.py [options]


70_calendarmigrator.py: error: option --language: invalid choice: 'sv' (choose from 'en', 'fr', 'de', 'ja')



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

I use Swedish as my language in finder.....


Message was edited by: noben

Jul 25, 2012 5:08 PM in response to noben

However, I use en as my language and the only error I found was


Setup extra failed with code 1 at path: /Applications/Server.app/Contents/ServerRoot/System/Library/ServerSetup/Migrati onExtras/70_calendarmigrator.py


Only error in /Libaray/Logs/Migration/calendarmigrator.log is:

calendarmigrator: Jul 25 15:43:58 Can't find previous carddavd plist at /Library/Server/Previous/private/etc/carddavd/carddavd.plist


No relevant errors found in /Library/Logs/Setup.log

Calendar won't start after upgrade to Mountain Lion

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