# DHL Plugin Installation schlägt fehl nach Update

**URL:** <https://forum.shopware.com/t/dhl-plugin-installation-schlaegt-fehl-nach-update/91788>\
**Category:** Shopware 6 (German)\
**Created:** [4. Dezember 2021 um 11:32 UTC](https://forum.shopware.com/t/dhl-plugin-installation-schlaegt-fehl-nach-update/91788 "2021-12-04T11:32:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pts](https://avatars.discourse-cdn.com/v4/letter/p/f17d59/32.png) [@pts](https://forum.shopware.com/u/pts)\
**Post date:** [4. Dezember 2021 um 11:32 UTC](https://forum.shopware.com/t/dhl-plugin-installation-schlaegt-fehl-nach-update/91788/1 "2021-12-04T11:32:50Z")

</div>

Hallo!  
Wir haben unser Shopware-System gerade von 6.3.5.4 auf 6.4.6.1 geupgraded. Zuvor natürlich alle „gelben“ vorher Plugins deaktiviert.

Das Upgrade hat soweit funktioniert und fast alle Plugin ließen sich nach dem Upgrade auch updaten - außer das DHL-Plugin ( DHL Versand). Diese wirft beim Update eine SQL-Fehlermeldung:

```auto
An exception occurred while executing 'INSERT INTO `pickware_shipping_shipment_order_mapping` ( `shipment_id`, `order_id`, `order_version_id` ) SELECT `shipment_id`, `order_id`, `order_version_id` FROM `pickware_dhl_shipment_order_mapping` ON DUPLICATE KEY UPDATE `shipment_id` = VALUES(`shipment_id`)': SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (`k121910_shopware2`.`pickware_shipping_shipment_order_mapping`, CONSTRAINT `pickware_shipping_shipment_order_mapping.fk.order` FOREIGN KEY (`order_id`, `order_version_id`) REFERENCES `order` ()

```

Ich habe also versucht das Plugin komplett zu deinstallieren und löschen und wieder zu installieren. Das bringt leider keinen Erfolg, sondern nur die selbe Meldung.

Kann mir jemand einen Tipp geben?

MfG

---

<div class="post-metadata">

**Author:** ![Pickware](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/pickware/32/8084_2.png) [@Pickware](https://forum.shopware.com/u/Pickware)\
**Post date:** [6. Dezember 2021 um 14:50 UTC](https://forum.shopware.com/t/dhl-plugin-installation-schlaegt-fehl-nach-update/91788/2 "2021-12-06T14:50:04Z")

</div>

Hi @pts,  
kontaktiere doch bitte direkt unser [Support Team](https://support.pickware.com/hc/de/articles/360012980598). Wir helfen dir gerne weiter.  
Viele liebe Grüße  
das Pickware Team
