Edits in existing contacts through CardDAV Not Syncing

So, I have posted this on ownCloud forums, but haven’t found any solution. I was wondering if anyone has experienced the same issue here and can be of help.

I have both CalDav and CardDav syncing to my Mac and iPhone through ownCloud in the mailinabox package. Whenever I try to edit an already existing contact on either the Mac or the iPhone, the change doesn’t go through and it reverts back to its original self.

But, when I create a new contact on either the Mac or iPhone, it syncs just fine.

Btw, CalDAV is working just fine.

So the problem is only edits on existing contacts. The edits work just fine when I edit them directly on ownCloud.

Nginx is showing me the following logs when I try to make changes.

45.33.93.88 - - [06/Jul/2015:11:27:12 -0400] "PUT /cloud/remote.php/carddav/addressbooks/user%40domain.com/contacts/17D0E759-A3D8-48C1-A541-39D79F00CF9F.vcf HTTP/1.1" 401 304 "-" "Mac OS X/10.10.4 (14E46) AddressBook/1579"

45.33.93.88 -user@domain.com [06/Jul/2015:11:27:12 -0400] "PUT /cloud/remote.php/carddav/addressbooks/user%40domain.com/contacts/17D0E759-A3D8-48C1-A541-39D79F00CF9F.vcf HTTP/1.1" 204 0 "-" "Mac OS X/10.10.4 (14E46) AddressBook/1579"

45.33.93.88 - - [06/Jul/2015:11:27:13 -0400] "PROPFIND /cloud/remote.php/carddav/addressbooks/user%40domain.com/contacts/ HTTP/1.1" 401 304 "-" "Mac OS X/10.10.4 (14E46) AddressBook/1579"

45.33.93.88 - user@domain.com [06/Jul/2015:11:27:13 -0400] "PROPFIND /cloud/remote.php/carddav/addressbooks/user%40domain.com/contacts/ HTTP/1.1" 207 435 "-" "Mac OS X/10.10.4 (14E46) AddressBook/1579"

45.33.93.88 - user@domain.com [06/Jul/2015:11:27:13 -0400] "PROPFIND /cloud/remote.php/carddav/addressbooks/user%40domain.com/contacts/ HTTP/1.1" 207 50636 "-" "Mac OS X/10.10.4 (14E46) AddressBook/1579"

45.33.93.88 - user@domain.com [06/Jul/2015:11:27:14 -0400] "REPORT /cloud/remote.php/carddav/addressbooks/user%40domain.com/contacts/ HTTP/1.1" 207 843 "-" "Mac OS X/10.10.4 (14E46) AddressBook/1579"

+1
Exactly the same behavior here.

Hey!

I’ve set up a different vps where I’ve installed owncloud. Once I have it fully set up, I want to see if I can recreate the problem.

I’ll post here with updates.

In the meantime, you can head over to the owncloud forums where I posted the same issue and a guy tried to help me, maybe that’ll help you.

Edits in existing contacts through CardDAV Not Syncing