# Migration Shopware 5 zu 6 -\> CleanUp 0/0 und kein Fortschritt

**URL:** <https://forum.shopware.com/t/migration-shopware-5-zu-6-cleanup-0-0-und-kein-fortschritt/106466>\
**Category:** Installation / Einstieg\
**Tags:** migration\
**Created:** [10. Februar 2025 um 20:44 UTC](https://forum.shopware.com/t/migration-shopware-5-zu-6-cleanup-0-0-und-kein-fortschritt/106466 "2025-02-10T20:44:04Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![lbdeshop](https://avatars.discourse-cdn.com/v4/letter/l/45deac/32.png) [@lbdeshop](https://forum.shopware.com/u/lbdeshop)\
**Post date:** [10. Februar 2025 um 20:44 UTC](https://forum.shopware.com/t/migration-shopware-5-zu-6-cleanup-0-0-und-kein-fortschritt/106466/1 "2025-02-10T20:44:04Z")

</div>

Hallo!  
Ich bin gerade dabei einen Shopware 5.5 Shop auf Shopware 6.6 zu migrieren. Die Migration läuft auch immer durch, aber dann beim CleanUp geht es nicht mehr weiter. Es steht dann immer im Progress 0/0 auf der Konsole läuft dann auch der Pfeil von Links nach Rechts.  
Ich lasse die Migration über die Shell starten mit:  
„bin/php bin/console migration:start newsletterRecipient promotions“

Mit get-progress prüfe ich dann den Fortschritt, das klappt auch bis es dann zum Thema Cleanup kommt.  
lehhxyke@cloud6-vm264:~/www.lehrmittel-brammer.de$ /usr/local/php8.3/bin/php bin/console migration:get-progress  
[--------------\>-------------] 0/0 cleanup

So sieht das dann aus.

Auch im Backend steht das so da mit 0/0.

Was kann ich da tun? Wie bekomme ich das Cleanup beendet?  
Welche informationen werden noch benötigt um mir helfen zu können?

---

<div class="post-metadata">

**Author:** ![lbdeshop](https://avatars.discourse-cdn.com/v4/letter/l/45deac/32.png) [@lbdeshop](https://forum.shopware.com/u/lbdeshop)\
**Post date:** [19. Februar 2025 um 18:42 UTC](https://forum.shopware.com/t/migration-shopware-5-zu-6-cleanup-0-0-und-kein-fortschritt/106466/3 "2025-02-19T18:42:57Z")

</div>

Es läuft immer noch. Kann ich denn irgendwo sehen wo es hängt?

---

<div class="post-metadata">

**Author:** ![Anotherone](https://avatars.discourse-cdn.com/v4/letter/a/6de8d8/32.png) [@Anotherone](https://forum.shopware.com/u/Anotherone)\
**Post date:** [19. Februar 2025 um 18:46 UTC](https://forum.shopware.com/t/migration-shopware-5-zu-6-cleanup-0-0-und-kein-fortschritt/106466/4 "2025-02-19T18:46:40Z")

</div>

Hast Du in der DB mal in der swag\_migration\_logging geschaut, ob da was eingetragen wird? Am besten nach created\_at filtern.

---

<div class="post-metadata">

**Author:** ![lbdeshop](https://avatars.discourse-cdn.com/v4/letter/l/45deac/32.png) [@lbdeshop](https://forum.shopware.com/u/lbdeshop)\
**Post date:** [19. Februar 2025 um 19:17 UTC](https://forum.shopware.com/t/migration-shopware-5-zu-6-cleanup-0-0-und-kein-fortschritt/106466/5 "2025-02-19T19:17:34Z")

</div>

Danke für deine Antwort.  
Da habe ich geschaut, da sind zwei aktuelle Einträge da. Insgesamt habe ich 147 Einträge drin, die anderen sind aber sowas wie Invalid Email usw.  
Bekomme ich die beiden Themen hier irgendwie bereinigt?

swag-migration.index.error.SWAG\_MIGRATION\_RUN\_ABORTED\_AUTOMATICALLY\_EXCEPTION.description

RunId: 0194e23fbe2273b589f5b4e7d9f1ffcc, ExceptionCount: 5  
Handling „SwagMigrationAssistant\Migration\MessageQueue\Message\MigrationProcessMessage“ failed: An exception occurred while executing a query: SQLSTATE[HY000]: General error: 1205 Lock wait timeout exceeded; try restarting transaction

und

swag-migration.index.error.SWAG\_MIGRATION\_MESSAGE\_QUEUE\_EXCEPTION.description

RunId: 0194e23fbe2273b589f5b4e7d9f1ffcc  
Handling „SwagMigrationAssistant\Migration\MessageQueue\Message\MigrationProcessMessage“ failed: An exception occurred while executing a query: SQLSTATE[HY000]: General error: 1205 Lock wait timeout exceeded; try restarting transaction

In der Tabelle `swag_migration_run` steht unten auch isAborted 1, und die Spalte step steht auf cleanup.  
Kann ich irgendwas anstarten, dass dort Finished steht?

{„progress“:0,„total“:0,„currentEntity“:„media“,„currentEntityProgress“:0,„dataSets“:[{„entityName“:„language“,„total“:1},{„entityName“:„category\_custom\_field“,„total“:1},{„entityName“:„category“,„total“:203},{„entityName“:„customer\_group\_custom\_field“,„total“:1},{„entityName“:„customer\_group“,„total“:2},{„entityName“:„currency“,„total“:1},{„entityName“:„sales\_channel“,„total“:1},{„entityName“:„number\_range“,„total“:9},{„entityName“:„media\_folder“,„total“:1},{„entityName“:„product\_custom\_field“,„total“:1},{„entityName“:„product\_price\_custom\_field“,„total“:1},{„entityName“:„product\_manufacturer\_custom\_field“,„total“:1},{„entityName“:„product“,„total“:1194037},{„entityName“:„property\_group\_option“,„total“:3471},{„entityName“:„product\_option\_relation“,„total“:4466563},{„entityName“:„product\_property\_relation“,„total“:18},{„entityName“:„translation“,„total“:7},{„entityName“:„product\_cross\_selling“,„total“:0},{„entityName“:„main\_variant\_relation“,„total“:3149},{„entityName“:„seo\_url“,„total“:4247},{„entityName“:„customer\_custom\_field“,„total“:1},{„entityName“:„customer“,„total“:597},{„entityName“:„customer\_wishlist“,„total“:4}],„exceptionCount“:2,„isAborted“:1}

---

<div class="post-metadata">

**Author:** ![Anotherone](https://avatars.discourse-cdn.com/v4/letter/a/6de8d8/32.png) [@Anotherone](https://forum.shopware.com/u/Anotherone)\
**Post date:** [19. Februar 2025 um 23:26 UTC](https://forum.shopware.com/t/migration-shopware-5-zu-6-cleanup-0-0-und-kein-fortschritt/106466/6 "2025-02-19T23:26:11Z")

</div>

Ist der/die Server potent genug? Ich würde das hier mal probieren:

> <https://stackoverflow.com/questions/5836623/getting-lock-wait-timeout-exceeded-try-restarting-transaction-even-though-im>

also erst

```auto
show open tables where in_use>0;

```

dann

```auto
show processlist;

```

um zu schauen, ob da ein Lock festhängt.

---

<div class="post-metadata">

**Author:** ![frip-tech.de](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/frip-tech.de/32/24453_2.png) [@frip-tech.de](https://forum.shopware.com/u/frip-tech.de)\
**Post date:** [20. Februar 2025 um 08:06 UTC](https://forum.shopware.com/t/migration-shopware-5-zu-6-cleanup-0-0-und-kein-fortschritt/106466/7 "2025-02-20T08:06:18Z")

</div>

Wo und mit welchen Parametern hostest Du?

---

<div class="post-metadata">

**Author:** ![enerSpace](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/enerspace/32/13552_2.png) [@enerSpace](https://forum.shopware.com/u/enerSpace)\
**Post date:** [20. Februar 2025 um 20:50 UTC](https://forum.shopware.com/t/migration-shopware-5-zu-6-cleanup-0-0-und-kein-fortschritt/106466/8 "2025-02-20T20:50:48Z")

</div>

Hi @lbdeshop,

was erscheint denn wenn du `bin/php bin/console migration:start newsletterRecipient promotions -vvv` eingibst?

VG Rico von [enerspace.de](http://enerspace.de)

---

<div class="post-metadata">

**Author:** ![lbdeshop](https://avatars.discourse-cdn.com/v4/letter/l/45deac/32.png) [@lbdeshop](https://forum.shopware.com/u/lbdeshop)\
**Post date:** [25. Februar 2025 um 18:32 UTC](https://forum.shopware.com/t/migration-shopware-5-zu-6-cleanup-0-0-und-kein-fortschritt/106466/9 "2025-02-25T18:32:08Z")

</div>

> [@Anotherone](#):
>
> `show open tables where in_use>0;`

Danke für deine Antwort. Da hing nichts mehr.  
Jetzt nach langer Zeit ging es auch weiter.  
Glaube auch der Server ist etwas schwach für die Menge. Ist ein extra Paket für Shopware von einem Hoster.
