Duplicated contacts with Baïkal 0.2.6
Having said that, I decided to test the creation of a new contact. Then the contact application died. I would like to attach the logfile (too many lines to paste them here), but is there a way to upload a text file on Github?
I don’t know if it’s relevant, but I’m using a Motorola Razri, which host an Intel CPU.
Maybe you can upload the logs to gist.github.com and then link it?
DAVdroid 0.5 comes with VCard 3 support as required by the CardDAV specs and some minor tweaks. Please test again (don’t forget to delete your account and create it again with DAVdroid 0.5) and if it still doesn’t work, please comment here again.
I tested this with 0.5.2-alpha and it is still duplicating contacts.
I have a similar duplicate contacts issue using DAVdroid 0.5.2-alpha and OwnCloud 6.0.
- I install OwnCloud 6.0 and DAVdroid 0.5.2-alpha.
- On my phone, I start with no contacts and configure DAVdroid to sync with OwnCloud for CardDAV.
- I import a list of contacts.
- Everything looks correct.
- After some amount of time, I check back in OwnCloud and the number of contacts has increased, and increases, and keeps increasing.
Are there others who have OwnCloud as a CardDAV server and don’t have this problem? Alternately, what CardDAV servers are successfully working?
One more question for @rfc2822 . How many contacts is too many? I have something like 500. Also, most of them have pictures. This means a contacts.vcf file is around 4M in size. Do I need to be worried?
These are the steps I followed with 0.5.2-alpha and Baïkal 0.2.6:
- Exported all contacts to a vcf file.
- Deleted old DAVdroid account, verified that contacts disappeared from contacts app.
- Tried to delete the default address-book for my user with Baïkal’s web admin interface but that choked and never finished loading the page and the address-book remained. Instead I deleted all rows from the
cardstable in the sqlite database, verified that the web admin interface showed no contacts in my address-book.
- Added new DAVdroid account to phone.
- Imported contacts from vcf file.
- Watched the contact count on the web admin interface grow past 500 contacts while the phone said it was still syncing. I have just under 500 contacts on the phone.
As I wrote above, I’m having the same contacts duplication bug using OwnCloud. For the phone, I’ve tested on a Galaxy S3 and using an emulated phone on my computer. Both behave the same (i.e., badly).
Both Baikal and OwnCloud appear to use a SabreDAV back end. So possibly we’re seeing the same underlying problem. (But I am just speculating.)
Is this issue a good place for me to comment about my problems using OwnCloud, or would it be better to open another?
Please try again with DAVdroid 0.5.4 (uninstall/delete all accounts, then install DAVdroid 0.5.4 and add accounts again). There have been many improvements related to a larger number of contacts/events as well as performance optimisations.
0.5.4-alpha from f-droid works!
Also works for me with Davdroid 0.5.4 from F-Droid (and on the server side, OwnCloud). Great work, thanks!