# Error installing mautic in step 2, site offline

**URL:** <https://forum.mautic.org/t/error-installing-mautic-in-step-2-site-offline/25342>\
**Category:** Mautic 4 Install/Upgrade Support\
**Created:** [September 8, 2022, 10:35pm UTC](https://forum.mautic.org/t/error-installing-mautic-in-step-2-site-offline/25342 "2022-09-08T22:35:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![To-Perceive](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/to-perceive/32/4813_2.png) [@To-Perceive](https://forum.mautic.org/u/To-Perceive)\
**Post date:** [September 8, 2022, 10:35pm UTC](https://forum.mautic.org/t/error-installing-mautic-in-step-2-site-offline/25342/1 "2022-09-08T22:35:41Z")

</div>

**Your software** Apache2.4, system centos7 , server VPS Contabo.  
_My PHP version is_ :7.4  
_My MySQL/MariaDB version is_ (delete as applicable): MySQL 8

**Updating/Installing Errors**  
_I am_ (delete as applicable): Installing / Updating  
Installing  
_Upgrading/installing via_ (delete as applicable) : Web / Command Line

It was not via ssh but manually unzipped in the AApanel panel directory

_These errors are showing in the installer_ :  
Error installing mautic in step 2, site offline

_These errors are showing in the Mautic log_ :

error logs: [Thu Sep 08 17:53:03.500361 2022] [proxy\_fcgi:error] [pid 11346:tid 139998137562880] [client 189.121.203.163:2341] AH01071: Got error ‘PHP message: PHP Warning: require(/www /wwwroot/info.origensdabeleza.com/var/cache/prod/doctrine/orm/Proxies/\_\_CG\_\_MauticUserBundleEntityRole.php): failed to open stream: There is no such file or directory in /www/wwwroot/info.origensdabeleza.com/vendor /doctrination/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php on line 197PHP message: PHP Fatal error: require(): Failed opening required ‘/www/wwwroot/info.origensdabeleza.com/var/cache/prod/ doctrine /orm/Proxies/\_\_CG\_\_MauticUserBundleEntityRole.php’ (include\_path=’.:‘) at /www/wwwroot/info.origensdabeleza.com/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php on line 197PHP message : PHP warning: Undefined variable: inline at /www/wwwroot/info.origensdabeleza.com/offline.php at line 77’, referrer: [Mautic](https://info.origensdabeleza.com/installer/step/2)  
**Your problem**  
_My problem is_ : Hi! Guys, could anyone help me? I went up the mautic through the directory and unzipped it, it’s the latest version, when loading it gets this offline site image error in installation step2, disable puntv in install\_functions =, this can load the installation step 1 error now there is an offline error in step 2.  
I’m using apache2.4, php 7.4, VPS contabo, AApenel Panel, msql 8 and phpMyadmin, cloudflare dns without proxy enabled.

_Steps I have tried to fix the problem_ : offline error in step 2

 ![image](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/0/0b05f9ce3bf11da91dea3d8992f0fb77ad137eb6.png)  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/7/7a4e0e23e709479650cc5d83094fd0672a5e4a53.png)

---

<div class="post-metadata">

**Author:** ![mzagmajster](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mzagmajster/32/687_2.png) [@mzagmajster](https://forum.mautic.org/u/mzagmajster)\
**Post date:** [September 9, 2022, 12:01am UTC](https://forum.mautic.org/t/error-installing-mautic-in-step-2-site-offline/25342/2 "2022-09-09T00:01:03Z")

</div>

Hi, try installing it, via CLI, gui version can lead to all sorts of problems.

Steps:

- delete cache with rm -rf var/cache/dev/\* var/cache/prod/\*
- check that php dependencies are installed (check if vendor folder exists & contains sub folders with php files in them)
- install mautic with the following command

```auto
php bin/console mautic:install https://mauticurl.com --db_host=localhost --db_port=3306 --db_name=<db_name> --db_user=<db_user> --db_password=<db_pass> --admin_firstname="<firstname>" --admin_lastname="<lastname>" --admin_email="<admin_email>" --admin_password="<admin_pass>"

```

(of course change the params to your needs)

[optional] Let us know, how it goes 🙂
