Hallo Community,
leider funktionieren meine Cronjobs nicht mehr. Bis vor ca. 4 Tagen ging alles einwandfrei und dann von einen Tag auf den anderen habe ich
Fehlermeldungen erhalten.
Mir sagt diese Meldung leider nichts. Daher wollte ich euch mal fragen, ob Ihr mir vielleicht sagen könnt, woran es im Moment hapert.
Nach Aufruf der url https://meinshop.de/backend/cron erhalte ich folgende Fehler:
An exception occurred while executing 'UPDATE s_crontab SET action = ?, `interval` = ?, data = ?, active = ?, next = ?, start = ?, end = ? WHERE id = ?' with params ["Shopware_CronJob_ShopwareConnectImportImages", 1800, "a:1:{s:5:\"error\";s:441:\"An exception occurred while executing 'UPDATE s_crontab SET action = ?, `interval` = ?, data = ?, active = ?, next = ?, start = ?, end = ? WHERE id = ?' with params [\"Shopware_CronJob_ShopwareConnectImportImages\", 1800, \"b:0;\", \"1\", \"2016-09-12 13:06:06\", \"2016-09-19 08:32:07\", \"2016-09-12 13:06:06\", 18]:\n\nSQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'Shopware_CronJob_ShopwareConnectImportImages' for key 'action'\";}", "0", "2016-09-12 13:06:06", "2016-09-19 08:32:07", "2016-09-12 13:06:06", 18]: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'Shopware_CronJob_ShopwareConnectImportImages' for key 'action' in vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php on line 119
Stack trace:
#0 vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(996): Doctrine\DBAL\DBALException::driverExceptionDuringQuery(Object(Doctrine\DBAL\Driver\PDOMySql\Driver), Object(PDOException), 'UPDATE s_cronta...', Array)
#1 vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(669): Doctrine\DBAL\Connection->executeUpdate('UPDATE s_cronta...', Array, Array)
#2 engine/Library/Enlight/Components/Cron/Adapter/DBAL.php(77): Doctrine\DBAL\Connection->update('s_crontab', Array, Array)
#3 engine/Library/Enlight/Components/Cron/Manager.php(124): Enlight_Components_Cron_Adapter_DBAL->updateJob(Object(Enlight_Components_Cron_Job))
#4 engine/Library/Enlight/Components/Cron/Manager.php(269): Enlight_Components_Cron_Manager->disableJob(Object(Enlight_Components_Cron_Job))
#5 engine/Shopware/Plugins/Default/Core/Cron/Cron.php(52): Enlight_Components_Cron_Manager->runJob(Object(Enlight_Components_Cron_Job))
#6 engine/Library/Enlight/Controller/Action.php(159): Shopware_Controllers_Backend_Cron->indexAction()
#7 engine/Library/Enlight/Controller/Dispatcher/Default.php(523): Enlight_Controller_Action->dispatch('indexAction')
#8 engine/Library/Enlight/Controller/Front.php(223): Enlight_Controller_Dispatcher_Default->dispatch(Object(Enlight_Controller_Request_RequestHttp), Object(Enlight_Controller_Response_ResponseHttp))
#9 engine/Shopware/Kernel.php(176): Enlight_Controller_Front->dispatch()
#10 vendor/symfony/http-kernel/HttpCache/HttpCache.php(487): Shopware\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#11 engine/Shopware/Components/HttpCache/AppCache.php(255): Symfony\Component\HttpKernel\HttpCache\HttpCache->forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL)
#12 vendor/symfony/http-kernel/HttpCache/HttpCache.php(258): Shopware\Components\HttpCache\AppCache->forward(Object(Symfony\Component\HttpFoundation\Request), true)
#13 engine/Shopware/Components/HttpCache/AppCache.php(103): Symfony\Component\HttpKernel\HttpCache\HttpCache->pass(Object(Symfony\Component\HttpFoundation\Request), true)
#14 shopware.php(101): Shopware\Components\HttpCache\AppCache->handle(Object(Symfony\Component\HttpFoundation\Request))
#15 {main}
Vielen Dank für eure Hilfe.
Mfg Buztar