Navigation

    Kopano
    • Register
    • Login
    • Search
    • Categories
    • Get Official Kopano Support
    • Recent
    Statement regarding the closure of the Kopano community forum and the end of the community edition

    Force full resync with custom backend

    Z-Push when using other backends
    2
    3
    352
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • malbinol
      malbinol last edited by

      Hi all,
      We have been using z-push from years with our custom backend.
      Now, due to a bad choice for folderId values taken in past, we decided to update our backend with new logic that better reflect our server-side folderIds.
      We know that this change has impact on information stored both in state and in devices, so we decided to follow the procedure described here (https://wiki.z-hub.io/display/ZP/Upgrade+to+Z-Push+2.3),
      about cleaning state dir in oder to force a full-refresh.
      Unfortunately, we noticed that some devices (especially Android) are slow to understand that a full-refresh is needed and they took serveral hours just for starting the sync.
      We tried also the resync command from zpush-admin with poor success.
      So my question is, are there any other tricks that we can use in order to make a device start a full-refresh as soon as we delete the state dir?

      Any help is appreciated.
      Thank you,
      Matteo

      1 Reply Last reply Reply Quote 0
      • Manfred
        Manfred Kopano last edited by

        Hi Matteo,

        the only sure way for a device to start a full-resync immediately is to remove the profile from the device and re-create it again. Therefore of course a user action is required.

        There’s is no server side way to force device re-sync immediately because the user might have set manual sync or sync only X minutes. Then it’s possible that devices react differently to ActiveSync response codes for resync and some take longer than the others. So, no, it’s not possible to guarantee immediate device resync for all devices configured to use Z-Push.

        Manfred

        1 Reply Last reply Reply Quote 0
        • malbinol
          malbinol last edited by

          I was hoping to not hear this…
          Anyway, thank you @Manfred for your clarification.

          Matteo

          1 Reply Last reply Reply Quote 0
          • First post
            Last post