# Shopware Update 6.5.2.1 unerfolgreich

**URL:** <https://forum.shopware.com/t/shopware-update-6-5-2-1-unerfolgreich/100096>\
**Category:** Shopware 6 (German)\
**Created:** [14. Juni 2023 um 12:32 UTC](https://forum.shopware.com/t/shopware-update-6-5-2-1-unerfolgreich/100096 "2023-06-14T12:32:45Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![arjen.veldkamp](https://avatars.discourse-cdn.com/v4/letter/a/ec9cab/32.png) [@arjen.veldkamp](https://forum.shopware.com/u/arjen.veldkamp)\
**Post date:** [14. Juni 2023 um 12:32 UTC](https://forum.shopware.com/t/shopware-update-6-5-2-1-unerfolgreich/100096/1 "2023-06-14T12:32:45Z")

</div>

Hallo zusammen,

wir bekommen leider beim Update die Fehlermeldung "Command „update“ is not defined. " sowohl über den Console als auch über dem Admin.

Sehe unten die Infos aus dem Logfile. Jeder Hinweis würde sehr geschätzt. Dank vorab.

````auto
Run Update preparations
Updating to Flex Project
Updated to Flex Project
[critical] Error thrown while running command "update -d '/home/user/PhpstormProjects/skatestore.local' --no-interaction --no-ansi --no-scripts -v --with-all-dependencies". Message: "Command "update" is not defined."

In Application.php line 725:
                                                                  
  [Symfony\Component\Console\Exception\CommandNotFoundException]  
  Command "update" is not defined.                                
                                                                  

Exception trace:
  at phar:///home/user/PhpstormProjects/skatestore.local/public/shopware-installer.phar.php/vendor/symfony/console/Application.php:725
 Symfony\Component\Console\Application->find() at phar:///home/user/PhpstormProjects/skatestore.local/public/shopware-installer.phar.php/vendor/symfony/framework-bundle/Console/Application.php:108
 Symfony\Bundle\FrameworkBundle\Console\Application->find() at phar:///home/user/PhpstormProjects/skatestore.local/public/shopware-installer.phar.php/vendor/symfony/console/Application.php:262
 Symfony\Component\Console\Application->doRun() at phar:///home/user/PhpstormProjects/skatestore.local/public/shopware-installer.phar.php/vendor/symfony/framework-bundle/Console/Application.php:80
 Symfony\Bundle\FrameworkBundle\Console\Application->doRun() at phar:///home/user/PhpstormProjects/skatestore.local/public/shopware-installer.phar.php/vendor/symfony/console/Application.php:174
 Symfony\Component\Console\Application->run() at phar:///home/user/PhpstormProjects/skatestore.local/public/shopware-installer.phar.php/bin/console:15
 require() at /home/user/PhpstormProjects/skatestore.local/public/shopware-installer.phar.php:46```
````

---

<div class="post-metadata">

**Author:** ![gaxweb](https://avatars.discourse-cdn.com/v4/letter/g/ea5d25/32.png) [@gaxweb](https://forum.shopware.com/u/gaxweb)\
**Post date:** [27. Juni 2023 um 14:02 UTC](https://forum.shopware.com/t/shopware-update-6-5-2-1-unerfolgreich/100096/2 "2023-06-27T14:02:23Z")

</div>

Erfolg gehabt? Hab das gleiche Problem gerade beim Upgrade von 6.4.20 …

Edit: Hatte jetzt Erfolg damit, dass alle Abhängigkeiten fest auf die gleiche Version in der composer.json eingestellt sind. Also kein ~ Präfix oder dergleichen, sondern exakt die gleiche SW Version.

---

<div class="post-metadata">

**Author:** ![arjen.veldkamp](https://avatars.discourse-cdn.com/v4/letter/a/ec9cab/32.png) [@arjen.veldkamp](https://forum.shopware.com/u/arjen.veldkamp)\
**Post date:** [28. Juni 2023 um 09:17 UTC](https://forum.shopware.com/t/shopware-update-6-5-2-1-unerfolgreich/100096/3 "2023-06-28T09:17:45Z")

</div>

Danke für die Rückmeldung und Hinweis @gaxweb

Bisher haben wir es nicht weiter probiert, da es anscheinend noch Problemen gab mit der Import in 6.5 und gerade füllen wir das System mit Produkten.

Wir probieren es und ich bestätige nochmal ob das für uns auch der Lösung war oder welche Problemen wir sonst erfahren haben.

---

<div class="post-metadata">

**Author:** ![tobiashe](https://avatars.discourse-cdn.com/v4/letter/t/c37758/32.png) [@tobiashe](https://forum.shopware.com/u/tobiashe)\
**Post date:** [28. Juni 2023 um 19:08 UTC](https://forum.shopware.com/t/shopware-update-6-5-2-1-unerfolgreich/100096/4 "2023-06-28T19:08:55Z")

</div>

Ich habe für das Problem eine Lösung gefunden. Wenn ich ein symlink in de Verzeichnis in dem die shopware-installer.phar.php liegt, ein Symlink auf die composer setze, funktioniert das Update.  
z.b. „ln -s /usr/bin/composer /var/www/shopware/public/composer“

---

<div class="post-metadata">

**Author:** ![arjen.veldkamp](https://avatars.discourse-cdn.com/v4/letter/a/ec9cab/32.png) [@arjen.veldkamp](https://forum.shopware.com/u/arjen.veldkamp)\
**Post date:** [29. Juni 2023 um 08:27 UTC](https://forum.shopware.com/t/shopware-update-6-5-2-1-unerfolgreich/100096/5 "2023-06-29T08:27:04Z")

</div>

danke @tobiashe wir probieren es und gebe dann wieder Bescheid ob es geklappt hat.

@gaxweb deine Lösung hat bei uns leider nicht funktioniert. Wir probieren weiter.

---

<div class="post-metadata">

**Author:** ![arjen.veldkamp](https://avatars.discourse-cdn.com/v4/letter/a/ec9cab/32.png) [@arjen.veldkamp](https://forum.shopware.com/u/arjen.veldkamp)\
**Post date:** [14. Juli 2023 um 07:44 UTC](https://forum.shopware.com/t/shopware-update-6-5-2-1-unerfolgreich/100096/6 "2023-07-14T07:44:57Z")

</div>

Leider haben die beide Lösungen bei uns nichts gebracht. Wir probieren weiter und falls es klappt gebe ich hier Bescheid.
