# Update 6..5.2.1 via Composer installieren - via Webbrowser gehts nicht

**URL:** <https://forum.shopware.com/t/update-6-5-2-1-via-composer-installieren-via-webbrowser-gehts-nicht/100214>\
**Category:** Shopware 6 (German)\
**Created:** [22. Juni 2023 um 13:57 UTC](https://forum.shopware.com/t/update-6-5-2-1-via-composer-installieren-via-webbrowser-gehts-nicht/100214 "2023-06-22T13:57:20Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![welle](https://avatars.discourse-cdn.com/v4/letter/w/a9a28c/32.png) [@welle](https://forum.shopware.com/u/welle)\
**Post date:** [22. Juni 2023 um 13:57 UTC](https://forum.shopware.com/t/update-6-5-2-1-via-composer-installieren-via-webbrowser-gehts-nicht/100214/1 "2023-06-22T13:57:20Z")

</div>

Hallo, da die Installation via admin/Webbrowser nicht abgeschlossen wird habe ich es via Composer versucht, was auch nicht geklappt hat.  
Was muss ich genau in der composer.json Datei eintragen? Ich habe nach Anleitung Shopware das so:

„require“: {  
„php“: „^7.4.3 || ^8.0“,  
„composer-runtime-api“: „^2.0“,  
„shopware/administration“: „~v6.4.0“,  
„shopware/core“: „~v6.5.2.1“,  
„shopware/elasticsearch“: „~v6.4.0“,  
„shopware/recovery“: „~v6.4.0“,  
„shopware/storefront“: „~v6.4.0“

Ich bekomme diese Meldung:  
Your requirements could not be resolved to an installable set of packages.

Problem 1

- Root composer.json requires shopware/core ~v6.5.2.1 → satisfiable by shopware/core[v6.5.2.1].
- shopware/core v6.5.2.1 requires php ~8.1.0 || ~8.2.0 → your php version (7.4.3; overridden via config.platform, actual: 8.1.20) does not satisfy that requirement.  
Problem 2
- shopware/administration 6.4.0.0 requires shopware/core v6.4.0.0 → found shopware/core[6.4.0.0] but it conflicts with your root composer.json require (~v6.5.2.1).
- shopware/administration 6.4.1.0 requires shopware/core v6.4.1.0 → found shopware/core[6.4.1.0] but it conflicts with your root composer.json require (~v6.5.2.1).
- shopware/administration 6.4.1.1 requires shopware/core v6.4.1.1 → found shopware/core[6.4.1.1] but it conflicts with your root composer.json require (~v6.5.2.1).
- shopware/administration 6.4.1.2 requires shopware/core v6.4.1.2 → found shopware/core[6.4.1.2] but it conflicts with your root composer.json require (~v6.5.2.1).

Auf meinem Server ist PHP 8.1.20 installiert.

Was läuft bei mir falsch, was mache ich falsch?  
Gruss  
Welle

---

<div class="post-metadata">

**Author:** ![noc](https://avatars.discourse-cdn.com/v4/letter/n/6de8d8/32.png) [@noc](https://forum.shopware.com/u/noc)\
**Post date:** [22. Juni 2023 um 16:20 UTC](https://forum.shopware.com/t/update-6-5-2-1-via-composer-installieren-via-webbrowser-gehts-nicht/100214/2 "2023-06-22T16:20:56Z")

</div>

> [@welle](#):
>
> requires php ~8.1.0 || ~8.2.0 → your php version (7.4.3;

Auf der Konsole ist es noch 7.4 …

---

<div class="post-metadata">

**Author:** ![welle](https://avatars.discourse-cdn.com/v4/letter/w/a9a28c/32.png) [@welle](https://forum.shopware.com/u/welle)\
**Post date:** [22. Juni 2023 um 16:34 UTC](https://forum.shopware.com/t/update-6-5-2-1-via-composer-installieren-via-webbrowser-gehts-nicht/100214/3 "2023-06-22T16:34:40Z")

</div>

Hallo und besten Dank für deine Antwort.  
Was bedeutet das?  
Mit Konsole ist gemeint „Composer“? wie ändere ich das?

---

<div class="post-metadata">

**Author:** ![welle](https://avatars.discourse-cdn.com/v4/letter/w/a9a28c/32.png) [@welle](https://forum.shopware.com/u/welle)\
**Post date:** [22. Juni 2023 um 16:58 UTC](https://forum.shopware.com/t/update-6-5-2-1-via-composer-installieren-via-webbrowser-gehts-nicht/100214/4 "2023-06-22T16:58:10Z")

</div>

wie kann das sein?  
Ich habe folgende Aussage gefunden:  
Sollte es nötig sein den Composer, der per default mit der PHP-Version des Betriebssystems ausgeführt wird, unter einer anderen PHP-Version auszuführen kann dies wie folgt geändert werden.  
Da bei mir Standard PHP 8.1.20 ist, müsste doch Composer damit laufen.

---

<div class="post-metadata">

**Author:** ![welle](https://avatars.discourse-cdn.com/v4/letter/w/a9a28c/32.png) [@welle](https://forum.shopware.com/u/welle)\
**Post date:** [22. Juni 2023 um 17:42 UTC](https://forum.shopware.com/t/update-6-5-2-1-via-composer-installieren-via-webbrowser-gehts-nicht/100214/5 "2023-06-22T17:42:22Z")

</div>

Ich habe Composer nachmals installiert und versucht das Update auszuführen …  
folgendes erhalte ich:  
Run Update preparations  
Loading composer repositories with package information  
Info from [https://repo.packagist.org](https://repo.packagist.org): #StandWithUkraine  
Updating dependencies  
Your requirements could not be resolved to an installable set of packages.

Problem 1  
- Root composer.json requires shopware/core ~v6.5.2.1 → satisfiable by shopware/core[v6.5.2.1].  
- shopware/core v6.5.2.1 requires php ~8.1.0 || ~8.2.0 → your php version (7.4.3; overridden via config.platform, actual: 8.1.20) does not satisfy that requirement.  
Problem 2  
- shopware/administration 6.4.0.0 requires shopware/core v6.4.0.0 → found shopware/core[6.4.0.0] but it conflicts with your root composer.json require (~v6.5.2.1).  
- shopware/administration 6.4.1.0 requires shopware/core v6.4.1.0 → found shopware/core[6.4.1.0] but it conflicts with your root composer.json require (~v6.5.2.1).  
- shopware/administration 6.4.1.1 requires shopware/core v6.4.1.1 → found shopware/core[6.4.1.1] but it conflicts with your root composer.json require (~v6.5.2.1).  
- shopware/administration 6.4.1.2 requires shopware/core v6.4.1.2 → found shopware/core[6.4.1.2] but it conflicts with your root composer.json require (~v6.5.2.1).  
- shopware/administration 6.4.2.0 requires shopware/core v6.4.2.0 → found shopware/core[6.4.2.0] but it conflicts with your root composer.json require (~v6.5.2.1).  
- shopware/administration 6.4.2.1 requires shopware/core v6.4.2.1 → found shopware/core[6.4.2.1] but it conflicts with your root composer.json require (~v6.5.2.1).  
- shopware/administration 6.4.3.0 requires shopware/core v6.4.3.0 → found shopware/core[6.4.3.0] but it conflicts with your root composer.json require (~v6.5.2.1).  
- shopware/administration 6.4.3.1 requires shopware/core v6.4.3.1 → found shopware/core[6.4.3.1] but it conflicts with your root composer.json require (~v6.5.2.1).  
- shopware/administration 6.4.4.0 requires shopware/core v6.4.4.0 → found shopware/core[6.4.4.0] but it conflicts with your root composer.json require (~v6.5.2.1).  
- shopware/administration 6.4.4.1 requires shopware/core v6.4.4.1 → found shopware/core[6.4.4.1] but it conflicts with your root composer.json require (~v6.5.2.1).  
- shopware/administration 6.4.5.0 requires shopware/core v6.4.5.0 → found shopware/core[6.4.5.0] but it conflicts with your root composer.json require (~v6.5.2.1).  
- shopware/administration 6.4.5.1 requires shopware/core v6.4.5.1 → found shopware/core[6.4.5.1] but it conflicts with your root composer.json require (~v6.5.2.1).  
- shopware/administration 6.4.6.0 requires shopware/core v6.4.6.0 → found shopware/core[6.4.6.0] but it conflicts with your root composer.json require (~v6.5.2.1).  
- shopware/administration 6.4.6.1 requires shopware/core v6.4.6.1 → found shopware/core[6.4.6.1] but it conflicts with your root composer.json require (~v6.5.2.1).  
- shopware/administration 6.4.7.0 requires shopware/core v6.4.7.0 → found shopware/core[6.4.7.0] but it conflicts with your root composer.json require (~v6.5.2.1).  
- shopware/administration 6.4.8.0 requires shopware/core v6.4.8.0 → found shopware/core[6.4.8.0] but it conflicts with your root composer.json require (~v6.5.2.1).  
- shopware/administration 6.4.8.1 requires shopware/core 6.4.8.1 → found shopware/core[6.4.8.1] but it conflicts with your root composer.json require (~v6.5.2.1).  
- shopware/administration 6.4.8.2 requires shopware/core v6.4.8.2 → found shopware/core[6.4.8.2] but it conflicts with your root composer.json require (~v6.5.2.1).  
- shopware/administration 6.4.9.0 requires shopware/core v6.4.9.0 → found shopware/core[6.4.9.0] but it conflicts with your root composer.json require (~v6.5.2.1).  
- shopware/administration 6.4.10.0 requires shopware/core v6.4.10.0 → found shopware/core[6.4.10.0] but it conflicts with your root composer.json require (~v6.5.2.1).  
- shopware/administration 6.4.10.1 requires shopware/core v6.4.10.1 → found shopware/core[6.4.10.1] but it conflicts with your root composer.json require (~v6.5.2.1).  
- shopware/administration 6.4.11.0 requires shopware/core v6.4.11.0 → found shopware/core[6.4.11.0] but it conflicts with your root composer.json require (~v6.5.2.1).  
- shopware/administration 6.4.11.1 requires shopware/core v6.4.11.1 → found shopware/core[6.4.11.1] but it conflicts with your root composer.json require (~v6.5.2.1).  
- shopware/administration 6.4.12.0 requires shopware/core v6.4.12.0 → found shopware/core[6.4.12.0] but it conflicts with your root composer.json require (~v6.5.2.1).  
- shopware/administration 6.4.13.0 requires shopware/core v6.4.13.0 → found shopware/core[6.4.13.0] but it conflicts with your root composer.json require (~v6.5.2.1).  
- shopware/administration 6.4.14.0 requires shopware/core v6.4.14.0 → found shopware/core[6.4.14.0] but it conflicts with your root composer.json require (~v6.5.2.1).  
- shopware/administration 6.4.15.0 requires shopware/core v6.4.15.0 → found shopware/core[6.4.15.0] but it conflicts with your root composer.json require (~v6.5.2.1).  
- shopware/administration 6.4.15.1 requires shopware/core v6.4.15.1 → found shopware/core[6.4.15.1] but it conflicts with your root composer.json require (~v6.5.2.1).  
- shopware/administration 6.4.15.2 requires shopware/core v6.4.15.2 → found shopware/core[6.4.15.2] but it conflicts with your root composer.json require (~v6.5.2.1).  
- shopware/administration 6.4.16.0 requires shopware/core v6.4.16.0 → found shopware/core[6.4.16.0] but it conflicts with your root composer.json require (~v6.5.2.1).  
- shopware/administration 6.4.16.1 requires shopware/core v6.4.16.1 → found shopware/core[6.4.16.1] but it conflicts with your root composer.json require (~v6.5.2.1).  
- shopware/administration 6.4.17.0 requires shopware/core v6.4.17.0 → found shopware/core[6.4.17.0] but it conflicts with your root composer.json require (~v6.5.2.1).  
- shopware/administration 6.4.17.1 requires shopware/core v6.4.17.1 → found shopware/core[6.4.17.1] but it conflicts with your root composer.json require (~v6.5.2.1).  
- shopware/administration 6.4.17.2 requires shopware/core v6.4.17.2 → found shopware/core[6.4.17.2] but it conflicts with your root composer.json require (~v6.5.2.1).  
- shopware/administration 6.4.18.0 requires shopware/core v6.4.18.0 → found shopware/core[6.4.18.0] but it conflicts with your root composer.json require (~v6.5.2.1).  
- shopware/administration 6.4.18.1 requires shopware/core v6.4.18.1 → found shopware/core[6.4.18.1] but it conflicts with your root composer.json require (~v6.5.2.1).  
- shopware/administration 6.4.19.0 requires shopware/core v6.4.19.0 → found shopware/core[6.4.19.0] but it conflicts with your root composer.json require (~v6.5.2.1).  
- shopware/administration 6.4.20.0 requires shopware/core v6.4.20.0 → found shopware/core[6.4.20.0] but it conflicts with your root composer.json require (~v6.5.2.1).  
- shopware/administration 6.4.20.1 requires shopware/core v6.4.20.1 → found shopware/core[6.4.20.1] but it conflicts with your root composer.json require (~v6.5.2.1).  
- shopware/administration 6.4.20.2 requires shopware/core v6.4.20.2 → found shopware/core[6.4.20.2] but it conflicts with your root composer.json require (~v6.5.2.1).  
- Root composer.json requires shopware/administration ~v6.4.0 → satisfiable by shopware/administration[6.4.0.0, …, 6.4.20.2].

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

Was mache ich falsch?  
Gruss  
Welle

---

<div class="post-metadata">

**Author:** ![noc](https://avatars.discourse-cdn.com/v4/letter/n/6de8d8/32.png) [@noc](https://forum.shopware.com/u/noc)\
**Post date:** [22. Juni 2023 um 17:45 UTC](https://forum.shopware.com/t/update-6-5-2-1-via-composer-installieren-via-webbrowser-gehts-nicht/100214/6 "2023-06-22T17:45:12Z")

</div>

Es hat nichts mit composer zu tun, auf der Konsole wo du den Befehl composer install / Require etc. aufrufst ist eingestellt das dies mit PHP7.4 ausgeführt wird - die Frage wie / wo du das ändern kannst, kann ich nicht beantworten am besten an den Hoster wenden.

Verifizieren lässt sich das mit einem php -v

---

<div class="post-metadata">

**Author:** ![welle](https://avatars.discourse-cdn.com/v4/letter/w/a9a28c/32.png) [@welle](https://forum.shopware.com/u/welle)\
**Post date:** [22. Juni 2023 um 17:55 UTC](https://forum.shopware.com/t/update-6-5-2-1-via-composer-installieren-via-webbrowser-gehts-nicht/100214/7 "2023-06-22T17:55:00Z")

</div>

besten Dank, die Abfrage php -v ergibt PHP 8.1.20

 ![Bildschirmfoto 2023-06-22 um 19.49.01](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/3X/f/e/febbc17a996ed43096b3c68733bfcbf9fcf85f92.jpeg)

---

<div class="post-metadata">

**Author:** ![noc](https://avatars.discourse-cdn.com/v4/letter/n/6de8d8/32.png) [@noc](https://forum.shopware.com/u/noc)\
**Post date:** [22. Juni 2023 um 18:04 UTC](https://forum.shopware.com/t/update-6-5-2-1-via-composer-installieren-via-webbrowser-gehts-nicht/100214/8 "2023-06-22T18:04:01Z")

</div>

> [@welle](#):
>
> your php version (7.4.3; overridden via config.platform

Kann es sein das in deiner composer.json immer noch dies hier steht ```  
„php“: „7.4“

```auto

```

---

<div class="post-metadata">

**Author:** ![welle](https://avatars.discourse-cdn.com/v4/letter/w/a9a28c/32.png) [@welle](https://forum.shopware.com/u/welle)\
**Post date:** [22. Juni 2023 um 18:24 UTC](https://forum.shopware.com/t/update-6-5-2-1-via-composer-installieren-via-webbrowser-gehts-nicht/100214/9 "2023-06-22T18:24:03Z")

</div>

ganz am Anfang der composer.json steht:  
{  
„name“: „shopware/production“,  
„type“: „project“,  
„license“: „MIT“,  
„config“: {  
„optimize-autoloader“: true,  
„platform“: {  
„php“: „7.4.3“  
},  
„sort-packages“: true,  
„allow-plugins“: {  
„composer/package-versions-deprecated“: true  
}  
also ja … hm … wieso?

Kann ich das einfach „umschreiben“ auf 8.1.20 oder muss das anders geändert werden?

---

<div class="post-metadata">

**Author:** ![noc](https://avatars.discourse-cdn.com/v4/letter/n/6de8d8/32.png) [@noc](https://forum.shopware.com/u/noc)\
**Post date:** [22. Juni 2023 um 18:29 UTC](https://forum.shopware.com/t/update-6-5-2-1-via-composer-installieren-via-webbrowser-gehts-nicht/100214/10 "2023-06-22T18:29:53Z")

</div>

Umschreiben dann sollte es passen, ggfls. an dem Original der aktuellen Version halten

---

<div class="post-metadata">

**Author:** ![welle](https://avatars.discourse-cdn.com/v4/letter/w/a9a28c/32.png) [@welle](https://forum.shopware.com/u/welle)\
**Post date:** [22. Juni 2023 um 19:07 UTC](https://forum.shopware.com/t/update-6-5-2-1-via-composer-installieren-via-webbrowser-gehts-nicht/100214/11 "2023-06-22T19:07:36Z")

</div>

tja … habs geändert, neu Update laufen lassen, dann erhalte ich folgendes:

Problem 1  
- Root composer.json requires shopware/core ~v6.5.2.1 → satisfiable by shopware/core[v6.5.2.1].  
- shopware/core v6.5.2.1 requires league/flysystem-memory ~3.10 → found league/flysystem-memory[3.10.3, 3.13.0, 3.15.0] but it conflicts with your root composer.json require (~1.0.2).

dann ändere ich das in der composer.json Datei … wieder Update …  
dann kommt diese Meldung:

Problem 1  
- Root composer.json requires shopware/core ~v6.5.2.1 → satisfiable by shopware/core[v6.5.2.1].  
- shopware/core v6.5.2.1 requires symfony/dependency-injection ~6.3.0 → found symfony/dependency-injection[v6.3.0] but it conflicts with your root composer.json require (~4.4 || ~5.2.3 || ~5.3.0 || ~5.4.0).

Also immer was neues … kann mir jemand eine composer.json Datei zusenden die funktioniert?  
Wieso ist das so bei mir?

---

<div class="post-metadata">

**Author:** ![mm-webconsulting](https://avatars.discourse-cdn.com/v4/letter/m/87869e/32.png) [@mm-webconsulting](https://forum.shopware.com/u/mm-webconsulting)\
**Post date:** [18. September 2023 um 08:56 UTC](https://forum.shopware.com/t/update-6-5-2-1-via-composer-installieren-via-webbrowser-gehts-nicht/100214/12 "2023-09-18T08:56:36Z")

</div>

Hast du das Problem lösen können?
