Problem after Discourse update

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.