XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Installation form sources missing xo-server module

    Scheduled Pinned Locked Moved Xen Orchestra
    7 Posts 4 Posters 924 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • L Offline
      lukasz_s
      last edited by

      Hi

      I've done installation on Ubuntu 20.04.2. LTS according to this official tutorial:
      https://xen-orchestra.com/docs/from_the_sources.html

      but 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

      DanpD 1 Reply Last reply Reply Quote 0
      • DanpD Offline
        Danp Pro Support Team @lukasz_s
        last edited by

        @lukasz_s The docs need to be updated to reflect a recent change. Instead of bin/xo-server it should be dist/cli.mjs

        L julien-fJ 2 Replies Last reply Reply Quote 0
        • L Offline
          lukasz_s @Danp
          last edited by

          @danp Thanks for advice , that works.

          1 Reply Last reply Reply Quote 0
          • olivierlambertO Online
            olivierlambert Vates 🪐 Co-Founder CEO
            last edited by

            The doc will be updated I think. Ping @julien-f

            1 Reply Last reply Reply Quote 0
            • julien-fJ Offline
              julien-f Vates 🪐 Co-Founder XO Team @Danp
              last edited by

              @danp THe docs should already be up-to-date, can you point me where it's still incorrect?

              DanpD 1 Reply Last reply Reply Quote 0
              • olivierlambertO Online
                olivierlambert Vates 🪐 Co-Founder CEO
                last edited by

                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:

                1 Reply Last reply Reply Quote 0
                • DanpD Offline
                  Danp Pro Support Team @julien-f
                  last edited by

                  @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.

                  1 Reply Last reply Reply Quote 1
                  • First post
                    Last post