nextcloud / mail

💌 Mail app for Nextcloud
https://apps.nextcloud.com/apps/mail
GNU Affero General Public License v3.0
851 stars 263 forks source link

Error: Undefined array key 121475 at /www/nextcloud/apps/mail/lib/Cache/Cache.php#137 #8149

Open yankees5963 opened 1 year ago

yankees5963 commented 1 year ago

Steps to reproduce

  1. Open mail app
  2. View nextcloud logfile.

Expected behavior

No errors

Actual behavior

Error: Undefined array key 121475 at /config/www/nextcloud/apps/mail/lib/Cache/Cache.php#137

/config/www/nextcloud/apps/mail/lib/Cache/Cache.php - line 137:

OC\Log\ErrorHandler::onError()

<<closure>>

OCA\Mail\Cache\Cache->save()

Mail app version

2.2.4

Mailserver or service

Gmail & Personal

Operating system

Docker

PHP engine version

PHP 8.1

Web server

Apache (supported)

Database

MySQL

Additional info

Reinstalled nextcloud and database from scratch and still getting errors. I have two accounts, one gmail and another using a docker mailserver. Mail app seems to work fine, and can view/update/delete/create emails. initial start of the app seems sluggish.

yankees5963 commented 1 year ago

Running behind a SWAG reverse proxy (nginx) using the LinuxServer docker image for nextcloud.

kintoxo commented 1 year ago

I have the same problem. I am using a docker image of nextcloud (NEXTCLOUD_VERSION 25.0.4) and NPM as reverse proxy.

vinay-keshava commented 1 year ago

Undefined array key 22 at /var/www/nextcloud/apps/mail/lib/Cache/Cache.php#138 Mails get received but not able to send mail from the mail app of nextcloud (Next Cloud - Source Installtion ,PHP-Version 8.1) mails are in outbox when retried to send mails it says Message Sent after few seconds Message not Sent and back to Outbox

vinay-keshava commented 1 year ago

Undefined array key 22 at /var/www/nextcloud/apps/mail/lib/Cache/Cache.php#138 Mails get received but not able to send mail from the mail app of nextcloud (Next Cloud - Source Installtion ,PHP-Version 8.1) mails are in outbox when retried to send mails it says Message Sent after few seconds Message not Sent and back to Outbox

Maybe it must be a cache Issue ?

ChristophWurst commented 1 year ago

yes

joshtrichards commented 7 months ago

Do any of you on this issue have the full raw log entry (stack trace)? That's really needed to track down things like this.

dustbro commented 5 months ago

The latest mail update really helped a ton with issues I was having, but it appears that there is still a cache issue that is making the pages unresponsive after I delete mail.

Do any of you on this issue have the full raw log entry (stack trace)?

What's the process to get this info for you?

dustbro commented 3 months ago

This is still bogging down the email client :(

Screenshot 2024-08-15 072836

joshtrichards commented 3 months ago

What's the process to get this info for you?

Either from your nextcloud.log directory or via the Log reader app by clicking on the 3 dot menu to the far right of a log entry

dustbro commented 3 months ago

@joshtrichards Here's the log: nextcloud (2).log

dustbro commented 3 months ago

I believe this is also exhausting my mail provider bandwidth. Nextcloud mail is using 1.3GB of bandwidth daily