# Fatal Error Unable to create the cache

**URL:** <https://ask.gibbonedu.org/t/fatal-error-unable-to-create-the-cache/15055>\
**Category:** Installation\
**Created:** [December 4, 2024, 3:51pm UTC](https://ask.gibbonedu.org/t/fatal-error-unable-to-create-the-cache/15055 "2024-12-04T15:51:56Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Carisa](https://ask.gibbonedu.org/user_avatar/ask.gibbonedu.org/carisa/32/861_2.png) [@Carisa](https://ask.gibbonedu.org/u/Carisa)\
**Post date:** [December 4, 2024, 3:51pm UTC](https://ask.gibbonedu.org/t/fatal-error-unable-to-create-the-cache/15055/1 "2024-12-04T15:51:58Z")

</div>

Hey all, Ive been trying to install Gibbon on my server, but I continuously get the same error:

```auto
Oh no!
Something has gone wrong: the Gibbons have escaped!

An error has occurred. This could mean a number of different things, but generally indicates that you have a misspelt address, or are trying to access a page that you are not permitted to access. If you cannot solve this problem by retyping the address, or through other means, please contact your system administrator.

```

I checked the logs and they state:

```auto

Fatal error: Uncaught RuntimeException: Unable to create the cache directory (/home/BHIS/web/sis.bhischina.org/public_html/uploads/cache/1b). in /home/BHIS/web/sis.bhischina.org/public_html/vendor/twig/twig/src/Cache/FilesystemCache.php:53 Stack trace: #0 /home/BHIS/web/sis.bhischina.org/public_html/vendor/twig/twig/src/Environment.php(352): Twig\Cache\FilesystemCache->write() #1 /home/BHIS/web/sis.bhischina.org/public_html/vendor/twig/twig/src/Environment.php(312): Twig\Environment->loadTemplate() #2 /home/BHIS/web/sis.bhischina.org/public_html/vendor/twig/twig/src/Environment.php(280): Twig\Environment->load() #3 /home/BHIS/web/sis.bhischina.org/public_html/src/View/View.php(122): Twig\Environment->render() #4 /home/BHIS/web/sis.bhischina.org/public_html/src/View/Page.php(504): Gibbon\View\View->render() #5 /home/BHIS/web/sis.bhischina.org/public_html/installer/install.php(220): Gibbon\View\Page->render() #6 {main} thrown in /home/BHIS/web/sis.bhischina.org/public_html/vendor/twig/twig/src/Cache/FilesystemCache.php on line 53

```

After reading some posts it appears to be file permission issues, but after trying to fix that it appears nothing has changed. can anyone help?

---

<div class="post-metadata">

**Author:** ![sandra](https://ask.gibbonedu.org/user_avatar/ask.gibbonedu.org/sandra/32/5_2.png) [@sandra](https://ask.gibbonedu.org/u/sandra)\
**Post date:** [December 6, 2024, 4:20am UTC](https://ask.gibbonedu.org/t/fatal-error-unable-to-create-the-cache/15055/2 "2024-12-06T04:20:39Z")

</div>

Hi @Carisa welcome to the Gibbon community!

It does sound like this is file permission related. Be sure to check not only the permissions themselves (often 755 on linux systems) but also which user is the owner of the files, as generally this needs to be the user that the web server is running under (on Apache servers, this is often www-data). You can apply the file permission and ownership changes recursivly, such as:

```auto
sudo chown -R www-data /your/gibbon/path
sudo chmod -R 755 /your/gibbon/path

```

Hope this helps!

---

<div class="post-metadata">

**Author:** ![Carisa](https://ask.gibbonedu.org/user_avatar/ask.gibbonedu.org/carisa/32/861_2.png) [@Carisa](https://ask.gibbonedu.org/u/Carisa)\
**Post date:** [December 6, 2024, 12:39pm UTC](https://ask.gibbonedu.org/t/fatal-error-unable-to-create-the-cache/15055/3 "2024-12-06T12:39:17Z")

</div>

I’ve done this already, but not much seems to have changed, could there be anything else?

---

<div class="post-metadata">

**Author:** ![sandra](https://ask.gibbonedu.org/user_avatar/ask.gibbonedu.org/sandra/32/5_2.png) [@sandra](https://ask.gibbonedu.org/u/sandra)\
**Post date:** [December 12, 2024, 6:21am UTC](https://ask.gibbonedu.org/t/fatal-error-unable-to-create-the-cache/15055/4 "2024-12-12T06:21:40Z")

</div>

Hi @Carisa I wish I could offer more specific support, it can be tricky to guess the cause when there are so many different server configurations. Perhaps see if you can manually create the cache folder inside the uploads folder, and this may help you get through the installer. Once installed, there is a System Admin \> System Check page that can help scan the file permissions of the directories, and look for other issues. Hope this helps!
