# Problem after Discourse update

**URL:** <https://meta.discourse.org/t/problem-after-discourse-update/182413>\
**Category:** Self-hosting\
**Created:** [March 7, 2021, 7:22pm UTC](https://meta.discourse.org/t/problem-after-discourse-update/182413 "2021-03-07T19:22:36Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [March 8, 2021, 4:36am UTC](https://meta.discourse.org/t/problem-after-discourse-update/182413/6 "2021-03-08T04:36:58Z")

</div>

> [@ankur1857](#):
>
> ```plaintext
> PG::UniqueViolation: ERROR: duplicate key value violates unique constraint "index_users_on_username_lower"
> DETAIL: Key (username_lower)=(ravi_kumar) already exists.
> 
> ```

Looks like you have a corruption in your users table … one record for `ravi_kumar` appears twice.

Very complicated to fix, recommend you commission help. You need to boot up the postgres server and delete the dupe record.

---

_[View the full topic](https://meta.discourse.org/t/problem-after-discourse-update/182413)._
