# Import/Export: Fehler bei Update auf Version 1.2.4

**URL:** https://forum.shopware.com/t/import-export-fehler-bei-update-auf-version-1-2-4/42378
**Category:** Plugins
**Tags:** offizielle-shopware-
**Created:** [22. Dezember 2016 um 13:00 UTC](https://forum.shopware.com/t/import-export-fehler-bei-update-auf-version-1-2-4/42378 "2016-12-22T13:00:03Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![pierre-schmitz](https://avatars.discourse-cdn.com/v4/letter/p/eb8c5e/32.png) [@pierre-schmitz](https://forum.shopware.com/u/pierre-schmitz)
#### Post date: [22. Dezember 2016 um 13:00 UTC](https://forum.shopware.com/t/import-export-fehler-bei-update-auf-version-1-2-4/42378/1 "2016-12-22T13:00:03Z")

</div>

Hallo zusammen,

Bei mir bricht das Plugin-Update mit folgendem Fehler ab:

```
Error

Unable to update, got exception: An exception occurred while executing 'ALTER TABLE s_import_export_session ADD CONSTRAINT FK_64E921BACCFA12B8 FOREIGN KEY (profile_id) REFERENCES s_import_export_profile (id) ON DELETE CASCADE': SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (`db12345_67`.`#sql-1608_9249c7`, CONSTRAINT `FK_64E921BACCFA12B8` FOREIGN KEY (`profile_id`) REFERENCES `s_import_export_profile` (`id`) ON DELETE CASCADE) 

```

Was ist zu tun?

---

<div class="post-metadata">

### Author: ![d.meier](https://avatars.discourse-cdn.com/v4/letter/d/a3d4f5/32.png) [@d.meier](https://forum.shopware.com/u/d.meier)
#### Post date: [9. Januar 2017 um 21:35 UTC](https://forum.shopware.com/t/import-export-fehler-bei-update-auf-version-1-2-4/42378/2 "2017-01-09T21:35:20Z")

</div>

Hallo

Bei mir leider auch… Hast du eine Lösung gefunden?

```
Error
Unable to update, got exception: An exception occurred while executing 'ALTER TABLE s_import_export_session ADD CONSTRAINT FK_64E921BACCFA12B8 FOREIGN KEY (profile_id) REFERENCES s_import_export_profile (id) ON DELETE CASCADE': SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (`mmm_shopware5`.`#sql-111f_17d27a`, CONSTRAINT `FK_64E921BACCFA12B8` FOREIGN KEY (`profile_id`) REFERENCES `s_import_export_profile` (`id`) ON DELETE CASCADE)

```

&nbsp;

---

<div class="post-metadata">

### Author: ![d.meier](https://avatars.discourse-cdn.com/v4/letter/d/a3d4f5/32.png) [@d.meier](https://forum.shopware.com/u/d.meier)
#### Post date: [12. Januar 2017 um 10:11 UTC](https://forum.shopware.com/t/import-export-fehler-bei-update-auf-version-1-2-4/42378/3 "2017-01-12T10:11:29Z")

</div>

Plugin löschen und neu installieren, dass funktioniert. Leider sind mir dabei auch die Profile verloren gegangen… ☹

---

<div class="post-metadata">

### Author: ![pierre-schmitz](https://avatars.discourse-cdn.com/v4/letter/p/eb8c5e/32.png) [@pierre-schmitz](https://forum.shopware.com/u/pierre-schmitz)
#### Post date: [13. Januar 2017 um 08:31 UTC](https://forum.shopware.com/t/import-export-fehler-bei-update-auf-version-1-2-4/42378/4 "2017-01-13T08:31:51Z")

</div>

Mir wurde von Zauberhand geholfen 🙂

Simon Bäumer weiß wie es geht, frag mal per PN nach:  
[https://forum.shopware.com/profile/18288/Simon%20Bäumer](https://forum.shopware.com/profile/18288/Simon%20B%C3%A4umer)

&nbsp;
