# Upgrade Issues: Failed Upgrade due to Duplicate Key, Failed Snapshot Restore

**URL:** <https://meta.discourse.org/t/upgrade-issues-failed-upgrade-due-to-duplicate-key-failed-snapshot-restore/182714>\
**Category:** Self-hosting\
**Created:** [March 10, 2021, 7:55am UTC](https://meta.discourse.org/t/upgrade-issues-failed-upgrade-due-to-duplicate-key-failed-snapshot-restore/182714 "2021-03-10T07:55:23Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![steelmaiden](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/steelmaiden/32/125527_2.png) [@steelmaiden](https://meta.discourse.org/u/steelmaiden)\
**Post date:** [April 25, 2023, 5:40pm UTC](https://meta.discourse.org/t/upgrade-issues-failed-upgrade-due-to-duplicate-key-failed-snapshot-restore/182714/7 "2023-04-25T17:40:32Z")

</div>

I am having the same issue, but not going to pay $500 for a solution. I have SFTP access to the server, so would it not be possible to just open the database in a notepad and rename the conflicted username?

Or if anyone can fix it for like $50, please contact me.

---

_[View the full topic](https://meta.discourse.org/t/upgrade-issues-failed-upgrade-due-to-duplicate-key-failed-snapshot-restore/182714)._
