Hello,
Thanks for reading this.
I'm have Gerrit v3.0.0 running on my server, everything was working fine yesterday.
Here's my authentication method :
[auth]
type = http
emailFormat = {0}@domain.com
I'm not sure that this is the cause of my problem but I might have deleted my email address
x...@domain.com yesterday.
Today when trying to log in to the UI again, I get a 403 error and error_log said :
Cannot assign external ID "username:xxx" to account 1000003; external ID already in use.
So I went ahead and deleted external IDs for this account which was probably a mistake since I still got the 403 error and the following messages in logs/error_log :
[HTTP-71] WARN com.google.gerrit.server.account.AccountManager : Email xxx@domain.com is already assigned to account 1000001; cannot create external ID gerrit:xxx with the same email for account 1000057.
[HTTP-71] ERROR com.google.gerrit.httpd.auth.container.HttpLoginServlet : Unable to authenticate user "xxx"
com.google.gerrit.server.account.AccountException: Email 'x...@domain.com' in use by another account So it seems as if gerrit tries to create a new account instead of logging into mine.
Note that there is another user on the instance and he can still use gerrit UI.
I've searched some pevious topics but no solutions seem to work.
Thanks in advance for the help.