# Campaign contacts cannot be added when it starts

**URL:** <https://forum.mautic.org/t/campaign-contacts-cannot-be-added-when-it-starts/32126>\
**Category:** Product Support\
**Created:** [May 22, 2024, 7:22am UTC](https://forum.mautic.org/t/campaign-contacts-cannot-be-added-when-it-starts/32126 "2024-05-22T07:22:36Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![johntech](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/johntech/32/6553_2.png) [@johntech](https://forum.mautic.org/u/johntech)\
**Post date:** [May 25, 2024, 5:32am UTC](https://forum.mautic.org/t/campaign-contacts-cannot-be-added-when-it-starts/32126/2 "2024-05-25T05:32:18Z")

</div>

I tested it by command and foud it below issues, the campaign will loop and never end.

 ![截屏2024-05-25 11.32.25](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/c/c07dc19ceb6db0a11d055cdf7a5f6c54201de2f0.png)

And there is error when running the full scrips as below  
Script with pid 1318 in progress.  
Script in progress. Can force execution by using --bypass-locking.

So I follow this solution and replace the files and solved it.

> [@Campaign can't add 1 contact on rebuild and hangs](https://forum.mautic.org/t/campaign-cant-add-1-contact-on-rebuild-and-hangs/28668):
>
> Your software My Mautic version is: 4.4.9 My PHP version is: 7.4.3 My Database type and version is: 8.0.31-0ubuntu0.20.04.1 Your problem My problem is: When I run php bin/console mautic:campaigns:rebuild -vvv, the campaign fails to add a single contact, and then hangs forever. These errors are showing in the log: Rebuilding contacts for campaign 34 1 total contact(s) to be added in batches of 300 50,103/50,103 [============================] 100% Steps I have tried to fix the problem: Tu…

Hope this can help anyone with same issues.

---

_[View the full topic](https://forum.mautic.org/t/campaign-contacts-cannot-be-added-when-it-starts/32126)._
