Recover Admin Password when XOA CLI is not installed
-
Hi,
Something happened to my community edition install where LDAP plugin is not working. And now I am locked out. I was pretty excited when I found this:
https://xen-orchestra.com/docs/troubleshooting.html#recover-web-login-password only to realize that I dont have XO-CLI installed and to install it I need to know the admin username and password.
Is there any other way for me to create an admin user for the installation?
Any help would be appreciated. -
That's why XOA is great, all of it is bundled so no surprise

About your original problem, maybe @julien-f has an idea. Mine is a bit destructive so let's see first if he comes with better idea than mine.
-
@Pechkin000
xo-server-recover-accountis not related toxo-cli, it's a small tool that is installed alongsidexo-server.But ff you have no way to access the server XO is installed on you cannot recover an account.
-
What about removing the Redis DB? (or the right record in the DB) so xo will recreate a default user?
-
@olivierlambert Yes, flushing the Redis database will trigger the creation of a default user. But it needs CLI access to the machine too.
-
I'm not sure it's an issue there. Let's see what @Pechkin000 says

-
@julien-f said in Recover Admin Password when XOA CLI is not installed:
@Pechkin000 xo-server-recover-account is not related to xo-cli, it's a small tool that is installed alongside xo-server.
Hi,
Thanks for getting back to me guys. I do have root access to the server itself. However I am getting xo-server-recover-account: command not found when I try to run it, so I assumed it was part of the xo-cli.
Now I am guessing its just not in PATH so I would need to run it from the directory it resides in. Would you be able to tell me where it is? -
@Pechkin000 It should be installed alongside
xo-server, it depends how you installed XO on this.But still, it requires root access for security.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login