Content
Mail reminders for unread notifications not sending
Added by Joachim Heilig about 1 month ago
All,
I´m relatively new with open office. I´m running a local instance on docker.
Mail notifications in general are working (test, new users, instant @mentions), so there is no misconfiguration of the mail host. However, mail reminders for unread notifications are not sent out despite being confirured (correctly in my opinion).
-
I have two test users with unread notifications in their inbox.
-
Mail reminders are set up for different times:
-
There are unread notifications in the users´ inboxes:
-
The worker job is running the "schedule reminder mails" job every 15 minutes without errors:
jheilig@docker01:/opt/docker/openproject$ docker compose logs -f --tail 200000 | grep Mail
worker-1 | I, [2024-10-02T08:15:00.081741 #7] INFO -- : [ActiveJob] Enqueued Notifications::ScheduleReminderMailsJob (Job ID: aeff24fa-6d71-48c5-ba75-f90192943446) to GoodJob(default)
worker-1 | I, [2024-10-02T08:15:00.155973 #7] INFO -- : [ActiveJob] [Notifications::ScheduleReminderMailsJob] [aeff24fa-6d71-48c5-ba75-f90192943446] Performing Notifications::ScheduleReminderMailsJob (Job ID: aeff24fa-6d71-48c5-ba75-f90192943446) from GoodJob(default) enqueued at 2024-10-02T08:15:00.037794126Z
worker-1 | I, [2024-10-02T08:15:00.339156 #7] INFO -- : [ActiveJob] [Notifications::ScheduleReminderMailsJob] [aeff24fa-6d71-48c5-ba75-f90192943446] Performed Notifications::ScheduleReminderMailsJob (Job ID: aeff24fa-6d71-48c5-ba75-f90192943446) from GoodJob(default) in 183.47ms
worker-1 | I, [2024-10-02T08:30:00.034432 #7] INFO -- : [ActiveJob] Enqueued Notifications::ScheduleReminderMailsJob (Job ID: ad6ebf0c-b1eb-41f9-8a18-737a37a9ca27) to GoodJob(default)
worker-1 | I, [2024-10-02T08:30:00.077931 #7] INFO -- : [ActiveJob] [Notifications::ScheduleReminderMailsJob] [ad6ebf0c-b1eb-41f9-8a18-737a37a9ca27] Performing Notifications::ScheduleReminderMailsJob (Job ID: ad6ebf0c-b1eb-41f9-8a18-737a37a9ca27) from GoodJob(default) enqueued at 2024-10-02T08:30:00.032126931Z
worker-1 | I, [2024-10-02T08:30:00.107973 #7] INFO -- : [ActiveJob] [Notifications::ScheduleReminderMailsJob] [ad6ebf0c-b1eb-41f9-8a18-737a37a9ca27] Performed Notifications::ScheduleReminderMailsJob (Job ID: ad6ebf0c-b1eb-41f9-8a18-737a37a9ca27) from GoodJob(default) in 30.07ms
- Health check shows no delayed jobs:
full
database: PASSED Schema version: 20240820123011 (0.002s)
default: PASSED Application is running (0.000s)
mail: PASSED ActionMailer::Base check to casarray.mittelerde.local:25 successful (0.012s)
puma: PASSED N/A as Puma is not used. (0.000s) (OPTIONAL)
worker: PASSED 1 good_job processes are active. (0.014s)
worker_backed_up: PASSED No jobs are waiting to be picked up. (0.010s) (OPTIONAL)
-
Regardless of this, no mail is sent.
-
I restarted the docker containers several times, this didn´t fix the issue.
I spent hours on Google researching the issue, but wasn´t able to find someone with an identical problem.
Can anyone of you provide a hint on solving this? Or even on how to tackle the problem and find the root cause?
Thank you in advance!
Joachim
Replies (1)
Case can be closed - notifications work as intended. Just not as expected. 😉
It seems like only one mail notification is sent out per entry in the notification center. Since I enabled immediate mail for @-notifications, I only received this mail. After disabling this feature, mail reminders are sent as expected.