# Installation Support on Ubuntu Server Php7.0 - Site Offline

**URL:** <https://forum.mautic.org/t/installation-support-on-ubuntu-server-php7-0-site-offline/9879>\
**Category:** Product Support\
**Created:** [November 11, 2017, 10:26am UTC](https://forum.mautic.org/t/installation-support-on-ubuntu-server-php7-0-site-offline/9879 "2017-11-11T10:26:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![spiritualghost](https://avatars.discourse-cdn.com/v4/letter/s/df788c/32.png) [@spiritualghost](https://forum.mautic.org/u/spiritualghost)\
**Post date:** [November 11, 2017, 10:26am UTC](https://forum.mautic.org/t/installation-support-on-ubuntu-server-php7-0-site-offline/9879/1 "2017-11-11T10:26:11Z")

</div>

Hi all  
  
  
  
After uploading the mautic files to the requisite folder on my Ubuntu Server (Digital Ocean), accessing the installation url gave me the following error:  
  
  
  
**“The site is currently offline due to encountering an error. If the problem persists, please contact the system administrator.”**  
  
  
  
It’s a common error and I implemented various steps as mentioned online by many users. My server log was showing this error:

Code:

RuntimeException: Unable to create the cache directory (/srv/users/serverpilot/apps/mautic/public/app/cache/prod) - in file /srv/users/serverpilot/apps/mautic/public/app/AppKernel.php - at line 535

  
After implementing various steps like changing file permissions via SSH, running commands to change owner to www-data, the only result I got was a change in the error displayed, which is as follows:

Code:

RuntimeException: Unable to write in the cache directory (/srv/users/serverpilot/apps/mautic/public/app/cache/prod) - in file /srv/users/serverpilot/apps/mautic/public/app/AppKernel.php - at line 538

  
Please help me with this. I rebooted the server, cleared my cache but I'm still stuck here.  
  
**PS: I gave all the SSH commands (changing file permissions, ownership to www-data) while logged in as Root in the console. Is that a problem?**

---

<div class="post-metadata">

**Author:** ![spiritualghost](https://avatars.discourse-cdn.com/v4/letter/s/df788c/32.png) [@spiritualghost](https://forum.mautic.org/u/spiritualghost)\
**Post date:** [November 11, 2017, 10:26am UTC](https://forum.mautic.org/t/installation-support-on-ubuntu-server-php7-0-site-offline/9879/2 "2017-11-11T10:26:11Z")

</div>

Hi all

After uploading the mautic files to the requisite folder on my Ubuntu Server (Digital Ocean), accessing the installation url gave me the following error:

“The site is currently offline due to encountering an error. If the problem persists, please contact the system administrator.”

It’s a common error and I implemented various steps as mentioned online by many users. My server log was showing this error:

[code]RuntimeException: Unable to create the cache directory (/srv/users/serverpilot/apps/mautic/public/app/cache/prod)

- in file /srv/users/serverpilot/apps/mautic/public/app/AppKernel.php - at line 535[/code]

After implementing various steps like changing file permissions via SSH, running commands to change owner to www-data, the only result I got was a change in the error displayed, which is as follows:

[code]  
RuntimeException: Unable to write in the cache directory (/srv/users/serverpilot/apps/mautic/public/app/cache/prod)

- in file /srv/users/serverpilot/apps/mautic/public/app/AppKernel.php - at line 538[/code]

Please help me with this. I rebooted the server, cleared my cache but I’m still stuck here.

PS: I gave all the SSH commands (changing file permissions, ownership to www-data) while logged in as Root in the console. Is that a problem?
