So… how do I recreate the account after deleting it if I’m getting the error “username_exists”? The whole reason I deleted the account was because I couldn’t remember the password.
I read somewhere that I have to delete files from the .storage folder. I’m not sure what file(s) to delete. I am very motivated to use the same username… however, I don’t want to lose all my other users and their respective passwords.
Is there a reason why administrators can’t just change passwords for regular users?
I have the same issue, can;t add a new ‘user’ as already exists. But nothing shows under user or people for that name or display name. Keen to not break anything, and would rather not create a bastardised name to work around.
I feel like this is kind of a security breach. I’ll describe my findings:
As admin: Settings → Users → Create new user (popup 1 opens)
Tick “allow user to log in”
(Popup 2 opens) that asks me for a username and password. I enter the username and password
I get sent back to popup 1 but press “Cancel”, assuming that Popup 2 created the user
I get sent back to the user list. After refreshing the newly created user does not exist.
I later find out that there is a difference between a “person” and a “user”. I can now use the username and password that I just created to login, even though the person is not listed in the user list.
I also figured out there is no way to delete this username and password through the UI. Instead you have to check all files in the .storage folder for references to the UUID of the username and password and then restart the docker image.
Keep in mind auth_provider.homeassistant.bin is a json file with bin extension. So need to edit with privileges under gui. Otherwise from within the shell of the device where HA is running.