-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Campaign Status "Finished" Before All Emails Were Sent #2278
Comments
This actually happened to me too today. What's even a bit more amusing, is that the trigger for the restart came from within listmonk itself, as I was tweaking the settings to fire off the emails a little faster, and upon clicking "save" the app restarted on itself, marking the campaing as "finished". This is weird as I noticed other similar occasion did not restart the app but caused a pop-up to come out informing me to pause the campaign and then click to restart, but it did not in this occasion. Incidentally, how could I fire off the mails to missing people now? |
Ah cool, good to know I'm not alone :) I don't think there is an easy way to tell who received the mails or not from within listmonk. My method is to log in to my mail relay's site and copy, page by page, the list of delivered emails. I cut them up into
Then I reimport that to a new list, clone the campaign, and set this list as it's target and relaunch. It's been a time sink for me to deal with all these lost mail bugs (but I do it because listmonk feels a lot better to use than mailchimp). Now that I'm thinking about it, listmonk has a count of sent mails so there should be a SQL query that could extract |
Hi @kousu , did you spot the what is issue? |
No, I'm sorry @alexzaganelli , I haven't made time to go digging in the code. |
Version:
Description of the bug:
If listmonk is shutdown during a running campaign it finishes the campaign, leaving some emails unsent.
This is like the previously fixed #1931, #1993, #1986 and #1546 but the exact sequence of steps is different.
Screenshots:
I started a campaign at 4:06am; my throttle is slow on my email plan so my campaigns usually take many hours to complete. I forgot I had a cronjob to reboot the system at 7:55am so listmonk shut down and when it came back I received the "Finished: NEWS 25-01-28 EN (resend for failures)" email (at 7:55!), but it had skipped sending almost 100 emails.
Logs
I looked through my mail server logs and it looks like it got through email addresses starting with "A" through "R" and stopped within the "S"es.
That it says these two things immediately after restarting in quick succession can't be right:
Steps to reproduce:
In order to slow listmonk down enough to see the bug, under Settings > Performance set
1
1
10
messages in1m
Create a new subscriber list and upload import.csv into it
(created by:)
Create a campaign and assign the new list to it
Launch the campaign
Wait a couple minutes so that about 20 to 30 messages get sent
systemctl stop listmonk
(or otherwise shut it down, using whatever daemon manager you're using)systemctl start listmonk
You should receive the "Finished" notification, and see the "Finished" tag on the Campaigns page, but also see that only about 30/100 messages were sent.
Reproduction Screenshot
I tested these reproduction steps exactly as written and indeed I have a campaign that only got through 1/3rd of its work:
The text was updated successfully, but these errors were encountered: