V5.1 Campaigns do not filter Contacts by segment

My Mautic version is: 5.1.1
My PHP version is: 8.1
My Database type and version is: MySQL 8.0.40

My problem is: No Contacts Found in a Campaign

No errors related in Settings >> System Info >> Log

Steps to Reproduce the Issue:

  1. Reinstalled a new instance, v5.1.1
  2. Created 1 Contact
  3. Created 2 Segments
  4. Added Segment #1 to the Contact
  5. Launched Campaign Builder
  6. Created 1 Campaign, selecting “Contact Source”
  7. Selected Segment #1 for the Campaign
  8. Selected an Action to modify Contact’s segment by adding “immediately” Segment #2
  9. Saved and Closed Builder
  10. Saved & Closed Campaign
  11. In the section below, there are 3 tabs: Preview, Actions, and Contacts
  12. Selected Contacts
  13. Message: “No Contacts Found. Seems there are none! Try changing a filter if applicable.”

Steps Taken to Resolve this Issue:

  1. Reinstalled all cron jobs
  2. Reinstalled new instance v5.1.1
  3. Consulted Mautic forums
  4. Ran command: bin/console mautic:assets:generate
  5. Ran command: bin/console cache:clear

Would you have any suggestions?

Thank you

These are the steps I took to fix this issue.

  1. I manually ran a cron job
  2. Terminal $ cd bin
  3. Terminal $ php console mautic:campaigns:update
  4. Here is the output:

Rebuilding contacts for campaign 1

1 total contact(s) to be added in batches of 300

1/1 [============================] 100%

0 total contact(s) to be removed in batches of 300

  1. In the Campaign’s lower section, there are 3 tabs: Preview, Actions, and Contacts
  2. Select Contacts. I finally was able to see 1 Contact
  3. The action requested in the Campaign Builder was successfully performed.

Hi, this is not a solution, you just manually added the contacts via running the campaign update command.

Once you fix your cronjobs, the campigns will add contacts automatically.

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.