I’m a bit puzzled. Synchro works but then removes the contacts from the storage.
context
First some data:
- DAVdroid 0.8.4 from F-Droid
- owncloud 8.1 (318 contact on my contact app in owncloud)
- android 5.1.1 (Xiaomi Mi3 XenonHD ROM)
On roundcube, I use a plugin to retrieve the contact from owncloud via carddav and the result is 318 contacts. I tried to purge the db on roundcube and sync again; still 318 contacts.
the issue: android sync
I sadly don’t know since what or when, but I experience a strange issue on my android device:
- I purge the contact storage app (I even uninstalled davdroid, rebooted and reinstalled)
- go to contact app
- select my davdroid account to be the only visible
- start manual sync
- it syncs (see below): i.e. contact are added
- then only a few remains in the contact db
It does a lot of stuff; requesting vcards, obtaining them and consuming them.
While sync, If I switch to the contact app, I see the list of contacts is growing (with all the entries as some disappear latter).
In the log in the end I have
08-29 11:34:33.379 I/davdroid.SyncManager(23059): Removing entries that are not present remotely anymore (retaining 318 entries)
But in the end I only have 22 contacts in the app and the db.
I pull the contact2.db from my phone and it contains 22 entries related to the account “owncloud”.
If I look at the deleted_contact table, it contains 303 entries.
I don’t know if this is a davdroid bug but it seems to not persist the changes (although changes are persisted but then deleted…).
Is there anything I can do to help diagnose this ?
I produced a log based on your recommendation checked it for relevant info, but no errors.
I’m unable to add it here as it is more than 700k.
Thanks in advance for any hints.