# Mautic Instalation Problem

**URL:** <https://forum.mautic.org/t/mautic-instalation-problem/6935>\
**Category:** Product Support\
**Created:** [December 21, 2016, 10:34pm UTC](https://forum.mautic.org/t/mautic-instalation-problem/6935 "2016-12-21T22:34:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Blancher](https://avatars.discourse-cdn.com/v4/letter/b/f14d63/32.png) [@Blancher](https://forum.mautic.org/u/Blancher)\
**Post date:** [December 21, 2016, 10:34pm UTC](https://forum.mautic.org/t/mautic-instalation-problem/6935/1 "2016-12-21T22:34:42Z")

</div>

Hi, I tried to install the last verion of Mautic (2.4) on an Amazon Server (amazon aws ec2).  
  
I have a mistake when I want to install it : he site is currently offline due to encountering an error. If the problem persists, please contact the system administrator.System administrators, check server logs for errors.  
  
  
  
Then I check my log server and I found this:

Code:

[Wed Dec 21 17:29:57.503892 2016] [:error] [pid 25703] [client 24.105.75.157:53012] RuntimeException: Unable to write in the cache directory (/var/www/html/mautic/app/cache/prod)n in /var/www/html/mautic/app/AppKernel.php:522nStack trace:n#0 /var/www/html/mautic/app/AppKernel.php(487): AppKernel-\>buildContainer()n#1 /var/www/html/mautic/app/AppKernel.php(249): AppKernel-\>initializeContainer()n#2 /var/www/html/mautic/app/AppKernel.php(109): AppKernel-\>boot()n#3 /var/www/html/mautic/app/middlewares/CORSMiddleware.php(92): AppKernel-\>handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)n#4 /var/www/html/mautic/app/middlewares/CatchExceptionMiddleware.php(44): Mautic\Middleware\CORSMiddleware-\>handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)n#5 /var/www/html/mautic/app/middlewares/VersionCheckMiddleware.php(57): Mautic\Middleware\CatchExceptionMiddleware-\>handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)n#6 /var/www/html/mautic/vendor/stack/builder/src/Stack/StackedHttpKernel.php(23): Mautic\Middleware\VersionCheckMiddleware-\>handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)n#7 /var/www/html/mautic/vendor/stack/run/src/Stack/run.php(13): Stack\StackedHttpKernel-\>handle(Object(Symfony\Component\HttpFoundation\Request))n#8 /var/www/html/mautic/index.php(32): Stack\run(Object(Stack\StackedHttpKernel))n#9 {main}

  
As I understand ,there is a permission problem in the "cache" diretory. But what I don't understand is the access to this directory are 775. Even If I try 777, it's not working...  
Anyone have an idea?  
  
Thx

---

<div class="post-metadata">

**Author:** ![Blancher](https://avatars.discourse-cdn.com/v4/letter/b/f14d63/32.png) [@Blancher](https://forum.mautic.org/u/Blancher)\
**Post date:** [December 21, 2016, 10:34pm UTC](https://forum.mautic.org/t/mautic-instalation-problem/6935/2 "2016-12-21T22:34:42Z")

</div>

Hi, I tried to install the last verion of Mautic (2.4) on an Amazon Server (amazon aws ec2).  
I have a mistake when I want to install it : he site is currently offline due to encountering an error. If the problem persists, please contact the system administrator.System administrators, check server logs for errors.

Then I check my log server and I found this:

`[Wed Dec 21 17:29:57.503892 2016] [:error] [pid 25703] [client 24.105.75.157:53012] RuntimeException: Unable to write in the cache directory (/var/www/html/mautic/app/cache/prod)n in /var/www/html/mautic/app/AppKernel.php:522nStack trace:n#0 /var/www/html/mautic/app/AppKernel.php(487): AppKernel->buildContainer()n#1 /var/www/html/mautic/app/AppKernel.php(249): AppKernel->initializeContainer()n#2 /var/www/html/mautic/app/AppKernel.php(109): AppKernel->boot()n#3 /var/www/html/mautic/app/middlewares/CORSMiddleware.php(92): AppKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)n#4 /var/www/html/mautic/app/middlewares/CatchExceptionMiddleware.php(44): Mautic\Middleware\CORSMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)n#5 /var/www/html/mautic/app/middlewares/VersionCheckMiddleware.php(57): Mautic\Middleware\CatchExceptionMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)n#6 /var/www/html/mautic/vendor/stack/builder/src/Stack/StackedHttpKernel.php(23): Mautic\Middleware\VersionCheckMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)n#7 /var/www/html/mautic/vendor/stack/run/src/Stack/run.php(13): Stack\StackedHttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request))n#8 /var/www/html/mautic/index.php(32): Stack\run(Object(Stack\StackedHttpKernel))n#9 {main}
`

As I understand ,there is a permission problem in the “cache” diretory. But what I don’t understand is the access to this directory are 775. Even If I try 777, it’s not working…  
Anyone have an idea?

Thx

---

<div class="post-metadata">

**Author:** ![andydoku334](https://avatars.discourse-cdn.com/v4/letter/a/85e7bf/32.png) [@andydoku334](https://forum.mautic.org/u/andydoku334)\
**Post date:** [January 3, 2017, 12:41pm UTC](https://forum.mautic.org/t/mautic-instalation-problem/6935/3 "2017-01-03T12:41:41Z")

</div>

I have this same issue also and would love a solution.
