# 由于键 (plugin\_name, key)=(discourse-data-explorer, q:-1) 重复，还原失败

**URL:** <https://meta.discourse.org/t/restore-failed-due-to-key-plugin-name-key-discourse-data-explorer-q-1-is-duplicated/157535>\
**Category:** Self-hosting\
**Created:** [2020 年7 月 13 日 02:00 UTC](https://meta.discourse.org/t/restore-failed-due-to-key-plugin-name-key-discourse-data-explorer-q-1-is-duplicated/157535 "2020-07-13T02:00:22Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

作者： ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
发布日期： [2020 年7 月 13 日 05:16 UTC](https://meta.discourse.org/t/restore-failed-due-to-key-plugin-name-key-discourse-data-explorer-q-1-is-duplicated/157535/2 "2020-07-13T05:16:50Z")

</div>

插件商店中存在损坏的数据。

如果您不关心在数据探索器中保存的任何自定义数据，请尝试：

```plaintext
./launcher enter app
rails c
PluginStore.where(plugin_name: 'discourse-data-explorer').delete_all

```

---

_[View the full topic](https://meta.discourse.org/t/restore-failed-due-to-key-plugin-name-key-discourse-data-explorer-q-1-is-duplicated/157535)._
