Menu

#187 empty inbox after installing the latest version 2.7.1

unconfirmed
open
nobody
None
1
2024-02-15
2023-12-25
rosch
No

After installing the latest versions my inbox on Android is gone.
I tried deleting and adding the account again. Also ran clearloop and fixstates.
Versions and logs are below:

z-push: 2.7.1
backend: 71 (01-Oct-2021) -> even though I copied the latest version today and the modified date says 2022-03-24.
php: 7.2.24

WARN] [user ] Mobile loop detected! Messages sent to the mobile will be restricted to 2 items in order to identify the conflict
25/12/2023 19:25:12 [  971] [FATAL] [user] Fatal error: /usr/share/z-push/lib/utils/utils.php:1485 - Uncaught Error: Call to undefined function datefmt_create() in /usr/share/z-push/lib/utils/utils.php:1485
Stack trace:
##0 /usr/share/z-push/lib/core/streamer.php(467): Utils::FormatDateUtc('1703242600', 'yyyy-MM-dd'T'HH...')
###1 /usr/share/z-push/lib/core/streamer.php(321): Streamer->formatDate('1703242600', 3)
###2 /usr/share/z-push/lib/core/streamimporter.php(171): Streamer->Encode(Object(WBXMLEncoder))
###3 /usr/share/z-push/lib/default/diffbackend/exportchangesdiff.php(167): ImportChangesStream->ImportMessageChange('23284', Object(SyncMail))
###4 /usr/share/z-push/lib/request/sync.php(1199): ExportChangesDiff->Synchronize()
###5 /usr/share/z-push/lib/request/sync.php(956): Sync->syncFolder(Object(SyncCollections), Object(SyncParameters), Object(ExportChangesDiff), 5, Object(ImportChangesStream), 1, false)
###6 /usr/share/z-push/lib/request/requestprocessor.php(116): Sync->Handle(0)
###7 /usr/share/z-push/index.php(107): RequestProcessor::HandleRequest()
###8 {main}
##   thrown (1)

Discussion

  • rosch

    rosch - 2023-12-26

    Ok so I was missing the php extension intl:
    I installed the following packages:

    libicu-devel
    php-intl
    

    and the datefmt_create error is gone but the inbox is still empty.
    Interestingly, other folders like sent synchronize just fine.

     

    Last edit: rosch 2023-12-26
  • rosch

    rosch - 2023-12-26

    From time to time I see this in the log:
    [WARN] [user] Not possible to determine class of request. Request did not contain class and apparently there is an issue with the HierarchyCache.

    Weirdly, after enabling WBXML and refreshing the Inbox, there are no new log messages.

    Did get some of these though, when refreshing another folder, e.g. sent:

    [DEBUG] [user] DeviceManager->GetBackendIdForFolderId(): no backend-folderid available for 'f3', returning as is.
    27/12/2023 00:21:42 [97852] [DEBUG] [user] SyncCollections->AddCollection(): Folder id 'f3' : ref. PolicyKey '-1', ref. Lifetime '', last sync at '1703632889'
    27/12/2023 00:21:42 [97852] [DEBUG] [user] SyncCollections->AddCollection(): Updated reference PolicyKey '-1', reference Lifetime '', Last sync at '1703632889'
    
     
  • rosch

    rosch - 2024-01-05

    Is this "software" abandoned?
    Anyway since Zimbra OSE has lost support from the main company I'll most probably move to Carbonio.

     
  • LiverpoolFCfan

    LiverpoolFCfan - 2024-01-08

    It isn't abandoned. you figured out and fixed your initial issue.

    For your last reported issue.

    I would suggest you do a resync of the hierarchy for the device using the z-push-admin.php admin script. It is linkey you got an incomplete initial sync because of the earlier issue. Command will be something like

    /(path to z-push)/z-push-admin.php -a resync -t hierarchy -u (USER) -d (device)

    If that doesn't resolve it, remove the account from the device, remove the device from z-push using command

    /(path to z-push)/z-push-admin.php -a remove -d (device)

    and then re-add the account to the device. Make sure that nothing is interfering with apache/z-push ability to write to the /var/lib/z-push folder.

    The "no backend-folderid available" messages are normal as there is no intermediate mapping of folder names used by the zimbra backend

     
  • LiverpoolFCfan

    LiverpoolFCfan - 2024-01-08

    There is a newer (as yet unpackaged/released) version (71.4) available in the code repository above. It has a number of updates since release 71.

     
  • rosch

    rosch - 2024-01-15

    No luck with wiping / deleting /readding the device/account.
    Same with latest version 71.4

     
  • LiverpoolFCfan

    LiverpoolFCfan - 2024-01-15

    What device are you having issues with?
    What email client?

    I have just downloaded z-push 2.7.1 this evening, paired with zimbra backend 72, running against zimbra 10.0.6 and everything looks normal with both an iPhone 11 (standard mail client) and a Samsung Galaxy S21 (Samsung standard email client) - My PHP is 8.1.14

     

    Last edit: LiverpoolFCfan 2024-01-16
  • rosch

    rosch - 2024-01-25

    Devices: Fairphone 4, iPad
    Client: Gmail on Android, default client on iPad

    Interestingly, if I choose Inbox from the labels, all is well, cf. screenshot.

     
  • LiverpoolFCfan

    LiverpoolFCfan - 2024-02-15

    I suspect there is some issue locally on the phone unrelated to the z-push/zimbra backend setup.

    I have added my account to a Samsung S10 (Android 12) - Gmail client. I only have "All inboxes" and the top "Inbox" available. Both show the zimbra emails (with Gmail emails interspersed for the "All inboxes" option)

    I do not have an additional "Inbox" listed under "ALL LABELS"

    The User Agent reported by z-push (labeled as "ua" in the DEBUG message "START Logon") is Android-Mail/2024.01.28.604414422.Release

     

    Last edit: LiverpoolFCfan 2024-02-15

Log in to post a comment.