# Installation Slim Application Error The application could not run because of the following error:

**URL:** https://forum.shopware.com/t/installation-slim-application-error-the-application-could-not-run-because-of-the-following-error/47371
**Category:** Installation/Einstieg
**Created:** [7. August 2017 um 14:27 UTC](https://forum.shopware.com/t/installation-slim-application-error-the-application-could-not-run-because-of-the-following-error/47371 "2017-08-07T14:27:31Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Champagnerxxl](https://avatars.discourse-cdn.com/v4/letter/c/73ab20/32.png) [@Champagnerxxl](https://forum.shopware.com/u/Champagnerxxl)
#### Post date: [7. August 2017 um 14:27 UTC](https://forum.shopware.com/t/installation-slim-application-error-the-application-could-not-run-because-of-the-following-error/47371/1 "2017-08-07T14:27:31Z")

</div>

Hallo ihr Lieben, ich bekomme hier diese fehler Meldung angezeigt:

[http://sneaker-angebote.de/recovery/install/](http://sneaker-angebote.de/recovery/install/)

&nbsp;

Slim Application Error

The application could not run because of the following error:

Details

**Type:** &nbsp;ErrorException

**Code:** &nbsp;2

**Message:** &nbsp;file\_put\_contents(/var/www/vhosts/sneaker-angebote.de/httpdocs/recovery/install/data/uniqueid.txt): failed to open stream: Permission denied

**File:** &nbsp;/var/www/vhosts/sneaker-angebote.de/httpdocs/recovery/common/src/Service/UniqueIdGenerator.php

**Line:** &nbsp;85

Trace

```
 &nbsp;

```

#0 [internal function]: Slim\Slim::handleErrors(2, ‚file\_put\_conten…‘, ‚/var/www/vhosts…‘, 85, Array)#1 /var/www/vhosts/sneaker-angebote.de/httpdocs/recovery/common/src/Service/UniqueIdGenerator.php(85): file\_put\_contents(’/var/www/vhosts…’, ‚lgNKnzyu6ONcBZA…‘)#2 /var/www/vhosts/sneaker-angebote.de/httpdocs/recovery/common/src/Service/UniqueIdGenerator.php(58): Shopware\Recovery\Common\Service\UniqueIdGenerator-\>saveUniqueId(‚lgNKnzyu6ONcBZA…‘)#3 /var/www/vhosts/sneaker-angebote.de/httpdocs/recovery/install/src/ContainerProvider.php(216): Shopware\Recovery\Common\Service\UniqueIdGenerator-\>getUniqueId()#4 /var/www/vhosts/sneaker-angebote.de/httpdocs/recovery/common/vendor/pimple/pimple/src/Pimple/Container.php(113): Shopware\Recovery\Install\ContainerProvider-\>Shopware\Recovery\Install{closure}(Object(Pimple\Container))#5 /var/www/vhosts/sneaker-angebote.de/httpdocs/recovery/install/src/app.php(175): Pimple\Container-\>offsetGet(‚shopware.notify‘)#6 [internal function]: {closure}()#7 /var/www/vhosts/sneaker-angebote.de/httpdocs/recovery/common/vendor/slim/slim/Slim/Route.php(462): call\_user\_func\_array(Object(Closure), Array)#8 /var/www/vhosts/sneaker-angebote.de/httpdocs/recovery/common/vendor/slim/slim/Slim/Slim.php(1326): Slim\Route-\>dispatch()#9 /var/www/vhosts/sneaker-angebote.de/httpdocs/recovery/common/vendor/slim/slim/Slim/Middleware/Flash.php(85): Slim\Slim-\>call()#10 /var/www/vhosts/sneaker-angebote.de/httpdocs/recovery/common/vendor/slim/slim/Slim/Middleware/MethodOverride.php(92): Slim\Middleware\Flash-\>call()#11 /var/www/vhosts/sneaker-angebote.de/httpdocs/recovery/common/vendor/slim/slim/Slim/Middleware/PrettyExceptions.php(67): Slim\Middleware\MethodOverride-\>call()#12 /var/www/vhosts/sneaker-angebote.de/httpdocs/recovery/common/vendor/slim/slim/Slim/Slim.php(1271): Slim\Middleware\PrettyExceptions-\>call()#13 /var/www/vhosts/sneaker-angebote.de/httpdocs/recovery/install/index.php(75): Slim\Slim-\>run()

#14 {main}

Kann mir jemand helfen?

---

<div class="post-metadata">

### Author: ![waldicom](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/waldicom/32/12881_2.png) [@waldicom](https://forum.shopware.com/u/waldicom)
#### Post date: [7. August 2017 um 14:45 UTC](https://forum.shopware.com/t/installation-slim-application-error-the-application-could-not-run-because-of-the-following-error/47371/2 "2017-08-07T14:45:27Z")

</div>

Der Webserver kann nicht in das Verzeichnis&nbsp;/var/www/vhosts/sneaker-angebote.de/httpdocs/recovery/install/data/ schreiben (um da eine Datei zu erstellen).  
Du müsstest Rechte für das Verzeichnis so ändern, dass der Webserver Schreibrechte für das Verzeichnis hat.

---

<div class="post-metadata">

### Author: ![Champagnerxxl](https://avatars.discourse-cdn.com/v4/letter/c/73ab20/32.png) [@Champagnerxxl](https://forum.shopware.com/u/Champagnerxxl)
#### Post date: [7. August 2017 um 14:52 UTC](https://forum.shopware.com/t/installation-slim-application-error-the-application-could-not-run-because-of-the-following-error/47371/3 "2017-08-07T14:52:42Z")

</div>

Ich werde mal alles auf 777 setzen und dann mal schauen

---

<div class="post-metadata">

### Author: ![AndreHerking](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/andreherking/32/7839_2.png) [@AndreHerking](https://forum.shopware.com/u/AndreHerking)
#### Post date: [7. August 2017 um 16:01 UTC](https://forum.shopware.com/t/installation-slim-application-error-the-application-could-not-run-because-of-the-following-error/47371/4 "2017-08-07T16:01:38Z")

</div>

> [@Champagnerxxl schrieb:](https://forum.shopware.com/profile/26808/Champagnerxxl "Champagnerxxl")
> 
> Ich werde mal alles auf 777 setzen und dann mal schauen

Kontaktiere lieber dein Hoster, denn dein Vorhaben ist nicht zu empfehlen. Damit öffnest du jedem die Tür.&nbsp;

---

<div class="post-metadata">

### Author: ![Champagnerxxl](https://avatars.discourse-cdn.com/v4/letter/c/73ab20/32.png) [@Champagnerxxl](https://forum.shopware.com/u/Champagnerxxl)
#### Post date: [7. August 2017 um 17:24 UTC](https://forum.shopware.com/t/installation-slim-application-error-the-application-could-not-run-because-of-the-following-error/47371/5 "2017-08-07T17:24:51Z")

</div>

Ich änder das ja direkt wieder ab

---

<div class="post-metadata">

### Author: ![Champagnerxxl](https://avatars.discourse-cdn.com/v4/letter/c/73ab20/32.png) [@Champagnerxxl](https://forum.shopware.com/u/Champagnerxxl)
#### Post date: [8. August 2017 um 15:14 UTC](https://forum.shopware.com/t/installation-slim-application-error-the-application-could-not-run-because-of-the-following-error/47371/6 "2017-08-08T15:14:24Z")

</div>

Jetzt Lädt er bei mir nach der Installation das Backend nicht und auf der startseite kommt eine 500er Meldung!

&nbsp;

Kann mir jemand helfen…
