Contacts received from ownCloud 5 but not added
I cannot synchronize my contacts with ownCloud 5 after having moved from CardDAV to DAVdroid any longer.
Here is what I did:
a) installed DAVdroid from GooglePlay
b) removed my CardDAV account, all contacts vanished
c) added DAVdroid account and started sync process by hand
d) still no contacts
The debug log implies that all 262 contacts were transfered from the onwCloud server to DAVdroid. For example:
05-21 22:42:59.167: D/davdroid.WebDavResource(13478): Processing multi-status element: http://192.168.1.212:81/ownCloud/remote.php/carddav/addressbooks/Thomas/contacts/C594A7B9-3600-0001-D291-A6B012391917.vcf 05-21 22:42:59.167: D/davdroid.WebDavResource(13478): Processing multi-status element: http://192.168.1.212:81/ownCloud/remote.php/carddav/addressbooks/Thomas/contacts/C594A7B9-3600-0001-A9FB-4850FB3014E4.vcf 05-21 22:42:59.167: D/davdroid.WebDavResource(13478): Processing multi-status element: http://192.168.1.212:81/ownCloud/remote.php/carddav/addressbooks/Thomas/contacts/C594A7B9-3610-0001-D42C-35FCBD2013AD.vcf
But the final messages are:
05-21 22:43:01.457: I/davdroid.SyncManager(13478): Fetching 0 new remote resource(s) 05-21 22:43:01.457: I/davdroid.SyncManager(13478): Fetching 0 updated remote resource(s) 05-21 22:43:01.457: I/davdroid.SyncManager(13478): Removing non-dirty resources that are not present remotely anymore 05-21 22:43:01.457: D/davdroid.LocalCollection(13478): Committing 1 operations 05-21 22:43:01.487: I/davdroid.SyncManager(13478): Sync complete, fetching new CTag 05-21 22:43:01.507: I/davdroid.DavSyncAdapter(13478): Sync complete for com.android.contacts
DAVdroid/0.5.13-alpha from Google Play Store
Sony Z1 Compact running Andoid 4.4.2
OwnCloud 5 hosted on WHS 2007
Please provide the full logs. The "processing multi-status element" message means that the server response contained these elements, but they may have been ignored for various reasons.
Link to log file: https://gist.github.com/tools400/8939b492af93453cc7fe
d) still no contacts
Are the contacts (including all data) transferred at the first sync when you add the account?
Are you really sure that the contacts are not stored on the device? You may have to switch to "View: DAVdroid contacts" in the Contacts app.
Yes, I am as sure as I could be, that the contacts are not on the device. Nevertheless you might see the error when I describe what I do.
I start at the home screen and select "Contacts":
The screen changes to ...
... where I select "Syncronize Accounts". I select "DAVdroid" from here:
At the following screen I synchronize my account by hand:
When the tasks ends, I return to "Contacts":
That is very similar to what I did with CardDAV to get my contacts on the device.
Meanwhile I did a factory reset to start with a fresh device with no success.
I am stuck.
Maybe that I have to correct myself. By chance I noticed that at least the contact of my wife must be somewhere on the device, because when I pasted her last name into the field for the last name of an ICE contact, two contacts where shown:
That only works when adding a new ICE contact. There is no way to search for a contact, e.g. from ICE -> Use existing contact.
Hurray! I eventually found my contacts. Not very intuitively I had to open "Contacts", select "Settings" and "Filter" to get to a screen where the contact providers (SIM, Google, DAVdroid, etc.) can be enabled:
Do you think that it is possible to enabled DAVdroid contacts when adding a DAVdroid account? That would be much easier for newbies like me.
Thanks and sorry for bothering you.