Fehler bei Update!?

Hallo Leute,

ich habe gerade versucht ein Update im Browser durchzuführen von 5.0.2 auf die neuste Version. Dann taucht aber diese Fehlermeldung auf! Weiß jemand was das zu bedeuten hat oder wie ich es beheben kann?

lg, markus

 

Error

Received the following error message:
Could not apply migration (Migrations_Migration708). Error: SQLSTATE[42S01]: Base table or view already exists: 1050 Table ‚s_filter_values_attributes‘ already exists

Please try to fix this error and restart the update.

Response

 {"valid":false,"errorMsg":"Could not apply migration (Migrations\_Migration708). Error: SQLSTATE[42S01]: Base table or view already exists: 1050 Table 's\_filter\_values\_attributes' already exists "}

 

 

Ja. Die Suche ist dein Freund. Wurde einige Male behandelt.

 

https://forum.shopware.com/search?Search=Migrations_Migration708

Beispiel https://forum.shopware.com/discussion/comment/182588/#Comment_182588

1 „Gefällt mir“

Also ich habe jetzt diese tabellen gelöscht und das update ist durchgelaufen. Dann habe ich de update_assets ordner gelöscht. Wenn ich das Backend aufrufe kommt aber diese Fehlermeldung?

Ups! Ein Fehler ist aufgetreten!

Die nachfolgenden Hinweise sollten Ihnen weiterhelfen.

Resource id ‘attributes’ already exists in the ACL in engine/Library/Zend/Acl.php on line 298

Stack trace:

 #0 engine/Shopware/Components/Acl.php(72): Zend\_Acl-\>addResource(Object(Shopware\Models\User\Resource)) #1 engine/Shopware/Components/Acl.php(55): Shopware\_Components\_Acl-\>initAclResources() #2 engine/Shopware/Components/Acl.php(47): Shopware\_Components\_Acl-\>initShopwareAclTree() #3 var/cache/production\_201703211201/proxies/ShopwareProductionda39a3ee5e6b4b0d3255bfef95601890afd80709ProjectContainer.php(458): Shopware\_Components\_Acl-\>\_\_construct(Object(Shopware\Components\Model\ModelManager)) #4 vendor/symfony/dependency-injection/Container.php(314): ShopwareProductionda39a3ee5e6b4b0d3255bfef95601890afd80709ProjectContainer-\>getAclService() #5 engine/Shopware/Components/DependencyInjection/Container.php(182): Symfony\Component\DependencyInjection\Container-\>get('acl', 1) #6 engine/Shopware/Components/DependencyInjection/Container.php(138): Shopware\Components\DependencyInjection\Container-\>doLoad('acl', 1) #7 engine/Shopware/Plugins/Default/Backend/Auth/Bootstrap.php(294): Shopware\Components\DependencyInjection\Container-\>get('Acl') #8 engine/Shopware/Plugins/Default/Backend/Auth/Bootstrap.php(412): Shopware\_Plugins\_Backend\_Auth\_Bootstrap-\>registerAclPlugin(Object(Shopware\_Components\_Auth)) #9 engine/Library/Enlight/Event/Handler/Plugin.php(149): Shopware\_Plugins\_Backend\_Auth\_Bootstrap-\>onInitResourceAuth(Object(Enlight\_Event\_EventArgs)) #10 engine/Library/Enlight/Event/EventManager.php(251): Enlight\_Event\_Handler\_Plugin-\>execute(Object(Enlight\_Event\_EventArgs)) #11 engine/Shopware/Components/DependencyInjection/Container.php(174): Enlight\_Event\_EventManager-\>notifyUntil('Enlight\_Bootstr...', Array) #12 engine/Shopware/Components/DependencyInjection/Container.php(138): Shopware\Components\DependencyInjection\Container-\>doLoad('auth', 1) #13 engine/Shopware/Plugins/Default/Backend/Auth/Bootstrap.php(441): Shopware\Components\DependencyInjection\Container-\>get('Auth') #14 engine/Shopware/Plugins/Default/Backend/Auth/Bootstrap.php(269): Shopware\_Plugins\_Backend\_Auth\_Bootstrap-\>getCurrentLocale() #15 engine/Shopware/Plugins/Default/Backend/Auth/Bootstrap.php(212): Shopware\_Plugins\_Backend\_Auth\_Bootstrap-\>initLocale() #16 engine/Library/Enlight/Event/Handler/Plugin.php(149): Shopware\_Plugins\_Backend\_Auth\_Bootstrap-\>onPreDispatchBackend(Object(Enlight\_Controller\_ActionEventArgs)) #17 engine/Library/Enlight/Event/EventManager.php(214): Enlight\_Event\_Handler\_Plugin-\>execute(Object(Enlight\_Controller\_ActionEventArgs)) #18 engine/Library/Enlight/Controller/Action.php(138): Enlight\_Event\_EventManager-\>notify('Enlight\_Control...', Object(Enlight\_Controller\_ActionEventArgs)) #19 engine/Library/Enlight/Controller/Dispatcher/Default.php(523): Enlight\_Controller\_Action-\>dispatch('indexAction') #20 engine/Library/Enlight/Controller/Front.php(223): Enlight\_Controller\_Dispatcher\_Default-\>dispatch(Object(Enlight\_Controller\_Request\_RequestHttp), Object(Enlight\_Controller\_Response\_ResponseHttp)) #21 engine/Shopware/Kernel.php(180): Enlight\_Controller\_Front-\>dispatch() #22 vendor/symfony/http-kernel/HttpCache/HttpCache.php(491): Shopware\Kernel-\>handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #23 engine/Shopware/Components/HttpCache/AppCache.php(255): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL) #24 vendor/symfony/http-kernel/HttpCache/HttpCache.php(258): Shopware\Components\HttpCache\AppCache-\>forward(Object(Symfony\Component\HttpFoundation\Request), true) #25 engine/Shopware/Components/HttpCache/AppCache.php(103): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>pass(Object(Symfony\Component\HttpFoundation\Request), true) #26 shopware.php(117): Shopware\Components\HttpCache\AppCache-\>handle(Object(Symfony\Component\HttpFoundation\Request)) #27 {main}

 

Dann hast du wohl kein Backup vorher eingespielt. Dann gab es noch alte Stände in der Datenbank 

Es gibt jetzt wohl im Rechtemanagement zwei Einträge /Ressourcen mit der Bezeichnung attributes 

Sebastian

1 „Gefällt mir“

Hallo Sebastian,

danke für deine HIlfe.

Wo finde ich denn das Rechtemanagement?

Findest du z.B. in der Datenbank in der Tabelle s_core_acl_resources

Es wäre allerdings sauberer und sicherer, wenn du von einem cleanen Stand ein Update machst. Sonst sind zukünftig ggf. Folgefehler möglich, über die man dann wieder grübelt oder sicht ärgert.