# Mautic 3. Failed Install Nginx Step 3

**URL:** <https://forum.mautic.org/t/mautic-3-failed-install-nginx-step-3/15189>\
**Category:** Mautic 3 - Install/Upgrade Support\
**Created:** [July 14, 2020, 7:13am UTC](https://forum.mautic.org/t/mautic-3-failed-install-nginx-step-3/15189 "2020-07-14T07:13:43Z")\
**Posts on this page:** 3\
**Page:** 1

<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:** [July 14, 2020, 7:13am UTC](https://forum.mautic.org/t/mautic-3-failed-install-nginx-step-3/15189/1 "2020-07-14T07:13:43Z")

</div>

**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_ :

 ![image](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/8/8a4f78d51a887a2278c46646988db5c52c4c7f7b.png)

_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](http://mydomain.com), request: "GET /index.php/ins

taller HTTP/1.1", upstream: “fastcgi://unix:/var/run/php/php7.2-fpm.sock:”, host: “[mydomain.com](http://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](http://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](http://mydomain.com)”, referrer: “[http://mydomain.com/index.php/installer/step/2](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](http://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](http://mydomain.com)”, referrer: “[http://mydomain.com/index.php/installer/step/2](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_ :

---

<div class="post-metadata">

**Author:** ![silavapi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/silavapi/32/7424_2.png) [@silavapi](https://forum.mautic.org/u/silavapi)\
**Post date:** [July 14, 2020, 7:51am UTC](https://forum.mautic.org/t/mautic-3-failed-install-nginx-step-3/15189/2 "2020-07-14T07:51:59Z")

</div>

> [@mikew](#):
>
> Server version: 10.1.44-MariaDB-0ubuntu0.18.04.1 Ubuntu 18.04

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](http://mautic.org/download/requirements) 🙂

---

<div class="post-metadata">

**Author:** ![silavapi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/silavapi/32/7424_2.png) [@silavapi](https://forum.mautic.org/u/silavapi)\
**Post date:** [July 14, 2020, 7:53am UTC](https://forum.mautic.org/t/mautic-3-failed-install-nginx-step-3/15189/3 "2020-07-14T07:53:43Z")

</div>

> [@mikew](#):
>
> 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

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](https://docs.mautic.org/en/troubleshooting/working-with-php-ini-resource-limits) for guidance on how to resolve!
