StatusException: ExportChangesICS->InitializeExporter(): Error, mapi_exportchanges_config() failed: 0xFFFFFFFF8004010F

Hallo,

ich habe folgendes Problem beim Synchronisieren von einigen Postfächern:

StatusException: ExportChangesICS->InitializeExporter(): Error, mapi_exportchanges_config() failed: 0xFFFFFFFF8004010F - code: 12 - file: /usr/share/z-push/backend/kopano/exporter.php:225

Andere Mailboxen funktionieren jedoch Problemlos aktuell sind zwei Mailboxen betroffen.

Eingesetzt wird aktuell Z-PUSH Version 2.3.9 und Kopano Core 8.6.81.24.

Die Fehlermeldung vom Z-PUSH lautet:

21/08/2018 18:04:39 [ 7847] [WARN] [thomas.pons@******.de] [applf19mn] StatusException: ExportChangesICS->InitializeExporter(): Error, mapi_exportchanges_config() failed: 0xFFFFFFFF8004010F - code: 12 - file: /usr/share/z-push/backend/kopano/exporter.php:225

Kopano Server liefert keine Fehlermeldung.

Ich benötige daher unterstützung.

Danke.

Tommy2002

Hello Tommy2002,

the official forum language is English, so I’ll use it in my answer.

From the small excerpt of the log you’ve posted I’d say that the device tries to synchronise a folder which was deleted on the server. If it’s not possible to refresh the folder list on the device, you could try to do using z-push-admin:

z-push-admin -a resync -u user -d deviceid -t hierarchy

Z-Push 2.3.X versions have been deprecated, you should update to a more recent 2.4.X version (currently 2.4.4).

Manfred

Hello Manfred,

the command:

z-push-admin -a resync -u user -d deviceid -t hierarchy

as well as the complete re-set up the synchronization on the smartphone has nothing to change the situation.

I already used version 2.4 of Z-Push for testing. With the Verision 2.4 I have the same error message, however, in line 230.

Here is a current log during a synchronization attempt:

