Liebe Community,
jetzt versuche ich seit einiger Zeit, bei einem Shop das Update aufzuspielen.
Ich verwende die CommunityVersion 5.6.4 und mochte auf 5.6.6 updaten.
Bei der Datenbankmigration bricht das Update ab und gibt folgende Fehlermeldung:
Error
Received the following error message:
Could not apply migration (Migrations_Migration1652). Error: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 's_articles_translations-attr6' for key 'table_column_unique'
Please try to fix this error and restart the update.
Response
{"valid":false,"errorMsg":"Could not apply migration (Migrations_Migration1652). Error: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 's_articles_translations-attr6' for key 'table_column_unique' "}
Ich habe schon einiges hier im Forum dazu gelesen, aber keiner der Tipps hat etwas geändert.
Außerdem zeigt mir der Systemlog noch eine Fehlermeldung an:
PDOException: SQLSTATE(23000): Integrity constraint violation: 1048 Column 'element_id' cannot be null in /vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php:1056 Stack trace:
#0 /vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(1056): PDOStatement->execute()
#1 /engine/Shopware/Bundle/PluginInstallerBundle/Service/UniqueIdGenerator/UniqueIdGenerator.php(97): Doctrine\DBAL\Connection->executeUpdate('INSERT INTO s_c...', Array)
#2 /engine/Shopware/Bundle/PluginInstallerBundle/Service/UniqueIdGenerator/UniqueIdGenerator.php(57): Shopware\Bundle\PluginInstallerBundle\Service\UniqueIdGenerator\UniqueIdGenerator->storeUniqueIdInDb('Fvn8qQJiX2rHIvT...')
#3 /engine/Shopware/Plugins/Default/Backend/SwagUpdate/Controllers/Backend/SwagUpdate.php(412): Shopware\Bundle\PluginInstallerBundle\Service\UniqueIdGenerator\UniqueIdGenerator->getUniqueId()
#4 /engine/Shopware/Plugins/Default/Backend/SwagUpdate/Controllers/Backend/SwagUpdate.php(190): Shopware_Controllers_Backend_SwagUpdate->getUnique()
#5 /engine/Library/Enlight/Controller/Action.php(192): Shopware_Controllers_Backend_SwagUpdate->popupAction()
#6 /engine/Library/Enlight/Controller/Dispatcher/Default.php(478): Enlight_Controller_Action->dispatch('popupAction')
#7 /engine/Library/Enlight/Controller/Front.php(228): Enlight_Controller_Dispatcher_Default->dispatch(Object(Enlight_Controller_Request_RequestHttp), Object(Enlight_Controller_Response_ResponseHttp))
#8 /engine/Shopware/Kernel.php(186): Enlight_Controller_Front->dispatch()
#9 /vendor/symfony/http-kernel/HttpCache/SubRequestHandler.php(102): Shopware\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#10 /vendor/symfony/http-kernel/HttpCache/HttpCache.php(447): Symfony\Component\HttpKernel\HttpCache\SubRequestHandler::handle(Object(Shopware\Kernel), Object(Symfony\Component\HttpFoundation\Request), 1, true)
#11 /engine/Shopware/Components/HttpCache/AppCache.php(256): Symfony\Component\HttpKernel\HttpCache\HttpCache->forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL)
#12 /vendor/symfony/http-kernel/HttpCache/HttpCache.php(238): Shopware\Components\HttpCache\AppCache->forward(Object(Symfony\Component\HttpFoundation\Request), true)
#13 /engine/Shopware/Components/HttpCache/AppCache.php(99): Symfony\Component\HttpKernel\HttpCache\HttpCache->pass(Object(Symfony\Component\HttpFoundation\Request), true)
#14 /var/www/vhosts/feigenatur.aix-dev.de/httpdocs/testumgebung/shopware.php(122): Shopware\Components\HttpCache\AppCache->handle(Object(Symfony\Component\HttpFoundation\Request))
#15
Und das auch noch:
An exception occurred while executing 'INSERT INTO s_core_config_values (element_id, shop_id, value) VALUES ( (SELECT id FROM s_core_config_elements WHERE name LIKE 'trackingUniqueId' LIMIT 1), 1, ? )' with params ("s:32:\"Fvn8qQJiX2rHIvT9aIDKJkyMkcBCnQWL\";"): SQLSTATE(23000): Integrity constraint violation: 1048 Column 'element_id' cannot be null
Wäre super, wenn mir jemand weiterhelfen könnte, denn ich sitze schon seit Tagen …