Contacts received from ownCloud 5 but not added



  • Hi,

    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

    Any ideas?

    Thomas.


  • developer

    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.




  • developer

    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":
    device-2014-05-23-171308
    The screen changes to ...
    device-2014-05-23-171348
    ... where I select "Syncronize Accounts". I select "DAVdroid" from here:
    device-2014-05-23-171410
    At the following screen I synchronize my account by hand:
    device-2014-05-23-171426
    Synchronizing ...
    device-2014-05-23-171444
    When the tasks ends, I return to "Contacts":
    device-2014-05-23-171517
    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:

    ece

    Strange.



  • 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:

    device-2014-05-23-193413
    device-2014-05-23-193446

    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.


Log in to reply
 

Looks like your connection to Bitfire App Forums was lost, please wait while we try to reconnect.