# Pending actions

**URL:** <https://forum.mautic.org/t/pending-actions/21721>\
**Category:** Product Support\
**Created:** [November 22, 2021, 2:38pm UTC](https://forum.mautic.org/t/pending-actions/21721 "2021-11-22T14:38:47Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![mojo](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mojo/32/543_2.png) [@mojo](https://forum.mautic.org/u/mojo)\
**Post date:** [November 22, 2021, 2:38pm UTC](https://forum.mautic.org/t/pending-actions/21721/1 "2021-11-22T14:38:47Z")

</div>

My Mautic version is: 3.3.4  
My problem is: Pending actions in campign

I have a simple campaign, the data of which comes from the selected form.  
The user fills in the form and the campaign has 3 tasks: add 5 points, change tag and segment.

6 users completed the form a few days ago.  
In the “action” field you can see the picture below and the campaign has not been carried out all the time, but it is “Pending actions”  
[![](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/e/e20db0244e2b67daf5fbfa3bb7d5682ce3100297.jpeg)](https://ibb.co/m0FRWLy)

> **[sd](https://ibb.co/m0FRWLy)**
>
> Image sd hosted in ImgBB

Why?  
What exactly does “Pending actions” mean and what are we waiting for?

The cron is executed.

/opt/alt/php70/usr/bin/php /home/xxx/domains/xxx/public\_html/bin/console mautic:segments:update   
/opt/alt/php70/usr/bin/php /home/xxx/domains/xxx/public\_html/bin/console mautic:campaigns:update  
/opt/alt/php70/usr/bin/php /home/xxx/domains/xxx/public\_html/bin/console mautic:campaigns:rebuild   
/opt/alt/php70/usr/bin/php /home/xxx/domains/xxx/public\_html/bin/console mautic:campaigns:trigger   
/opt/alt/php70/usr/bin/php /home/xxx/domains/xxx/public\_html/bin/console mautic:emails:send   
/opt/alt/php70/usr/bin/php /home/xxx/domains/xxx/public\_html/bin/console mautic:email:fetch   
/opt/alt/php70/usr/bin/php /home/xxx/domains/xxx/public\_html/bin/console mautic:social:monitoring   
/opt/alt/php70/usr/bin/php /home/xxx/domains/xxx/public\_html/bin/console mautic:iplookup:download   
/opt/alt/php70/usr/bin/php /home/xxx/domains/xxx/public\_html/bin/console mautic:webhooks:process

---

<div class="post-metadata">

**Author:** ![mikew](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mikew/32/5156_2.png) [@mikew](https://forum.mautic.org/u/mikew)\
**Post date:** [November 22, 2021, 3:40pm UTC](https://forum.mautic.org/t/pending-actions/21721/2 "2021-11-22T15:40:54Z")

</div>

Have you checked your logs for any errors:

1. Check inside Mautic → Settings → System Settings → Logs
2. Check your web server logs there should be a file (if configured correctly) mautic.error

also try I would go and try run the jobs manually from the terminal  
/mautic/app/console mautic:campaigns:update -i [the number of your campaign]  
/mautic/app/console mautic:campaigns:trigger -i [the number of your campaign]

and then check all your logs again

---

<div class="post-metadata">

**Author:** ![mojo](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mojo/32/543_2.png) [@mojo](https://forum.mautic.org/u/mojo)\
**Post date:** [November 23, 2021, 2:38pm UTC](https://forum.mautic.org/t/pending-actions/21721/3 "2021-11-23T14:38:07Z")

</div>

> Have you checked your logs for any errors:

The only entry in the logs is an error related to the new version and update procedure.

[11/23/2021 15:05:24] mautic.ERROR: UPDATE CHECK: Could not fetch a release list: 403 (rate limit exceeded)    
Not my, but the same error \> for more info: [An error occurred while checking for updates](https://forum.mautic.org/t/an-error-occurred-while-checking-for-updates/18759)  
However, this is a completely different matter

> Check your web server logs there should be a file (if configured correctly) mautic.error  
> I don’t have such a file.  
> Do you know a more precise location?

> also try I would go and try run the jobs manually from the terminal  
> Okay, I have to try

---

<div class="post-metadata">

**Author:** ![mojo](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mojo/32/543_2.png) [@mojo](https://forum.mautic.org/u/mojo)\
**Post date:** [November 24, 2021, 6:02pm UTC](https://forum.mautic.org/t/pending-actions/21721/4 "2021-11-24T18:02:01Z")

</div>

> /mautic/app/console mautic:campaigns:update -i [the number of your campaign]

My Mautic version is: 3.3.4 so i use /bin  
I used  
php bin/console mautic:campaigns:update  
php bin/console mautic:campaigns:trigger

Nothing has changed ☹ and still “pending”

I created a new campaign and several users filled it with data  
No change, still “pending”

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [November 24, 2021, 7:48pm UTC](https://forum.mautic.org/t/pending-actions/21721/5 "2021-11-24T19:48:49Z")

</div>

Okay, but what answer you got after the command was executed?

---

<div class="post-metadata">

**Author:** ![mojo](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mojo/32/543_2.png) [@mojo](https://forum.mautic.org/u/mojo)\
**Post date:** [November 25, 2021, 6:09pm UTC](https://forum.mautic.org/t/pending-actions/21721/6 "2021-11-25T18:09:09Z")

</div>

I noticed something.  
Everything worked up to 3.2.4 (previous campaigns and segments still work) after upgrading to 3.3.4 a few things don’t work.  
New campaigns and segments created in 3.3.4 do not work

I don’t think the cron is running, although it is done correctly and there are no bugs.

I think I need to upgrade to the next 4.x version

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [November 26, 2021, 6:37am UTC](https://forum.mautic.org/t/pending-actions/21721/7 "2021-11-26T06:37:10Z")

</div>

You clearly have a cronjob issue.  
The mautic:campaigns:trigger cronjob is not working.  
Joey

---

<div class="post-metadata">

**Author:** ![mojo](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mojo/32/543_2.png) [@mojo](https://forum.mautic.org/u/mojo)\
**Post date:** [November 26, 2021, 10:49am UTC](https://forum.mautic.org/t/pending-actions/21721/8 "2021-11-26T10:49:57Z")

</div>

Thank you for your help.  
I found a bug

Use of syntax  
php /home/yyy/domains/xxx/public\_html/bin/console mautic: campaigns: trigger  
was a mistake ☹

I use

/opt/alt/php74/usr/bin/php /home/yyy/domains/xxx/public\_html/bin/console mautic: campaigns: trigger

However, in cron, I had the wrong php version invoked  
/opt/alt/php70/usr/bin/php ☹  
When i use  
/opt/alt/php74/usr/bin/php  
it’s works 😉

After the change, everything seems to work, because many things and activities have been completed.  
Thank you.
