# Slim Application Error bei Update von 4.2.3 auf 5.1.5 - Type: UnexpectedValueException

**URL:** https://forum.shopware.com/t/slim-application-error-bei-update-von-4-2-3-auf-5-1-5-type-unexpectedvalueexception/36903
**Category:** Installation/Einstieg
**Created:** [21. Mai 2016 um 14:37 UTC](https://forum.shopware.com/t/slim-application-error-bei-update-von-4-2-3-auf-5-1-5-type-unexpectedvalueexception/36903 "2016-05-21T14:37:54Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![zemfix](https://avatars.discourse-cdn.com/v4/letter/z/dbc845/32.png) [@zemfix](https://forum.shopware.com/u/zemfix)
#### Post date: [21. Mai 2016 um 14:37 UTC](https://forum.shopware.com/t/slim-application-error-bei-update-von-4-2-3-auf-5-1-5-type-unexpectedvalueexception/36903/1 "2016-05-21T14:37:54Z")

</div>

Hallo miteinander!

Bei dem Versuch Shopware 4.2.3 auf 5.1.5 zu updaten ist folgender Fehler beim „Aufräumen“ aufgetreten:  
\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_

Slim Application Error

The application could not run because of the following error:

Details

**Type:** UnexpectedValueException

**Message:** RecursiveDirectoryIterator::\_\_construct(/www/htdocs/w00f89ef/zemfixshop/cache/templates/backend\_de\_DE\_8c0a5): failed to open dir: Permission denied

**File:** /www/htdocs/w00f89ef/zemfixshop/recovery/update/src/Utils.php

**Line:** 281

Trace

```
 &nbsp;

```

#0 [internal function]: RecursiveDirectoryIterator-\>\_\_construct(’/www/htdocs/w00…’, 4096)  
#1 /www/htdocs/w00f89ef/zemfixshop/recovery/update/src/Utils.php(281): RecursiveDirectoryIterator-\>getChildren()  
#2 /www/htdocs/w00f89ef/zemfixshop/recovery/update/src/Controller/CleanupController.php(114): Shopware\Recovery\Update\Utils::cleanPath(’/www/htdocs/w00…’)  
#3 /www/htdocs/w00f89ef/zemfixshop/recovery/update/src/app.php(159): Shopware\Recovery\Update\Controller\CleanupController-\>cleanupOldFiles()  
#4 [internal function]: {closure}()  
#5 /www/htdocs/w00f89ef/zemfixshop/recovery/common/vendor/slim/slim/Slim/Route.php(462): call\_user\_func\_array(Object(Closure), Array)  
#6 /www/htdocs/w00f89ef/zemfixshop/recovery/common/vendor/slim/slim/Slim/Slim.php(1326): Slim\Route-\>dispatch()  
#7 /www/htdocs/w00f89ef/zemfixshop/recovery/common/vendor/slim/slim/Slim/Middleware/Flash.php(85): Slim\Slim-\>call()  
#8 /www/htdocs/w00f89ef/zemfixshop/recovery/common/vendor/slim/slim/Slim/Middleware/MethodOverride.php(92): Slim\Middleware\Flash-\>call()  
#9 /www/htdocs/w00f89ef/zemfixshop/recovery/common/vendor/slim/slim/Slim/Middleware/PrettyExceptions.php(67): Slim\Middleware\MethodOverride-\>call()  
#10 /www/htdocs/w00f89ef/zemfixshop/recovery/common/vendor/slim/slim/Slim/Slim.php(1271): Slim\Middleware\PrettyExceptions-\>call()  
#11 /www/htdocs/w00f89ef/zemfixshop/recovery/update/index.php(46): Slim\Slim-\>run()  
#12 {main}

&nbsp;

\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_

&nbsp;

Kann mir jemand sagen, wie ich das Problem lösen kann?  
Die Zugriffsrechte von " /www/htdocs/w00f89ef/zemfixshop/cache/templates/backend\_de\_DE\_8c0a5 " kann ich nicht ändern…

&nbsp;

Vielen Dank für eure Hilfe!

---

<div class="post-metadata">

### Author: ![shyim](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/shyim/32/7681_2.png) [@shyim](https://forum.shopware.com/u/shyim)
#### Post date: [21. Mai 2016 um 14:54 UTC](https://forum.shopware.com/t/slim-application-error-bei-update-von-4-2-3-auf-5-1-5-type-unexpectedvalueexception/36903/2 "2016-05-21T14:54:46Z")

</div>

Meistens hilft in solchen fällen auch, manuell den Cache zu leeren =\> einfach alle Dateien im Cache Ordner löschen via FTP

---

<div class="post-metadata">

### Author: ![useg](https://avatars.discourse-cdn.com/v4/letter/u/df705f/32.png) [@useg](https://forum.shopware.com/u/useg)
#### Post date: [21. Mai 2016 um 15:00 UTC](https://forum.shopware.com/t/slim-application-error-bei-update-von-4-2-3-auf-5-1-5-type-unexpectedvalueexception/36903/3 "2016-05-21T15:00:55Z")

</div>

Läuft der Shop denn trotzdem?

Er möchte den Order bestimmt beim Aufräumen löschen und darf es nicht, weil Shopware 5 den Ordner nicht mehr genutzt.

Falls der Shop noch nicht wieder erreichbar ist, kannst du den Ordner nicht auf dem Server löschen löschen und das Update noch mal machen?

Bist du bei All-Inkl? und hast in der .htaccess noch nicht den CGI drin, wenn du den dann drin hast&nbsp;gibt es keine Probleme mehr mit den Schreibrechten.  
[http://all-inkl.com/wichtig/faq/#faq\_software](http://all-inkl.com/wichtig/faq/#faq_software)

Uwe

---

<div class="post-metadata">

### Author: ![zemfix](https://avatars.discourse-cdn.com/v4/letter/z/dbc845/32.png) [@zemfix](https://forum.shopware.com/u/zemfix)
#### Post date: [21. Mai 2016 um 15:29 UTC](https://forum.shopware.com/t/slim-application-error-bei-update-von-4-2-3-auf-5-1-5-type-unexpectedvalueexception/36903/4 "2016-05-21T15:29:43Z")

</div>

Nein, der Shop läuft nicht. Es wird immernoch der Wartungshinweis angezeigt. Cache über FTP löschen klappt so auch nicht ohne weiteres.  
Ja, bin bei All-Inkl. Habe dort für die Shop-Domain PHP umgestellt auf CGI (5.6) (vorher PHP Modul 5.3.28). da könnte natürlich der Fehler liegen. Weiter habe ich nämlich nichts geändert.  
Da ich relativer Anfänger bin, hab ich da noch nicht so die Ahnung. Ich werd mich mal durch die Anleitungen lesen und hoffen, dass ich das hinbekomme.

Danke!

---

<div class="post-metadata">

### Author: ![zemfix](https://avatars.discourse-cdn.com/v4/letter/z/dbc845/32.png) [@zemfix](https://forum.shopware.com/u/zemfix)
#### Post date: [21. Mai 2016 um 15:39 UTC](https://forum.shopware.com/t/slim-application-error-bei-update-von-4-2-3-auf-5-1-5-type-unexpectedvalueexception/36903/5 "2016-05-21T15:39:38Z")

</div>

Super, es läuft wieder alles! Viele Dank für die schnelle Hilfe!  
Die Lösung war die Berechtigungen (CHOWN) über Web-FTP von All-Inkl zu ändern.

Jetzt ist nur mein Shop-Logo weg, was wohl an der neuen Shopware-Version liegt. Da muss ich mich wohl noch ein wenig mit beschäftigen.

Ein schönes Wochenende!
