# Migrationsvorgang abbrechen stoppen

**URL:** <https://forum.shopware.com/t/migrationsvorgang-abbrechen-stoppen/102041>\
**Category:** Installation / Einstieg\
**Created:** [24. November 2023 um 14:42 UTC](https://forum.shopware.com/t/migrationsvorgang-abbrechen-stoppen/102041 "2023-11-24T14:42:18Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![hjs](https://avatars.discourse-cdn.com/v4/letter/h/ecc23a/32.png) [@hjs](https://forum.shopware.com/u/hjs)\
**Post date:** [24. November 2023 um 14:42 UTC](https://forum.shopware.com/t/migrationsvorgang-abbrechen-stoppen/102041/1 "2023-11-24T14:42:18Z")

</div>

Ich haben einen Migrationsprozess der seit 1 Monat läuft. Ich würde ihn gerne abbrechen und neu starten. Wie kann ich das machen ohne alle Migrationsdaten zu löschen und mit einer neuen verbindung zu beginnen?

---

<div class="post-metadata">

**Author:** ![DanaHermann](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/danahermann/32/13693_2.png) [@DanaHermann](https://forum.shopware.com/u/DanaHermann)\
**Post date:** [8. Dezember 2023 um 10:37 UTC](https://forum.shopware.com/t/migrationsvorgang-abbrechen-stoppen/102041/2 "2023-12-08T10:37:29Z")

</div>

Hey @hjs 🙂

Du kannst die Migration in der Datenbank-Tabelle `swag_migration_run` beenden, indem Du den `status` auf **aborted** setzten. Dann wird die Migration abgebrochen und auch so im Admin angezeigt.

LG  
Dana

---

<div class="post-metadata">

**Author:** ![hjs](https://avatars.discourse-cdn.com/v4/letter/h/ecc23a/32.png) [@hjs](https://forum.shopware.com/u/hjs)\
**Post date:** [8. Dezember 2023 um 15:39 UTC](https://forum.shopware.com/t/migrationsvorgang-abbrechen-stoppen/102041/3 "2023-12-08T15:39:04Z")

</div>

Danke hat funitioniert.

---

<div class="post-metadata">

**Author:** ![nabjoern](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/nabjoern/32/18847_2.png) [@nabjoern](https://forum.shopware.com/u/nabjoern)\
**Post date:** [22. Juli 2025 um 09:33 UTC](https://forum.shopware.com/t/migrationsvorgang-abbrechen-stoppen/102041/4 "2025-07-22T09:33:24Z")

</div>

Hi, ich habe ein ähnliches Problem. Meine Migration hängt auch. In der Datenbank-Tabelle `swag_migration_run` gibt es nur `step` und nicht mehr `status.` Wenn ich hier **aborted** eintrage, bekomme ich eine Fehlermeldung:

```auto
MySQL meldet: Dokumentation

#1452 - Kann Kind-Zeile nicht hinzufügen oder aktualisieren: 
eine Fremdschlüsselbedingung schlägt fehl 
(`db-sw6`.`swag_migration_run`, CONSTRAINT `fk.swag_migration_run.connection_id` FOREIGN KEY (`connection_id`) REFERENCES `swag_migration_connection` (`id`) ON DELETE SET NULL ON UPDATE )

```

Würde mich über Hilfe freuen.

---

<div class="post-metadata">

**Author:** ![nabjoern](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/nabjoern/32/18847_2.png) [@nabjoern](https://forum.shopware.com/u/nabjoern)\
**Post date:** [24. Juli 2025 um 12:18 UTC](https://forum.shopware.com/t/migrationsvorgang-abbrechen-stoppen/102041/5 "2025-07-24T12:18:51Z")

</div>

Vielleicht hilft es jemandem:  
Ich habe einfach den entsprechenden Eintrag in der Tabelle `swag_migration_run` gelöscht. Bisher hatte dies keine negativen Auswirkungen. Sollte sich noch etwas ergeben, melde ich mich wieder.

Alles geschieht auf eigene Gefahr.
