Heyho,
after last days updates (my system is Debian 11) the sync with my iPhone is broken. I deleted the account from the phone and also removed the device in the admin panel afterwards and added it again, but nothing happens, no mails, no contacts, etc. The sync log is running wild.
dpkg --list | grep grom
ii grommunio-admin-api 1.9.28.774374b-1+46.1 all Backend for grommunio management
ii grommunio-admin-common 6.cb985db-1+2.2 amd64 Common files for grommunio management
ii grommunio-admin-web 2.6.0.43.2feaeef-1+35.1 all Frontend for grommunio management
ii grommunio-common 11.6708625-1+9.1 amd64 Common configuration package for grommunio
ii grommunio-dav 1.1.37.d5b6463-1 all grommunio-dav is CalDAV and CardDAV implementation for grommunio.
ii grommunio-error-pages 1.0.6.9c50afb-1+3.1 all Grommunio-branded error pages for webservers
ii grommunio-index 0.1.25.3e826c9-1+31.2 amd64 Generator for grommunio-web search indexes
ii grommunio-sync 1.1.63-0 all an implementation of the ActiveSync protocol which is
ii grommunio-web 3.1.197.c7957cc-1+160.1 all Web access for grommunio
ii gromox 2.3.20.e863745-1+17.1 amd64 Groupware server (backend) with RPCH, IMAP and Z-MAPI support
ii mapi-header-php 1.0.17.ff661f9-1+10.1 amd64 Common PHP MAPI header files for grommunio
ii system-user-grommunio 3-1 all System user and group grommunio
ii system-user-gromox 0-1 all System user and group gromox
==> /var/log/grommunio-sync/grommunio-sync-error.log <==
07/02/2023 15:26:29 [ 1026] [ WARN] [XXX@YYY.ZZZ] /usr/share/php-mapi/mapidefs.php:683 Constant CAL_GREGORIAN already defined (8)
==> /var/log/grommunio-sync/grommunio-sync.log <==
07/02/2023 15:30:10 [44206] [DEBUG] [XXX@YYY.ZZZ] -------- Start
07/02/2023 15:30:10 [44206] [DEBUG] [XXX@YYY.ZZZ] cmd='FolderSync' devType='iPhone' devId='IDDDDDDDDDDDDDDD' getUser='XXX@YYY.ZZZ' from='91.65.66.116' version='1.1.63-0' method='POST'
07/02/2023 15:30:10 [44206] [DEBUG] [XXX@YYY.ZZZ] Used timezone 'Europe/Vienna'
07/02/2023 15:30:10 [44206] [ WARN] [XXX@YYY.ZZZ] /usr/share/php-mapi/mapidefs.php:683 Constant CAL_GREGORIAN already defined (8)
07/02/2023 15:30:10 [44206] [DEBUG] [XXX@YYY.ZZZ] Grommunio using PHP-MAPI version: 2.3 - PHP version: 7.4.33
07/02/2023 15:30:10 [44206] [DEBUG] [XXX@YYY.ZZZ] Request::ProcessHeaders() ASVersion: 14.1
07/02/2023 15:30:10 [44206] [DEBUG] [XXX@YYY.ZZZ] GSync::CommandNeedsProvisioning(9): true
07/02/2023 15:30:10 [44206] [DEBUG] [XXX@YYY.ZZZ] ProvisioningManager->ProvisioningRequired('DEVICEID') saved device key 'DEVICEID': false
07/02/2023 15:30:10 [44206] [DEBUG] [XXX@YYY.ZZZ] ProvisioningManager->ProvisioningRequired() saved policy hash '91cf949cf1043901017ce2718a99d753' matches
07/02/2023 15:30:10 [44206] [DEBUG] [XXX@YYY.ZZZ] GSync::CommandNeedsAuthentication(9): true
07/02/2023 15:30:10 [44206] [DEBUG] [XXX@YYY.ZZZ] Grommunio->Logon(): Trying to authenticate user 'XXX@YYY.ZZZ'..
07/02/2023 15:30:10 [44206] [DEBUG] [XXX@YYY.ZZZ] Grommunio->openMessageStore('XXX@YYY.ZZZ'): Found 'DEFAULT' store: 'Resource id #21'
07/02/2023 15:30:10 [44206] [DEBUG] [XXX@YYY.ZZZ] Grommunio->Logon(): User 'XXX@YYY.ZZZ' is authenticated
07/02/2023 15:30:10 [44206] [DEBUG] [XXX@YYY.ZZZ] Store supports properties containing Unicode characters.
07/02/2023 15:30:10 [44206] [DEBUG] [XXX@YYY.ZZZ] GSync::HierarchyCommand(9): true
07/02/2023 15:30:10 [44206] [ WARN] [XXX@YYY.ZZZ] Loaded device is not a device object. Dropping new loaded state and keeping initialized object!
07/02/2023 15:30:10 [44206] [DEBUG] [XXX@YYY.ZZZ] GSync::GetSupportedProtocolVersions(): 12.0,12.1,14.0,14.1
07/02/2023 15:30:10 [44206] [ INFO] [XXX@YYY.ZZZ] Announcing latest AS version to device: 12.0,12.1,14.0,14.1
07/02/2023 15:30:10 [44206] [DEBUG] [XXX@YYY.ZZZ] GSync::CommandNeedsPlainInput(9): false
07/02/2023 15:30:10 [44206] [WBXML] [XXX@YYY.ZZZ] I <FolderHierarchy:FolderSync>
07/02/2023 15:30:10 [44206] [WBXML] [XXX@YYY.ZZZ] I <FolderHierarchy:SyncKey>
07/02/2023 15:30:10 [44206] [WBXML] [XXX@YYY.ZZZ] I {53c57769-2b6d-406d-a8eb-2d839728eebd}1
07/02/2023 15:30:10 [44206] [WBXML] [XXX@YYY.ZZZ] I </FolderHierarchy:SyncKey>
07/02/2023 15:30:10 [44206] [DEBUG] [XXX@YYY.ZZZ] StateManager->loadHierarchyCache(): 'IDDDDDDDDDDDDDDD-53c57769-2b6d-406d-a8eb-2d839728eebd-hc-1'
07/02/2023 15:30:10 [44206] [DEBUG] [XXX@YYY.ZZZ] StateManager::UnLinkState(''): saved state '53c57769-2b6d-406d-a8eb-2d839728eebd' will be deleted.
07/02/2023 15:30:10 [44206] [DEBUG] [XXX@YYY.ZZZ] Grommunio->CleanStates(): Found 1 states to clean (53c57769-2b6d-406d-a8eb-2d839728eebd)
07/02/2023 15:30:10 [44206] [DEBUG] [XXX@YYY.ZZZ] Grommunio->CleanStates(): Found 1 states to clean (53c57769-2b6d-406d-a8eb-2d839728eebd-fd)
07/02/2023 15:30:10 [44206] [DEBUG] [XXX@YYY.ZZZ] Grommunio->CleanStates(): Found 0 states to clean (53c57769-2b6d-406d-a8eb-2d839728eebd-fs)
07/02/2023 15:30:10 [44206] [DEBUG] [XXX@YYY.ZZZ] Grommunio->CleanStates(): Found 0 states to clean (53c57769-2b6d-406d-a8eb-2d839728eebd-bs)
07/02/2023 15:30:10 [44206] [DEBUG] [XXX@YYY.ZZZ] Grommunio->CleanStates(): Found 1 states to clean (53c57769-2b6d-406d-a8eb-2d839728eebd-hc)
07/02/2023 15:30:10 [44206] [ INFO] [XXX@YYY.ZZZ] StateNotFoundException: No hierarchy UUID linked to device. Requesting folder resync. - code: 0 - file: /usr/share/grommunio-sync/lib/core/statemanager.php:468
07/02/2023 15:30:10 [44206] [DEBUG] [XXX@YYY.ZZZ] ASDevice->GetHierarchyCache(): HierarchyCache is up - Cached objects: 0
07/02/2023 15:30:10 [44206] [WBXML] [XXX@YYY.ZZZ] I </FolderHierarchy:FolderSync>
07/02/2023 15:30:10 [44206] [DEBUG] [XXX@YYY.ZZZ] LoopDetection->ProcessLoopDetectionIsHierarchyResyncRequired(): seen command with Exception or folderid 'U396f1' and code '12'
07/02/2023 15:30:10 [44206] [DEBUG] [XXX@YYY.ZZZ] LoopDetection->ProcessLoopDetectionIsHierarchyResyncRequired(): seen FolderSync after other failing command
07/02/2023 15:30:10 [44206] [DEBUG] [XXX@YYY.ZZZ] WBXMLEncoder->startWBXML() type: vnd.ms-sync.wbxml
07/02/2023 15:30:10 [44206] [WBXML] [XXX@YYY.ZZZ] O <FolderHierarchy:FolderSync>
07/02/2023 15:30:10 [44206] [WBXML] [XXX@YYY.ZZZ] O <FolderHierarchy:Status>
07/02/2023 15:30:10 [44206] [WBXML] [XXX@YYY.ZZZ] O 9
07/02/2023 15:30:10 [44206] [WBXML] [XXX@YYY.ZZZ] O </FolderHierarchy:Status>
07/02/2023 15:30:10 [44206] [WBXML] [XXX@YYY.ZZZ] O </FolderHierarchy:FolderSync>
07/02/2023 15:30:10 [44206] [DEBUG] [XXX@YYY.ZZZ] WBXMLEncoder->endTag() WBXML output completed
07/02/2023 15:30:10 [44206] [WBXML] [XXX@YYY.ZZZ] WBXML-OUT: AwFqAAAHVkwDOQABAQ==
07/02/2023 15:30:10 [44206] [WBXML] [XXX@YYY.ZZZ] WBXML-IN : AwFqAAAHVlIDezUzYzU3NzY5LTJiNmQtNDA2ZC1hOGViLTJkODM5NzI4ZWViZH0xAAEB
07/02/2023 15:30:10 [44206] [DEBUG] [XXX@YYY.ZZZ] DeviceManager->Save(): Device data changed
07/02/2023 15:30:10 [44206] [ INFO] [XXX@YYY.ZZZ] Linking device ID 'IDDDDDDDDDDDDDDD' to user 'XXX@YYY.ZZZ'
07/02/2023 15:30:10 [44206] [DEBUG] [XXX@YYY.ZZZ] DeviceManager->Save(): Device data saved
07/02/2023 15:30:10 [44206] [DEBUG] [XXX@YYY.ZZZ] LoopDetection->ProcessLoopDetectionTerminate()
07/02/2023 15:30:10 [44206] [ INFO] [XXX@YYY.ZZZ] cmd='FolderSync' memory='1.84 MiB/2.00 MiB' time='0.06s' devType='iPhone' devId='IDDDDDDDDDDDDDDD' getUser='XXX@YYY.ZZZ' from='91.65.66.116' idle='0s' version='1.1.63-0' method='POST' httpcode='200'
07/02/2023 15:30:10 [44206] [DEBUG] [XXX@YYY.ZZZ] -------- End
I hope this is the info you would need :-) Thanks in advance