# Mislukte upgrade: UniqueViolation: dubbele sleutelwaarde schendt unieke beperking "data\_explorer\_queries\_pkey"

**URL:** <https://meta.discourse.org/t/failed-upgrade-uniqueviolation-duplicate-key-value-violates-unique-constraint-data-explorer-queries-pkey/163667>\
**Category:** Self-hosting\
**Created:** [10 september 2020 om 19:30 UTC](https://meta.discourse.org/t/failed-upgrade-uniqueviolation-duplicate-key-value-violates-unique-constraint-data-explorer-queries-pkey/163667 "2020-09-10T19:30:26Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)\
**Post date:** [10 september 2020 om 20:31 UTC](https://meta.discourse.org/t/failed-upgrade-uniqueviolation-duplicate-key-value-violates-unique-constraint-data-explorer-queries-pkey/163667/6 "2020-09-10T20:31:07Z")

</div>

The numbers in the ID column are `4374` and `4114`. Delete the highest numbered one.

Do NOT run `DELETE from plugin_store_rows WHERE id = 10`!! or you will delete the wrong entry!

---

_[View the full topic](https://meta.discourse.org/t/failed-upgrade-uniqueviolation-duplicate-key-value-violates-unique-constraint-data-explorer-queries-pkey/163667)._
