Open Chrisi-Bavaria opened 1 week ago
Okay, if it is somehow difficult to investigate on this... Is there an official way to reset the caching of the mail app, so that the user's inbox will be read from IMAP again? Is there an occ command or any safe sql?
If you enable debug mode (not advised for production environment) you have a option to clear the cache of a mailbox from the context menu of the Mail app. Otherwise there is no mechanism for this
Okay, I enabled debug-mode when the instance was idling and found the context menu entry: DELETE https://nextcloud/apps/mail/api/mailboxes/61/sync ...but it looks like the API call is really only working in debug-mode, I get "unauthorized", when calling in non-debug-mode.
But more important: Clearing the cache like described solved the issue: All mails are now visible in the Inbox.
So as long as this sync is still somehow unstable when looking at other sync issues here in the tracker... Would it be possible to always show this menu entry? It will cause some load at huge mailboxes on both servers, but it's better than missing mails, right? Or make it available via OCC...
So as long as this sync is still somehow unstable when looking at other sync issues here in the tracker... Would it be possible to always show this menu entry? It will cause some load at huge mailboxes on both servers, but it's better than missing mails, right? Or make it available via OCC...
Not necessary. https://github.com/nextcloud/mail/pull/10038 will address this automatically.
Steps to reproduce
Expected behavior
Inbox should show all mails
Actual behavior
Inbox is empty or showing only the mails after a particular point in time
Mail app version
3.7.8
Mailserver or service
Cyrus IMAPd
Operating system
Debian
PHP engine version
PHP 8.2
Web server
Apache (supported)
Database
MariaDB
Additional info
Mailbox was showing all mails earlier. I then deleted a mail from inbox using a parallel logged in Thunderbird client. Now mail app shows only mails coming in after this incident. Currently 28 mails are in this inbox, mail app is showing an empty inbox. No errors in log. OCC mail-account-sync is showing no errors:
SELECT * FROM
oc_mail_messages
WHEREmailbox_id
= 61 returns zero results.