# Fehler beim Update auf 5.6.2

**URL:** <https://forum.shopware.com/t/fehler-beim-update-auf-5-6-2/63137>\
**Category:** Allgemein\
**Created:** [23. November 2019 um 12:26 UTC](https://forum.shopware.com/t/fehler-beim-update-auf-5-6-2/63137 "2019-11-23T12:26:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![faf](https://avatars.discourse-cdn.com/v4/letter/f/47e85d/32.png) [@faf](https://forum.shopware.com/u/faf)\
**Post date:** [23. November 2019 um 12:26 UTC](https://forum.shopware.com/t/fehler-beim-update-auf-5-6-2/63137/1 "2019-11-23T12:26:59Z")

</div>

Ich erhalte beim Update im bereich Datenbankaktualisierung folgende Meldung:

Error  
Received the following error message:  
Could not apply migration (Migrations\_Migration1627). Error: SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (`usr_p480112_2`.`#sql-2f8_2ae7972`, CONSTRAINT `#sql-2f8_2ae7972_ibfk_1` FOREIGN KEY (`orderID`) REFERENCES `s_order` (`id`) ON DELETE CASCADE)

Please try to fix this error and restart the update.  
Response  
{„valid“:false,„errorMsg“:"Could not apply migration (Migrations\_Migration1627). Error: SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (`usr_p480112_2`.`#sql-2f8_2ae7972`, CONSTRAINT `#sql-2f8_2ae7972_ibfk_1` FOREIGN KEY (`orderID`) REFERENCES `s_order` (`id`) ON DELETE CASCADE) "}

Danach kann ich das Fenster nur noch schließen.

Wie kann ich den Fehler beheben und wie komme ich wieder ins Backend um das Update neu zu starten?

Hat jemand eine Idee?

---

<div class="post-metadata">

**Author:** ![kulli](https://avatars.discourse-cdn.com/v4/letter/k/a3d4f5/32.png) [@kulli](https://forum.shopware.com/u/kulli)\
**Post date:** [23. November 2019 um 14:36 UTC](https://forum.shopware.com/t/fehler-beim-update-auf-5-6-2/63137/2 "2019-11-23T14:36:48Z")

</div>

Nimm mal die Forensuche und such Dir einen der vielen Beiträge raus:

[https://forum.shopware.com/search?Search=Cannot+add+or+update+a+child+row&sLanguage=1](https://forum.shopware.com/search?Search=Cannot+add+or+update+a+child+row&sLanguage=1)
