Shopware 6.5.0.0 update isseu

Hi,

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

Thanks

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?

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

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).

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?

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

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

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?

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.

[
„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 , 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)“
]

i have pasted the error

I would to switch the error off first:

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.