Restore Failed due to Key (plugin_name, key)=(discourse-data-explorer, q:-1) is duplicated

There is a corrupt data in plugin store.

If you do not care about any of the custom data you saved in data explorer try:

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