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 1.7k 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 Offline
            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 Offline
                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

                  Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                  Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                  With your input, this post could be even better 💗

                  Register Login
                  • First post
                    Last post