Skip to content
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

Empty inbox does not load with memory overload #8457

Open
mat-m opened this issue May 5, 2023 · 6 comments
Open

Empty inbox does not load with memory overload #8457

mat-m opened this issue May 5, 2023 · 6 comments

Comments

@mat-m
Copy link

mat-m commented May 5, 2023

Steps to reproduce

  1. select your free.fr account inbox mailbox in the navigation list

Expected behavior

The mailbox opens, and it says No messages in this mailbox

Actual behavior

It tries to load for a very long time, then displays "Could not open mailbox"

nextcloud.log has this message:

{
    "reqId": "DqyDrpPwUGygwDeMaSIa",
    "level": 3,
    "time": "2023-05-10T00:22:49+02:00",
    "remoteAddr": "192.168.1.52",
    "user": "mm",
    "app": "PHP",
    "method": "POST",
    "url": "/apps/mail/api/mailboxes/161/sync",
    "message": "Allowed memory size of 2147483648 bytes exhausted (tried to allocate 2147483656 bytes) at /var/www/html/custom_apps/mail/vendor/bytestream/horde-imap-client/lib/Horde/Imap/Client/Ids.php#366",
    "userAgent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36 OPR/98.0.0.0 (Edition beta)",
    "version": "26.0.1.1",
    "data": {
        "app": "PHP"
    }
}

If I send and email to this inbox, then it displays fine.
It also blocks the unified inbox display (which it shouldn't, IMO)

Mail app version

3.1.1

Mailserver or service

free.fr: imap.free.fr (SSL/993)

Operating system

ubuntu 22.04.2

PHP engine version

None

Web server

None

Database

None

Additional info

Using Nextcloud 26.0.1 official docker image

@mat-m
Copy link
Author

mat-m commented May 6, 2023

Actually, I had an account with the same issue (@free.fr).
I needed to send an email so the inbox was not empty. Exact conditions which triggered this behavior are not fully known

@mat-m mat-m closed this as completed May 6, 2023
@mat-m mat-m changed the title Unified inbox does not load with memory overload Empty inbox does not load with memory overload May 9, 2023
@mat-m
Copy link
Author

mat-m commented May 9, 2023

Delete the dummy email, broke again. I edited first message to fit the new issue with free.fr inbox.

Happy to debug more if I can. Let me know.

@mat-m mat-m reopened this May 9, 2023
@ChristophWurst
Copy link
Member

Is the mailbox really empty? There could be deleted messages in it. Most clients don't show them.

@mat-m
Copy link
Author

mat-m commented Jun 18, 2023

When looking through nextcloud mail or their interface (Zimbra on zimbra.free.fr).
I have no mail besides the dummy one in the inbox.
Some mails in trash, archive, sent and junk.
image

@pgaufillet
Copy link

Hi,
Exactly the same behaviour seen on my side, also with an empty mailbox @ free.fr. Adding an email solves the issue.
Looks linked to #2855 (comment).

@pgaufillet
Copy link

This behaviour looks to expand to other mailboxes than INBOX since Nextcloud 30. Adding an email still solves it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants