Closed isgroup closed 1 year ago
Thanks for the detailed explanation! How about creating a wiki page with your guide?
same here. iOS has stopped syncing contacts. I simply exported all contacts in the client (emClient) as VCARD, then deleted and re-imported. Also helped.
Hi there!
First your product rocks, thanks :)
This is not an issue, just an advice for advanced troubleshooting on iOS devices.
Long story short: I just bought an iPhone 12 and configured the two CardDAV and CalDAV accounts in Settings. Given the fact that you set up the
.well-known
discovery mechanism no problem here. Contacts starts to sync but then the count was off by a thousand.Why? Well it turns out that one of the VCARDS had some control char in it (visible by getting the vcard using curl on the terminal) and iOS would just stop there and continue requesting the same
addressbook-multiget
contacts instead of skipping it.The hypothesis was that one of the
.vcf
in theaddressbook-multiget
was the problem (it turned out that this was correct) so I debugged it and I'm sharing how I did it for the posterity.Edit
dav.php
Add the following code after the comments block.
Monitor the requests iOS makes
Find the anomaly
You will notice the same addressbook-multiget request over and over. This was my case, yours may differ.
Fetch them
Horrible, I know :)
Hopefully you will spot the offender entry.
Delete the VCF
Now your iOS will sync all the entries and will upload changes.
This is a really important part of the analysis: until when iOS has synced all the contacts, it will not upload/sync changes, you will see the changes only locally. So if your iOS is not syncing and you believe that it's a
Baikal
issue, it could not be, and the Contacts app is just in a stale status without giving any clue!Thanks and i hope this saves some lives :)