Synchronizing with OS X

Setup synchronisation with Mountain Lion (10.8)

Note: Although these steps belong to Mountain Lion (10.8), they should be similar with Lion (10.7)

Open the System Preferences, choose Mail, Contacts & Calendars and scroll down to select Add Other Account....

_images/osx-10-8-1.png

Synchronising the Calendar

Select Add a CalDAV account.

_images/osx-10-8-2.png

Enter your ownCloud-username, your password and the full URL-path to your ownCloud-installation: ADDRESS/remote.php/caldav/principals/USERNAME/ (Replace ADDRESS and USERNAME.)

Synchronising the Addressbook

Select Add a CardDAV account.

_images/osx-10-8-3.png

Enter your ownCloud-username, your password and the full URL-path to your ownCloud-installation: ADDRESS/remote.php/carddav/principals/USERNAME/ (Replace ADDRESS and USERNAME, note the url is slightly different to the URL in the previous step.)

Installation directions for Snow Leopard (10.6)

While OS X Lion and Mountain Lion work fine, OS X Snow Leopard (10.6) and older needs some fiddling to work. A user contributed the following:

  1. Make sure, Addressbook is not running. If it is, select the windows and press Command + Q to terminate it.
  2. Navigate to /Users/YOUR\_USERNAME/Library/Application Support/AddressBook/Sources. If you have all ready some kind of address book setup, it is likely you will see some folders named like this BEA92826-FBF3-4E53-B5C6-ED7C2B454430. Note down what folders there are now and leave the window open.
  3. Open addressbook and try to add a new CardDav addressbook. At this point, it does not matter what information you enter. It will come up with the same error message you mentioned before when you click “Create”. Ignore it and click “Create” again. A non-functional address book will be added.
  4. Close Address-Book again using Command + Q
  5. Go back to the folder window from step 2. You will now see a newly created folder with another long string as its name.
  6. Navigate to the newly created folder and edit the Configuration.plist with your favorite text editor.
  7. Search for a section looking like this:
<key>servername</key> <string>http://:0(null)</string> <key>username</key> <string>Whatever_you_entered_before</string>
  1. Make it look like this. Please note the :80 after YOUR_DOMAIN it is important:
<key>servername</key <string>http://YOUR_DOMAIN:80/owncloud/remote.php/carddav/principals/username</string> <key>username</key <string>username</string>
  1. Save the file and open Address Book again. It will not work yet.
  2. Open the preferences for your ownCloud CardDAV-Account and enter your password.
  3. You may have to restart Address Book once more. After this, it should work.

There is also an easy HOWTO in the forum.