Unable to keep appointments after foldersync



  • I am using z-push v2.5 with a self-programmed backend, which gets all the necessary data from my database. I try to sync the appointments to an android device and it syncs just fine… but a few seconds / minutes later it sends another request with a FolderSync command and then all appointments (I have exactly one to keep the data transferred simple, but it also happens with >1 appointment) are gone. Even the account is no longer shown eg in google-calendar.

    Here’s the pastebin with the log: https://pastebin.com/96LzMeH6

    The rogue FolderSync starts at line 534, 13/02/2020 15:16:11

    I tried a lot of things up and down and I see no improvement. I am suspecting that my backend somehow mangles the necessary reply, but I just don’t understand what is wrong or how the data would look if it was right.

    I am also suspecting this other post is about more or less the same problem: https://forum.kopano.io/topic/2982/unable-to-sync-contacts

    Thanks for reading,
    BD



  • Not sure why but, at lines 568-570 the SyncKey is received from the client

    13/02/2020 15:16:11 [ 4161] [WBXML] [zpushy@doen] I   <FolderHierarchy:SyncKey>
    13/02/2020 15:16:11 [ 4161] [WBXML] [zpushy@doen] I    {8e6add07-3b09-4e2b-8809-7ffd9c80955c}1
    13/02/2020 15:16:11 [ 4161] [WBXML] [zpushy@doen] I   </FolderHierarchy:SyncKey>
    
    

    then line 583 reports that there are no Hierarchy changes … but still the SyncKey is changed and sent out. I would expect the received SyncKey to be returned to the client if nothing changed.

    13/02/2020 15:16:11 [ 4161] [ INFO] [zpushy@doen] ExportChangesDiff->InitializeExporter(): Found '0' changes for 'hierarchy'
    13/02/2020 15:16:11 [ 4161] [WBXML] [zpushy@doen] O  <FolderHierarchy:FolderSync>
    13/02/2020 15:16:11 [ 4161] [WBXML] [zpushy@doen] O   <FolderHierarchy:Status>
    13/02/2020 15:16:11 [ 4161] [WBXML] [zpushy@doen] O   1
    13/02/2020 15:16:11 [ 4161] [WBXML] [zpushy@doen] O   </FolderHierarchy:Status>
    13/02/2020 15:16:11 [ 4161] [WBXML] [zpushy@doen] O   <FolderHierarchy:SyncKey>
    13/02/2020 15:16:11 [ 4161] [WBXML] [zpushy@doen] O   {8e6add07-3b09-4e2b-8809-7ffd9c80955c}2
    13/02/2020 15:16:11 [ 4161] [WBXML] [zpushy@doen] O   </FolderHierarchy:SyncKey>
    
    


  • I’ll look into that!


Log in to reply