Update auf Shopware 6.6.0.0 schlägt fehl

Falls ihr den gleichen Fehler wie @sonic habt:

> pre-update-cmd: Symfony\Flex\Flex->configureInstaller
Loading composer repositories with package information
> pre-pool-create: Symfony\Flex\Flex->truncatePackages
Updating dependencies
Dependency resolution completed in 0.001 seconds
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires shopware/core 6.6.0.0 -> satisfiable by shopware/core[v6.6.0.0].
    - shopware/core v6.6.0.0 requires symfony/stopwatch ~7.0.0 -> found symfony/stopwatch[v7.0.0, v7.0.3] but it conflicts with your root composer.json require (^5.0|^6.0).
  Problem 2
    - shopware/core v6.6.0.0 requires symfony/stopwatch ~7.0.0 -> found symfony/stopwatch[v7.0.0, v7.0.3] but it conflicts with your root composer.json require (^5.0|^6.0).
    - shopware/storefront v6.6.0.0 requires shopware/core v6.6.0.0 -> satisfiable by shopware/core[v6.6.0.0].
    - Root composer.json requires shopware/storefront 6.6.0.0 -> satisfiable by shopware/storefront[v6.6.0.0].

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

Mögliche Lösung:

Schritt 1:
Vor dem Update in der composer.json

"symfony/stopwatch": "^5.0|^6.0",
"symfony/web-profiler-bundle": "^5.0|^6.0"

ändern in

"symfony/stopwatch": "^5.0|^6.0|^7.0",
"symfony/web-profiler-bundle": "^5.0|^6.0|^7.0"

Schritt 2: Update durchführen

Optional Schritt 3: Wenn Fehler in Storefront

per SSH auf den Server und

bin/console database:migrate-destructive --all

ausführen.

3 „Gefällt mir“