ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Xen Orchestra - Community Edition - Installing with Yarn

    IT Discussion
    xen orchestra updater ubuntu 16.10 xenorchestra xenserver xen orchestra community xo xoce xcp-ng debian ubuntu
    22
    296
    82.2k
    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.
    • D
      DustinB3403
      last edited by DustinB3403

      Someone else has already reported this as an issue, the LIVE distro is slimmed down so much that it doesn't have these repo's included, but you can install them.

      https://ubuntuforums.org/showthread.php?t=2397273

      Edit: Adding the multiverse repo with sudo add-apt-repository multiverse allows the install to work without issue.

      1 Reply Last reply Reply Quote 1
      • D
        DustinB3403
        last edited by DustinB3403

        I'm testing now with a possible patch for this, even though this is insane that Canonical would remove the multiverse repo from their mainline distro. . .

        FFS.

        1 Reply Last reply Reply Quote 1
        • D
          DustinB3403
          last edited by

          I've added a repo addition to the start of the script, literally it just adds the multiverse repository and updates and upgrades the system while it's at it.

          Of course this could cause issues with other issues so please test it with multiple distro's for me. If it causes issues, I'll simply add it as a troubleshooting step to make sure that the repo's are manually added prior to attempting the installation . . .

          1 Reply Last reply Reply Quote 0
          • D
            DustinB3403
            last edited by

            I've even made an issue on my own GH to find better ways of checking for and adding the repo if it's required.

            https://github.com/Jarli01/xenorchestra_installer/issues/25

            D 1 Reply Last reply Reply Quote 1
            • D
              Danp @DustinB3403
              last edited by

              @dustinb3403 See the first answer here for how to check for the pre-existence of the repository.

              1 Reply Last reply Reply Quote 1
              • D
                DustinB3403
                last edited by DustinB3403

                Ok I have a patch made besides that really ugly one that will check for the multiverse repo and add it, please test it on other distro's and let me know of any issues.

                https://github.com/Jarli01/xenorchestra_installer/pull/26

                For now I'm going to back out the previous changes since this is a better approach.

                Edit: It might fail if multiverse is already there. . . need to confirm more. But for now, going home to see my daughter!

                1 Reply Last reply Reply Quote 1
                • D
                  DustinB3403
                  last edited by

                  Can others test this patch for me and let me know what issues you might encounter. I get the expected results here, but I've only been able to test with the mini 18.04.1-live Ubuntu iso so far.

                  1 Reply Last reply Reply Quote 1
                  • G
                    geek-baba
                    last edited by

                    @dustinb3403 said in Xen Orchestra - Community Edition - Installing with Yarn:

                    https://github.com/Jarli01/xenorchestra_installer/pull/26

                    I was able to install on 18.04.1, its says successfully installed but for whatever reason not able to access it via the browser. Ran the updated script as well, that was successful too, still not able to access via web browser. Its a fresh install. Very weird...

                    D 1 Reply Last reply Reply Quote 0
                    • D
                      DustinB3403 @geek-baba
                      last edited by

                      @shwetkprabhat please provide the requested info from the GitHub help request.

                      https://github.com/Jarli01/xenorchestra_installer/issues/new

                      G 1 Reply Last reply Reply Quote 0
                      • G
                        geek-baba @DustinB3403
                        last edited by

                        @dustinb3403 Thanks was about to post the logs here and saw your reply, posted on github.

                        1 Reply Last reply Reply Quote 0
                        • B
                          BC @DustinB3403
                          last edited by BC

                          @DustinB3403
                          What was the fix for this?
                          sorry didn't reply on right line...
                          update script asking for Git Credentials

                          D 1 Reply Last reply Reply Quote 0
                          • D
                            DustinB3403 @BC
                            last edited by

                            @BC said in Xen Orchestra - Community Edition - Installing with Yarn:

                            @DustinB3403
                            What was the fix for this?
                            sorry didn't reply on right line...
                            update script asking for Git Credentials

                               git config --global user.email "you@example.com"
                               git config --global user.name "Your Name"
                            
                            B 1 Reply Last reply Reply Quote 1
                            • B
                              BC @DustinB3403
                              last edited by

                              @DustinB3403
                              oh... doh... sry... fixing didn't realize I was looking at the answer!

                              D 1 Reply Last reply Reply Quote 0
                              • D
                                DustinB3403 @BC
                                last edited by

                                @BC No worries.

                                1 Reply Last reply Reply Quote 0
                                • D
                                  dave_c
                                  last edited by

                                  As it may help someone else:
                                  I just made a new installation of XO Community (xo-server 5.32.2, xo-web 5.32.1) and found a problem with the web interface not fully working. As I use nginx as a reverse SSL proxy and HTTP authenticator I needed a custom .config.yaml

                                  It happens that the included sample.config.yaml is not ready to be used (it's a sample, I get it). The mounts: section does not include the required files to be served.
                                  Mine, which is a default installation worked with:

                                    mounts:
                                      '/': '/opt/xen-orchestra/packages/xo-web/dist'
                                  
                                  D 1 Reply Last reply Reply Quote 3
                                  • D
                                    dbeato @dave_c
                                    last edited by

                                    @dave_c said in Xen Orchestra - Community Edition - Installing with Yarn:

                                    As it may help someone else:
                                    I just made a new installation of XO Community (xo-server 5.32.2, xo-web 5.32.1) and found a problem with the web interface not fully working. As I use nginx as a reverse SSL proxy and HTTP authenticator I needed a custom .config.yaml

                                    It happens that the included sample.config.yaml is not ready to be used (it's a sample, I get it). The mounts: section does not include the required files to be served.
                                    Mine, which is a default installation worked with:

                                      mounts:
                                        '/': '/opt/xen-orchestra/packages/xo-web/dist'
                                    

                                    That is on the instructions by the way
                                    https://xen-orchestra.com/docs/from_the_sources.html

                                    72c33030-26b3-4c7a-8aaf-356d6e10477a-image.png

                                    D 1 Reply Last reply Reply Quote 1
                                    • D
                                      dave_c @dbeato
                                      last edited by dave_c

                                      @dbeato
                                      Shame on me for skipping that part, I lost about 1 hour. In my defense, their documentation is not consistent (so I was kind of lost).

                                      • Here it is recommending packages/xo-server/.xo-server.yaml
                                      • I remember having used packages/xo-server/.config.yaml
                                      • Now I'm using /etc/xo-server/config.yaml per https://xen-orchestra.com/docs/configuration.html

                                      Thank you!

                                      1 Reply Last reply Reply Quote 2
                                      • D
                                        DustinB3403
                                        last edited by

                                        Also worth noting the installation script in the OP (from my GH) makes this change for you.

                                        D 1 Reply Last reply Reply Quote 4
                                        • D
                                          dave_c @DustinB3403
                                          last edited by dave_c

                                          @DustinB3403
                                          I used:
                                          sudo bash
                                          sudo curl https://raw.githubusercontent.com/Jarli01/xenorchestra_installer/master/xo_install.sh | bash

                                          But I had to make the change manually.

                                          [Edit]
                                          Mmm... I remember that something didn't work after I configured the reverse proxy and changed the listening port. I had lots of problems but discarded the nginx part as it was working flawlessly so I I tried to update (don't ask, the brain works weird past mid night).
                                          After that I copied the sample config.

                                          So, disregard my post if you use the OP installer. For sure I messed something in my installation

                                          1 Reply Last reply Reply Quote 0
                                          • notverypunnyN
                                            notverypunny @DustinB3403
                                            last edited by

                                            @DustinB3403 said in Xen Orchestra - Community Edition - Installing with Yarn:

                                            As the original topic to install XO is quite long, and has a lot of history now is as good a time as any to create a new thread on how to both install and update your XO installations.

                                            This has been tested against Ubuntu 16.10 with SSH access as the only added feature.

                                            Here you can find the github repo where the installation script is kept (and updated to meet any new requirements of XOA)

                                            To install

                                            sudo bash
                                            sudo curl https://raw.githubusercontent.com/Jarli01/xenorchestra_installer/master/xo_install.sh | bash

                                            That should be all you need, follow the on screen prompts and you'll have yourself a 100% functional XO installation within minutes.

                                            To update and to enable some functionality, if you run the below you'll get the ability to import your configuration settings.

                                            sudo bash
                                            sudo curl https://raw.githubusercontent.com/Jarli01/xenorchestra_updater/master/xo-update.sh | bash -s -- -f

                                            There you go, simple and done.

                                            Maybe a dumb question, but just to confirm: if I've already run both the installer script and the updater script above, can I update / upgrade XO by simply re-running

                                            sudo bash
                                            sudo curl https://raw.githubusercontent.com/Jarli01/xenorchestra_updater/master/xo-update.sh | bash -s -- -f ?

                                            Thanks

                                            D 1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 9
                                            • 10
                                            • 11
                                            • 12
                                            • 13
                                            • 14
                                            • 15
                                            • 11 / 15
                                            • First post
                                              Last post