# Updatefehler bei Shopware 6.5.8.5

**URL:** <https://forum.shopware.com/t/updatefehler-bei-shopware-6-5-8-5/103039>\
**Category:** Allgemein\
**Tags:** general, installation--gettin, administration, other\
**Created:** [20. Februar 2024 um 07:33 UTC](https://forum.shopware.com/t/updatefehler-bei-shopware-6-5-8-5/103039 "2024-02-20T07:33:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![yedhukrishna.girish](https://avatars.discourse-cdn.com/v4/letter/y/46a35a/32.png) [@yedhukrishna.girish](https://forum.shopware.com/u/yedhukrishna.girish)\
**Post date:** [20. Februar 2024 um 07:33 UTC](https://forum.shopware.com/t/updatefehler-bei-shopware-6-5-8-5/103039/1 "2024-02-20T07:33:05Z")

</div>

Hallo,

Wir haben versucht, Shopware 6.5.7.3 auf 6.5.8.5 zu aktualisieren, aber das Update war nicht erfolgreich. Wir erhalten den Fehler,

- Doctrine\DBAL\Exception\ForeignKeyConstraintViolationException (1452)]  
An exception occurred while executing a query: SQLSTATE[23000]: Integrity c  
onstraint violation: 1452 Cannot add or update a child row: a foreign key c  
onstraint fails (`testserver`.`system_config`, CONSTRAINT `fk.system_config.sale s_channel_id` FOREIGN KEY (`sales_channel_id`) REFERENCES `sales_channel` (  
`id`) ON DELETE CASCADE ON UPDATE CASCADE)“ . Wir haben es über das Backend gemacht. Kann jedem dabei helfen.

Thanks

---

<div class="post-metadata">

**Author:** ![Lukaschel](https://avatars.discourse-cdn.com/v4/letter/l/e56c9b/32.png) [@Lukaschel](https://forum.shopware.com/u/Lukaschel)\
**Post date:** [22. Februar 2024 um 10:21 UTC](https://forum.shopware.com/t/updatefehler-bei-shopware-6-5-8-5/103039/2 "2024-02-22T10:21:20Z")

</div>

Guten Tag

Ich würde Ihnen vorschlagen ein Backup zurückzusetzen und es mit der Phar Datei nocheinmal zu probieren.

Grüße
