-
Notifications
You must be signed in to change notification settings - Fork 63
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
Notification are sent over and over again #459
Comments
We got this kind of problem in an 18.0.1.3 installation. There is one user who gets about 60 mails on a daily basis without any activity in the activity timeline (content of the e-mails is the same). Not sure how to fix this without editing MailQueueHandler.php by hand. Let me know if i can help, we would be glad if this is a bug and will be fixed in future releases. |
Seems I have the same problem in nextcloud/docker#1156 btw: we have nextcloud:18.0.6 docker image here |
Maybe too simple ;-) We silenced the issue by configuring:
This seems to help with the timeouts ... and in turn we get rid of the notifications. |
Signed-off-by: Markus Schlichting <markus.schlichting@karakun.com>
I reported this already to nextcloud/server#20286 before I realized now that it seems to be cause by this app. Please refer to that issue for details.
Trying to find the cause, I could find out that the events are not deleted from the events queue in "activity_mq" table.
Also, "amq_last_send" is not updated, it's always the same as "amq_timestamp".
Finally I cloud solve this after adding some debug statements to MailQueueHandler.php .
With these statements I got aware that there are timeouts happening when mail were put to SMTP. The timeouts also caused that send notification were not deleted from the queue table.
I suggest to merge the debug log statements in the code so that the debug level show actual helpful output.
The text was updated successfully, but these errors were encountered: