When I upgrade my discourse, I found it not working. I can see the category page, but cannot read the top or latest page, like the latest page:
I’ve already deleted all the plugins, including the official and the non-official plugins. But the problem still exists.
So I tried to restore the backup, but I found the following message.
[2020-07-12 01:16:20] ERROR: could not create unique index "index_plugin_store_rows_on_plugin_name_and_key" [2020-07-12 01:16:20] DETAIL: Key (plugin_name, key)=(discourse-data-explorer, q:-1) is duplicated. [2020-07-12 01:16:20] EXCEPTION: psql failed: DETAIL: Key (plugin_name, key)=(discourse-data-explorer, q:-1) is duplicated. [2020-07-12 01:16:20] /var/www/discourse/lib/backup_restore/database_restorer.rb:95:in `restore_dump' /var/www/discourse/lib/backup_restore/database_restorer.rb:26:in `restore' /var/www/discourse/lib/backup_restore/restorer.rb:49:in `run' /var/www/discourse/lib/backup_restore.rb:188:in `block in start!'