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
    81.8k
    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.
    • geek-babaG
      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...

      DustinB3403D 1 Reply Last reply Reply Quote 0
      • DustinB3403D
        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

        geek-babaG 1 Reply Last reply Reply Quote 0
        • geek-babaG
          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

            DustinB3403D 1 Reply Last reply Reply Quote 0
            • DustinB3403D
              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 "[email protected]"
                 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!

                DustinB3403D 1 Reply Last reply Reply Quote 0
                • DustinB3403D
                  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'
                    
                    dbeatoD 1 Reply Last reply Reply Quote 3
                    • dbeatoD
                      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
                        • DustinB3403D
                          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

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

                                @notverypunny yes.

                                You'll need to identify yourself to git though.

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

                                  @DustinB3403

                                  Looks like it's still saved in the git config somewhere, ran the script and it's now updated to 5.33 🙂

                                  Thanks!

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

                                    @notverypunny Yeah if you've already identified once before you won't have to again.

                                    1 Reply Last reply Reply Quote 0
                                    • DanpD
                                      Danp
                                      last edited by

                                      FYI, my backups started failing under 5.33 and I had to revert to the prior version. Let us know if you run into any issues.

                                      DustinB3403D notverypunnyN 2 Replies Last reply Reply Quote 1
                                      • DustinB3403D
                                        DustinB3403 @Danp
                                        last edited by

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

                                        FYI, my backups started failing under 5.33 and I had to revert to the prior version. Let us know if you run into any issues.

                                        All backups or a specific type? Have you created a GH issue with the devs?

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

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

                                          FYI, my backups started failing under 5.33 and I had to revert to the prior version. Let us know if you run into any issues.

                                          Good to know, I'll keep an eye on things and report back.... Just out of curiosity are they backup or backup-ng jobs?

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

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

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

                                            FYI, my backups started failing under 5.33 and I had to revert to the prior version. Let us know if you run into any issues.

                                            Good to know, I'll keep an eye on things and report back.... Just out of curiosity are they backup or backup-ng jobs?

                                            Everything should be using backup-ng.

                                            Backup was depreciated some time ago, so you should migrate your backup jobs to the new version.

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