22/08/2018 06:59:28 [ 3498] [ INFO] [thomas.pons@] cmd=‘FolderSync’ memory=‘2.19 MiB/2.00 MiB’ time=‘0.04s’ devType=‘iPhone’ devId=‘applf19mn5h3ffg8’ getUser='thomas.pons@’ from=‘195.145.59.18’ idle=‘0s’ version=‘2.3.9’ method=‘POST’ httpcode=‘200’
22/08/2018 06:59:28 [ 3961] [ INFO] [thomas.pons@] cmd=‘FolderSync’ memory=‘2.39 MiB/2.00 MiB’ time=‘0.22s’ devType=‘iPhone’ devId=‘applf19mn5h3ffg8’ getUser='thomas.pons@’ from=‘195.145.59.18’ idle=‘0s’ version=‘2.3.9’ method=‘POST’ httpcode=‘200’
22/08/2018 06:59:30 [30962] [WARN] [thomas.pons@] StatusException: ExportChangesICS->InitializeExporter(): Error, mapi_exportchanges_config() failed: 0xFFFFFFFF8004010F - code: 12 - file: /usr/share/z-push/backend/kopano/exporter.php:225
22/08/2018 06:59:30 [30962] [ INFO] [thomas.pons@
] cmd=‘Sync’ memory=‘2.07 MiB/2.00 MiB’ time=‘0.09s’ devType=‘iPhone’ devId=‘applf19mn5h3ffg8’ getUser='thomas.pons@’ from=‘195.145.59.18’ idle=‘0s’ version=‘2.3.9’ method=‘POST’ httpcode=‘200’
22/08/2018 06:59:30 [30962] [ INFO] [thomas.pons@
] cmd=‘FolderSync’ memory=‘2.19 MiB/2.00 MiB’ time=‘0.07s’ devType=‘iPhone’ devId=‘applf19mn5h3ffg8’ getUser='thomas.pons@’ from=‘195.145.59.18’ idle=‘0s’ version=‘2.3.9’ method=‘POST’ httpcode=‘200’
22/08/2018 06:59:31 [ 4332] [ INFO] [thomas.pons@
] cmd=‘Sync’ memory=‘2.07 MiB/2.00 MiB’ time=‘0.06s’ devType=‘iPhone’ devId=‘applf19mn5h3ffg8’ getUser=‘thomas.pons@’ from=‘195.145.59.18’ idle=‘0s’ version=‘2.3.9’ method=‘POST’ httpcode=‘200’
22/08/2018 06:59:34 [ 4234] [ INFO] [thomas.pons@
] SyncCollections->CheckForChanges(): Waiting for store changes… (lifetime 900 seconds)
22/08/2018 06:59:48 [ 3481] [WARN] [thomas.pons@] StatusException: ExportChangesICS->InitializeExporter(): Error, mapi_exportchanges_config() failed: 0xFFFFFFFF8004010F - code: 12 - file: /usr/share/z-push/backend/kopano/exporter.php:225
22/08/2018 06:59:48 [ 3481] [ INFO] [thomas.pons@
] cmd=‘Sync’ memory=‘2.07 MiB/4.00 MiB’ time=‘0.09s’ devType=‘iPhone’ devId=‘applf19mn5h3ffg8’ getUser=‘thomas.pons@’ from=‘195.145.59.18’ idle=‘0s’ version=‘2.3.9’ method=‘POST’ httpcode=‘200’
22/08/2018 06:59:48 [ 3509] [ INFO] [thomas.pons@
] LoopDetection->ProcessLoopDetectionIsHierarchyResyncRequired(): Potential loop detected. Full hierarchysync indicated.
22/08/2018 06:59:48 [ 3509] [ INFO] [thomas.pons@] cmd=‘FolderSync’ memory=‘2.20 MiB/2.00 MiB’ time=‘0.02s’ devType=‘iPhone’ devId=‘applf19mn5h3ffg8’ getUser='thomas.pons@’ from=‘195.145.59.18’ idle=‘0s’ version=‘2.3.9’ method=‘POST’ httpcode=‘200’
22/08/2018 06:59:49 [ 3012] [ INFO] [thomas.pons@] cmd=‘FolderSync’ memory=‘2.39 MiB/2.00 MiB’ time=‘0.24s’ devType=‘iPhone’ devId=‘applf19mn5h3ffg8’ getUser='thomas.pons@’ from=‘195.145.59.18’ idle=‘0s’ version=‘2.3.9’ method=‘POST’ httpcode=‘200’
22/08/2018 06:59:50 [ 4408] [WARN] [thomas.pons@] StatusException: ExportChangesICS->InitializeExporter(): Error, mapi_exportchanges_config() failed: 0xFFFFFFFF8004010F - code: 12 - file: /usr/share/z-push/backend/kopano/exporter.php:225
22/08/2018 06:59:50 [ 4408] [ INFO] [thomas.pons@
] cmd=‘Sync’ memory=‘2.07 MiB/4.00 MiB’ time=‘0.12s’ devType=‘iPhone’ devId=‘applf19mn5h3ffg8’ getUser='thomas.pons@’ from=‘195.145.59.18’ idle=‘0s’ version=‘2.3.9’ method=‘POST’ httpcode=‘200’
22/08/2018 06:59:51 [ 3012] [ INFO] [thomas.pons@
] cmd=‘FolderSync’ memory=‘2.20 MiB/2.00 MiB’ time=‘0.05s’ devType=‘iPhone’ devId=‘applf19mn5h3ffg8’ getUser='thomas.pons@’ from=‘195.145.59.18’ idle=‘0s’ version=‘2.3.9’ method=‘POST’ httpcode=‘200’
22/08/2018 06:59:52 [ 3961] [ INFO] [thomas.pons@
] SyncCollections->CheckForChanges(): Waiting for store changes… (lifetime 900 seconds)
22/08/2018 06:59:59 [ 4385] [ INFO] [thomas.pons@] StatusException: SyncCollections->CheckForChanges(): Timeout forced after 60s from 900s due to other process - code: 3 - file: /usr/share/z-push/lib/core/synccollections.php:579
22/08/2018 06:59:59 [ 4385] [ INFO] [thomas.pons@
] cmd=‘Ping’ memory=‘2.33 MiB/4.00 MiB’ time=‘60.11s’ devType=‘iPhone’ devId=‘applf19mn5h3ffg8’ getUser=‘thomas.pons@*******************’ from=‘195.145.59.18’ idle=‘60s’ version=‘2.3.9’ method=‘POST’ httpcode=‘200’

Hello Tommy2002,

@tommy2002 said in StatusException: ExportChangesICS->InitializeExporter(): Error, mapi_exportchanges_config() failed: 0xFFFFFFFF8004010F:

Hello Manfred,

the command:

z-push-admin -a resync -u user -d deviceid -t hierarchy

as well as the complete re-set up the synchronization on the smartphone has nothing to change the situation.

Do you mean that user deleted the profile from the mobile and created it again?

Does the user have any shared folders configured?

Has the user or anyone else deleted or moved folders which the user was syncing on the server (e.g. via webapp)?

From the log it’s not possible to tell for which folder the exporter is failing. Please provide the WBXML level log.

Re-creating the profile on the mobile might not be enough. To make sure that the sync really starts from 0 delete the profile from the device, remove the device with z-push-admin, create a new profile on the device.

Manfred

Hello Manfred,

I deleted the profile on my smartphone and ran the following command via z-push-admin:

z-push-admin -a remove -d <deviceId>

Then I have the profile newly set up on the smartphone, but I have the same problem again. No emails are synced.

The log I have set to WBXML. The problem seems to be well, that does not find the INBOX folder.

The log can be viewed at https://gitlab.com/Tommy2002MW/z-push/blob/master/error_log_20180822.txt

Thank you

Tommy2002

Hello Tommy2002,

does the log end like that or is it not complete? It’s also not necessary to set the level to WBXMLSTACK, WBXML is enough.

Did this error start to occur after Z-Push or Kopano update?

Was the user’s store unhooked and hooked again or restored from the backup or something like that? Or any scripts executed on his store?

Manfred

Hello Manfred,

we have updated the Kopano version but this is already a few days ago.
The log was just an excerpt. Do you need the complete log?

greeting

Tommy2002

Hello Tommy2002,

yes, the complete log would be helpful.

Manfred