Not working with owncloud 5.0.11 (debian)



  • Hallo,

    the contact list(s) are identified during setup. The 1st sync reports no error but no contact is transferred to the mobile. A manual started sync gets aborted with the massage "DavDroid angehalten".



  • Same for me with owncloud 5.0.12 (raspbian)
    A test with the owncloud testaccount worked like a charm.



  • Hello,

    Same problem in here, using latest 5.0.12 on a Debian Wheezy server.

    Some logs information:

    CadrDav (contacts):

    10.0.0.1 - - [14/Oct/2013:18:37:21 +0200] "OPTIONS /owncloud/ HTTP/1.0" 200 1753 "-" "DAVdroid"
    10.0.0.1 - - [14/Oct/2013:18:37:56 +0200] "OPTIONS /owncloud/remote.php/carddav/ HTTP/1.0" 401 726 "-" "DAVdroid"
    10.0.0.1 - USER [14/Oct/2013:18:37:56 +0200] "OPTIONS /owncloud/remote.php/carddav/ HTTP/1.0" 200 688 "-" "DAVdroid"
    10.0.0.1 - - [14/Oct/2013:18:37:59 +0200] "PROPFIND /owncloud/remote.php/carddav/ HTTP/1.0" 207 872 "-" "DAVdroid"
    10.0.0.1 - - [14/Oct/2013:18:38:00 +0200] "PROPFIND /owncloud/remote.php/carddav/principals/USER/ HTTP/1.0" 207 1047 "-" "DAVdroid"
    10.0.0.1 - - [14/Oct/2013:18:38:00 +0200] "PROPFIND /owncloud/remote.php/carddav/addressbooks/USER/ HTTP/1.0" 207 1544 "-" "DAVdroid"
    10.0.0.1 - - [14/Oct/2013:18:38:05 +0200] "PROPFIND /owncloud/remote.php/carddav/addressbooks/USER/contacts/ HTTP/1.0" 401 726 "-" "DAVdroid"
    10.0.0.1 - USER [14/Oct/2013:18:38:05 +0200] "PROPFIND /owncloud/remote.php/carddav/addressbooks/USER/contacts/ HTTP/1.0" 207 932 "-" "DAVdroid"
    10.0.0.1 - - [14/Oct/2013:18:38:07 +0200] "PROPFIND /owncloud/remote.php/carddav/addressbooks/USER/contacts/ HTTP/1.0" 207 44892 "-" "DAVdroid"
    10.0.0.1 - - [14/Oct/2013:18:38:09 +0200] "REPORT /owncloud/remote.php/carddav/addressbooks/USER/contacts/ HTTP/1.0" 207 448564 "-" "DAVdroid"
    10.0.0.1 - - [14/Oct/2013:18:39:26 +0200] "PROPFIND /owncloud/remote.php/carddav/addressbooks/USER/contacts/ HTTP/1.0" 401 726 "-" "DAVdroid"
    10.0.0.1 - USER [14/Oct/2013:18:39:26 +0200] "PROPFIND /owncloud/remote.php/carddav/addressbooks/USER/contacts/ HTTP/1.0" 500 688 "-" "DAVdroid"
    10.0.0.1 - USER [14/Oct/2013:18:41:08 +0200] "OPTIONS /owncloud/remote.php/carddav/ HTTP/1.0" 200 760 "-" "DAVdroid"
    10.0.0.1 - USER [14/Oct/2013:18:41:09 +0200] "PROPFIND /owncloud/remote.php/carddav/ HTTP/1.0" 207 872 "-" "DAVdroid"
    10.0.0.1 - USER [14/Oct/2013:18:41:10 +0200] "PROPFIND /owncloud/remote.php/carddav/principals/USER/ HTTP/1.0" 207 1047 "-" "DAVdroid"
    10.0.0.1 - USER [14/Oct/2013:18:41:10 +0200] "PROPFIND /owncloud/remote.php/carddav/addressbooks/USER/ HTTP/1.0" 207 1544 "-" "DAVdroid"
    10.0.0.1 - USER [14/Oct/2013:18:41:15 +0200] "PROPFIND /owncloud/remote.php/carddav/addressbooks/USER/contacts/ HTTP/1.0" 207 1004 "-" "DAVdroid"
    10.0.0.1 - USER [14/Oct/2013:18:41:19 +0200] "PROPFIND /owncloud/remote.php/carddav/addressbooks/USER/contacts/ HTTP/1.0" 207 44892 "-" "DAVdroid" 
    10.0.0.1 - USER [14/Oct/2013:18:41:21 +0200] "REPORT /owncloud/remote.php/carddav/addressbooks/USER/contacts/ HTTP/1.0" 207 448564 "-" "DAVdroid"
    10.0.0.1 - USER [14/Oct/2013:18:41:56 +0200] "PROPFIND /owncloud/remote.php/carddav/addressbooks/USER/contacts/ HTTP/1.0" 207 1004 "-" "DAVdroid"
    10.0.0.1 - USER [14/Oct/2013:18:41:58 +0200] "PROPFIND /owncloud/remote.php/carddav/addressbooks/USER/contacts/ HTTP/1.0" 207 44892 "-" "DAVdroid" 
    10.0.0.1 - USER [14/Oct/2013:18:42:00 +0200] "REPORT /owncloud/remote.php/carddav/addressbooks/USER/contacts/ HTTP/1.0" 207 448564 "-" "DAVdroid" 
    10.0.0.1 - USER [14/Oct/2013:18:42:29 +0200] "PROPFIND /owncloud/remote.php/carddav/addressbooks/USER/contacts/ HTTP/1.0" 500 760 "-" "DAVdroid"
    

    For information: using "cadaver", it returns the same kind of error when I do an "ls".

    On the CalDav, there is no such 500 error:

    10.0.0.1 - - [14/Oct/2013:19:06:32 +0200] "OPTIONS /owncloud/remote.php/caldav/ HTTP/1.0" 401 726 "-" "DAVdroid"
    10.0.0.1 - USER [14/Oct/2013:19:06:32 +0200] "OPTIONS /owncloud/remote.php/caldav/ HTTP/1.0" 200 708 "-" "DAVdroid"
    10.0.0.1 - - [14/Oct/2013:19:06:32 +0200] "PROPFIND /owncloud/remote.php/caldav/ HTTP/1.0" 207 929 "-" "DAVdroid"
    10.0.0.1 - - [14/Oct/2013:19:06:32 +0200] "PROPFIND /owncloud/remote.php/caldav/principals/USER/ HTTP/1.0" 207 1097 "-" "DAVdroid"
    10.0.0.1 - - [14/Oct/2013:19:06:33 +0200] "PROPFIND /owncloud/remote.php/caldav/calendars/USER/ HTTP/1.0" 207 2001 "-" "DAVdroid"
    10.0.0.1 - - [14/Oct/2013:19:06:41 +0200] "PROPFIND /owncloud/remote.php/caldav/calendars/USER/defaultcalendar/ HTTP/1.0" 401 726 "-" "DAVdroid"
    10.0.0.1 - USER [14/Oct/2013:19:06:41 +0200] "PROPFIND /owncloud/remote.php/caldav/calendars/USER/defaultcalendar/ HTTP/1.0" 207 945 "-" "DAVdroid"
    10.0.0.1 - - [14/Oct/2013:19:06:41 +0200] "PROPFIND /owncloud/remote.php/caldav/calendars/USER/defaultcalendar/ HTTP/1.0" 207 4026 "-" "DAVdroid"
    10.0.0.1 - - [14/Oct/2013:19:06:42 +0200] "REPORT /owncloud/remote.php/caldav/calendars/USER/defaultcalendar/ HTTP/1.0" 207 6162 "-" "DAVdroid"
    10.0.0.1 - - [14/Oct/2013:19:06:55 +0200] "PROPFIND /owncloud/remote.php/caldav/calendars/USER/defaultcalendar/ HTTP/1.0" 401 726 "-" "DAVdroid"
    10.0.0.1 - USER [14/Oct/2013:19:06:55 +0200] "PROPFIND /owncloud/remote.php/caldav/calendars/USER/defaultcalendar/ HTTP/1.0" 207 4098 "-" "DAVdroid"
    10.0.0.1 - - [14/Oct/2013:19:06:56 +0200] "REPORT /owncloud/remote.php/caldav/calendars/USER/defaultcalendar/ HTTP/1.0" 207 6162 "-" "DAVdroid"
    

    Any help is most welcome - DAVdroid may solve many of my problems :).

    If you need any more information, please ask, I can provide more (debug or else - just ask).

    Cheers,

    C.



  • To add some more information. The problem sems to acour when contacts have to be moved from server to mobile. A contact created on modile was sucsesfully transfered to the server.



  • The problem sems to acour when contacts have to be moved from server
    to mobile.

    A pull request from https://demo.owncloud.com/... and the test/test as
    pw/username worked like a charm.

    A contact created on modile was sucsesfully transfered to the server.

    I didn't test this.

    Currently I issue to contact my rPI-Server via 2G/3G broadcast from
    Android (timeouts) and I'm investigating if this affects the posted bug.



  • I dit my tests on an stable wlan conection but I have a lot of contacts on the server.



  • Currently I issue to contact my rPI-Server via 2G/3G broadcast from
    Android (timeouts) and I'm investigating if this affects the posted bug
    Problem solved (misconfigurated virtual server) but the sync still don't
    work


  • developer

    Is it possible for you to provide logcat output?



  • I do not know how. When syncing it just says: it does not work and it will be tried again shortly. Where do I find possible logs?


  • developer

    Unfortunately, that's not too easy except when you have rooted your device (then you can use logcat reading apps, just search for it). Otherwise, you would have to use debug mode and adb: http://detroitdavesraves.blogspot.co.at/2012/04/android-debug-bridge-tutorial.html

    Without logs, it's quite hard to debug the problem.



  • I/davdroid.ContactsSyncAdapter( 3933): Performing sync for authority com.android.contacts
    E/AccountPreference( 2553): Unknown sync status: 3
    I/davdroid.WebDavResource( 3933): Using preemptive Basic Authentication
    E/AccountPreference( 2553): Unknown sync status: 3
    W/InputMethodManagerService( 2277): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@41ccc8c8 attribute=null, token = android.os.BinderProxy@41ce86b8
    I/davdroid.SyncManager( 3933): Remotely removing 0 deleted resource(s) (if not changed)
    E/AccountPreference( 2553): Unknown sync status: 3
    I/davdroid.SyncManager( 3933): Uploading 0 new resource(s) (if not existing)
    I/davdroid.SyncManager( 3933): Uploading 0 modified resource(s) (if not changed)
    I/davdroid.SyncManager( 3933): Synchronization forced
    I/davdroid.SyncManager( 3933): Fetching remote resource list
    D/davdroid.HttpPropfind( 3933): Prepared PROPFIND request: <propfind xmlns="DAV:">
    D/davdroid.HttpPropfind( 3933): <prop>
    D/davdroid.HttpPropfind( 3933): <CS:getctag xmlns:CS="http://calendarserver.org/ns/"/>
    D/davdroid.HttpPropfind( 3933): <getetag/>
    D/davdroid.HttpPropfind( 3933): </prop>
    D/davdroid.HttpPropfind( 3933): </propfind>
    D/dalvikvm( 3933): GC_CONCURRENT freed 2631K, 72% free 3048K/10776K, paused 1ms+2ms, total 32ms
    D/dalvikvm( 3933): GC_CONCURRENT freed 1850K, 71% free 3153K/10776K, paused 3ms+2ms, total 26ms
    D/davdroid.WebDavCollection( 3933): Received multistatus response: <?xml version="1.0" encoding="utf-8"?>
    D/davdroid.WebDavCollection( 3933): <d:multistatus xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns" xmlns:card="urn:ietf:params:xml:ns:carddav"><d:response><d:href>/owncloud/remote.php/carddav/addressbooks/claas/contacts/</d:href><d:propstat><d:prop><x3:getctag xmlns:x3="http://calendarserver.org/ns/">1381772671</x3:getctag></d:prop><d:status>HTTP/1.1 200 OK</d:status></d:propstat><d:propstat><d:prop><d:getetag/></d:prop><d:status>HTTP/1.1 404 Not Found</d:status></d:propstat></d:response><d:response><d:href>/owncloud/remote.php/carddav/addressbooks/claas/contacts/f268d7ed-3574-4fcb-8e9d-47091cec3386.vcf</d:href><d:propstat><d:prop><d:getetag>"77187e958680410d09722c4f7dbb9b2f"</d:getetag></d:prop><d:status>HTTP/1.1 200 OK</d:status></d:propstat><d:propstat><d:prop><x3:getctag xmlns:x3="http://calendarserver.org/ns/"/></d:prop><d:status>HTTP/1.1 404 Not Found</d:status></d:propstat></d:response><d:response><d:href>/owncloud/remote.php/carddav/addressbooks/claas/contacts/c8551349-cee5-4dfe-a672-9de62151bdc7.vcf</d:href><d:propstat><d:prop><d:getetag>"5ef51d385235cbd49f509e0745035dcf"</d:getetag></d:prop><d:status>HTTP/1.1 200 OK</d:status></d:propstat><d:propstat><d:prop><x3:getctag xmlns:x3="http://calendarserver.org/ns/"/></d:prop><d:status>HTTP/1.1 404 Not Found</d:status></d:propstat></d:response><d:response><d:href>/owncloud/remote.php/carddav/addressbooks/claas/contacts/db212007-9a4f-434b-ac03-12c560fd5c04.vcf</d:href><d:propstat><d:prop><d:getetag>"9ec425e983b64bbad59203011fc400b4"</d:getetag></d:prop><d:status>HTTP/1.1 200 OK</d:status></d:propstat><d:propstat><d:prop><x3:getctag xmlns:x3="http://calendarserver.org/ns/"/></d:prop><d:status>HTTP/1.1 404 Not Found</d:status></d:propstat></d:response><d:response><d:href>/owncloud/remote.php/carddav/addressbooks/claas/contacts/ae646b5f-f217-4897-a98c-680e81c6bb26.vcf</d:href><d:propstat><d:prop><d:getetag>"45d5399109b073401cb50b8d8e8f6fcd"</d:getetag></d:prop><d:status>HTTP/1.1 200 OK</d:status></d:propstat><d:propstat><d:prop><x3:getctag xmlns:x3="http://calendarserver.org/ns/"/></d:prop><d:status>HTTP/1.1 404 Not Found</d:status></d:propstat></d:response><d:response><d:href>/owncloud/remote.php/carddav/addressbooks/claas/contacts/b5933403-2117-4127-9e20-5560690970cf.vcf</d:href><d:propstat><d:prop><d:getetag>"e1673d2b3d3ca9c58ffd52de771f7bf1"</d:getetag></d:prop><d:status>HTTP/1.1 200 OK</d:status></d:propstat><d:propstat><d:prop><x3:getctag xmlns:x3="http://calendarserver.org/ns/"/></d:prop><d:status>HTTP/1.1 404 Not Found</d:status></d:propstat></d:response><d:response><d:href>/owncloud/remote.php/carddav/addressbooks/claas/contacts/cc603e8b-07ff-42ac-b606-52ee0372a735.vcf</d:href><d:propstat><d:prop><d:getetag>"bb783d6cb3fce18b6b1858570dc4ae4b"</d:getetag></d:prop><d:status>HTTP/1.1 200 OK</d:status></d:propstat><d:propstat><d:prop><x3:getctag xmlns:x3="http://calendarserver.org/ns/"/></d:prop><d:status>HTTP/1.1 404 Not Found</d:status></d:propstat></d:response><d:response><d:href>/owncloud/remote.php/carddav/addressbooks/claas/contacts/4052e5f7-26dc-490c-97be-c8cee165076c.vcf</d:href><d:propstat><d:prop><d:getetag>"395ece6c3cb151f243c988fbc45e20a5"</d:getetag></d:prop><d:status>HTTP/1.1 200 OK</d:status></d:propstat><d:propstat><d:prop><x3:getctag xmlns:x3="http://calendarserver.org/ns/"/></d:prop><d:status>HTTP/1.1 404 Not Found</d:status></d:propstat></d:response><d:response><d:href>/owncloud/remote.php/carddav/addressbooks/claas/contacts/a651d12f-239b-4453-a51e-5cadb98de5e7.vcf</d:href><d:propstat><d:prop><d:getetag>"f642a6bb4038baabe69798f805574eb2"</d:getetag></d:prop><d:status>HTTP/1.1 200 OK</d:status></d:propstat><d:propstat><d:prop><x3:getctag xmlns:x3="http://calendarserver.org/ns/"/></d:prop><d:status>HTTP/1.1 404 Not Found</d:status></d:propstat></d:response><d:response><d:href>/owncloud/remote.php/carddav/addressbooks/claas/contacts/50fbf32d-b04f-4637-a2be-50e5b3e52c21.vcf</d:href><d:propstat><d:prop><d:getetag>"aa950bbc38136102fe4aea60543605da"</d:getetag></d:prop><d:st
    D/dalvikvm( 3263): GC_EXPLICIT freed 395K, 72% free 3058K/10776K, paused 1ms+3ms, total 21ms
    D/dalvikvm( 3263): GC_EXPLICIT freed 385K, 72% free 3023K/10776K, paused 2ms+2ms, total 28ms
    D/dalvikvm( 2277): GC_EXPLICIT freed 741K, 22% free 13564K/17204K, paused 3ms+4ms, total 72ms
    D/dalvikvm( 3933): GC_EXPLICIT freed 1308K, 72% free 3116K/10776K, paused 2ms+3ms, total 25ms
    D/dalvikvm( 3263): GC_EXPLICIT freed 285K, 72% free 3093K/10776K, paused 1ms+5ms, total 19ms
    I/davdroid.SyncManager( 3933): Adding 139 remote resource(s)
    D/DavHttpReport( 3933): Prepared REPORT request: <CD:addressbook-multiget xmlns:CD="urn:ietf:params:xml:ns:carddav" xmlns="DAV:">
    D/DavHttpReport( 3933): <href>/owncloud/remote.php/carddav/addressbooks/claas/contacts/abe9eac5-ede2-40f0-a426-953d3262bd3d.vcf</href>
    D/DavHttpReport( 3933): <href>/owncloud/remote.php/carddav/addressbooks/claas/contacts/e1a3d561-d058-4dc4-8872-96f9f3ebb63d.vcf</href>
    D/DavHttpReport( 3933): <href>/owncloud/remote.php/carddav/addressbooks/claas/contacts/98239fa3-c384-4a00-a8d0-70eee7f7fca7.vcf</href>
    D/DavHttpReport( 3933): <href>/owncloud/remote.php/carddav/addressbooks/claas/contacts/90310bce-7a29-4e68-8e7e-6a07a0aba7de.vcf</href>
    D/DavHttpReport( 3933): <href>/owncloud/remote.php/carddav/addressbooks/claas/contacts/b9df21eb-aecc-444f-ad87-b1fdbf10dea7.vcf</href>
    D/DavHttpReport( 3933): <href>/owncloud/remote.php/carddav/addressbooks/claas/contacts/f268d7ed-3574-4fcb-8e9d-47091cec3386.vcf</href>
    D/DavHttpReport( 3933): <href>/owncloud/remote.php/carddav/addressbooks/claas/contacts/0ec374f9-9dde-436e-906d-7ea9d67ed724.vcf</href>
    D/DavHttpReport( 3933): <href>/owncloud/remote.php/carddav/addressbooks/claas/contacts/b95126ce-3aaa-46d4-bef5-a6a5412098ea.vcf</href>
    D/DavHttpReport( 3933): <href>/owncloud/remote.php/carddav/addressbooks/claas/contacts/631171f3-dd8e-4a0d-8875-ae97a908c0fc.vcf</href>
    D/DavHttpReport( 3933): <href>/owncloud/remote.php/carddav/addressbooks/claas/contacts/c8551349-cee5-4dfe-a672-9de62151bdc7.vcf</href>
    D/DavHttpReport( 3933): <href>/owncloud/remote.php/carddav/addressbooks/claas/contacts/c6af0ec0-35dc-4cff-ab8d-4ac7fdab99f2.vcf</href>
    D/DavHttpReport( 3933): <href>/owncloud/remote.php/carddav/addressbooks/claas/contacts/0f080a90-c190-4324-8777-1b0e513d43b2.vcf</href>
    D/DavHttpReport( 3933): <href>/owncloud/remote.php/carddav/addressbooks/claas/contacts/755d4cc0-5ae2-481c-80eb-022868df0190.vcf</href>
    D/DavHttpReport( 3933): <href>/owncloud/remote.php/carddav/addressbooks/claas/contacts/18f41fe1-a2f1-4c3c-9ffd-f6861b976c84.vcf</href>
    D/DavHttpReport( 3933): <href>/owncloud/remote.php/carddav/addressbooks/claas/contacts/4052e5f7-26dc-490c-97be-c8cee165076c.vcf</href>
    D/DavHttpReport( 3933): <href>/owncloud/remote.php/carddav/addressbooks/claas/contacts/e81ab5fa-0279-4d0c-bd04-8be11f15d2e3.vcf</href>
    D/DavHttpReport( 3933): <href>/owncloud/remote.php/carddav/addressbooks/claas/contacts/1b0d73c8-20db-475d-b4ea-88a44ff80011.vcf</href>
    D/DavHttpReport( 3933): <href>/owncloud/remote.php/carddav/addressbooks/claas/contacts/0e830e8a-f38b-40e6-9564-4518452c8c5f.vcf</href>
    D/DavHttpReport( 3933): <href>/owncloud/remote.php/carddav/addressbooks/claas/contacts/6584a332-3c3b-4c9c-aa3d-6f1ac85f1a3e.vcf</href>
    D/DavHttpReport( 3933): <href>/owncloud/remote.php/carddav/addressbooks/claas/contacts/24a8547b-16df-4bbf-a140-2cbf9837f5d5.vcf</href>
    D/DavHttpReport( 3933): <href>/owncloud/remote.php/carddav/addressbooks/claas/contacts/3bf8e804-9dad-45c8-ab56-05f73439ce2e.vcf</href>
    D/DavHttpReport( 3933): <href>/owncloud/remote.php/carddav/addressbooks/claas/contacts/8e65eae6-cfb7-490e-bb89-ccb09b057bb9.vcf</href>
    D/DavHttpReport( 3933): <href>/owncloud/remote.php/carddav/addressbooks/claas/contacts/a9a56824-1b5d-4437-8dba-eaee0dc7ef48.vcf</href>
    D/DavHttpReport( 3933): <href>/owncloud/remote.php/carddav/addressbooks/claas/contacts/2a5fb557-2a84-4796-a3e4-1bd79e3da9e7.vcf</href>
    D/DavHttpReport( 3933): <href>/owncloud/remote.php/carddav/addressbooks/claas/contacts/29307b7f-80a3-4d63-80ca-28ca1a9d693a.vcf</href>
    D/DavHttpReport( 3933): <href>/owncloud/remote.php/carddav/addressbooks/claas/contacts/50fbf32d-b04f-4637-a2be-50e5b3e52c21.vcf</href>
    D/DavHttpReport( 3933): <href>/owncloud/remote.php/carddav/addressbooks/claas/contacts/8e122ee2-afda-4842-ac8c-a28d2f2b1bfa.vcf</href>
    D/DavHttpReport( 3933): <href>/owncloud/remote.php/carddav/addressbooks/claas/contacts/7557418a-7d68-40c5-a9c6-956968b0dd9e.vcf</href>
    D/DavHttpReport( 3933): <href>/owncloud/remote.php/carddav/addressbooks/claas/contacts/4aae73e6-d04e-4aa5-9e3f-2f5b31da4266.vcf</href>
    D/DavHttpReport( 3933): <href>/owncloud/remote.php/carddav/addressbooks/claas/contacts/4dc4565b-0e61-4946-962a-cb43874019f3.vcf</href>
    D/DavHttpReport( 3933): <href>/owncloud/remote.php/carddav/addressbooks/claas/contacts/79ab4135-745e-460b-b8e5-9c03d37bf813.vcf</href>
    D/DavHttpReport( 3933): <href>/owncloud/remote.php/carddav/addressbooks/claas/contacts/370bfb3f-2540-4450-b36c-50f4e5dfff93.vcf</href>
    D/DavHttpReport( 3933): <href>/owncloud/remote.php/carddav/addressbooks/claas/contacts/6ae7930b-bbcd-4448-b770-1ed387339c3b.vcf</href>
    D/DavHttpReport( 3933): <href>/owncloud/remote.php/carddav/addressbooks/claas/contacts/902ee234-984f-4ffb-9b64-266eb833e9ea.vcf</href>
    D/DavHttpReport( 3933): <href>/owncloud/remote.php/carddav/addressbooks/claas/contacts/e4e4f54a-0a1
    W/SingleClientConnManager( 3933): Invalid use of SingleClientConnManager: connection still allocated.
    W/SingleClientConnManager( 3933): Make sure to release the connection before allocating another one.
    D/lights ( 2277): set_light_buttons: 2
    D/dalvikvm( 3933): GC_CONCURRENT freed 1746K, 69% free 3396K/10776K, paused 2ms+3ms, total 30ms
    D/dalvikvm( 3933): GC_CONCURRENT freed 1721K, 66% free 3693K/10776K, paused 3ms+1ms, total 22ms
    D/dalvikvm( 3933): WAIT_FOR_CONCURRENT_GC blocked 16ms
    D/davdroid.WebDavCollection( 3933): Received multistatus response: <?xml version="1.0" encoding="utf-8"?>
    D/davdroid.WebDavCollection( 3933): <d:multistatus xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns" xmlns:card="urn:ietf:params:xml:ns:carddav"><d:response><d:href>/owncloud/remote.php/carddav/addressbooks/claas/contacts/abe9eac5-ede2-40f0-a426-953d3262bd3d.vcf</d:href><d:propstat><d:prop>card:address-dataBEGIN:VCARD
    D/davdroid.WebDavCollection( 3933): VERSION:3.0
    D/davdroid.WebDavCollection( 3933): ORG:Doc Holiday
    D/davdroid.WebDavCollection( 3933): TEL;TYPE=work:+XXXXXXXXXXXX
    D/davdroid.WebDavCollection( 3933): FN:XXXXXX
    D/davdroid.WebDavCollection( 3933): PRODID:-//NTBAB//Android//ContactSync//5.2
    D/davdroid.WebDavCollection( 3933): N:XXXXXXXXXXXXXXX;;;
    D/davdroid.WebDavCollection( 3933): UID:abe9eac5-ede2-40f0-a426-953d3262bd3d
    D/davdroid.WebDavCollection( 3933): REV:2013-10-14T17:43:04+00:00
    D/davdroid.WebDavCollection( 3933): CATEGORIES:Ärzte
    D/davdroid.WebDavCollection( 3933): END:VCARD
    D/davdroid.WebDavCollection( 3933): </card:address-data><d:getetag>"1063810384bfc2208b5d0560c310da52"</d:getetag></d:prop><d:status>HTTP/1.1 200 OK</d:status></d:propstat></d:response><d:response><d:href>/owncloud/remote.php/carddav/addressbooks/claas/contacts/e1a3d561-d058-4dc4-8872-96f9f3ebb63d.vcf</d:href><d:propstat><d:prop>card:address-dataBEGIN:VCARD
    D/davdroid.WebDavCollection( 3933): VERSION:3.0
    D/davdroid.WebDavCollection( 3933): TEL;TYPE=cell:+XXXXXXXXXXX
    D/davdroid.WebDavCollection( 3933): FN:XXXXXXX
    D/davdroid.WebDavCollection( 3933): PRODID:-//NTBAB//Android//ContactSync//5.2
    D/davdroid.WebDavCollection( 3933): N:XXXXXXXXXXXXXXXXXXXX;;;
    D/davdroid.WebDavCollection( 3933): UID:e1a3d561-d058-4dc4-8872-96f9f3ebb63d
    D/davdroid.WebDavCollection( 3933): REV:2013-10-14T17:22:46+00:00
    D/davdroid.WebDavCollection( 3933): END:VCARD
    D/davdroid.WebDavCollection( 3933): </card:address-data><d:getetag>"8e17718075b2fdf5a26c73b7e7a847e5"</d:getetag></d:prop><d:status>HTTP/1.1 200 OK</d:status></d:propstat></d:response><d:response><d:href>/owncloud/remote.php/carddav/addressbooks/claas/contacts/98239fa3-c384-4a00-a8d0-70eee7f7fca7.vcf</d:href><d:propstat><d:prop>card:address-dataBEGIN:VCARD
    D/davdroid.WebDavCollection( 3933): VERSION:3.0
    D/davdroid.WebDavCollection( 3933): TEL;TYPE=cell:+XXXXXXXX
    D/davdroid.WebDavCollection( 3933): FN:XXXXXXXXXXXX
    D/davdroid.WebDavCollection( 3933): PRODID:-//NTBAB//Android//ContactSync//5.2
    D/davdroid.WebDavCollection( 3933): N:XXXXXXXXXXXXXXXXXXXXXXXX;;;
    D/davdroid.WebDavCollection( 3933): UID:98239fa3-c384-4a00-a8d0-70eee7f7fca7
    D/davdroid.WebDavCollection( 3933): REV:2013-10-14T17:19:33+00:00
    D/davdroid.WebDavCollection( 3933): END:VCARD
    D/davdroid.WebDavCollection( 3933): </card:address-data><d:getetag>"995630e2168e7b4c50c84fa49a1dfc63"</d:getetag></d:prop><d:status>HTTP/1.1 200 OK</d:status></d:propstat></d:response><d:response><d:href>/owncloud/remote.php/carddav/addressbooks/claas/contacts/90310bce-7a29-4e68-8e7e-6a07a0aba7de.vcf</d:href><d:propstat><d:prop>card:address-dataBEGIN:VCARD
    D/davdroid.WebDavCollection( 3933): VERSION:3.0
    D/davdroid.WebDavCollection( 3933): TEL;TYPE=cell:+XXXXXX
    D/davdroid.WebDavCollection( 3933): EMAIL;TYPE=pref:XXXXXXXX@hotmail.com
    D/davdroid.WebDavCollection( 3933): FN:XXXXXXXXXXXXX
    D/davdroid.WebDavCollection( 3933): PRODID:-//NTBAB//Android//ContactSync//5.2
    D/davdroid.WebDavCollection( 3933): N:XXXXXXXXXXX;;;
    D/davdroid.WebDavCollection( 3933): UID:90310bce-7a29-4e68-8e7e-6a07a0aba7de
    D/davdroid.WebDavCollection( 3933): REV:2013-10-14T17:21:39+00:00
    D/davdroid.WebDavCollection( 3933): END:VCARD
    D/davdroid.WebDavCollection( 3933): </card:address-data><d:getetag>"8d937f4f779b40cee5f8359d9ef7e379"</d:getetag></d:prop><d:status>HTTP/1.1 200 OK</d:status></d:propstat></d:response><d:response><d:href>/owncloud/remote.php/carddav/addressbooks/claas/contacts/b9df21eb-aecc-444f-ad87-b1fdbf10dea7.vcf</d:href><d:propstat><d:prop>card:address-dataBEGIN:VCARD
    D/davdroid.WebDavCollection( 3933): VERSION:3.0
    D/davdroid.WebDavCollection( 3933): TEL;TYPE=cell:+XXXXXXXXX
    D/davdroid.WebDavCollection( 3933): FN:XXXXXXXXXr
    D/davdroid.WebDavCollection( 3933): PRODID:-//NTBAB//Android//ContactSync//5.2
    D/davdroid.WebDavCollection( 3933): N:XXXXXXXXXXXXXXXXXXa;;;
    D/davdroid.WebDavCollection( 3933): UID:b9df21eb-aecc-444f-ad87-b1fdbf10dea7
    D/davdroid.WebDavCollection( 3933): REV:2013-10-14T17:21:00+00:00
    D/davdroid.WebDavCollection( 3933): END:VCARD
    D/davdroid.WebDavCollection( 3933): </card:address-data><d:getetag>"32e2410f041ad358d30fc61472609675"</d:getetag></d:prop><d:status>HTTP/1.1 200 OK</d:status></d:propstat></d:response><d:response><d:href>/owncloud/remote.php/carddav/addressbooks/claas/contacts/f268d7ed-3574-4fcb-8e9d-47091cec3386.vcf</d:href><d:propstat><d:prop>card:address-dataBEGIN:VCARD
    D/davdroid.WebDavCollection( 3933): VERSION:3.0
    D/davdroid.WebDavCollection( 3933): TEL;TYPE=cell:+XXX
    D/davdroid.WebDavCollection( 3933): FN:XXX
    D/davdroid.WebDavCollection( 3933): PRODID:-//NTBAB//Android//ContactSync//5.2
    D/davdroid.WebDavCollection( 3933): N:XXX;;;
    D/davdroid.WebDavCollection( 3933): UID:f268d7ed-3574-4fcb-8e9d-47091cec3386
    D/davdroid.WebDavCollection( 3933): REV:2013-10-14T17:17:51+00:00
    D/davdroid.WebDavCollection( 3933): END:VCARD
    D/davdroid.WebDavCollection( 3933): </card:address-data><d:getetag>"77187e958680410d09722c4f7dbb9b2f"</d:getetag></d:prop><d:status>HTTP/1.1 200 OK</d:status></d:propstat></d:response><d:response><d:href>/owncloud/remote.php/carddav/addressbooks/claas/contacts/0ec374f9-9dde-436e-906d-7ea9d67ed724.vcf</d:href><d:propstat><d:prop>card:address-dataBEGIN:VCARD
    D/davdroid.WebDavCollection( 3933): VERSION:3.0
    D/davdroid.WebDavCollection( 3933): TEL;TYPE=cell:+XXX
    D/davdroid.WebDavCollection( 3933): FN:XXX
    D/davdroid.WebDavCollection( 3933): PRODID:-//NTBAB//Android//ContactSync//5.2
    D/davdroid.WebDavCollection( 3933): N:XXX;;;
    D/davdroid.WebDavCollection( 3933): UID:
    E/davdroid.ContactsSyncAdapter( 3933): net.fortuna.ical4j.data.ParserException: Error at line 4:Error parsing line
    D/SyncManager( 2277): failed sync operation claas@kartoffelfreund.dlinkddns.com/owncloud/remote.php/carddav/ u0 (bitfire.at.davdroid), com.android.contacts, USER, earliestRunTime 2508895, reason: 1000, SyncResult: stats [ numParseExceptions: 1]
    D/SyncManager( 2277): not retrying sync operation because the error is a hard error: claas@kartoffelfreund.dlinkddns.com/owncloud/remote.php/carddav/ u0 (bitfire.at.davdroid), com.android.contacts, USER, earliestRunTime 2514636, reason: 1000
    I/ActivityManager( 2277): Config changes=480 {1.0 262mcc3mnc de_DE ldltr sw360dp w640dp h335dp 320dpi nrml long land finger -keyb/v/h -nav/h s.16 themeResource=null}
    I/InputReader( 2277): Reconfiguring input devices. changes=0x00000004
    I/InputReader( 2277): Device reconfigured: id=11, name='sec_touchscreen', size 720x1280, orientation 3, mode 1, display id 0
    D/PhoneStatusBar( 2387): mSettingsPanelGravity = 55
    W/Settings( 2387): Setting bugreport_in_power_menu has moved from android.provider.Settings.Secure to android.provider.Settings.Global.
    I/WindowManager( 2277): Screen frozen for +229ms due to Window{419432d0 u0 com.android.settings/com.android.settings.SubSettings}
    D/dalvikvm( 2277): GC_EXPLICIT freed 207K, 22% free 13531K/17204K, paused 4ms+6ms, total 112ms
    D/LightsService( 2277): Excessive delay setting light: 62ms
    D/LightsService( 2277): Excessive delay setting light: 81ms
    D/LightsService( 2277): Excessive delay setting light: 66ms
    I/PowerManagerService( 2277): Going to sleep due to screen timeout...



  • I'm using owncloud 5.0.12 on Ubuntu, and couldn't log in yesterday due to the other bug, but now I can log in but a sync never finishes, here is a snippet from logcat:

    s/user%40example.org/contacts/78308dc3df.vcf</d:href><d:propstat><d:prop><card:address-data>BEGIN:VCARD&#13;
    D/davdroid.WebDavCollection(28964): VERSION:3.0&#13;
    D/davdroid.WebDavCollection(28964): FN:supportdesk@miamioh.edu&#13;
    D/davdroid.WebDavCollection(28964): N:supportdesk@miamioh.edu;;;;&#13;
    D/davdroid.WebDavCollection(28964): EMAIL;TYPE=INTERNET:supportdesk@miamioh.edu&#13;
    D/davdroid.WebDavCollection(28964): UID:78308dc3df&#13;
    D/davdroid.WebDavCollection(28964): REV:2013-09-18T16:06:37+00:00&#13;
    D/davdroid.WebDavCollection(28964): PRODID:-//ownCloud//NONSGML Contacts 0.2.5//EN&#13;
    D/davdroid.WebDavCollection(28964): END:VCARD&#13;
    D/davdroid.WebDavCollection(28964): </card:address-data><d:getetag>"01b241be2fc152ac6d656bbfe29f05ea"</d:getetag></d:prop><d:status>HTTP/1.1 200 OK</d:status></d:propstat></d:response><d:response><d:href>/owncloud/remote.php/carddav/add
    D/dalvikvm(28964): GC_CONCURRENT freed 1386K, 37% free 7781K/12192K, paused 2ms+7ms, total 58ms
    D/dalvikvm(28964): GC_CONCURRENT freed 4319K, 55% free 5489K/12192K, paused 3ms+11ms, total 63ms
    D/dalvikvm(28964): GC_CONCURRENT freed 1844K, 54% free 5691K/12192K, paused 2ms+10ms, total 71ms
    D/dalvikvm(28964): WAIT_FOR_CONCURRENT_GC blocked 25ms
    I/PropertyFactoryRegistry(28964): Not a default property: [X-MOZILLA-HTML]
    D/dalvikvm(28964): GC_CONCURRENT freed 1979K, 53% free 5756K/12192K, paused 3ms+8ms, total 58ms
    D/dalvikvm(28964): WAIT_FOR_CONCURRENT_GC blocked 19ms
    I/PropertyFactoryRegistry(28964): Not a default property: [X-MOZILLA-HTML]
    D/dalvikvm(28964): GC_CONCURRENT freed 1958K, 53% free 5845K/12192K, paused 1ms+7ms, total 59ms
    D/dalvikvm(28964): WAIT_FOR_CONCURRENT_GC blocked 32ms
    I/PropertyFactoryRegistry(28964): Not a default property: [X-MOZILLA-HTML]
    D/dalvikvm(28964): GC_CONCURRENT freed 1955K, 52% free 5913K/12192K, paused 3ms+12ms, total 76ms
    I/PropertyFactoryRegistry(28964): Not a default property: [X-MOZILLA-HTML]
    I/PropertyFactoryRegistry(28964): Not a default property: [X-MOZILLA-HTML]
    I/PropertyFactoryRegistry(28964): Not a default property: [X-MOZILLA-HTML]
    D/dalvikvm(28964): GC_CONCURRENT freed 1958K, 51% free 5987K/12192K, paused 3ms+8ms, total 53ms
    D/dalvikvm(28964): GC_CONCURRENT freed 1971K, 51% free 6064K/12192K, paused 3ms+17ms, total 92ms
    D/dalvikvm(28964): WAIT_FOR_CONCURRENT_GC blocked 43ms
    I/PropertyFactoryRegistry(28964): Not a default property: [X-MOZILLA-HTML]
    E/davdroid.ContactsSyncAdapter(28964): net.fortuna.ical4j.data.ParserException: Error at line 5:Error parsing line
    D/SyncManager(  480): failed sync operation user@example.org@mail.example.org/owncloud/remote.php/carddav/ u0 (bitfire.at.davdroid), com.android.contacts, USER, earliestRunTime 46461667, reason: 1000, SyncResult: stats [ numParseExceptions: 1]
    D/SyncManager(  480): not retrying sync operation because the error is a hard error: user@example.org@mail.example.org/owncloud/remote.php/carddav/ u0 (bitfire.at.davdroid), com.android.contacts, USER, earliestRunTime 46479815, reason: 1000
    D/AccountTypeManager(28143): Registering external account type=bitfire.at.davdroid, packageName=at.bitfire.davdroid
    E/ExternalAccountType(28143): Problem reading XML in line 4 for external package at.bitfire.davdroid
    E/ExternalAccountType(28143): com.android.contacts.common.model.account.AccountType$DefinitionException: supportsPhoneticFamilyName must be true
    E/ExternalAccountType(28143):   at com.android.contacts.common.model.account.BaseAccountType$NameKindBuilder.checkAttributeTrue(BaseAccountType.java:860)
    E/ExternalAccountType(28143):   at com.android.contacts.common.model.account.BaseAccountType$NameKindBuilder.parseDataKind(BaseAccountType.java:893)
    E/ExternalAccountType(28143):   at com.android.contacts.common.model.account.BaseAccountType$KindParser.parseDataKindTag(BaseAccountType.java:719)
    E/ExternalAccountType(28143):   at com.android.contacts.common.model.account.BaseAccountType.parseEditSchema(BaseAccountType.java:657)
    E/ExternalAccountType(28143):   at com.android.contacts.common.model.account.ExternalAccountType.inflate(ExternalAccountType.java:362)
    E/ExternalAccountType(28143):   at com.android.contacts.common.model.account.ExternalAccountType.<init>(ExternalAccountType.java:126)
    E/ExternalAccountType(28143):   at com.android.contacts.common.model.account.ExternalAccountType.<init>(ExternalAccountType.java:96)
    E/ExternalAccountType(28143):   at com.android.contacts.common.model.AccountTypeManagerImpl.loadAccountsInBackground(AccountTypeManager.java:429)
    E/ExternalAccountType(28143):   at com.android.contacts.common.model.AccountTypeManagerImpl$4.handleMessage(AccountTypeManager.java:303)
    E/ExternalAccountType(28143):   at android.os.Handler.dispatchMessage(Handler.java:99)
    E/ExternalAccountType(28143):   at android.os.Looper.loop(Looper.java:137)
    E/ExternalAccountType(28143):   at android.os.HandlerThread.run(HandlerThread.java:61)
    

    It looks like a parseerror on an entry, but I don't know why or how to fix it.

    Also the new version isn't on f-droid yet, so I had to compile it myself from the latest git checkout.


  • developer

    Could you please test 0.3.4-alpha?



  • If i Know how to compile it, yes.



  • Hello,

    I installed yesterday the latest 0.3.4 available on f-droid. Now, no more error seems to be reported by davdroid, but I'm unable to see my contacts in "people" app; and it seems to be the same case for the calendar.

    I'll try to provide some logcat output tomorrow evening (not available this evening, and device is at home).

    Cheers,

    C.



  • Hey,

    It worked for me. I just had to remove and re-add the accounts. Hope it works for you too.

    Jeanneret Cedric notifications@github.com wrote:

    Hello,

    I installed yesterday the latest 0.3.4 available on f-droid. Now, no more error seems to be reported by davdroid, but I'm unable to see my contacts in "people" app; and it seems to be the same case for the calendar.

    I'll try to provide some logcat output tomorrow evening (not available this evening, and device is at home).

    Cheers,

    C.


    Reply to this email directly or view it on GitHub.



  • Hello,

    hmm, weird, was a brand new account (I removed all the davdroid accounts on my device in order to prevent any problem with my data ;))…
    Will give it a new try tomorrow then. If this works… wow, I'll be able to remove the two app needing google-play, meaning I'll be free for good! Davdroid is only love :).



  • Just a short update from my side:
    After an update to owncloud 5.0.12 (from debian) and an update to DAVdroid 0.3.4-alpha from f-droid, DAVdroid still crashes. Removing and recreating the account on DAVdroid dose not change the behavior.



  • hmm, ok — here, owncloud 5.0.12 with 0.3.4, no crash, but no data for now.
    For information, it seems there will be some announce tomorrow regarding owncloud — it may be wise to just wait for it.



  • Better, but still no dice:

    I/davdroid.SyncManager(17517): Adding 72f8f10318.vcf
    I/davdroid.SyncManager(17517): Adding 30f1c4ce99.vcf
    I/davdroid.SyncManager(17517): Adding 4556b975f1.vcf
    I/davdroid.SyncManager(17517): Adding c567349f1e.vcf
    I/davdroid.SyncManager(17517): Adding c3fc0fe0d8.vcf
    I/davdroid.SyncManager(17517): Adding c98a47e1d9.vcf
    E/JavaBinder(17517): !!! FAILED BINDER TRANSACTION !!!
    E/davdroid.DavSyncAdapter(17517): Remote process (content provider?) died
    E/davdroid.DavSyncAdapter(17517): android.os.TransactionTooLargeException
    E/davdroid.DavSyncAdapter(17517):       at android.os.BinderProxy.transact(Native Method)
    E/davdroid.DavSyncAdapter(17517):       at android.content.ContentProviderProxy.applyBatch(ContentProviderNative.java:482)
    E/davdroid.DavSyncAdapter(17517):       at android.content.ContentProviderClient.applyBatch(ContentProviderClient.java:227)
    E/davdroid.DavSyncAdapter(17517):       at at.bitfire.davdroid.resource.LocalCollection.commit(LocalCollection.java:159)
    E/davdroid.DavSyncAdapter(17517):       at at.bitfire.davdroid.syncadapter.SyncManager.synchronize(SyncManager.java:147)
    E/davdroid.DavSyncAdapter(17517):       at at.bitfire.davdroid.syncadapter.DavSyncAdapter.onPerformSync(DavSyncAdapter.java:56)
    E/davdroid.DavSyncAdapter(17517):       at android.content.AbstractThreadedSyncAdapter$SyncThread.run(AbstractThreadedSyncAdapter.java:257)
    D/SyncManager(  482): failed sync operation user@domain.org@mail.domain.org/owncloud/remote.php/carddav/ u0 (bitfire.at.davdroid), com.android.contacts, USER, earliestRunTime 79202490, reason: 1000, SyncResult: databaseError: true stats [ numInserts: 505]
    D/AccountTypeManager(17577): Registering external account type=bitfire.at.davdroid, packageName=at.bitfire.davdroid
    W/ResourceType(17577): getEntry failing because entryIndex 196 is beyond type entryCount 77
    W/ResourceType(17577): Failure getting entry for 0x7f0200c4 (t=1 e=196) in package 0 (error -2147483647)
    I/AccountTypeManager(17577): Loaded meta-data for 3 account types, 2 accounts in 25ms(wall) 6ms(cpu)
    

    Maybe you need to split the transactions up into smaller chunks? I have 505 contacts and get that exception.


Log in to reply
 

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