Discourse Meta
Upgrade fails on duplicate key error ("index post hotlinked media on post id and url md5")
Contribute
Bug
david
(David Taylor)
May 3, 2022, 9:30pm
10
Great, thanks for confirming!
I opened a PR with a fix for that one:
4 Likes
Upgrading 2.7 to 3.1 failing: "hotlinked_media_status" already exists
Restore fails with "hotlinked_media_status" already exists
show post in topic
Related topics
Topic
Replies
Views
Activity
Restore fails with "hotlinked_media_status" already exists
Support
7
80
November 14, 2024
Restore fails - could not create unique index
Self-hosting
22
3918
July 6, 2020
Upgrade failed with "duplicate key value violates unique constraint" error
Self-hosting
18
2453
March 30, 2020
Error restoring backup "key is duplicated"
Self-hosting
8
1820
August 31, 2017
Cannot restore database: sql key is duplicated
Self-hosting
2
565
August 30, 2022