Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • ewuski 99 posts 286 karma points
    Oct 06, 2023 @ 17:54
    ewuski
    0

    No way to remove or cancel a campaign if sending hve been interefered

    There is no way to remove or cancel a camapaign that have been interefered ina away, for example if the app restarted (on localhost) or error happened.

    It is just hanging and keep disaplying "Sending".

    Is this interntional?

    enter image description here

  • Markus Johansson 1936 posts 5864 karma points MVP 2x c-trib
    Oct 09, 2023 @ 15:28
    Markus Johansson
    100

    Hi!

    Yes, this is intentional since it will resume where it stopped if a restart happens.

    If you really need to stop the send out you can manually remove the campaign and the queue items from the database.

    More details about the db here: https://www.newsletterstudio.org/documentation/package/10.0.0/develop/database-tables/

    // m

  • ewuski 99 posts 286 karma points
    Oct 13, 2023 @ 14:55
    ewuski
    0

    It never resumes

  • Markus Johansson 1936 posts 5864 karma points MVP 2x c-trib
    Oct 13, 2023 @ 15:37
    Markus Johansson
    0

    There is a background job that should start when the web site starts and pickup any campaigns that’s in progress.

    Do you see any errors or warnings in the logs? Check during startup and maybe the first 5-10 minutes after start up.

  • ewuski 99 posts 286 karma points
    Oct 24, 2023 @ 18:11
    ewuski
    0

    It does resume in some cases, in some cases it doesn't and we can't see any NS errors in the log.

  • Markus Johansson 1936 posts 5864 karma points MVP 2x c-trib
    Oct 25, 2023 @ 08:34
    Markus Johansson
    0

    Hi!

    Definitely sounds strange. Would you mind sharing the exact version of the package you are running? Also please make sure to upgrade.

    You could set the log level to "debug" for a while to see if the debug logs give you any hints.

    It would also be interesting to know if there are any items in the queue for the campaigns that is stuck in "Sending". It might be that one Campaign is in some kind of strange error-loop that stops others from continue.

    Is this from your production environment?

    // m

  • ewuski 99 posts 286 karma points
    Oct 25, 2023 @ 13:50
    ewuski
    0

    Yes, there were some campaigns stuck because our integration is in development and some changes made the campaigns stuck. However we now removed all of them from the database so this won't be a major issue. I just wanted to flag there is no other way to remove a stuck campaign other than deleting from the database.

    Also I noticed that the campaign keeps showing "Sending" if the number of receivers is 0. I imagine that it should still complete/show as completed in the backoffice - even if there were no recipients to send the campaign to?

  • Markus Johansson 1936 posts 5864 karma points MVP 2x c-trib
    Nov 06, 2023 @ 08:15
    Markus Johansson
    0

    Hi!

    I understand, if a campaign gets stuck this is a symptom of some underlying issue that needs to be addressed by someone technical. This should be rare in production scenarios and most of the time it requires someone with technical skills to investigate. The scenarios look different and a generic "fix stuck campaign"-button is not really a simple thing to add as each type of issue has different underlying reasons.

    I would encourage you to look at logs and error messages to understand why this is happening - a common source of problems is the underlying SMTP server that throws errors that bubble up to the package.

    I would need more details to be able to help you, like error message, exact version etc. so if you need help investigating please provide this information.

Please Sign in or register to post replies

Write your reply to:

Draft