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}
Erscheint nach oder während dem Aufräumen. /recovery/update 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
Was kann ich hier tun?
LG