User Exists Error When Creating New User in HestiaCP

Hello,

I am facing an issue while setting up HestiaCP on my server and need some help. :upside_down_face:

I am rebuilding my Hestia server and trying to pull a backup from my old server onto the new one. When I attempt to create a new admin user with the same name as my old server, I get a “user exists” error, even though the user doesn’t seem to exist within HestiaCP. My Ubuntu login name is the same, but I didn’t expect this to cause a conflict since HestiaCP users and system users should be separate.

I listed existing HestiaCP users using sudo v-list-users to confirm that the user doesn’t already exist.

I created a new user with the first letter capitalized, which allowed me to create the user, but when I tried to restore the backup; it didn’t restore properly.

I ensured that the system user and HestiaCP user should not conflict, but the error persists. I have checked Contributing to Hestia’s documentation | Hestia Control Panel react native documentation guide but still need help .

Has anyone else faced this issue where HestiaCP reports that a user exists when it doesn’t?

Is there a way to resolve this conflict without having to rename the user; ensuring that my backups restore properly?

Could there be any other underlying issues causing this conflict that I might have overlooked?

Any guidance / suggestions on how to fix this would be greatly appreciated!

Thank you! :slightly_smiling_face:

Hestia uses the same user mechanic as Ubutu / Debian does.

So you can’t create users that have the same user name as an existing user in Linux

Delete the existing Linux user and do it again

Also duplicate of User Exists error - #7 by rosshaden