Closed rjlan closed 2 years ago
Thank you for reporting this. I can reproduce this and it seems to be caused by commit https://github.com/vatesfr/xen-orchestra/commit/49890a09b7a3c4bcbe7f462577c6d0a7da8b7006
Looks like default user created in any installation within or after that commit is broken and one can't login with it. Actually all user creation (their passwords specifically) is broken. For the time being you can get it to work by doing the following:
Edit /home/rjlan/XenOrchestraInstallerUpdater/xo-install.cfg
and change BRANCH="master"
-> BRANCH="dfce56cee"
, rerun xo-install.sh
and choose update. Once update is complete, run sudo /opt/xo/xo-server/dist/recover-account-cli.mjs admin@admin.net
and insert the password you wish. Login should now work normally.
Once the issue is fixed, you should change back to using master branch for the future updates to work properly.
I assume this was reported by you as well: https://xcp-ng.org/forum/topic/6065/invalid-credentials-in-new-installation-from-source ? I'll pass my findings there as it's something i can't fix.
E: edited the workaround instructions slightly so that redis database isn't removed
Thanks, am up and running. I very much appreciate the help.
Just found this and re-running the install with the branch change. Fingers crossed lol thought I was doing something wrong for the last 4 hours.
Edit: worked great. You are awesome to find the cause and post a workaround here so quickly
This is now fixed in: https://github.com/vatesfr/xen-orchestra/commit/ba03a4849831deecda7b8139374b5c43bf90d2b3
Hi, ran XenOrchestraInstallerUpdater on a fresh install of Debian 11.3.0 running in a VM on Proxmox. Getting an error logging in using the credentials printed in the terminal after the installer finished (admin@admin.net/admin). Looking into the xo log, I am seeing this error:
As I'm not familiar with XenOrchestra, I'm not sure what my options are for getting logged in/creating a user/etc.
Installer: