@ronivay said in Forgot password for the webgui:
/opt/xo/xo-server/dist/recover-account-cli.mjs admin@admin.net
Thanks, it works
@ronivay said in Forgot password for the webgui:
/opt/xo/xo-server/dist/recover-account-cli.mjs admin@admin.net
Thanks, it works
@ronivay
how to sun the script?
when I run:
locate recover-account-cli.mjs
I get
/opt/xo/xo-builds/xen-orchestra-202207101640/packages/xo-server/dist/recover-account-cli.mjs
/opt/xo/xo-builds/xen-orchestra-202207101640/packages/xo-server/dist/recover-account-cli.mjs.map
/opt/xo/xo-builds/xen-orchestra-202207101640/packages/xo-server/src/recover-account-cli.mjs
/opt/xo/xo-builds/xen-orchestra-202207101726/packages/xo-server/dist/recover-account-cli.mjs
/opt/xo/xo-builds/xen-orchestra-202207101726/packages/xo-server/dist/recover-account-cli.mjs.map
/opt/xo/xo-builds/xen-orchestra-202207101726/packages/xo-server/src/recover-account-cli.mjs
/opt/xo/xo-builds/xen-orchestra-202211262158/packages/xo-server/dist/recover-account-cli.mjs
/opt/xo/xo-builds/xen-orchestra-202211262158/packages/xo-server/dist/recover-account-cli.mjs.map
/opt/xo/xo-builds/xen-orchestra-202211262158/packages/xo-server/src/recover-account-cli.mjs
/opt/xo/xo-src/xen-orchestra/packages/xo-server/src/recover-account-cli.mjs
I had a snapshot from some days ago, i used that, now I can login
but:
when I try to register with the:
xo-cli --register http://xo.my-company.net/api/admin@admin.net
with the right password, i het error:
getaddrinfo ENOTFOUND xo.my-company.net
Error: getaddrinfo ENOTFOUND xo.my-company.net
at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:109:26
and when I ping, I get:
ping: xo.my-company.net: Name or service not known
what is wrong?
xo.my-company.net -> which ip address should this be:
of the xcp-neg server or the server where the xen-orchestar is installed?
from where to run this command:
xo-cli --register http://xo.my-company.net/api/admin@admin.net
the xcp-neg server or the server where the xen-orchestar is installed?
Hi,
I forgot the password for the webui login
it was
login: admin@admin.net / password: admin
but I changed, and I forgot the new password
I read somewhere that yiu have to use this command in CLI
xo-server-recover-account youremail@here.com
but how to install CLI?
I use tyhe opensource version
I did "npm install -g xo-cli"
after
"xo-cli --register http://xo.my-company.net/api/admin@admin.net"
but I get the next error:
getaddrinfo ENOTFOUND xo.my-company.net
Error: getaddrinfo ENOTFOUND xo.my-company.net
at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:71:26)
what I have to do?