Mautic 3. Failed Install Nginx Step 3

Your software
My PHP version is : 7.2
My MySQL/MariaDB version is (delete as applicable): MySQL/MariaDB version
Server version: 10.1.44-MariaDB-0ubuntu0.18.04.1 Ubuntu 18.04

Updating/Installing Errors
I am (delete as applicable): Installing
Upgrading/installing via (delete as applicable) : Command Line

These errors are showing in the installer :

These errors are showing in the Mautic log :

2020/07/14 07:04:41 [error] 18289#18289: *6 FastCGI sent in stderr: "PHP message: PHP Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/mautic/vendor/jms/serializer/src/JMS/Serializer/EventDispatcher/EventDispatcher.php on line 31

PHP message: PHP Error: Maximum execution time of 30 seconds exceeded - in file /var/www/mautic/vendor/jms/serializer/src/JMS/Serializer/EventDispatcher/EventDispatcher.php - at line 31

PHP message: Symfony\Component\Debug\Exception\FatalErrorException: Error: Maximum execution time of 30 seconds exceeded - in file /var/www/mautic/vendor/jms/serializer/src/JMS/Serializer/EventDispatcher/EventDispatcher.php - at line 31" while reading response header from upstream, client: 46.116.237.13, server: mydomain.com, request: "GET /index.php/ins

taller HTTP/1.1", upstream: “fastcgi://unix:/var/run/php/php7.2-fpm.sock:”, host: “mydomain.com

2020/07/14 07:05:53 [error] 18289#18289: *13 FastCGI sent in stderr: "PHP message: PHP Warning: require(/var/www/mautic/app/cache/prod/doctrine/orm/Proxies/__CG__MauticUserBundle

EntityRole.php): failed to open stream: No such file or directory in /var/www/mautic/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php on line 209

PHP message: PHP Fatal error: require(): Failed opening required ‘/var/www/mautic/app/cache/prod/doctrine/orm/Proxies/__CG__MauticUserBundleEntityRole.php’ (include_path=’.:/usr/share/php’) in /var/www/mautic/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php on line 209" while reading response header from upstream, client: 46.116.237.13, server: mydomain.com, request: “POST /index.php/installer/step/2 HTTP/1.1”, upstream: “fastcgi://unix:/var/run/php/php7.2-fpm.sock:”, host: “mydomain.com”, referrer: “http://mydomain.com/index.php/installer/step/2

2020/07/14 07:06:04 [error] 18289#18289: *13 FastCGI sent in stderr: "PHP message: PHP Warning: require(/var/www/mautic/app/cache/prod/doctrine/orm/Proxies/__CG__MauticUserBundle

EntityRole.php): failed to open stream: No such file or directory in /var/www/mautic/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php on line 209

PHP message: PHP Fatal error: require(): Failed opening required ‘/var/www/mautic/app/cache/prod/doctrine/orm/Proxies/__CG__MauticUserBundleEntityRole.php’ (include_path=’.:/usr/share/php’) in /var/www/mautic/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php on line 209" while reading response header from upstream, client: 46.116.237.13, server: mydomain.com, request: “POST /index.php/installer/step/2 HTTP/1.1”, upstream: “fastcgi://unix:/var/run/php/php7.2-fpm.sock:”, host: “mydomain.com”, referrer: “http://mydomain.com/index.php/installer/step/2

These errors are showing in the upgrade_log.txt file (located in the root of your Mautic instance when an upgrade has been attempted - ensure you remove or redact any sensitive data such as domain names in the file path) :

Your problem
My problem is :

Steps I have tried to fix the problem :

Hi there,

It looks like you’re going to have to update your database version before proceeding, this is lower than the required version for 3.x - see Requirements - Mautic Community :slight_smile:

This is usually related to PHP timeout errors if it continues after updating the database, take a look at Working with php.ini resource limits | Mautic for guidance on how to resolve!

1 Like