# Installation Error on step 2 - Mautic 2.15.3

**URL:** <https://forum.mautic.org/t/installation-error-on-step-2-mautic-2-15-3/11708>\
**Category:** Product Support\
**Created:** [November 18, 2019, 3:51pm UTC](https://forum.mautic.org/t/installation-error-on-step-2-mautic-2-15-3/11708 "2019-11-18T15:51:58Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![nickmenai](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/nickmenai/32/613_2.png) [@nickmenai](https://forum.mautic.org/u/nickmenai)\
**Post date:** [November 18, 2019, 3:51pm UTC](https://forum.mautic.org/t/installation-error-on-step-2-mautic-2-15-3/11708/1 "2019-11-18T15:51:58Z")

</div>

**Your software**  
My Mautic version is: 2.15.3  
My PHP version is: 7.1.33

**Your problem**  
My problem is:

Running this from a sub-domain on a VPS hosted on Fasthosts.

Files have been uploaded and installation goes OK until I am asked to setup the admin user. I type my name and email address and try and continue. After 5 seconds I get a 500 error.

I have checked the timeout for scripts and it’s 30 seconds. I have also checked the logs. I have pasted the error I get from the logs below. Note that I have put hidingthisstuff to hide my domain etc for security.

These errors are showing in the log:

AH01071: Got error ‘PHP message: PHP Warning: require(/hidingthisstuff/app/cache/prod/doctrine/orm/Proxies/\_\_CG\_\_MauticUserBundleEntityRole.php): failed to open stream: No such file or directory in /hidingthisstuff/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php on line 209\nPHP message: PHP Warning: require(hidingthisstuff/app/cache/prod/doctrine/orm/Proxies/\_\_CG\_\_MauticUserBundleEntityRole.php): failed to open stream: No such file or directory in /hidingthisstuff/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php on line 209\nPHP message: PHP Fatal error: require(): Failed opening required ‘/hidingthisstuff/app/cache/prod/doctrine/orm/Proxies/\_\_CG\_\_MauticUserBundleEntityRole.php’ (include\_path=’.:/opt/plesk/php/7.1/share/pear’) in /hidingthisstuff/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php on line 209\n’, referer: https:/hidingthisstuff.com/installer/step/2

Steps I have tried to fix the problem:

I have looked through other posts related to similar issues people are having. I have deleted the cache as some suggest as well as using a different MySQL database and neither of these have worked. I have also extended the timeout for PHP scripts upto 120 seconds and that didn’t work. In addition I did increase the memory allocation to 500mb and also with no joy. My last step was to set all files and folders to 755 in via Filezilla - this also didn’t work.

Any advice or pointers would be useful.

Thanks

---

<div class="post-metadata">

**Author:** ![deepti](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/deepti/32/411_2.png) [@deepti](https://forum.mautic.org/u/deepti)\
**Post date:** [November 18, 2019, 4:33pm UTC](https://forum.mautic.org/t/installation-error-on-step-2-mautic-2-15-3/11708/2 "2019-11-18T16:33:47Z")

</div>

There is something missing in step 1 , can you redo installtion and try …

---

<div class="post-metadata">

**Author:** ![nickmenai](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/nickmenai/32/613_2.png) [@nickmenai](https://forum.mautic.org/u/nickmenai)\
**Post date:** [November 18, 2019, 4:37pm UTC](https://forum.mautic.org/t/installation-error-on-step-2-mautic-2-15-3/11708/3 "2019-11-18T16:37:11Z")

</div>

Step 1 is the database setup. I have ran this a couple of times but still have the same issue. I have also created a new database to see if that was the issue but the exact same problem persists. All of the database tables are created by the script as I can see them. It is when I try and setup the admin user…that is where the error then occurs.

---

<div class="post-metadata">

**Author:** ![MxyzptlkFishStix](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mxyzptlkfishstix/32/1132_2.png) [@MxyzptlkFishStix](https://forum.mautic.org/u/MxyzptlkFishStix)\
**Post date:** [November 18, 2019, 5:54pm UTC](https://forum.mautic.org/t/installation-error-on-step-2-mautic-2-15-3/11708/4 "2019-11-18T17:54:20Z")

</div>

Make sure everything under Mautic root is owned by the web server user.

---

<div class="post-metadata">

**Author:** ![aerendir](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/aerendir/32/1050_2.png) [@aerendir](https://forum.mautic.org/u/aerendir)\
**Post date:** [November 20, 2019, 10:46am UTC](https://forum.mautic.org/t/installation-error-on-step-2-mautic-2-15-3/11708/5 "2019-11-20T10:46:42Z")

</div>

As told by @MxyzptlkFishStix, this is typically a problem related to unix permissions.

Mautic uses Doctrine to interact with the database.

To make the execution faster, Doctrine uses a system that creates real PHP classes from the code: a sort of code compilation like in the traditional programming languages.

Those files need to be accessible by the Apache user: if they are owned by two different users, then Mautic is not able to read them.

The other reason is that, for some reasons, the proxy classes were not generated at all: check the path indicated in the error and see if there there are the php files: if they are not present, then you need to create them manually ([https://stackoverflow.com/questions/36255440/symfony-cache-doctrine-orm-proxies-failed-to-open-stream-proxy-abstractproxyfac](https://stackoverflow.com/questions/36255440/symfony-cache-doctrine-orm-proxies-failed-to-open-stream-proxy-abstractproxyfac))

---

<div class="post-metadata">

**Author:** ![nickmenai](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/nickmenai/32/613_2.png) [@nickmenai](https://forum.mautic.org/u/nickmenai)\
**Post date:** [November 21, 2019, 11:34am UTC](https://forum.mautic.org/t/installation-error-on-step-2-mautic-2-15-3/11708/6 "2019-11-21T11:34:36Z")

</div>

You’re right, they’re not there. I ran the command : ```  
app/console cache:warmup --env=prod

```auto
However the response back was "No such file or directory".

I'm not a big user of SSH or Symfony so any additional help would be very much appreciated.
```

---

<div class="post-metadata">

**Author:** ![nickmenai](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/nickmenai/32/613_2.png) [@nickmenai](https://forum.mautic.org/u/nickmenai)\
**Post date:** [November 21, 2019, 11:37am UTC](https://forum.mautic.org/t/installation-error-on-step-2-mautic-2-15-3/11708/7 "2019-11-21T11:37:09Z")

</div>

It looks as though it is the root user.

---

<div class="post-metadata">

**Author:** ![MxyzptlkFishStix](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mxyzptlkfishstix/32/1132_2.png) [@MxyzptlkFishStix](https://forum.mautic.org/u/MxyzptlkFishStix)\
**Post date:** [November 21, 2019, 6:15pm UTC](https://forum.mautic.org/t/installation-error-on-step-2-mautic-2-15-3/11708/8 "2019-11-21T18:15:36Z")

</div>

> [@nickmenai](#):
>
> It looks as though it is the root user.

As the root user, use the following command:  
`chown -R webserveruser.webserveruser /location/of/mautic/`

webserveruser = the user the web server process runs under. It could be apache, nginx or www-data.

Once that’s done, don’t run `app/console cache:warmup`. Just make sure `/location/of/mautic/app/cache/prod/` is deleted and refresh the Mautic dashboard inside your browser. The act of doing that will refresh the cache.

---

<div class="post-metadata">

**Author:** ![Yosu\_Cadilla](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/yosu_cadilla/32/6206_2.png) [@Yosu\_Cadilla](https://forum.mautic.org/u/Yosu_Cadilla)\
**Post date:** [December 16, 2019, 4:43pm UTC](https://forum.mautic.org/t/installation-error-on-step-2-mautic-2-15-3/11708/9 "2019-12-16T16:43:57Z")

</div>

Hello @nickmenai,

What OS are you running? Ubuntu, CentOS?

---

<div class="post-metadata">

**Author:** ![nickmenai](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/nickmenai/32/613_2.png) [@nickmenai](https://forum.mautic.org/u/nickmenai)\
**Post date:** [January 30, 2020, 1:18pm UTC](https://forum.mautic.org/t/installation-error-on-step-2-mautic-2-15-3/11708/10 "2020-01-30T13:18:04Z")

</div>

CentOS 7.The server is a VPS on Fasthosts servers.

---

<div class="post-metadata">

**Author:** ![naflan](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/naflan/32/2401_2.png) [@naflan](https://forum.mautic.org/u/naflan)\
**Post date:** [May 13, 2020, 8:24am UTC](https://forum.mautic.org/t/installation-error-on-step-2-mautic-2-15-3/11708/11 "2020-05-13T08:24:50Z")

</div>

were you able to fix this issue?
