# \[Gelöst\] Bei Update von 5.4.6 auf 5.5.1  - Slim Application Error - Backend nicht mehr erreichbar

**URL:** <https://forum.shopware.com/t/gelost-bei-update-von-5-4-6-auf-5-5-1-slim-application-error-backend-nicht-mehr-erreichbar/55705>\
**Category:** Installation/Einstieg\
**Created:** [12. Oktober 2018 um 05:38 UTC](https://forum.shopware.com/t/gelost-bei-update-von-5-4-6-auf-5-5-1-slim-application-error-backend-nicht-mehr-erreichbar/55705 "2018-10-12T05:38:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Toric](https://avatars.discourse-cdn.com/v4/letter/t/bbe5ce/32.png) [@Toric](https://forum.shopware.com/u/Toric)\
**Post date:** [12. Oktober 2018 um 05:38 UTC](https://forum.shopware.com/t/gelost-bei-update-von-5-4-6-auf-5-5-1-slim-application-error-backend-nicht-mehr-erreichbar/55705/1 "2018-10-12T05:38:48Z")

</div>

Hallo,

nach dem o.g. Update erhalte ich die folgende Fehlermeldung:

```
Slim Application Error

The application could not run because of the following error:
Details
Type: Symfony\Component\OptionsResolver\Exception\UndefinedOptionsException
Message: The option "strategy" does not exist. Defined options are: "dir", "file", "mediaUrl", "permissions", "root", "type", "url".
File: /var/www/vhosts/meinedomain.de/shopname/vendor/symfony/options-resolver/OptionsResolver.php
Line: 667
Trace

#0 /var/www/vhosts/meinedomain.de/shopname/engine/Shopware/Bundle/MediaBundle/Adapters/LocalAdapterFactory.php(84): Symfony\Component\OptionsResolver\OptionsResolver->resolve(Array)
#1 /var/www/vhosts/meinedomain.de/shopname/engine/Shopware/Bundle/MediaBundle/Adapters/LocalAdapterFactory.php(44): Shopware\Bundle\MediaBundle\Adapters\LocalAdapterFactory->resolveOptions(Array)
#2 /var/www/vhosts/meinedomain.de/shopname/engine/Shopware/Bundle/MediaBundle/MediaServiceFactory.php(127): Shopware\Bundle\MediaBundle\Adapters\LocalAdapterFactory->create(Array)
#3 /var/www/vhosts/meinedomain.de/shopname/engine/Shopware/Bundle/MediaBundle/MediaServiceFactory.php(83): Shopware\Bundle\MediaBundle\MediaServiceFactory->getAdapter(Array)
#4 /var/www/vhosts/meinedomain.de/shopname/var/cache/production_201809181442/proxies/ShopwareProductionda39a3ee5e6b4b0d3255bfef95601890afd80709ProjectContainer.php(4754): Shopware\Bundle\MediaBundle\MediaServiceFactory->factory('local')
#5 /var/www/vhosts/meinedomain.de/shopname/vendor/symfony/dependency-injection/Container.php(306): ShopwareProductionda39a3ee5e6b4b0d3255bfef95601890afd80709ProjectContainer->getShopwareMedia_MediaServiceService()
#6 /var/www/vhosts/meinedomain.de/shopname/engine/Shopware/Components/DependencyInjection/Container.php(211): Symfony\Component\DependencyInjection\Container->get('shopware_media....', 1)
#7 /var/www/vhosts/meinedomain.de/shopname/engine/Shopware/Components/DependencyInjection/Container.php(143): Shopware\Components\DependencyInjection\Container->doLoad('shopware_media....', 1)
#8 /var/www/vhosts/meinedomain.de/shopname/var/cache/production_201809181442/proxies/ShopwareProductionda39a3ee5e6b4b0d3255bfef95601890afd80709ProjectContainer.php(5905): Shopware\Components\DependencyInjection\Container->get('shopware_media....')
#9 /var/www/vhosts/meinedomain.de/shopname/vendor/symfony/dependency-injection/Container.php(306): ShopwareProductionda39a3ee5e6b4b0d3255bfef95601890afd80709ProjectContainer->getThemeServiceService()
#10 /var/www/vhosts/meinedomain.de/shopname/engine/Shopware/Components/DependencyInjection/Container.php(211): Symfony\Component\DependencyInjection\Container->get('theme_service', 1)
#11 /var/www/vhosts/meinedomain.de/shopname/engine/Shopware/Components/DependencyInjection/Container.php(143): Shopware\Components\DependencyInjection\Container->doLoad('theme_service', 1)
#12 /var/www/vhosts/meinedomain.de/shopname/var/cache/production_201809181442/proxies/ShopwareProductionda39a3ee5e6b4b0d3255bfef95601890afd80709ProjectContainer.php(5897): Shopware\Components\DependencyInjection\Container->get('theme_service')
#13 /var/www/vhosts/meinedomain.de/shopname/vendor/symfony/dependency-injection/Container.php(306): ShopwareProductionda39a3ee5e6b4b0d3255bfef95601890afd80709ProjectContainer->getThemeInstallerService()
#14 /var/www/vhosts/meinedomain.de/shopname/engine/Shopware/Components/DependencyInjection/Container.php(211): Symfony\Component\DependencyInjection\Container->get('theme_installer', 1)
#15 /var/www/vhosts/meinedomain.de/shopname/engine/Shopware/Components/DependencyInjection/Container.php(143): Shopware\Components\DependencyInjection\Container->doLoad('theme_installer', 1)
#16 /var/www/vhosts/meinedomain.de/shopname/recovery/update/src/DependencyInjection/Container.php(192): Shopware\Components\DependencyInjection\Container->get('theme_installer')
#17 /var/www/vhosts/meinedomain.de/shopname/recovery/common/vendor/pimple/pimple/src/Pimple/Container.php(113): Shopware\Recovery\Update\DependencyInjection\Container->Shopware\Recovery\Update\DependencyInjection\{closure}(Object(Pimple\Container))
#18 /var/www/vhosts/meinedomain.de/shopname/recovery/common/src/DependencyInjection/Container.php(80): Pimple\Container->offsetGet('shopware.theme_...')
#19 /var/www/vhosts/meinedomain.de/shopname/recovery/update/src/app.php(168): Shopware\Recovery\Common\DependencyInjection\Container->get('shopware.theme_...')
#20 [internal function]: {closure}()
#21 /var/www/vhosts/meinedomain.de/shopname/recovery/common/vendor/slim/slim/Slim/Route.php(462): call_user_func_array(Object(Closure), Array)
#22 /var/www/vhosts/meinedomain.de/shopname/recovery/common/vendor/slim/slim/Slim/Slim.php(1326): Slim\Route->dispatch()
#23 /var/www/vhosts/meinedomain.de/shopname/recovery/common/vendor/slim/slim/Slim/Middleware/Flash.php(85): Slim\Slim->call()
#24 /var/www/vhosts/meinedomain.de/shopname/recovery/common/vendor/slim/slim/Slim/Middleware/MethodOverride.php(92): Slim\Middleware\Flash->call()
#25 /var/www/vhosts/meinedomain.de/shopname/recovery/common/vendor/slim/slim/Slim/Middleware/PrettyExceptions.php(67): Slim\Middleware\MethodOverride->call()
#26 /var/www/vhosts/meinedomain.de/shopname/recovery/common/vendor/slim/slim/Slim/Slim.php(1271): Slim\Middleware\PrettyExceptions->call()
#27 /var/www/vhosts/meinedomain.de/shopname/recovery/update/index.php(56): Slim\Slim->run()
#28 {main}

```

&nbsp;

Erscheint nach oder während dem Aufräumen. /recovery/update&nbsp; habe ich versucht, ändert nichts.

Bei älteren Posts mit ähnlichen Meldungen geht es wohl immer um bestimmte Verzeichnisse, die ggf. gelöscht werden müssen oder nichrt beschreibbar sind.

Da ich mediaURL im Code lese, spielt es evtl. eine Rolle, dass ich die Artikelbilder nach dem “alten System” speichere. Also alle Bilder in media/image/ und die Thumbnails in media/image/thumbnail

&nbsp;

Was kann ich hier tun?

&nbsp;

LG

&nbsp;

---

<div class="post-metadata">

**Author:** ![Moritz\_Naczenski](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/moritz_naczenski/32/7792_2.png) [@Moritz\_Naczenski](https://forum.shopware.com/u/Moritz_Naczenski)\
**Post date:** [12. Oktober 2018 um 11:02 UTC](https://forum.shopware.com/t/gelost-bei-update-von-5-4-6-auf-5-5-1-slim-application-error-backend-nicht-mehr-erreichbar/55705/2 "2018-10-12T11:02:57Z")

</div>

> **[Update auf SW 5.5, Problem mit "cdn"-Konfiguration "strategy"](https://forum.shopware.com/discussion/comment/231219/#Comment_231219)**
>
> Laut Doku sollte die config.php wie folgt aussehen, der “strategy”-key steht dabei unterhalb von “adapter”: 'cdn' =\> \[ 'adapters' =\> \[ 'local' =\> \[ 'type' =\> 'local', 'mediaUrl' =\> '', ...
