-
Notifications
You must be signed in to change notification settings - Fork 262
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inbox only showing new mails but not whole message list #10124
Comments
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. |
Okay, I enabled debug-mode when the instance was idling and found the context menu entry: 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... |
Not necessary. #10038 will address this automatically. |
@ChristophWurst said:
Well, if it's done only once a week, we may need to be able to trigger this more often. My scenario is different: I currently have unified inbox issues when I delete files in the dedicated inbox through Nextcloud Mail, and go back to Unified. Mail is still in the list but I get "Mail not found" when I click on it. |
There are fixes that improve the sync logic, so that you (hopefully) won't even see vanished emails any longer. Furthermore, we will implement a periodic background job that runs weekly to clean already existing "ghost" emails. Lastly, there will also be an option in the frontend to "repair" a mailbox manually in case the weekly job is not good enough or users are impatient. |
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
= 61returns zero results.
The text was updated successfully, but these errors were encountered: