Dear all,
I also have the same problem. I tested my process in Windows Dev (PM3.4.7 Community) the code works. Emails are sent.
After deploying to Ubuntu Based Production, the PMFSendMessage failed to send any emails.
Here are the syptoms:
1. APP_MESSAGE does not have record.
2. supervisor is running ok.
Code: Select allgeh@GEH-Ubuntu-02:/opt/processmaker/workflow/engine/config$ ps -ef | grep supervisor
root 1047 1 0 Apr14 ? 00:09:28 /usr/bin/python /usr/bin/supervisord -n -c /etc/supervisor/supervisord.conf
geh 31990 22268 0 10:56 pts/0 00:00:00 grep --color=auto supervisor
3. supervisor config file.
Code: Select all[program:laravel-worker-workflow]
user=www-data
directory=/opt/processmaker/
command=php /opt/processmaker/processmaker artisan queue:work --workspace=workflow
stdout_logfile=/opt/processmaker/worker-workflow.log
stderr_logfile=/opt/processmaker/worker-workflow-error.log
autostart=true
autorestart=true
4. log fle
Code: Select all> artisan queue:work --workspace=workflow --tries=10 --processmakerPath=/opt/processmaker/
[2021-07-02 09:35:38][1] Processing: Closure (JobsManager.php:187)
[2021-07-02 09:35:38][1] Processed: Closure (JobsManager.php:187)
[2021-07-02 09:59:51][2] Processing: Closure (JobsManager.php:187)
[2021-07-02 09:59:51][2] Processed: Closure (JobsManager.php:187)
[2021-07-02 10:29:40][3] Processing: Closure (JobsManager.php:187)
[2021-07-02 10:29:40][3] Processed: Closure (JobsManager.php:187)
[2021-07-02 10:51:55][4] Processing: Closure (JobsManager.php:187)
[2021-07-02 10:51:55][4] Processed: Closure (JobsManager.php:187)
[2021-07-02 10:53:16][5] Processing: Closure (JobsManager.php:187)
[2021-07-02 10:53:16][5] Processed: Closure (JobsManager.php:187)
5. There is no entries in error log
Code: Select allgeh@GEH-Ubuntu-02:/opt/processmaker/workflow$ ls -atl /opt/processmaker/worker-workflow-error.log
-rw-r--r-- 1 root root 4433 Apr 14 18:51 /opt/processmaker/worker-workflow-error.log
6. Test email is successful.
7. Email from Designer -> Process -> Task -> Properties -> Notification -> After routing notify the next assigned user(s) also works in the system.
8. Artisan is working, and seems no failure found
Code: Select allgeh@GEH-Ubuntu-02:/opt/processmaker/workflow$ ps -ef | grep artisan
www-data 1506 1047 0 Apr14 ? 00:00:00 php /opt/processmaker/processmaker artisan queue:work --workspace=workflow
www-data 1520 1506 0 Apr14 ? 00:00:00 sh -c /usr/bin/php7.3 artisan queue:work --workspace=workflow --tries=10 --processmakerPath=/opt/processmaker/
www-data 1524 1520 0 Apr14 ? 00:30:03 /usr/bin/php7.3 artisan queue:work --workspace=workflow --tries=10 --processmakerPath=/opt/processmaker/
geh 32440 22268 0 11:33 pts/0 00:00:00 grep --color=auto artisan
geh@GEH-Ubuntu-02:/opt/processmaker/workflow$ php /opt/processmaker/processmaker artisan queue:failed --workspace=workflow
> artisan queue:failed --workspace=workflow --processmakerPath=/opt/processmaker/
Can some one direct me to the next step for trouble shooting please?