IOS Devices dont getting synced anymore since z-push/kopano Update



  • Hello Guys.

    Since the last 2 Updates on z-push and kopano i have big problems on my ios devices.
    we are on kopano 8.6.30.3
    and z-push 2.4.0
    on ubuntu 16

    the devices not syncning right anymore. I am also unable to load emails. Battery is getting drained very fast.

    I cleared loop states and removed the device and resatrted sync with the following error messages:

    21/03/2018 08:33:23 [20473] [ INFO] [userxyz] StateNotFoundException: FileStateMachine->GetStateHash(): Could not locate state '/var/lib/z-push/g/a/devicexyz-devicedata' - code: 0 - file: /usr/share/z-push/lib/default/filestatemachine.php:93
    21/03/2018 08:33:23 [20473] [ INFO] [userxyz] StateNotFoundException: FileStateMachine->GetStateHash(): Could not locate state '/var/lib/z-push/g/a/devicexyz-devicedata' - code: 0 - file: /usr/share/z-push/lib/default/filestatemachine.php:93
    21/03/2018 08:33:23 [20473] [ INFO] [userxyz] ProvisioningRequiredException: Retry after sending a PROVISION command - code: 0 - file: /usr/share/z-push/index.php:82
    21/03/2018 08:33:23 [20473] [ INFO] [userxyz] User-agent: 'Apple-iPhone9C4/1504.100'
    21/03/2018 08:33:23 [20473] [FATAL] [userxyz] Exception: (ProvisioningRequiredException) - Retry after sending a PROVISION command
    21/03/2018 08:33:23 [20473] [ INFO] [userxyz] cmd='Sync' memory='3.55 MiB/4.00 MiB' time='0.03s' devType='iPhone' devId='devicexyz' getUser='userxyz' from='xxx.xxx.xxx.xxx' idle='0s' version='2.4.0+0-0' method='POST' httpcode='449'
    21/03/2018 08:33:23 [20478] [ INFO] [userxyz] Options request
    21/03/2018 08:33:23 [20478] [ INFO] [userxyz] cmd='' memory='3.33 MiB/4.00 MiB' time='0.03s' devType='' devId='' getUser='userxyz' from='xxx.xxx.xxx.xxx' idle='0s' version='2.4.0+0-0' method='OPTIONS' httpcode='200'
    21/03/2018 08:33:23 [20483] [ INFO] [userxyz] StateNotFoundException: FileStateMachine->GetStateHash(): Could not locate state '/var/lib/z-push/g/a/devicexyz-devicedata' - code: 0 - file: /usr/share/z-push/lib/default/filestatemachine.php:93
    21/03/2018 08:33:23 [20483] [ INFO] [userxyz] Announcing latest AS version to device: 12.0,12.1,14.0,14.1
    21/03/2018 08:33:23 [20488] [ INFO] [userxyz] StateNotFoundException: FileStateMachine->GetStateHash(): Could not locate state '/var/lib/z-push/g/a/devicexyz-devicedata' - code: 0 - file: /usr/share/z-push/lib/default/filestatemachine.php:93
    21/03/2018 08:33:23 [20488] [ INFO] [userxyz] StateNotFoundException: FileStateMachine->GetStateHash(): Could not locate state '/var/lib/z-push/g/a/devicexyz-devicedata' - code: 0 - file: /usr/share/z-push/lib/default/filestatemachine.php:93
    21/03/2018 08:33:23 [20488] [ INFO] [userxyz] ProvisioningRequiredException: Retry after sending a PROVISION command - code: 0 - file: /usr/share/z-push/index.php:82
    21/03/2018 08:33:23 [20488] [ INFO] [userxyz] User-agent: 'Apple-iPhone9C4/1504.100'
    21/03/2018 08:33:23 [20488] [FATAL] [userxyz] Exception: (ProvisioningRequiredException) - Retry after sending a PROVISION command
    21/03/2018 08:33:23 [20488] [ INFO] [userxyz] cmd='Settings' memory='3.55 MiB/4.00 MiB' time='0.02s' devType='iPhone' devId='devicexyz' getUser='userxyz' from='xxx.xxx.xxx.xxx' idle='0s' version='2.4.0+0-0' method='POST' httpcode='449'
    21/03/2018 08:33:23 [20483] [ INFO] [userxyz] Linking device ID 'devicexyz' to user 'userxyz'
    21/03/2018 08:33:24 [20483] [ INFO] [userxyz] cmd='Provision' memory='3.93 MiB/6.00 MiB' time='0.11s' devType='iPhone' devId='devicexyz' getUser='userxyz' from='xxx.xxx.xxx.xxx' idle='0s' version='2.4.0+0-0' method='POST' httpcode='200'
    21/03/2018 08:33:24 [20493] [ INFO] [userxyz] cmd='Provision' memory='3.70 MiB/4.00 MiB' time='0.04s' devType='iPhone' devId='devicexyz' getUser='userxyz' from='xxx.xxx.xxx.xxx' idle='0s' version='2.4.0+0-0' method='POST' httpcode='200'
    21/03/2018 08:33:24 [20473] [ INFO] [userxyz] NoHierarchyCacheAvailableException: Folderid 'Ue4520' is not fully synchronized on the device - code: 0 - file: /usr/share/z-push/lib/core/devicemanager.php:465
    21/03/2018 08:33:24 [20473] [ INFO] [userxyz] Full device resync requested
    21/03/2018 08:33:24 [20473] [WARN] [userxyz] Not possible to determine class of request. Request did not contain class and apparently there is an issue with the HierarchyCache.
    21/03/2018 08:33:24 [20473] [ INFO] [userxyz] cmd='Sync' memory='4.28 MiB/6.00 MiB' time='0.04s' devType='iPhone' devId='devicexyz' getUser='userxyz' from='xxx.xxx.xxx.xxx' idle='0s' version='2.4.0+0-0' method='POST' httpcode='200'
    21/03/2018 08:33:24 [20488] [ INFO] [userxyz] cmd='Settings' memory='3.91 MiB/6.00 MiB' time='0.05s' devType='iPhone' devId='devicexyz' getUser='userxyz' from='xxx.xxx.xxx.xxx' idle='0s' version='2.4.0+0-0' method='POST' httpcode='200'
    21/03/2018 08:33:24 [20478] [ INFO] [userxyz] StateNotFoundException: No hierarchy UUID linked to device. Requesting folder resync. - code: 0 - file: /usr/share/z-push/lib/core/statemanager.php:486
    21/03/2018 08:33:24 [20478] [ INFO] [userxyz] cmd='FolderSync' memory='3.97 MiB/6.00 MiB' time='0.04s' devType='iPhone' devId='devicexyz' getUser='userxyz' from='xxx.xxx.xxx.xxx' idle='0s' version='2.4.0+0-0' method='POST' httpcode='200'
    21/03/2018 08:33:25 [20499] [WARN] [userxyz] /usr/share/z-push/backend/kopano/mapiprovider.php:997 Undefined offset: 1714487554 (8)
    21/03/2018 08:33:25 [20499] [WARN] [userxyz] /usr/share/z-push/backend/kopano/mapiprovider.php:997 Undefined offset: 1714487554 (8)
    21/03/2018 08:33:25 [20499] [WARN] [userxyz] /usr/share/z-push/backend/kopano/mapiprovider.php:997 Undefined offset: 1714487554 (8)
    21/03/2018 08:33:25 [20499] [WARN] [userxyz] /usr/share/z-push/backend/kopano/mapiprovider.php:997 Undefined offset: 1714487554 (8)
    21/03/2018 08:33:25 [20499] [WARN] [userxyz] /usr/share/z-push/backend/kopano/mapiprovider.php:997 Undefined offset: 1714487554 (8)
    21/03/2018 08:33:25 [20499] [WARN] [userxyz] /usr/share/z-push/backend/kopano/mapiprovider.php:997 Undefined offset: 1714487554 (8)
    21/03/2018 08:33:25 [20499] [WARN] [userxyz] /usr/share/z-push/backend/kopano/mapiprovider.php:997 Undefined offset: 1714487554 (8)
    21/03/2018 08:33:25 [20499] [WARN] [userxyz] /usr/share/z-push/backend/kopano/mapiprovider.php:997 Undefined offset: 1714487554 (8)
    21/03/2018 08:33:25 [20499] [WARN] [userxyz] /usr/share/z-push/backend/kopano/mapiprovider.php:997 Undefined offset: 1714487554 (8)
    21/03/2018 08:33:25 [20499] [WARN] [userxyz] /usr/share/z-push/backend/kopano/mapiprovider.php:997 Undefined offset: 1714487554 (8)
    21/03/2018 08:33:25 [20499] [WARN] [userxyz] /usr/share/z-push/backend/kopano/mapiprovider.php:997 Undefined offset: 1714487554 (8)
    21/03/2018 08:33:25 [20499] [WARN] [userxyz] /usr/share/z-push/backend/kopano/mapiprovider.php:997 Undefined offset: 1714487554 (8)
    21/03/2018 08:33:25 [20499] [ INFO] [userxyz] cmd='FolderSync' memory='4.97 MiB/6.00 MiB' time='0.32s' devType='iPhone' devId='devicexyz' getUser='userxyz' from='xxx.xxx.xxx.xxx' idle='0s' version='2.4.0+0-0' method='POST' httpcode='200'
    21/03/2018 08:33:25 [20493] [ INFO] [userxyz] StateNotFoundException: FileStateMachine->GetState(): Could not locate state '/var/lib/z-push/g/a/devicexyz-e6ef08f2-c706-47d9-94d9-5b7d8b0d72a1-2682' - code: 0 - file: /usr/share/z-push/lib/default/filestatemachine.php:126
    21/03/2018 08:33:25 [20493] [ INFO] [userxyz] cmd='Sync' memory='4.29 MiB/6.00 MiB' time='0.05s' devType='iPhone' devId='devicexyz' getUser='userxyz' from='xxx.xxx.xxx.xxx' idle='0s' version='2.4.0+0-0' method='POST' httpcode='200'
    21/03/2018 08:33:25 [20488] [ INFO] [userxyz] StateNotFoundException: FileStateMachine->GetState(): Could not locate state '/var/lib/z-push/g/a/devicexyz-739e33f0-6d58-42ac-8ad2-4372fef3fe0c-4' - code: 0 - file: /usr/share/z-push/lib/default/filestatemachine.php:126
    21/03/2018 08:33:25 [20488] [ INFO] [userxyz] cmd='Sync' memory='4.29 MiB/4.00 MiB' time='0.05s' devType='iPhone' devId='devicexyz' getUser='userxyz' from='xxx.xxx.xxx.xxx' idle='0s' version='2.4.0+0-0' method='POST' httpcode='200'
    21/03/2018 08:33:26 [20478] [ INFO] [userxyz] cmd='Sync' memory='5.24 MiB/4.00 MiB' time='0.44s' devType='iPhone' devId='devicexyz' getUser='userxyz' from='xxx.xxx.xxx.xxx' idle='0s' version='2.4.0+0-0' method='POST' httpcode='200'
    21/03/2018 08:33:26 [20468] [ INFO] [info@domainxyz.de] LoopDetection->ProcessLoopDetectionIsHierarchyResyncRequired(): Potential loop detected. Full hierarchysync indicated.
    21/03/2018 08:33:26 [20468] [ INFO] [info@domainxyz.de] cmd='FolderSync' memory='4.13 MiB/6.00 MiB' time='2.61s' devType='SAMSUNGSMGY' devId='sec1cc6c20a3e553' getUser='info@domainxyz.de' from='1xxx.xxx.xxx.xxx' idle='0s' version='2.4.0+0-0' method='POST' httpcode='200'
    21/03/2018 08:33:27 [20510] [ INFO] [userxyz] cmd='Sync' memory='5.24 MiB/6.00 MiB' time='0.17s' devType='iPhone' devId='devicexyz' getUser='userxyz' from='xxx.xxx.xxx.xxx' idle='0s' version='2.4.0+0-0' method='POST' httpcode='200'
    21/03/2018 08:33:27 [20515] [ INFO] [userxyz] cmd='Sync' memory='5.25 MiB/6.00 MiB' time='0.60s' devType='iPhone' devId='devicexyz' getUser='userxyz' from='xxx.xxx.xxx.xxx' idle='0s' version='2.4.0+0-0' method='POST' httpcode='200'
    21/03/2018 08:33:28 [20499] [ INFO] [userxyz] cmd='Sync' memory='5.25 MiB/4.00 MiB' time='0.46s' devType='iPhone' devId='devicexyz' getUser='userxyz' from='xxx.xxx.xxx.xxx' idle='0s' version='2.4.0+0-0' method='POST' httpcode='200'
    21/03/2018 08:33:30 [20473] [ INFO] [userxyz] cmd='Sync' memory='5.25 MiB/4.00 MiB' time='0.75s' devType='iPhone' devId='devicexyz' getUser='userxyz' from='xxx.xxx.xxx.xxx' idle='0s' version='2.4.0+0-0' method='POST' httpcode='200'
    21/03/2018 08:33:31 [20493] [ INFO] [userxyz] cmd='Sync' memory='5.25 MiB/4.00 MiB' time='0.48s' devType='iPhone' devId='devicexyz' getUser='userxyz' from='xxx.xxx.xxx.xxx' idle='0s' version='2.4.0+0-0' method='POST' httpcode='200'
    21/03/2018 08:33:32 [20488] [ INFO] [userxyz] cmd='Sync' memory='5.25 MiB/4.00 MiB' time='0.64s' devType='iPhone' devId='devicexyz' getUser='userxyz' from='xxx.xxx.xxx.xxx' idle='0s' version='2.4.0+0-0' method='POST' httpcode='200'
    21/03/2018 08:33:32 [20478] [ INFO] [userxyz] cmd='Sync' memory='5.25 MiB/4.00 MiB' time='0.15s' devType='iPhone' devId='devicexyz' getUser='userxyz' from='xxx.xxx.xxx.xxx' idle='0s' version='2.4.0+0-0' method='POST' httpcode='200'
    21/03/2018 08:33:33 [20510] [ INFO] [userxyz] cmd='Sync' memory='5.26 MiB/4.00 MiB' time='0.58s' devType='iPhone' devId='devicexyz' getUser='userxyz' from='xxx.xxx.xxx.xxx' idle='0s' version='2.4.0+0-0' method='POST' httpcode='200'
    21/03/2018 08:33:34 [20499] [ INFO] [userxyz] cmd='Sync' memory='5.26 MiB/4.00 MiB' time='0.53s' devType='iPhone' devId='devicexyz' getUser='userxyz' from='xxx.xxx.xxx.xxx' idle='0s' version='2.4.0+0-0' method='POST' httpcode='200'
    21/03/2018 08:33:35 [20473] [ INFO] [userxyz] cmd='Sync' memory='5.26 MiB/4.00 MiB' time='0.56s' devType='iPhone' devId='devicexyz' getUser='userxyz' from='xxx.xxx.xxx.xxx' idle='0s' version='2.4.0+0-0' method='POST' httpcode='200'
    21/03/2018 08:33:37 [20493] [ INFO] [userxyz] cmd='Sync' memory='5.27 MiB/4.00 MiB' time='0.55s' devType='iPhone' devId='devicexyz' getUser='userxyz' from='xxx.xxx.xxx.xxx' idle='0s' version='2.4.0+0-0' method='POST' httpcode='200'
    
    

    after that i get on second frequency:

     [20493] [ INFO] [userxyz] cmd='Sync' memory='5.27 MiB/4.00 MiB' time='0.55s' devType='iPhone' devId='devicexyz' getUser='userxyz' from='xxx.xxx.xxx.xxx' idle='0s' version='2.4.0+0-0' method='POST' httpcode='200'
    

    a z-push-admin -a list -u usera gives me the feedback that the device stuck in syncronizing:

    Synchronized devices of user: usera
    -----------------------------------------------------
    DeviceId:               xxxxxxxxxxxxxxxxxxxx
    Device type:            iPhone
    UserAgent:              Apple-iPhone9C4/1504.100
    Device Model:           iPhone9C4
    Device friendly name:   iPhone 7 Plus
    Device OS:              iOS 11.2.6 15D100
    Device OS Language:     de-DE
    ActiveSync version:     14.1
    First sync:             2018-03-21 08:33
    Last sync:              2018-03-21 08:42
    Sync Period:            unlimited (0)
    Total folders:          26
    Short folder Ids:       Yes
    Synchronized folders:   2 (1 in progress)
    Synchronized data:      Emails(2)
    Synchronization progress:
            Folder: Inbox                Sync: Synchronizing Status: 90% (502/559)
    Additional Folders:     none
    Status:                 OK
    WipeRequest on:         not set
    WipeRequest by:         not set
    Wiped on:               not set
    Policy name:            default
    Attention needed:       No errors known
    

    Whats going wrong here. What can i do?

    Br Stefan


  • Kopano

    Hi Stefan,

    What were the 2 updates? Z-Push and Kopano? From which versions have you updated?

    For the Z-Push update - how have you updated? Did you do anything with the state folder (deleting or moving it manually or manipulating something with z-push-admin)? Did you also update the firmware of the device? Have you created a new profile on the device?

    Is the device really stuck synchronising or is it still synchronising? How many devices are affected?

    Are there other devices than iphones connected? Do they have similar issues?

    Manfred



  • Hi Manfred

    i upgraded kopano and z-push via the Ubuntu 16.04 Repositorys.
    The Problem starting with z-push Version 2.3.8. On Kopano Side i cannot remember the Version but it was working with Kopano 5.4.0

    I tried different Things:
    I upgraded without touching state Folder or anything else on z-push Side.
    The Ios Devices are on 11.2.6.
    For Troubleshoting i tried everything include wipeing the Device I also recreated couple of Times the Profils on the Phones without Success.
    On z-push Side i tried :
    z-push-admin -a remove -u usera
    and
    z-push-admin with clearloop and fixstates.

    When i clear the Systemwideloop the folowing is shown inside the z-push error log:

    21/03/2018 09:02:21 [21147] [WARN] [usera] Mobile loop detected! Messages sent to the mobile will be restricted to 1 items in order to identify the conflict
    21/03/2018 09:02:22 [22016] [WARN] [usera] Mobile loop detected! Messages sent to the mobile will be restricted to 1 items in order to identify the conflict
    21/03/2018 09:02:23 [22952] [WARN] [usera] Mobile loop detected! Messages sent to the mobile will be restricted to 1 items in order to identify the conflict
    21/03/2018 09:02:26 [22068] [WARN] [usera] Mobile loop detected! Messages sent to the mobile will be restricted to 1 items in order to identify the conflict
    21/03/2018 09:02:27 [22958] [WARN] [usera] Mobile loop detected! Messages sent to the mobile will be restricted to 1 items in order to identify the conflict
    21/03/2018 09:02:28 [22016] [WARN] [usera] Mobile loop detected! Messages sent to the mobile will be restricted to 1 items in order to identify the conflict
    21/03/2018 09:02:29 [22952] [WARN] [usera] Mobile loop detected! Messages sent to the mobile will be restricted to 1 items in order to identify the conflict
    21/03/2018 09:02:31 [22471] [WARN] [usera] Mobile loop detected! Messages sent to the mobile will be restricted to 1 items in order to identify the conflict
    21/03/2018 09:02:33 [21531] [WARN] [usera] Mobile loop detected! Messages sent to the mobile will be restricted to 1 items in order to identify the conflict
    21/03/2018 09:02:35 [22958] [WARN] [usera] Mobile loop detected! Messages sent to the mobile will be restricted to 1 items in order to identify the conflict
    21/03/2018 09:02:37 [22016] [WARN] [usera] Mobile loop detected! Messages sent to the mobile will be restricted to 1 items in order to identify the conflict
    21/03/2018 09:02:38 [22952] [WARN] [usera] Mobile loop detected! Messages sent to the mobile will be restricted to 1 items in order to identify the conflict
    21/03/2018 09:02:40 [22471] [WARN] [usera] Mobile loop detected! Messages sent to the mobile will be restricted to 1 items in order to identify the conflict
    21/03/2018 09:02:41 [21531] [WARN] [usera] Mobile loop detected! Messages sent to the mobile will be restricted to 1 items in order to identify the conflict
    21/03/2018 09:02:43 [22958] [WARN] [usera] Mobile loop detected! Messages sent to the mobile will be restricted to 1 items in order to identify the conflict
    21/03/2018 09:02:45 [20468] [WARN] [usera] Mobile loop detected! Messages sent to the mobile will be restricted to 1 items in order to identify the conflict
    21/03/2018 09:02:47 [20510] [WARN] [usera] Mobile loop detected! Messages sent to the mobile will be restricted to 1 items in order to identify the conflict
    21/03/2018 09:02:49 [21147] [WARN] [usera] Mobile loop detected! Messages sent to the mobile will be restricted to 1 items in order to identify the conflict
    21/03/2018 09:02:50 [22068] [WARN] [usera] Mobile loop detected! Messages sent to the mobile will be restricted to 1 items in order to identify the conflict
    21/03/2018 09:02:52 [22958] [WARN] [usera] Mobile loop detected! Messages sent to the mobile will be restricted to 1 items in order to identify the conflict
    21/03/2018 09:02:54 [20468] [WARN] [usera] Mobile loop detected! Messages sent to the mobile will be restricted to 1 items in order to identify the conflict
    21/03/2018 09:02:55 [20510] [WARN] [usera] Mobile loop detected! Messages sent to the mobile will be restricted to 1 items in order to identify the conflict
    21/03/2018 09:02:57 [21147] [WARN] [usera] Mobile loop detected! Messages sent to the mobile will be restricted to 1 items in order to identify the conflict
    21/03/2018 09:02:59 [22068] [WARN] [usera] Mobile loop detected! Messages sent to the mobile will be restricted to 1 items in order to identify the conflict
    21/03/2018 09:03:00 [22958] [WARN] [usera] Mobile loop detected! Messages sent to the mobile will be restricted to 1 items in order to identify the conflict
    21/03/2018 09:03:02 [20468] [WARN] [usera] Mobile loop detected! Messages sent to the mobile will be restricted to 1 items in order to identify the conflict
    21/03/2018 09:03:03 [20510] [WARN] [usera] Mobile loop detected! Messages sent to the mobile will be restricted to 1 items in order to identify the conflict
    21/03/2018 09:03:05 [21147] [WARN] [usera] Mobile loop detected! Messages sent to the mobile will be restricted to 1 items in order to identify the conflict
    21/03/2018 09:03:06 [22068] [WARN] [usera] Mobile loop detected! Messages sent to the mobile will be restricted to 1 items in order to identify the conflict
    21/03/2018 09:14:21 [23903] [FATAL] [usera] Exception: (ProvisioningRequiredException) - Retry after sending a PROVISION command
    21/03/2018 09:14:21 [23892] [FATAL] [usera] Exception: (ProvisioningRequiredException) - Retry after sending a PROVISION command
    21/03/2018 09:14:21 [22016] [FATAL] [usera] Exception: (ProvisioningRequiredException) - Retry after sending a PROVISION command
    21/03/2018 09:14:22 [24030] [FATAL] [usera] Exception: (ProvisioningRequiredException) - Retry after sending a PROVISION command
    21/03/2018 09:14:22 [24030] [WARN] [usera] The store is not available. It is not possible to remove search folder with pid 23903
    21/03/2018 09:14:22 [22016] [FATAL] [usera] Exception: (ProvisioningRequiredException) - Retry after sending a PROVISION command_(ProvisioningRequiredException) - Retry after sending a PROVISION command
    21/03/2018 09:14:22 [22016] [WARN] [usera] The store is not available. It is not possible to remove search folder with pid 23892
    21/03/2018 09:14:22 [24030] [FATAL] [usera] Excepti
    21/03/2018 09:14:22 [24030] [WARN] [usera] The store is not available. It is not possible to remove search folder with pid 22016
    21/03/2018 11:14:01 [22471] [WARN] [usera] StatusException: ExportChangesICS->InitializeExporter(): Error, mapi_exportchanges_config() failed: 0xFFFFFFFF80040116 - code: 12 - file: /usr/share/z-push/backend/kopano/exporter.php:230
    

  • Kopano

    Hi Stefan,

    are all the iOS devices affected by this? Are there other devices connected (Androids, Windows Phones, Outlook via ActiveSync)?

    Have you restarted apache after Kopano update? Are you able to open the emails in the webapp for this user?

    Manfred



  • Hi Manfred,

    yes all ios devices. I cross checked with Microsoft Outlook via ActiveSync. Same Problem !
    Via Kopano Webmail it is working great.
    Yes i restarted all relevant Services and the Server self multiple Times.

    BR Stefan


  • Kopano

    Hi Stefan,

    can you post the full WBXML log since the initial FolderSync for one of the devices?

    Manfred



  • you can download the logfile here:
    https://brockz.dyndns.tv/index.php/s/5LHTrrDlVibsoTG


  • Kopano

    Hi Stefan,

    Were you switching between sql states and file states?

    The Kopano version in the z-push.log is different from what you posted here. Are you using KC nightly builds?
    Are there any errors in server.log of kopano?

    As first action I suggest to start with a clean Z-Push installation and configuration, remove all the states, execute clearloops with z-push-admin, remove profile from the device and create a profile again.

    If the above doesn’t help, try downgrading KC to 8.5.5.0.

    Manfred



  • Hello Manfred

    for testing purpose i switched to sql states one time. Without Success. Problem still exists.
    I reinstalled z-pusg acouple of Times new wihtout Success.
    I try it again to reinstall it and coming back here with my findings.



  • Hello!

    I run into same problem after updating kopanocore to latest master from repository and z-push from 2.3.9 to 2.4.0.
    I am running a gentoo server and I’m compiling from source.

    First I tried downgrading z-push to 2.3.9 first but that didn’t help.
    After switiching kopanocore from master to 8.6.x branch it was working again.
    I switched to z-push 2.4.0 again afterwards - also without any issues.

    I haven’t checked which commit caused that problem, because I hadn’t time anymore…



  • How can i downgrade ?
    Where can i find the 8.6.x Branch ?
    I am on Kopano 8.6.80.3 an having the Problem


  • Kopano

    Hi Stefan,

    for the best practice for the downgrade you should ask Kopano Support. If you don’t have a Kopano subscription, try asking in the core subforum. There’s also a thread regarding Kopano rollback: https://forum.kopano.io/topic/327/kopano-core-rollback

    Manfred



  • Cannot download kopano core-8.4.90 for ubuntu 16.04 x64 anymore. This was my last Working Version. :(



  • It seems, I have the same problem on my Google Pixel 2 on latest Kopano for UCS (Univention)
    WebApp: 3.4.9.1330+53.1
    Kopano Core: 8.5.5
    Z-Push: 2.4.0+0-0

    I deleted the account on my mobil and deleted all related account data with z-push-admin, then I recreated the account on my mobile, it begun syncing and after several /usr/share/z-push/backend/kopano/mapiprovider.php:997 Undefined offset errors and some loop messages, z-push reportet the sync to be finished and my mobile still tries to sync all unsynced data without any new connection to the server.

    Addendum: I did my fifth account recreation on my mobile and this time I didn’t activate downloading attachments via WLAN (wifi) and now it seemed to finally sync, but with a lot of the errors and warnings, mentioned above.



  • Hello

    I Reinstalled z-Push 2.4 from The Repo (no tarball) fresh without success. Also the downgrade to kopano 8.5.5 didnt resvolve the issue.

    Br Stefan


  • Kopano

    Hi Stefan,

    is it still the same problem that the sync won’t complete? Can you post z-push-admin output for that device and user?

    Manfred



  • Hello Manfred

    here we go:

    Synchronized devices of user: usera
    -----------------------------------------------------
    DeviceId:               xxxx
    Device type:            iPhone
    UserAgent:              Apple-iPhone9C4/1504.100
    Device Model:           iPhone9C4
    Device friendly name:   iPhone 7 Plus
    Device OS:              iOS 11.2.6 15D100
    Device OS Language:     de-DE
    ActiveSync version:     14.1
    First sync:             2018-03-23 07:21
    Last sync:              2018-03-23 15:38
    Sync Period:            unlimited (0)
    Total folders:          26
    Short folder Ids:       Yes
    Synchronized folders:   6 (2 in progress)
    Synchronized data:      Emails(2) Contacts Calendars Notes Tasks
    Synchronization progress:
            Folder: Inbox                Sync: Synchronizing Status:  1% (559/40955)
            Folder: Sent Items           Sync: Synchronizing Status:  3% (59/2068)
    Additional Folders:     none
    Status:                 OK
    WipeRequest on:         not set
    WipeRequest by:         not set
    Wiped on:               not set
    Policy name:            default
    Attention needed:       No errors known
    

    No Success. Stucks since Hours… (Status)


  • Kopano

    Hi Stefan,

    there are 40k emails in your inbox. Have you tried synchronising a shorter period of time? Are there any errors in z-push.log or server.log of kopano? Do you have another device to try to sync?

    Manfred



  • Hi!

    I have the same problem with upgrade 8.6, I deleted all devices and sync again, the result:

    z-push-error.log:

    29/04/2018 12:12:02 [12054] [FATAL] [ablanco] Exception: (ProvisioningRequiredException) - Retry after sending a PROVISION command
    29/04/2018 12:13:07 [21942] [FATAL] [ablanco] Exception: (ProvisioningRequiredException) - Retry after sending a PROVISION command
    

    z-push-admin:

    Synchronized devices of user: USER
    ---------------------------------------------------
    DeviceId:               XXXXX
    Device type:            iPad
    UserAgent:              Apple-iPad4C2/1505.302
    Device Model:           iPad4C2
    Device friendly name:   iPad Air
    Device OS:              iOS 11.3.1 15E302
    Device OS Language:     es
    ActiveSync version:     14.1
    First sync:             2018-04-29 12:12
    Last sync:              2018-04-29 12:12
    Sync Period:            unlimited (0)
    Total folders:          0
    Short folder Ids:       No
    Synchronized folders:   0
    Synchronized data:      None available
    Additional Folders:     none
    Status:                 OK
    WipeRequest on:         not set
    WipeRequest by:         not set
    Wiped on:               not set
    Policy name:            default
    Attention needed:       No errors known
    -----------------------------------------------------
    DeviceId:               XXXXXX
    Device type:            iPhone
    UserAgent:              Apple-iPhone9C3/1505.302
    Device Model:           iPhone9C3
    Device friendly name:   Negro iPhone 7
    Device OS:              iOS 11.3.1 15E302
    Device OS Language:     es-ES
    ActiveSync version:     14.1
    First sync:             2018-04-29 12:13
    Last sync:              2018-04-29 12:13
    Sync Period:            unlimited (0)
    Total folders:          0
    Short folder Ids:       No
    Synchronized folders:   0
    Synchronized data:      None available
    Additional Folders:     none
    Status:                 OK
    WipeRequest on:         not set
    WipeRequest by:         not set
    Wiped on:               not set
    Policy name:            default
    Attention needed:       No errors known
    

    Thanks! :)


  • Kopano

    Hi ablanco,

    how do you deleted all devices? With z-push-admin?

    Please also post z-push.log at least at DEBUG level.

    Have you tried removing the account on the device and adding it again?

    Manfred


Log in to reply