Mautic Community Forums

Cron Jobs 500 Internal Error Server

Hi,



I’m having problems with the cron jobs configurations and can’t find solutions anywhere. If someone could help, please!



This are my cron jobs:



mautic-screenshot.jpg



But my campaigns are not working. I receive these emails as logs:



For mautic:segments:update:

“Reconstruir contatos para o segmento 1 (Rebuild contacts for segment 1)

Status: 500 Internal Server Error

Content-type: text/html; charset=UTF-8”



For mautic:emails:send:

“Content-type: text/html; charset=UTF-8”



For mautic:email:fetch:

“No mailboxes are configured.

Content-type: text/html; charset=UTF-8”



For mautic:campaigns:rebuild:

“Reconstruindo leads para lista 1 (Rebuilding leads for list 1)

total de 63 lead(s) à serem adicionados em lotes de 300 (Total of 63 leads to be added in batches of 300))

0/63 [>---------------------------] 0%Status: 500 Internal Server Error

Content-type: text/html; charset=UTF-8”



For mautic:campaigns:trigger:

“Status: 500 Internal Server Error

Content-type: text/html; charset=UTF-8”



Also, my “/public_html/mautic/app.log_error” shows it every five minutos:

[11-Jun-2017 23:20:03 UTC] PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 65536 bytes) in /home/website/public_html/mautic/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php on line 480

[11-Jun-2017 23:25:12 UTC] PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 36864 bytes) in /home/website/public_html/mautic/app/cache/prod/translations/catalogue.pt_BR.be29aec3e037ad56180e85d033e5dfb086e2c796.php on line 2512

[11-Jun-2017 23:30:02 UTC] PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 32768 bytes) in /home/website/public_html/mautic/app/bundles/PluginBundle/Integration/AbstractIntegration.php on line 1663



Note: The only way that I got to increase my PHP7 memory limit was through .user.ini file (via php.ini doesn’t work), I think due to my resell shared hosting (https://wiki.locaweb.com.br/pt-br/Alterar_diretivas_do_PHP_-_cPanel).



Thanks!

Hi,

I’m having problems with the cron jobs configurations and can’t find solutions anywhere. If someone could help, please!

This are my cron jobs:

But my campaigns are not working. I receive these emails as logs:

For mautic:segments:update:
“Reconstruir contatos para o segmento 1 (Rebuild contacts for segment 1)
Status: 500 Internal Server Error
Content-type: text/html; charset=UTF-8”

For mautic:emails:send:
“Content-type: text/html; charset=UTF-8”

For mautic:email:fetch:
“No mailboxes are configured.
Content-type: text/html; charset=UTF-8”

For mautic:campaigns:rebuild:
“Reconstruindo leads para lista 1 (Rebuilding leads for list 1)
total de 63 lead(s) à serem adicionados em lotes de 300 (Total of 63 leads to be added in batches of 300))
0/63 [>---------------------------] 0%Status: 500 Internal Server Error
Content-type: text/html; charset=UTF-8”

For mautic:campaigns:trigger:
“Status: 500 Internal Server Error
Content-type: text/html; charset=UTF-8”

Also, my “/public_html/mautic/app.log_error” shows it every five minutos:
[11-Jun-2017 23:20:03 UTC] PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 65536 bytes) in /home/website/public_html/mautic/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php on line 480
[11-Jun-2017 23:25:12 UTC] PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 36864 bytes) in /home/website/public_html/mautic/app/cache/prod/translations/catalogue.pt_BR.be29aec3e037ad56180e85d033e5dfb086e2c796.php on line 2512
[11-Jun-2017 23:30:02 UTC] PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 32768 bytes) in /home/website/public_html/mautic/app/bundles/PluginBundle/Integration/AbstractIntegration.php on line 1663

Note: The only way that I got to increase my PHP7 memory limit was through .user.ini file (via php.ini doesn’t work), I think due to my resell shared hosting (https://wiki.locaweb.com.br/pt-br/Alterar_diretivas_do_PHP_-_cPanel).

Thanks!

Did you find a solution? I am having the same issue.

Thanks finally sorted this - I updated to PHP 7.1 and asked my host to up the memory limits (despite having done so manually in php.ini myself) all working apart from Hubspot integration not syncing contacts - but I have made another post about that.

Thanks finally sorted this - I updated to PHP 7.1 and asked my host to up the memory limits (despite having done so manually in php.ini myself) all working apart from Hubspot integration not syncing contacts - but I have made another post about that.

Great