Unable to reconnect XCP server after XOA update
-
Check the IP address under
Setttings > Serversto make sure it points to the current pool master.Also would be good to make sure that you don't have another device on the network using the same IP address.
-
@Danp Thnks for the replys
It's a Pool master and pointing on the good IP address.
I've check and no conflict
-
@erwand Is this XO source, not XOA? If It's XO source, did you update
node(18.17.1) and other required packages? -
@Andrew node version is v20.5.1
-
@erwand Please downgrade to 18. It's unknown if 20 will work. 18.17 is the current supported version for XO source.
-
@Andrew Same things happen wit node 18.17.1
-
In fact, the problem seems to come from the way I launch the orchestra server.
If I run it manually with the "Yarn star" command, everything works fine.
However, if I use the "Forever-service" method in this case, the XCP servers connect then disconnect before displaying an authentication error message.
I've tried running xoa-server as root and also sudo with another user and the problem is identical.
But if i just user "forever start dist/cli.mjs" as root it works
Does anyone have any ideas?
-
How old was your XO install? Have you reviewed this thread?
-
@Danp a couple of days
I've make some new tests if it can help:
When i try to start orchestra using this commande in rc.local of my ubuntu 20.04.6
cd /usr/src/xen-orchestra/packages/xo-server && forever start dist/cli.mjsit's not working, i can connect to the web interface bu unable to connect to XCP
but if i lauch the same command on the CLI just after the start, it works
-
Sounds like a rights issue.
