Ever seen such campaign behaviour?

Your software
My Mautic version is: 4.4.5
My PHP version is: 7.4

Your problem
My problem is:

  • mautic:campaigns:rebuild doesn’t finish

These errors are showing in the log:
none

image

1 contact to be added :flushed:

I cloned the old campaign and stopped it. The clone now runs fine.
What happenend?

I encounter this from time to time. Previously, I deleted the problematic campaign after cloning it and all seemed fine. I’ve also encountered this with segments. Now I add a --max-contacts=X flag and then it works just fine.

Note: Replace X with the max number of contacts you want that cron job run to process. I’ve got mine sitting around 500 right now without any issues.

Okay, this seems to be the reason (fixed with v5)