Not syncing - Unless forced



  • I just setup the add with my owncloud server.. works fine.. However if I update a contact on the owncloud web interface.. it does not update unless I manually push "sync now" on my phone... have you seen this happen before?

    Works fine if I push sync now..

    Attached
    screenshot_2014-01-16-12-17-30

    As you can see the sync has not happened for over 45mins

    Log cat file:

    http://goo.gl/3bV3mL

    Device details:
    Unrooted Samsung S3 I9305
    Running 4.3



  • Syncs after I had a new contact to Android.. Then syncs everything..
    Cal is working fine - both ways
    I also tried a reboot


  • developer

    See Configuration page:

    »Your contacts and events will be synchronized automatically

    • whenever a contact or event is changed, or
    • you force a refresh (for instance, in the calendar app), and
    • regularly by Android (the interval is chosen automatically and normally will be about one time a day).»


  • Hi Rfc2822,

    I know about the normal sync.. Your Cal part works fine.. Syncing every 10mins.. (nothing changed but still syncing)

    The server in the case has been changed for the contacts, but its been over 24 hours since I created the contact on the server and its still not synced to the local device.

    I know its not fair to compare but when you update a contact in Gmail contacts, it pushes it to the phone within 1min.


  • developer

    I know about the normal sync.. Your Cal part works fine.. Syncing every 10mins.. (nothing changed but still syncing)

    This is quite unusual and should not be.

    The server in the case has been changed for the contacts, but its been over 24 hours since I created the contact on the server and its still not synced to the local device.

    Since it's not documented by Android how long the period for automatically is (»Use this option if you don't have to force a data transfer in response to data changes, but you do want to ensure your data is regularly updated. Similarly, you can use this option if you don't want a fixed schedule for your sync adapter, but you do want it to run frequently.«), it may be longer then 24 hours on your device. If you explicitely need an update, I suggest to sync manually.

    I don't think it makes sense to sync every N minutes because this would waste resources, including power and battery.

    But I still have to say that both the 10 minutes interval and the >24 hours interval are quite unusual.

    I know its not fair to compare but when you update a contact in Gmail contacts, it pushes it to the phone within 1min.

    As you say, it uses pushing which is not available via CardDAV.


  • admin

    DAVdroid 0.7 allows to set a sync interval in the newly introduced settings dialog!


Log in to reply
 

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