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.0k
    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.
    • B
      black3dynamite @Danp
      last edited by

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

      @dustinb3403 right, but I seem to recall a separate issue where there was a dependency that required a higher node version. <shrug>

      https://xen-orchestra.com/docs/from_the_sources.html#packages-and-pre-requisites

      From the link, it's best to always use LTS version of Node.
      Nodejs 8.x is the latest LTS.

      1 Reply Last reply Reply Quote 0
      • N
        noelweston
        last edited by

        Thanks for the various replies. I did also try going back to the working snapshot and running the update script with "-n lts" - no different.

        I have now tried removing the node_modules directory and rebuilding as in the link from Dan - again, no different.

        Given that XO is the only thing on this machine, node must have been installed originally with Xen Orchestra. It could have been updated with regular OS updates, I guess, but Xen Orchestra is working at the snapshot point and only fails when I try to run the updater script.

        System reports 7.6, and I was apparently able to change to lts. Running the updater again then - same results. So I'm back at my snapshot now, with XO running but unable to update...

        Thanks again.

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

          @noelweston so the simple answer is export your configuration file from your current Orchestra installation build a new instance on a brand new VM and then import your configuration file.

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

            XO is designed to be disposalable

            1 Reply Last reply Reply Quote 3
            • N
              noelweston
              last edited by

              OK, hadn't really thought of it that way.
              I've built a fresh Ubuntu 18.04 VM and reinstalled, and all seems happy enough... just running my backup now to check.

              Thanks for all the assistance.

              Noel

              1 Reply Last reply Reply Quote 4
              • M
                momurda
                last edited by

                I have tried this installer script at least half a dozen times over the last 2 years. Not once has it ever worked.
                Today i try again and it doesnt work still.

                B D D 3 Replies Last reply Reply Quote 0
                • B
                  bnrstnr @momurda
                  last edited by

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

                  I have tried this installer script at least half a dozen times over the last 2 years. Not once has it ever worked.
                  Today i try again and it doesnt work still.

                  On Ubuntu 18.04?

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

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

                    I have tried this installer script at least half a dozen times over the last 2 years. Not once has it ever worked.
                    Today i try again and it doesnt work still.

                    You're the first person to say that this hasn't worked for them, especially over such a length of time.

                    What distro are you trying this on?

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

                      @momurda "Doesn't work" isn't sufficient feedback for us to determine why you are having such issues with this script.

                      Perhaps you could show us the commands you used to perform the installation and the output from the SSH session.

                      M 1 Reply Last reply Reply Quote 3
                      • M
                        momurda @Danp
                        last edited by

                        I typed in the command on the github page. It says it completed successfully, but no xo.
                        Ill just use the virtual appliance since it works.

                        S D 2 Replies Last reply Reply Quote 0
                        • S
                          scottalanmiller @momurda
                          last edited by

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

                          I typed in the command on the github page. It says it completed successfully, but no xo.
                          Ill just use the virtual appliance since it works.

                          What OS, though?

                          1 Reply Last reply Reply Quote 0
                          • M
                            momurda
                            last edited by

                            3 separate versions of ubuntu and even different minor versions of them. 16, 17 and 18 over the last two years. Never works, theres alwasys some package not found, some configuration not supported, something that keeps it from working, yet the output still says it works.

                            D B B 3 Replies Last reply Reply Quote 0
                            • D
                              DustinB3403 @momurda
                              last edited by

                              @momurda are you using the mini iso by chance?

                              1 Reply Last reply Reply Quote 0
                              • B
                                black3dynamite @momurda
                                last edited by

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

                                3 separate versions of ubuntu and even different minor versions of them. 16, 17 and 18 over the last two years. Never works, theres alwasys some package not found, some configuration not supported, something that keeps it from working, yet the output still says it works.

                                For Ubuntu 18.04, are using the new installer or the old version?
                                If you are using KVM, are you deploying Ubuntu using virt-builder?

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

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

                                  I typed in the command on the github page. It says it completed successfully, but no xo.

                                  You need to dig deeper to figure out why it isn't working correctly in your environment.

                                  For instance, from an SSH session, you could issue the command sudo systemctrl status xo-server to check and see if the service successfully started and is actvie.

                                  To view the logs, you can enter the command sudo journalctl -u xo-server -f -n 50

                                  M 1 Reply Last reply Reply Quote 2
                                  • M
                                    momurda @Danp
                                    last edited by

                                    @danp I know how to check error logs. The point is the installer keeps on going after errors are encountered, then says everything is ok when it is done.
                                    Like just now, "no package redis-server available" well that seems pretty important, why not err out there and tell me? Instead it goes through and says "Your xo is now ready, go to ip address and start using it"

                                    D 1 Reply Last reply Reply Quote 0
                                    • B
                                      bnrstnr @momurda
                                      last edited by

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

                                      3 separate versions of ubuntu and even different minor versions of them. 16, 17 and 18 over the last two years. Never works, theres alwasys some package not found, some configuration not supported, something that keeps it from working, yet the output still says it works.

                                      I've deployed this at least a dozen times on all of these releases and I don't recall a time that it hasn't worked :man_shrugging:

                                      It looks like a few of us are willing to help if you have the time to post your logs...

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

                                        @momurda Understood. I'm sure the error checking could be improved. However, you haven't given any concrete examples to show where it is failing. If we can't duplicate the issue, then it is difficult for us to fix.

                                        I've never seen the issue with redis-server. Can you provide a link to the ISO you are using to perform the OS install?

                                        1 Reply Last reply Reply Quote 1
                                        • B
                                          bnrstnr
                                          last edited by

                                          Sanity check here, just installed on the regular 18.04 iso

                                          Also, for shits and giggles, just did it on the mini.iso since I've never done it before. Selected "basic server" option with nothing but apt install openssh-server and ufw allow 80/tcp

                                          @momurda Something funky is definitely going on. Any proxy or firewall stuff that could be blocking some of the packages? I seem to remember somebody having that problem in the past, too...

                                          D 1 Reply Last reply Reply Quote 0
                                          • M
                                            momurda
                                            last edited by

                                            It is the 1804 server iso
                                            The first step of the script fails and cant find redis-server, it then continues on through and installs everything else without a db.
                                            0_1532984581348_bcab9e6c-28e0-4cbb-9a83-054bd2adca7b-image.png
                                            https://mirror.pnl.gov/releases/bionic/ubuntu-18.04.1-live-server-amd64.iso

                                            B 1 Reply Last reply Reply Quote 1
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 7
                                            • 14
                                            • 15
                                            • 5 / 15
                                            • First post
                                              Last post