Installation form sources missing xo-server module
-
Hi
I've done installation on Ubuntu 20.04.2. LTS according to this official tutorial:
https://xen-orchestra.com/docs/from_the_sources.htmlbut there is something wrong, there is no
~/xen-orchestra/packages/xo-server/bin
I'm able to run XO only by starting it with command
yarn start
but there is no directory bin with modules to run this server by systemctl.
I did exactly like tutorial says .
Regards
-
@lukasz_s The docs need to be updated to reflect a recent change. Instead of
bin/xo-server
it should bedist/cli.mjs
-
@danp Thanks for advice , that works.
-
The doc will be updated I think. Ping @julien-f
-
@danp THe docs should already be up-to-date, can you point me where it's still incorrect?
-
I think in the https://xen-orchestra.com/docs/from_the_sources.html#always-running section.
yarn global add forever yarn global add forever-service # Be sure to edit the path below to where your install is located! cd /home/username/xen-orchestra/packages/xo-server/bin/ # Change the username below to the user owning XO forever-service install orchestra -r username -s xo-server
The forever-service command above must be run in the xo-server bin directory. Now you can manage the service, and it will start on boot with the machine:
-
@julien-f I believe that you already updated the docs, but that occurred after the postings above.
You may want to review the section discussing
forever-service
to be sure it doesn't need modified.