# Shopware 6.5.0.0 update isseu

**URL:** <https://forum.shopware.com/t/shopware-6-5-0-0-update-isseu/100442>\
**Category:** Installation / Getting Started (EN)\
**Tags:** installation--gettin\
**Created:** [10. Juli 2023 um 06:20 UTC](https://forum.shopware.com/t/shopware-6-5-0-0-update-isseu/100442 "2023-07-10T06:20:44Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![marc.kern](https://avatars.discourse-cdn.com/v4/letter/m/73ab20/32.png) [@marc.kern](https://forum.shopware.com/u/marc.kern)\
**Post date:** [10. Juli 2023 um 06:20 UTC](https://forum.shopware.com/t/shopware-6-5-0-0-update-isseu/100442/1 "2023-07-10T06:20:44Z")

</div>

Hi,

we are facing some issues with shopware latest update issue? Is there anyone facing the same ?

Thanks

---

<div class="post-metadata">

**Author:** ![Max\_Shop](https://avatars.discourse-cdn.com/v4/letter/m/58f4c7/32.png) [@Max\_Shop](https://forum.shopware.com/u/Max_Shop)\
**Post date:** [10. Juli 2023 um 08:12 UTC](https://forum.shopware.com/t/shopware-6-5-0-0-update-isseu/100442/2 "2023-07-10T08:12:26Z")

</div>

Yes, there are several threads in the German section. Maybe you could use a translator.

The minimum requirements for Shopware 6.5 are higher than 6.4. Do you pass them?

---

<div class="post-metadata">

**Author:** ![marc.kern](https://avatars.discourse-cdn.com/v4/letter/m/73ab20/32.png) [@marc.kern](https://forum.shopware.com/u/marc.kern)\
**Post date:** [10. Juli 2023 um 08:58 UTC](https://forum.shopware.com/t/shopware-6-5-0-0-update-isseu/100442/3 "2023-07-10T08:58:27Z")

</div>

we were using 6.4.20.2, and tried to update but while updating , it gave unsuccessful result, and admin page was fully blank

---

<div class="post-metadata">

**Author:** ![chamaw](https://avatars.discourse-cdn.com/v4/letter/c/b487fb/32.png) [@chamaw](https://forum.shopware.com/u/chamaw)\
**Post date:** [11. Juli 2023 um 06:23 UTC](https://forum.shopware.com/t/shopware-6-5-0-0-update-isseu/100442/4 "2023-07-11T06:23:00Z")

</div>

6.5 has many breaking changes which is practical a nightmare for an update when you have any plugins installed. Also many changes are either 6.4 or 6.5 only so the update is pretty painful if you have a plugin that is using one of these functions.  
Actually you have to deactivate first any plugins, do the core update, update all plugins, reactivate the plugins. Of course check first if the plugins are compat to 6.5 (and really are, maybe do everything on a stage before).

---

<div class="post-metadata">

**Author:** ![marc.kern](https://avatars.discourse-cdn.com/v4/letter/m/73ab20/32.png) [@marc.kern](https://forum.shopware.com/u/marc.kern)\
**Post date:** [17. Juli 2023 um 07:08 UTC](https://forum.shopware.com/t/shopware-6-5-0-0-update-isseu/100442/5 "2023-07-17T07:08:06Z")

</div>

Hi, Thanks for the comment. We couldn’t deactivate the plugin , it’s giving an error regarding the foreign key in the data base since one of our sale channel is using shopware language pack plugin, so that we are not able to deactivate the plugin and do the update. Is there any alternate way to achieve this?

---

<div class="post-metadata">

**Author:** ![chamaw](https://avatars.discourse-cdn.com/v4/letter/c/b487fb/32.png) [@chamaw](https://forum.shopware.com/u/chamaw)\
**Post date:** [17. Juli 2023 um 19:48 UTC](https://forum.shopware.com/t/shopware-6-5-0-0-update-isseu/100442/6 "2023-07-17T19:48:43Z")

</div>

if you have ssh access you might use the console-tool to deactivate the plugin. You can also move the plugin folder away ([webroot]/custom/plugin/…). The 3rd way would be to deactivate the plugin by editing the table „plugin“ there is a col named „active“ with 1 and 0 (0=false).

best

---

<div class="post-metadata">

**Author:** ![marc.kern](https://avatars.discourse-cdn.com/v4/letter/m/73ab20/32.png) [@marc.kern](https://forum.shopware.com/u/marc.kern)\
**Post date:** [19. Juli 2023 um 18:26 UTC](https://forum.shopware.com/t/shopware-6-5-0-0-update-isseu/100442/7 "2023-07-19T18:26:26Z")

</div>

hi thanks for the suggestion . We tried all the combinations and we were still getting foreign key constrain exception in the update process.

---

<div class="post-metadata">

**Author:** ![marc.kern](https://avatars.discourse-cdn.com/v4/letter/m/73ab20/32.png) [@marc.kern](https://forum.shopware.com/u/marc.kern)\
**Post date:** [18. August 2023 um 06:45 UTC](https://forum.shopware.com/t/shopware-6-5-0-0-update-isseu/100442/8 "2023-08-18T06:45:08Z")

</div>

Hey, we are still getting the error with the plugin. When we disable the plugin using the database, we proceeded with the update, but it went wrong. So , is there any other way to fix this issue?

---

<div class="post-metadata">

**Author:** ![chamaw](https://avatars.discourse-cdn.com/v4/letter/c/b487fb/32.png) [@chamaw](https://forum.shopware.com/u/chamaw)\
**Post date:** [18. August 2023 um 07:55 UTC](https://forum.shopware.com/t/shopware-6-5-0-0-update-isseu/100442/9 "2023-08-18T07:55:09Z")

</div>

It is definetly essential to flush the cache once the plugin is disabled. never the less I would also move the plugin in charge to another folder.  
Anyway no idea what happens when you try to apply a failed update over and over again. Maybe makes sense to first rollback back the data, before running the update procedure.

Maybe you could post the constraint exception so we can try to figure out the root cause of the problem.

---

<div class="post-metadata">

**Author:** ![marc.kern](https://avatars.discourse-cdn.com/v4/letter/m/73ab20/32.png) [@marc.kern](https://forum.shopware.com/u/marc.kern)\
**Post date:** [21. August 2023 um 06:32 UTC](https://forum.shopware.com/t/shopware-6-5-0-0-update-isseu/100442/10 "2023-08-21T06:32:16Z")

</div>

[  
„exception“ =\> ErrorException {  
#message: „User Deprecated: Since symfony/messenger 6.2: Implementing „Symfony\Component\Messenger\Handler\MessageSubscriberInterface“ is deprecated, use the „Symfony\Component\Messenger\Attribute\AsMessageHandler“ attribute instead.“  
#code: 0  
#file: „/var/www/vhosts/implify.de/test3.implify.de/vendor/symfony/messenger/DependencyInjection/MessengerPass.php“  
#line: 209  
#severity: E\_USER\_DEPRECATED  
trace: {  
/var/www/vhosts/implify.de/test3.implify.de/vendor/symfony/messenger/DependencyInjection/MessengerPass.php:209 { …}  
/var/www/vhosts/implify.de/test3.implify.de/vendor/symfony/messenger/DependencyInjection/MessengerPass.php:83 { …}  
/var/www/vhosts/implify.de/test3.implify.de/vendor/symfony/messenger/DependencyInjection/MessengerPass.php:58 { …}  
/var/www/vhosts/implify.de/test3.implify.de/vendor/symfony/dependency-injection/Compiler/Compiler.php:80 { …}  
/var/www/vhosts/implify.de/test3.implify.de/vendor/symfony/dependency-injection/ContainerBuilder.php:767 { …}  
/var/www/vhosts/implify.de/test3.implify.de/vendor/symfony/http-kernel/Kernel.php:506 { …}  
/var/www/vhosts/implify.de/test3.implify.de/vendor/shopware/core/Kernel.php:166 { …}  
/var/www/vhosts/implify.de/test3.implify.de/vendor/symfony/http-kernel/Kernel.php:144 { …}  
/var/www/vhosts/implify.de/test3.implify.de/vendor/shopware/core/Kernel.php:230 { …}  
/var/www/vhosts/implify.de/test3.implify.de/vendor/shopware/core/Maintenance/System/Command/SystemUpdateFinishCommand.php:140 { …}  
/var/www/vhosts/implify.de/test3.implify.de/vendor/shopware/core/Maintenance/System/Command/SystemUpdateFinishCommand.php:70 { …}  
/var/www/vhosts/implify.de/test3.implify.de/vendor/symfony/console/Command/Command.php:326 { …}  
/var/www/vhosts/implify.de/test3.implify.de/vendor/symfony/console/Application.php:1081 { …}  
/var/www/vhosts/implify.de/test3.implify.de/vendor/symfony/framework-bundle/Console/Application.php:91 { …}  
/var/www/vhosts/implify.de/test3.implify.de/vendor/symfony/console/Application.php:320 { …}  
/var/www/vhosts/implify.de/test3.implify.de/vendor/symfony/framework-bundle/Console/Application.php:80 { …}  
/var/www/vhosts/implify.de/test3.implify.de/vendor/symfony/console/Application.php:174 { …}  
/var/www/vhosts/implify.de/test3.implify.de/vendor/symfony/runtime/Runner/Symfony/ConsoleApplicationRunner.php:54 { …}  
/var/www/vhosts/implify.de/test3.implify.de/vendor/autoload\_runtime.php:29 { …}  
/var/www/vhosts/implify.de/test3.implify.de/bin/console:15 {  
›  
› require\_once **DIR**. ‚/…/vendor/autoload\_runtime.php‘;  
›  
}  
}  
}  
]

[  
„exception“ =\> ErrorException {  
#message: „“"  
User Deprecated: Nesting transactions without enabling savepoints is deprecated.\n  
Call Doctrine\DBAL\Connection::setNestTransactionsWithSavepoints(true) to enable savepoints. (Connection.php:1380 called by Connection.php:1273, [Deprecate transaction nesting without savepoints by greg0ire · Pull Request #5383 · doctrine/dbal · GitHub](https://github.com/doctrine/dbal/pull/5383), package doctrine/dbal)  
„“"  
#code: 0  
#file: „/var/www/vhosts/implify.de/test3.implify.de/vendor/doctrine/deprecations/lib/Doctrine/Deprecations/Deprecation.php“  
#line: 209  
#severity: E\_USER\_DEPRECATED  
trace: {  
/var/www/vhosts/implify.de/test3.implify.de/vendor/doctrine/deprecations/lib/Doctrine/Deprecations/Deprecation.php:209 { …}  
/var/www/vhosts/implify.de/test3.implify.de/vendor/doctrine/deprecations/lib/Doctrine/Deprecations/Deprecation.php:107 { …}  
/var/www/vhosts/implify.de/test3.implify.de/vendor/doctrine/dbal/src/Connection.php:1380 { …}  
/var/www/vhosts/implify.de/test3.implify.de/vendor/doctrine/dbal/src/Connection.php:1273 { …}  
/var/www/vhosts/implify.de/test3.implify.de/vendor/shopware/core/Framework/DataAbstractionLayer/Doctrine/RetryableTransaction.php:34 { …}  
/var/www/vhosts/implify.de/test3.implify.de/vendor/shopware/core/Framework/DataAbstractionLayer/Doctrine/RetryableTransaction.php:21 { …}  
/var/www/vhosts/implify.de/test3.implify.de/vendor/shopware/core/Framework/DataAbstractionLayer/Doctrine/MultiInsertQueryQueue.php:79 { …}  
/var/www/vhosts/implify.de/test3.implify.de/vendor/shopware/core/Framework/DataAbstractionLayer/Dbal/EntityWriteGateway.php:226 { …}  
/var/www/vhosts/implify.de/test3.implify.de/vendor/shopware/core/Framework/DataAbstractionLayer/Dbal/EntityWriteGateway.php:110 { …}  
/var/www/vhosts/implify.de/test3.implify.de/vendor/doctrine/dbal/src/Connection.php:1275 { …}  
/var/www/vhosts/implify.de/test3.implify.de/vendor/shopware/core/Framework/DataAbstractionLayer/Doctrine/RetryableTransaction.php:34 { …}  
/var/www/vhosts/implify.de/test3.implify.de/vendor/shopware/core/Framework/DataAbstractionLayer/Doctrine/RetryableTransaction.php:21 { …}  
/var/www/vhosts/implify.de/test3.implify.de/vendor/shopware/core/Framework/DataAbstractionLayer/Dbal/EntityWriteGateway.php:111 { …}  
/var/www/vhosts/implify.de/test3.implify.de/vendor/shopware/core/Framework/DataAbstractionLayer/Write/EntityWriter.php:225 { …}  
/var/www/vhosts/implify.de/test3.implify.de/vendor/shopware/core/Framework/DataAbstractionLayer/Write/EntityWriter.php:147 { …}  
/var/www/vhosts/implify.de/test3.implify.de/vendor/shopware/core/Framework/DataAbstractionLayer/VersionManager.php:100 { …}  
/var/www/vhosts/implify.de/test3.implify.de/vendor/shopware/core/Framework/DataAbstractionLayer/EntityRepository.php:124 { …}  
/var/www/vhosts/implify.de/test3.implify.de/vendor/shopware/core/Framework/MessageQueue/ScheduledTask/Registry/TaskRegistry.php:145 { …}  
/var/www/vhosts/implify.de/test3.implify.de/vendor/shopware/core/Framework/MessageQueue/ScheduledTask/Registry/TaskRegistry.php:68 { …}  
/var/www/vhosts/implify.de/test3.implify.de/vendor/shopware/core/Framework/MessageQueue/ScheduledTask/Registry/TaskRegistry.php:41 { …}  
/var/www/vhosts/implify.de/test3.implify.de/vendor/shopware/core/Framework/MessageQueue/Subscriber/UpdatePostFinishSubscriber.php:33 { …}  
/var/www/vhosts/implify.de/test3.implify.de/vendor/symfony/event-dispatcher/EventDispatcher.php:260 { …}  
/var/www/vhosts/implify.de/test3.implify.de/vendor/symfony/event-dispatcher/EventDispatcher.php:220 { …}  
/var/www/vhosts/implify.de/test3.implify.de/vendor/symfony/event-dispatcher/EventDispatcher.php:56 { …}  
/var/www/vhosts/implify.de/test3.implify.de/vendor/shopware/core/Content/Flow/Dispatching/FlowDispatcher.php:47 { …}  
/var/www/vhosts/implify.de/test3.implify.de/vendor/shopware/core/Framework/Webhook/WebhookDispatcher.php:67 { …}  
/var/www/vhosts/implify.de/test3.implify.de/vendor/shopware/core/Framework/Event/NestedEventDispatcher.php:31 { …}  
/var/www/vhosts/implify.de/test3.implify.de/vendor/shopware/core/Maintenance/System/Command/SystemUpdateFinishCommand.php:97 { …}  
/var/www/vhosts/implify.de/test3.implify.de/vendor/symfony/console/Command/Command.php:326 { …}  
/var/www/vhosts/implify.de/test3.implify.de/vendor/symfony/console/Application.php:1081 { …}  
/var/www/vhosts/implify.de/test3.implify.de/vendor/symfony/framework-bundle/Console/Application.php:91 { …}  
/var/www/vhosts/implify.de/test3.implify.de/vendor/symfony/console/Application.php:320 { …}  
/var/www/vhosts/implify.de/test3.implify.de/vendor/symfony/framework-bundle/Console/Application.php:80 { …}  
/var/www/vhosts/implify.de/test3.implify.de/vendor/symfony/console/Application.php:174 { …}  
/var/www/vhosts/implify.de/test3.implify.de/vendor/symfony/runtime/Runner/Symfony/ConsoleApplicationRunner.php:54 { …}  
/var/www/vhosts/implify.de/test3.implify.de/vendor/autoload\_runtime.php:29 { …}  
/var/www/vhosts/implify.de/test3.implify.de/bin/console:15 {  
›  
› require\_once **DIR**. ‚/…/vendor/autoload\_runtime.php‘;  
›  
}  
}  
}  
]

[  
„exception“ =\> ErrorException {  
#message: „User Deprecated: Since shopware/core : Method „Shopware\Core\Content\Media\Message\GenerateThumbnailsMessage::Shopware\Core\Content\Media\Message\GenerateThumbnailsMessage::withContext()“ is deprecated and will be removed in v6.6.0.0.“  
#code: 0  
#file: „/var/www/vhosts/implify.de/test3.implify.de/vendor/shopware/core/Framework/Feature.php“  
#line: 186  
#severity: E\_USER\_DEPRECATED  
trace: {  
/var/www/vhosts/implify.de/test3.implify.de/vendor/shopware/core/Framework/Feature.php:186 { …}  
/var/www/vhosts/implify.de/test3.implify.de/vendor/shopware/core/Content/Media/Message/GenerateThumbnailsMessage.php:58 { …}  
/var/www/vhosts/implify.de/test3.implify.de/vendor/shopware/core/Content/Media/File/FileSaver.php:109 { …}  
/var/www/vhosts/implify.de/test3.implify.de/vendor/shopware/storefront/Theme/ThemeLifecycleService.php:397 { …}  
/var/www/vhosts/implify.de/test3.implify.de/vendor/shopware/storefront/Theme/ThemeLifecycleService.php:78 { …}  
/var/www/vhosts/implify.de/test3.implify.de/vendor/shopware/storefront/Theme/ThemeLifecycleService.php:55 { …}  
/var/www/vhosts/implify.de/test3.implify.de/vendor/shopware/storefront/Theme/Subscriber/UpdateSubscriber.php:51 { …}  
/var/www/vhosts/implify.de/test3.implify.de/vendor/symfony/event-dispatcher/EventDispatcher.php:260 { …}  
/var/www/vhosts/implify.de/test3.implify.de/vendor/symfony/event-dispatcher/EventDispatcher.php:220 { …}  
/var/www/vhosts/implify.de/test3.implify.de/vendor/symfony/event-dispatcher/EventDispatcher.php:56 { …}  
/var/www/vhosts/implify.de/test3.implify.de/vendor/shopware/core/Content/Flow/Dispatching/FlowDispatcher.php:47 { …}  
/var/www/vhosts/implify.de/test3.implify.de/vendor/shopware/core/Framework/Webhook/WebhookDispatcher.php:67 { …}  
/var/www/vhosts/implify.de/test3.implify.de/vendor/shopware/core/Framework/Event/NestedEventDispatcher.php:31 { …}  
/var/www/vhosts/implify.de/test3.implify.de/vendor/shopware/core/Maintenance/System/Command/SystemUpdateFinishCommand.php:97 { …}  
/var/www/vhosts/implify.de/test3.implify.de/vendor/symfony/console/Command/Command.php:326 { …}  
/var/www/vhosts/implify.de/test3.implify.de/vendor/symfony/console/Application.php:1081 { …}  
/var/www/vhosts/implify.de/test3.implify.de/vendor/symfony/framework-bundle/Console/Application.php:91 { …}  
/var/www/vhosts/implify.de/test3.implify.de/vendor/symfony/console/Application.php:320 { …}  
/var/www/vhosts/implify.de/test3.implify.de/vendor/symfony/framework-bundle/Console/Application.php:80 { …}  
/var/www/vhosts/implify.de/test3.implify.de/vendor/symfony/console/Application.php:174 { …}  
/var/www/vhosts/implify.de/test3.implify.de/vendor/symfony/runtime/Runner/Symfony/ConsoleApplicationRunner.php:54 { …}  
/var/www/vhosts/implify.de/test3.implify.de/vendor/autoload\_runtime.php:29 { …}  
/var/www/vhosts/implify.de/test3.implify.de/bin/console:15 {  
›  
› require\_once **DIR**. ‚/…/vendor/autoload\_runtime.php‘;  
›  
}  
}  
}  
]

#code: „23000“  
#file: „/var/www/vhosts/implify.de/test3.implify.de/vendor/doctrine/dbal/src/Driver/PDO/Connection.php“  
#line: 32  
+errorInfo: [  
„23000“,  
1452,  
„Cannot add or update a child row: a foreign key constraint fails (`test3`.`system_config`, CONSTRAINT `fk.system_config.sales_channel_id` FOREIGN KEY (`sales_channel_id`) REFERENCES `sales_channel` (`id`) ON DELETE CASCADE ON UPDATE CASCADE)“  
]

---

<div class="post-metadata">

**Author:** ![marc.kern](https://avatars.discourse-cdn.com/v4/letter/m/73ab20/32.png) [@marc.kern](https://forum.shopware.com/u/marc.kern)\
**Post date:** [21. August 2023 um 06:32 UTC](https://forum.shopware.com/t/shopware-6-5-0-0-update-isseu/100442/11 "2023-08-21T06:32:31Z")

</div>

i have pasted the error

---

<div class="post-metadata">

**Author:** ![chamaw](https://avatars.discourse-cdn.com/v4/letter/c/b487fb/32.png) [@chamaw](https://forum.shopware.com/u/chamaw)\
**Post date:** [21. August 2023 um 07:35 UTC](https://forum.shopware.com/t/shopware-6-5-0-0-update-isseu/100442/12 "2023-08-21T07:35:13Z")

</div>

> [@marc.kern](#):
>
> E\_USER\_DEPRECATED

I would to switch the error off first:

```auto
error_reporting(E_ALL & ~E_USER_DEPRECATED);

```

or do this with in the PHP.ini. Deprecation does not really means that this is an error.
