# Site is Offline after 2.8.0 Update

**URL:** <https://forum.mautic.org/t/site-is-offline-after-2-8-0-update/8372>\
**Category:** Product Support\
**Created:** [April 28, 2017, 1:25am UTC](https://forum.mautic.org/t/site-is-offline-after-2-8-0-update/8372 "2017-04-28T01:25:05Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![greghyer](https://avatars.discourse-cdn.com/v4/letter/g/b5ac83/32.png) [@greghyer](https://forum.mautic.org/u/greghyer)\
**Post date:** [April 28, 2017, 1:25am UTC](https://forum.mautic.org/t/site-is-offline-after-2-8-0-update/8372/1 "2017-04-28T01:25:05Z")

</div>

I need a little help. While upgrading to 2.8.0 I accidently closed my browser and didn’t let the update complete while it was in the clearing cache step. I tried accessing the site again but I was unable to access anything but the “Site is Offline” page. I’m assuming there’s a way to take it out of “Offline Mode” but I can’t seem to find out how. Or it’s not that simple. I am using Bitnami / AWS. Here are a few lines from the error log:  
  
  
  
[2017-04-27 01:55:44] mautic.ERROR: SymfonyComponentDebugExceptionFatalErrorException: Notice: require(): Failed opening required ‘/opt/bitnami/apps/mautic/htdocs/app/cache/prod/doctrine/orm/Proxies/\_\_CG\_\_MauticPluginBundleEntityPlugin.php’ (include\_path=’.:/opt/bitnami/php/lib/php:/opt/bitnami/frameworks/smarty/libs’) - in file /opt/bitnami/apps/mautic/htdocs/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php - at line 209 [] []  
  
[2017-04-27 02:11:07] mautic.WARNING: PHP Warning - require(/opt/bitnami/apps/mautic/htdocs/app/cache/prod/doctrine/orm/Proxies/\_\_CG\_\_MauticPluginBundleEntityPlugin.php): failed to open stream: No such file or directory - in file /opt/bitnami/apps/mautic/htdocs/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php - at line 209 [] []  
  
[2017-04-27 02:11:07] mautic.ERROR: PHP Notice: require(): Failed opening required ‘/opt/bitnami/apps/mautic/htdocs/app/cache/prod/doctrine/orm/Proxies/\_\_CG\_\_MauticPluginBundleEntityPlugin.php’ (include\_path=’.:/opt/bitnami/php/lib/php:/opt/bitnami/frameworks/smarty/libs’) - in file /opt/bitnami/apps/mautic/htdocs/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php - at line 209 [] []  
  
[2017-04-27 02:11:07] mautic.ERROR: SymfonyComponentDebugExceptionFatalErrorException: Notice: require(): Failed opening required ‘/opt/bitnami/apps/mautic/htdocs/app/cache/prod/doctrine/orm/Proxies/\_\_CG\_\_MauticPluginBundleEntityPlugin.php’ (include\_path=’.:/opt/bitnami/php/lib/php:/opt/bitnami/frameworks/smarty/libs’) - in file /opt/bitnami/apps/mautic/htdocs/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php - at line 209 [] []  
  
  
  
Here are a few lines of the errors in the Apache2 error log:  
  
  
  
[Fri Apr 28 01:45:14.838176 2017] [proxy\_fcgi:error] [pid 1547:tid 140054252877568] [client 45.37.11.215:52413] AH01071: Got error ‘PHP message: RuntimeException: Unable to create the cache directory (/opt/bitnami/apps/mautic/htdocs/app/cache/prod)n - in file /opt/bitnami/apps/mautic/htdocs/app/AppKernel.php - at line 531n’  
  
[Fri Apr 28 01:50:04.373364 2017] [proxy\_fcgi:error] [pid 1546:tid 140054244484864] [client 45.37.11.215:53095] AH01071: Got error ‘PHP message: RuntimeException: Unable to write in the cache directory (/opt/bitnami/apps/mautic/htdocs/app/cache/prod)n - in file /opt/bitnami/apps/mautic/htdocs/app/AppKernel.php - at line 534n’  
  
[Fri Apr 28 01:53:02.326798 2017] [proxy\_fcgi:error] [pid 1546:tid 140054143772416] [client 45.37.11.215:53511] AH01071: Got error ‘PHP message: RuntimeException: Unable to write in the cache directory (/opt/bitnami/apps/mautic/htdocs/app/cache/prod)n - in file /opt/bitnami/apps/mautic/htdocs/app/AppKernel.php - at line 534n’  
  
[Fri Apr 28 01:55:40.808376 2017] [proxy\_fcgi:error] [pid 1546:tid 140054118594304] [client 173.252.122.120:13572] AH01071: Got error ‘PHP message: RuntimeException: Unable to write in the cache directory (/opt/bitnami/apps/mautic/htdocs/app/cache/prod)n - in file /opt/bitnami/apps/mautic/htdocs/app/AppKernel.php - at line 534n’  
  
[Fri Apr 28 02:17:14.359855 2017] [proxy\_fcgi:error] [pid 1546:tid 140054269662976] [client 45.37.11.215:57072] AH01071: Got error ‘PHP message: RuntimeException: Unable to write in the cache directory (/opt/bitnami/apps/mautic/htdocs/app/cache/prod)n - in file /opt/bitnami/apps/mautic/htdocs/app/AppKernel.php - at line 534n’  
  
  
  
I did try replacing the files as well as reset the file permissions based on documented troubleshooting efforts. Any help with getting this back up an running would be greatly appreciated! Thank you!

---

<div class="post-metadata">

**Author:** ![greghyer](https://avatars.discourse-cdn.com/v4/letter/g/b5ac83/32.png) [@greghyer](https://forum.mautic.org/u/greghyer)\
**Post date:** [April 28, 2017, 1:25am UTC](https://forum.mautic.org/t/site-is-offline-after-2-8-0-update/8372/2 "2017-04-28T01:25:05Z")

</div>

I need a little help. While upgrading to 2.8.0 I accidently closed my browser and didn’t let the update complete while it was in the clearing cache step. I tried accessing the site again but I was unable to access anything but the “Site is Offline” page. I’m assuming there’s a way to take it out of “Offline Mode” but I can’t seem to find out how. Or it’s not that simple. I am using Bitnami / AWS. Here are a few lines from the error log:

[2017-04-27 01:55:44] mautic.ERROR: SymfonyComponentDebugExceptionFatalErrorException: Notice: require(): Failed opening required ‘/opt/bitnami/apps/mautic/htdocs/app/cache/prod/doctrine/orm/Proxies/\_\_CG\_\_MauticPluginBundleEntityPlugin.php’ (include\_path=’.:/opt/bitnami/php/lib/php:/opt/bitnami/frameworks/smarty/libs’) - in file /opt/bitnami/apps/mautic/htdocs/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php - at line 209 [] []  
[2017-04-27 02:11:07] mautic.WARNING: PHP Warning - require(/opt/bitnami/apps/mautic/htdocs/app/cache/prod/doctrine/orm/Proxies/\_\_CG\_\_MauticPluginBundleEntityPlugin.php): failed to open stream: No such file or directory - in file /opt/bitnami/apps/mautic/htdocs/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php - at line 209 [] []  
[2017-04-27 02:11:07] mautic.ERROR: PHP Notice: require(): Failed opening required ‘/opt/bitnami/apps/mautic/htdocs/app/cache/prod/doctrine/orm/Proxies/\_\_CG\_\_MauticPluginBundleEntityPlugin.php’ (include\_path=’.:/opt/bitnami/php/lib/php:/opt/bitnami/frameworks/smarty/libs’) - in file /opt/bitnami/apps/mautic/htdocs/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php - at line 209 [] []  
[2017-04-27 02:11:07] mautic.ERROR: SymfonyComponentDebugExceptionFatalErrorException: Notice: require(): Failed opening required ‘/opt/bitnami/apps/mautic/htdocs/app/cache/prod/doctrine/orm/Proxies/\_\_CG\_\_MauticPluginBundleEntityPlugin.php’ (include\_path=’.:/opt/bitnami/php/lib/php:/opt/bitnami/frameworks/smarty/libs’) - in file /opt/bitnami/apps/mautic/htdocs/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php - at line 209 [] []

Here are a few lines of the errors in the Apache2 error log:

[Fri Apr 28 01:45:14.838176 2017] [proxy\_fcgi:error] [pid 1547:tid 140054252877568] [client 45.37.11.215:52413] AH01071: Got error ‘PHP message: RuntimeException: Unable to create the cache directory (/opt/bitnami/apps/mautic/htdocs/app/cache/prod)n - in file /opt/bitnami/apps/mautic/htdocs/app/AppKernel.php - at line 531n’  
[Fri Apr 28 01:50:04.373364 2017] [proxy\_fcgi:error] [pid 1546:tid 140054244484864] [client 45.37.11.215:53095] AH01071: Got error ‘PHP message: RuntimeException: Unable to write in the cache directory (/opt/bitnami/apps/mautic/htdocs/app/cache/prod)n - in file /opt/bitnami/apps/mautic/htdocs/app/AppKernel.php - at line 534n’  
[Fri Apr 28 01:53:02.326798 2017] [proxy\_fcgi:error] [pid 1546:tid 140054143772416] [client 45.37.11.215:53511] AH01071: Got error ‘PHP message: RuntimeException: Unable to write in the cache directory (/opt/bitnami/apps/mautic/htdocs/app/cache/prod)n - in file /opt/bitnami/apps/mautic/htdocs/app/AppKernel.php - at line 534n’  
[Fri Apr 28 01:55:40.808376 2017] [proxy\_fcgi:error] [pid 1546:tid 140054118594304] [client 173.252.122.120:13572] AH01071: Got error ‘PHP message: RuntimeException: Unable to write in the cache directory (/opt/bitnami/apps/mautic/htdocs/app/cache/prod)n - in file /opt/bitnami/apps/mautic/htdocs/app/AppKernel.php - at line 534n’  
[Fri Apr 28 02:17:14.359855 2017] [proxy\_fcgi:error] [pid 1546:tid 140054269662976] [client 45.37.11.215:57072] AH01071: Got error ‘PHP message: RuntimeException: Unable to write in the cache directory (/opt/bitnami/apps/mautic/htdocs/app/cache/prod)n - in file /opt/bitnami/apps/mautic/htdocs/app/AppKernel.php - at line 534n’

I did try replacing the files as well as reset the file permissions based on documented troubleshooting efforts. Any help with getting this back up an running would be greatly appreciated! Thank you!

---

<div class="post-metadata">

**Author:** ![greghyer](https://avatars.discourse-cdn.com/v4/letter/g/b5ac83/32.png) [@greghyer](https://forum.mautic.org/u/greghyer)\
**Post date:** [April 28, 2017, 3:17am UTC](https://forum.mautic.org/t/site-is-offline-after-2-8-0-update/8372/3 "2017-04-28T03:17:04Z")

</div>

Thank you @MxyzptlkFishStix

Everything except for /htdocs/Upgrade.php is owned by Bitnami. /htdocs/Upgrade.php is owned by root.

What else can I check?

---

<div class="post-metadata">

**Author:** ![greghyer](https://avatars.discourse-cdn.com/v4/letter/g/b5ac83/32.png) [@greghyer](https://forum.mautic.org/u/greghyer)\
**Post date:** [April 28, 2017, 1:58pm UTC](https://forum.mautic.org/t/site-is-offline-after-2-8-0-update/8372/4 "2017-04-28T13:58:12Z")

</div>

root 1541 0.0 0.3 146448 4048 ? Ss Apr27 0:03 /opt/bitnami/apache2/bin/httpd.bin -f /opt/bitnami/apache2/conf/httpd.conf  
daemon 1546 0.0 1.7 1218692 17316 ? Sl Apr27 0:28 /opt/bitnami/apache2/bin/httpd.bin -f /opt/bitnami/apache2/conf/httpd.conf  
daemon 1547 0.0 1.6 1218856 16828 ? Sl Apr27 0:28 /opt/bitnami/apache2/bin/httpd.bin -f /opt/bitnami/apache2/conf/httpd.conf  
daemon 1787 0.0 1.6 1218676 16628 ? Sl Apr27 0:28 /opt/bitnami/apache2/bin/httpd.bin -f /opt/bitnami/apache2/conf/httpd.conf  
bitnami 18051 0.0 0.0 11740 932 pts/0 S+ 14:56 0:00 grep --color=auto apache

---

<div class="post-metadata">

**Author:** ![greghyer](https://avatars.discourse-cdn.com/v4/letter/g/b5ac83/32.png) [@greghyer](https://forum.mautic.org/u/greghyer)\
**Post date:** [April 30, 2017, 2:34am UTC](https://forum.mautic.org/t/site-is-offline-after-2-8-0-update/8372/5 "2017-04-30T02:34:51Z")

</div>

For some reason I get “Operation not permitted” when I try to change the owner.

---

<div class="post-metadata">

**Author:** ![greghyer](https://avatars.discourse-cdn.com/v4/letter/g/b5ac83/32.png) [@greghyer](https://forum.mautic.org/u/greghyer)\
**Post date:** [May 1, 2017, 12:59am UTC](https://forum.mautic.org/t/site-is-offline-after-2-8-0-update/8372/6 "2017-05-01T00:59:11Z")

</div>

@MxyzptlkFishStix I wasn’t exactly sure how to elevate to the root user but I was able to find the documentation via Bitnami’s FAQ. I used the following:

```auto
sudo su -
```

Thank you very much for your help. I’m back up and running.

---

<div class="post-metadata">

**Author:** ![JoPitts](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/jopitts/32/636_2.png) [@JoPitts](https://forum.mautic.org/u/JoPitts)\
**Post date:** [May 1, 2017, 2:15am UTC](https://forum.mautic.org/t/site-is-offline-after-2-8-0-update/8372/7 "2017-05-01T02:15:32Z")

</div>

@MxyzptlkFishStix - damned hosted solutions eh!! As to Earl Grey - I approve. It is my tea of choice (although give me a good strong espresso for preference)

---

<div class="post-metadata">

**Author:** ![juliovicente](https://avatars.discourse-cdn.com/v4/letter/j/5fc32e/32.png) [@juliovicente](https://forum.mautic.org/u/juliovicente)\
**Post date:** [August 1, 2017, 12:08pm UTC](https://forum.mautic.org/t/site-is-offline-after-2-8-0-update/8372/8 "2017-08-01T12:08:10Z")

</div>

Tks! Work for me, clear cache app:

sudo rm -rf /opt/bitnami/apps/mautic/htdocs/app/cache/prod/
