# Nach Update auf Version 5.4.5 Fehler im Composer?

**URL:** <https://forum.shopware.com/t/nach-update-auf-version-5-4-5-fehler-im-composer/53546>\
**Category:** Programmierung\
**Created:** [18. Juni 2018 um 12:15 UTC](https://forum.shopware.com/t/nach-update-auf-version-5-4-5-fehler-im-composer/53546 "2018-06-18T12:15:44Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![optimondo](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/optimondo/32/12853_2.png) [@optimondo](https://forum.shopware.com/u/optimondo)\
**Post date:** [18. Juni 2018 um 12:15 UTC](https://forum.shopware.com/t/nach-update-auf-version-5-4-5-fehler-im-composer/53546/1 "2018-06-18T12:15:44Z")

</div>

Vorhin mal das Update auf einem Testsystem durchgeführt und nun ist das Testsystem down. Folgende Meldung erscheint:

```
Warning: require(/......../httpdocs/vendor/composer/../../tests/dbunit_shims.php): failed to open stream: No such file or directory in /........../httpdocs/vendor/composer/autoload_real.php on line 70

```

Das Verzeichnis existiert natürlich nicht. Hab den Composer via Shell noch mal mit dem Parameter „upate“ bzw. „install“ gezündet, da auch diese Meldung vom Cronjob ausgefworfen wird:&nbsp;

```
Error: Please execute "composer install" from the command line to install the required dependencies for Shopware 5
Fehler: Bitte führen Sie zuerst "composer install" aus um alle von Shopware 5 benötigten Abhängigkeiten zu installieren.

```

aber der bricht einfach ab:

```
Skipped installation of bin bin/doctrine-dbal for package doctrine/dbal: file not found in package
Skipped installation of bin bin/doctrine for package doctrine/orm: file not found in package
Skipped installation of bin bin/doctrine.php for package doctrine/orm: file not found in package

```

Was da los? Hat zufällig noch jemand dieses Problem?

Grüße  
&nbsp;

PS: Das Update übers BackEnd verlief ohne jegliche Probleme

---

<div class="post-metadata">

**Author:** ![Moritz\_Naczenski](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/moritz_naczenski/32/7792_2.png) [@Moritz\_Naczenski](https://forum.shopware.com/u/Moritz_Naczenski)\
**Post date:** [18. Juni 2018 um 16:33 UTC](https://forum.shopware.com/t/nach-update-auf-version-5-4-5-fehler-im-composer/53546/2 "2018-06-18T16:33:55Z")

</div>

Du kannst die Composer Installation nicht über das Backend updaten. Das Update wird dann auch über Composer gemacht! Also Composer.json anpassen und Composer Update machen.

---

<div class="post-metadata">

**Author:** ![optimondo](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/optimondo/32/12853_2.png) [@optimondo](https://forum.shopware.com/u/optimondo)\
**Post date:** [19. Juni 2018 um 08:32 UTC](https://forum.shopware.com/t/nach-update-auf-version-5-4-5-fehler-im-composer/53546/3 "2018-06-19T08:32:01Z")

</div>

Keine Ahnung was du da schreibst oder wie das gehen soll.&nbsp;

Hab die composer.json nicht angetastet. Das Update war ganz regular über die Update-Meldung im BackEnd. Der Cronjob meldete mit einem Error das der Composer geupdated werden müsste. (siehe 2. Meldung, 1.Post) Daraufhin bin ich via Shell in den Shop-root und hab von dort ein “composer update” durchgeführt.

Daraufhin ging der ganze Test-Shop nicht mehr. 1. Meldung, erster Post.

Die composer.json hab ich mit der originalen, frisch heruntergeladenen Installation verglichen. 1:1 die gleiche. Jedoch muss irgend wo eine Test-Datei in einem Git eingehangen worden seien.

Nach dem ich testweise in der _/vendor/composer/autoload\_static.php_ und _~/autoload\_files.php_ diese Datei auskommentiert hatte, lief dann das System wieder:  
&nbsp;

```
// 'e2a942ea5a2284160429f439c437246c' => __DIR__. '/../..' . '/tests/dbunit_shims.php',

```

Der Composer sucht im Shop-Root nach dem Ordner “tests”. Ich hab’s da nicht reingeschrieben, ergo kommt es von “außen”. Klingt nach Debuging o.ä.

Grüße

---

<div class="post-metadata">

**Author:** ![Moritz\_Naczenski](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/moritz_naczenski/32/7792_2.png) [@Moritz\_Naczenski](https://forum.shopware.com/u/Moritz_Naczenski)\
**Post date:** [19. Juni 2018 um 08:40 UTC](https://forum.shopware.com/t/nach-update-auf-version-5-4-5-fehler-im-composer/53546/4 "2018-06-19T08:40:15Z")

</div>

Wie hast du denn deine Shopware installiert? Über das Installationspaket oder über Github und Composer?

Das sind zwei grundlegend verschiedene Dinge.

---

<div class="post-metadata">

**Author:** ![optimondo](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/optimondo/32/12853_2.png) [@optimondo](https://forum.shopware.com/u/optimondo)\
**Post date:** [19. Juni 2018 um 08:44 UTC](https://forum.shopware.com/t/nach-update-auf-version-5-4-5-fehler-im-composer/53546/5 "2018-06-19T08:44:04Z")

</div>

Die Installation ist älter und wurde via Installationpaket auf einen TestServer geschoben. Ich mache dort immer meine Update-Tests. Das Update war von der 5.4.4 =\> 5.4.5

Hätte der Cronjob keine Exception ausgeworfen, hätte ich nach dem Update gar kein “composer update” durchgeführt und diesen Fehler gefunden&nbsp; ![Halo](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/1X/d6f31fb007077fa834e26f5b6a29275ae615cbd1.png "Halo")

Mir ist das im Prinzip Wurscht. Es war mir nur aufgefallen. Dachte das das evt. noch jemand “entdeckt” hat.

---

<div class="post-metadata">

**Author:** ![shyim](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/shyim/32/7681_2.png) [@shyim](https://forum.shopware.com/u/shyim)\
**Post date:** [23. Juni 2018 um 07:57 UTC](https://forum.shopware.com/t/nach-update-auf-version-5-4-5-fehler-im-composer/53546/6 "2018-06-23T07:57:25Z")

</div>

Du kannst keine von Release Zip installierte Shopware Version via composer update Updaten. Musst dir immer dann die Update Packages von der Seite downloaden 🙂

---

<div class="post-metadata">

**Author:** ![optimondo](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/optimondo/32/12853_2.png) [@optimondo](https://forum.shopware.com/u/optimondo)\
**Post date:** [28. Juni 2018 um 09:01 UTC](https://forum.shopware.com/t/nach-update-auf-version-5-4-5-fehler-im-composer/53546/7 "2018-06-28T09:01:48Z")

</div>

Hab ich doch auch nicht. Ich hab den Shop ganz regulär via Browser + Update Hinweis geupdated. Die Cronjob Exception hat das verlangt. Die Frage wäre hier, warum?

---

<div class="post-metadata">

**Author:** ![toadie](https://avatars.discourse-cdn.com/v4/letter/t/e9a140/32.png) [@toadie](https://forum.shopware.com/u/toadie)\
**Post date:** [22. September 2018 um 22:22 UTC](https://forum.shopware.com/t/nach-update-auf-version-5-4-5-fehler-im-composer/53546/8 "2018-09-22T22:22:31Z")

</div>

Also ich hatte jetzt das gleich Problem. Mein Shop wurde über die zip Datei installiert und nie über git. Update über das Backend gemacht danach kam die gleiche Meldung.  
Also das Frage wie soll der Fehler behoben werden?

---

<div class="post-metadata">

**Author:** ![shyim](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/shyim/32/7681_2.png) [@shyim](https://forum.shopware.com/u/shyim)\
**Post date:** [23. September 2018 um 02:01 UTC](https://forum.shopware.com/t/nach-update-auf-version-5-4-5-fehler-im-composer/53546/9 "2018-09-23T02:01:05Z")

</div>

composer Install -o --no-dev

---

<div class="post-metadata">

**Author:** ![toadie](https://avatars.discourse-cdn.com/v4/letter/t/e9a140/32.png) [@toadie](https://forum.shopware.com/u/toadie)\
**Post date:** [23. September 2018 um 09:23 UTC](https://forum.shopware.com/t/nach-update-auf-version-5-4-5-fehler-im-composer/53546/10 "2018-09-23T09:23:31Z")

</div>

Habe ich mal ausgeführt. Und bekomme diese Meldung:

&nbsp;WARNING! Method „Shopware\_Plugins\_Core\_SwagLicense\_Bootstrap::assertVersionGreaterThen“ not found failure in /html/shopware/engine/Library/Enlight/Event/Handler/Plugin.php

Command „composer“ is not defined.

Da kommt ich nicht weiter.
