"Email has already been taken" on self-host

I newly created a gitlab self-host but I got a message “Email has already been taken” when I try to create a user.

I tried to search that there are no one use this email on this self-host.

I’m not sure this is relevant to that the email, which I use, is exist on Gitlab.com because, I just imported some project from Gitlab.com into my selft-host.

My bad. I just found that someone attach my email to his/her account.

User.find_by_any_email('EMAIL address')
Email.find_by_email('EMAIL address')

This commands are useful to check.


1 Like

Glad you got it figured out @puksigon, thanks for sharing the solution!