# Shopware 6 Fatal error: Uncaught RuntimeException: Unable to create the "cache" directory

**URL:** <https://forum.shopware.com/t/shopware-6-fatal-error-uncaught-runtimeexception-unable-to-create-the-cache-directory/93423>\
**Category:** Installation / Einstieg\
**Created:** [13. März 2022 um 19:23 UTC](https://forum.shopware.com/t/shopware-6-fatal-error-uncaught-runtimeexception-unable-to-create-the-cache-directory/93423 "2022-03-13T19:23:58Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Max\_Shop](https://avatars.discourse-cdn.com/v4/letter/m/58f4c7/32.png) [@Max\_Shop](https://forum.shopware.com/u/Max_Shop)\
**Post date:** [13. März 2022 um 21:59 UTC](https://forum.shopware.com/t/shopware-6-fatal-error-uncaught-runtimeexception-unable-to-create-the-cache-directory/93423/2 "2022-03-13T21:59:15Z")

</div>

Root Directory sollte /public und nicht /. Dann kannst du die zweite Fehlermeldung erst gar nicht produzieren.

Erster Fehler scheint an den fehlenden Schreibrechten zu liegen. Sicher, dass du dem richtigen Benutzer (Linux Benutzer) die richtigen Rechte gegeben hast?

config.php ist Shopware 5. .env ist Shopware 6

---

_[View the full topic](https://forum.shopware.com/t/shopware-6-fatal-error-uncaught-runtimeexception-unable-to-create-the-cache-directory/93423)._
