Carddav problem apple contacts - Owncloud 10.0.8


#1

Expected behaviour

Carddav does work well from android via davdroid. But apple contact applications makes a connection to the server without errors, but no address books nor contacts are shown. There is just one default contact addressbook in OwnCloud.

Actual behaviour

Just an empty addressbook in Apple

Steps to reproduce

I could connect Apple contacts to https://myserver.nl/owncloud/remote.php/dav
With the username en password.
But then no contacts are shown.

Does anyone know where the solution for this problem is? I think it has something to do with the address books.

Server configuration

Operating system:
From Hosting provider. Linux - Apache.
PHP version: 7.0
ownCloud version: 10.0.8

Client configuration

Client version: 11.0
Operating system: Apple OsX 10.13.5
OS language: Dutch


#2

https://doc.owncloud.org/server/latest/user_manual/pim/sync_osx.html
https://doc.owncloud.org/server/latest/user_manual/pim/sync_ios.html


#3

Thank you for answer DeepDiver1975.
Since I have OSX 10.13.5 the situation is a little different. Contacts in OSX does connect to carddav, but does not show addressbooks, nor contacts.

In 10.13.5 the folder /Users/YOUR_USERNAME/Library/Application Support/AddressBook/Sources. is different. There is no file named: Configuration.plist The files in there are kind off database files now. with extensions: .abcddb, .abcddb-shm and .abcddb-wal.

Do you have other tips?


#4

I have very limited knowledge about OSX - sorry. The only thing I can tell is that from a pure CalDAV point of view ownCloud is behaving correctly …


#5

Hi Bart,

under OS X 10.7 and newer there is no need to configure the configration.plist.
Are you sure, that you are using the right iOS/OS X CardDAV address in the Apple Contacts App?
Normally it looks like this:
https://www.myserver.nl/owncloud/remote.php/dav/principals/users/myusername/


#6

Thank you Haio.
I tried this principals link too. although it is different from owncloud’s suggestion: dav/addressbooks/users/username.
Still no contacts shown. :frowning:


#7

HI BART,
I JUST SOLVED THE SAME PROBLEM:
Instead of trying: /owncloud/remote.php/dav/principals/users/myusername/
I left the “owncloud” and used:
/remote.php/dav/principals/users/myusername/

and it worked fine - for whatever reason - I am using a hosted Owncloud instance…
Hope this is helpful for you as well…
Hubert


#8

Please note that it seems that OSX is later versions is a bit stricter with transmitting the credentials.
SSL is a must have as well as a valid certificate chain.