# Shopware Composer Update auf 6.5.8.7 fehlerhaft

**URL:** <https://forum.shopware.com/t/shopware-composer-update-auf-6-5-8-7-fehlerhaft/103287>\
**Category:** Allgemein\
**Tags:** update\
**Created:** [12. März 2024 um 05:46 UTC](https://forum.shopware.com/t/shopware-composer-update-auf-6-5-8-7-fehlerhaft/103287 "2024-03-12T05:46:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![AlexGalax](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/alexgalax/32/9925_2.png) [@AlexGalax](https://forum.shopware.com/u/AlexGalax)\
**Post date:** [12. März 2024 um 05:46 UTC](https://forum.shopware.com/t/shopware-composer-update-auf-6-5-8-7-fehlerhaft/103287/1 "2024-03-12T05:46:51Z")

</div>

Ich will Shopware 8.5.7.2 auf 6.5.8.7 aktualisieren und bin alle Schritte aus der Doku durchgegangen:

> **[Shopware 6 - Update Guides - Shopware aktualisieren](https://docs.shopware.com/de/shopware-6-de/update-guides/shopware-aktualisieren-updaten#update-ueber-composer)**
>
> Hier erfährst Du in einer Schritt-für-Schritt Anleitung. welche Möglichkeiten Du hast. Deine Shopware 6 Installation auf den neuesten Stand zu bringen und was es dabei zu beachten gibt.

`bin/console system:update:prepare` – kein Problem

`composer.json` Versionsnummern angepasst und mit `composer update` akualisiert. Auch kein Problem.

Wenn ich danach `bin/console system:update:finish` ausführe, bekomme ich eine Fehlermeldung und er bricht die DB-Migration ab.

```log
In MigrationCommand.php line 167:
[Shopware\Core\Framework\Migration\Exception\MigrateException]
Migration error: An exception occurred while executing a query: SQLSTATE[22032]: <<Unknown error>>: 3140 Invalid JSON text: "The document is empty." at position 0 in value for column '#sql-4ef_239.address_format'.  

...Exception trace:...

In ExceptionConverter.php line 117:
[Doctrine\DBAL\Exception\DriverException (3140)]
An exception occurred while executing a query: SQLSTATE[22032]: <<Unknown error>>: 3140 Invalid JSON text: "The document is empty." at position 0 in value for column '#sql-4ef_239.address_format'.

...Exception trace:...

In Exception.php line 28:
[Doctrine\DBAL\Driver\PDO\Exception (3140)]
SQLSTATE[22032]: <<Unknown error>>: 3140 Invalid JSON text: "The document is empty." at position 0 in value for column '#sql-
  4ef_239.address_format'.

...Exception trace:...

```

```auto
 ---------- ----------------------
Action Number of migrations
---------- ----------------------
Migrated 0 out of 6
---------- ----------------------

```

Das kann doch echt nicht sein, dass ich ein Minor-Update mache und der jetzt einfach nicht die Datenbank migriert.

Keine Ahnung was ich jetzt machen soll.
