# Fehler bei Update von shopware 5.0.3 auf 5.5.9

**URL:** <https://forum.shopware.com/t/fehler-bei-update-von-shopware-5-0-3-auf-5-5-9/59861>\
**Category:** Allgemein\
**Created:** [5. Juni 2019 um 08:27 UTC](https://forum.shopware.com/t/fehler-bei-update-von-shopware-5-0-3-auf-5-5-9/59861 "2019-06-05T08:27:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![abcwings](https://avatars.discourse-cdn.com/v4/letter/a/51bf81/32.png) [@abcwings](https://forum.shopware.com/u/abcwings)\
**Post date:** [5. Juni 2019 um 08:27 UTC](https://forum.shopware.com/t/fehler-bei-update-von-shopware-5-0-3-auf-5-5-9/59861/1 "2019-06-05T08:27:04Z")

</div>

Hallo liebe Community

Wir versuchen unseren Shop auf die neuste Version zu aktualisieren. Leider erhalten wir beim Update folgende Fehlermeldung. Hat hier allenfalls jemand eine Ahnung, was wir da tun können?

&nbsp;

Error

Received the following error message:  
Could not apply migration (Migrations\_Migration1457). Error: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry ‘0-1’ for key ‘element\_id\_shop\_id’&nbsp;

Please try to fix this error and restart the update.

Response

```
 {"valid":false,"errorMsg":"Could not apply migration (Migrations\_Migration1457). Error: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '0-1' for key 'element\_id\_shop\_id' "}
```

---

<div class="post-metadata">

**Author:** ![hsoebbing](https://avatars.discourse-cdn.com/v4/letter/h/898d66/32.png) [@hsoebbing](https://forum.shopware.com/u/hsoebbing)\
**Post date:** [5. Juni 2019 um 08:37 UTC](https://forum.shopware.com/t/fehler-bei-update-von-shopware-5-0-3-auf-5-5-9/59861/2 "2019-06-05T08:37:14Z")

</div>

Diese Migration liegt unter update-assets⁩ ▸ ⁨migrations⁩ ▸ 1457-add-minsearch-index-length.php

Du könntest testweise mal die Zeile 48 ändern in

```
 if (false && $modus === self::MODUS\_UPDATE) { 

```

Vielleicht hilft das schon.

---

<div class="post-metadata">

**Author:** ![abcwings](https://avatars.discourse-cdn.com/v4/letter/a/51bf81/32.png) [@abcwings](https://forum.shopware.com/u/abcwings)\
**Post date:** [5. Juni 2019 um 12:35 UTC](https://forum.shopware.com/t/fehler-bei-update-von-shopware-5-0-3-auf-5-5-9/59861/3 "2019-06-05T12:35:04Z")

</div>

Hallo&nbsp;[hsoebbing](https://forum.shopware.com/profile/25327/hsoebbing), vielen Dank!!!

---

<div class="post-metadata">

**Author:** ![piratenkiste](https://avatars.discourse-cdn.com/v4/letter/p/a8b319/32.png) [@piratenkiste](https://forum.shopware.com/u/piratenkiste)\
**Post date:** [17. Oktober 2019 um 12:04 UTC](https://forum.shopware.com/t/fehler-bei-update-von-shopware-5-0-3-auf-5-5-9/59861/4 "2019-10-17T12:04:34Z")

</div>

habe das gleiche Problem -leider hat die&nbsp; Änderung&nbsp;

```
 if (false && $ modus === self :: MODUS\_UPDATE) { 

```

nichts gebracht…wie konntest due das Problem lösen ? Sitze leider auf 5.5.7 seither fest !

&nbsp;
