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

    Problems Upgrading XenOrchestra

    IT Discussion
    xen xenorchestra xenserver xcp
    5
    26
    3.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.
    • P
      papaf @papaf
      last edited by

      @papaf Ok, the compilation did more things this time, way more. But in the end, the result is unfortunately the same. XO isn't starting and, as you can see from the output linked, I have no xo-server nor xo-web in /opt, just the .old copies.
      I've loaded the output on pastebin because it's gigantic. BTW, I have no idea why it prints all this stuff...
      Compilation output on pastebin

      Thanks again!

      B DustinB3403D 2 Replies Last reply Reply Quote 0
      • B
        bnrstnr @papaf
        last edited by

        @papaf I would honestly just start with a fresh install at this point. It's so trivial to get a new instance up and running.

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

          @papaf I don't see any errors in the upgrade log.

          If you run systemctl status xo-server.service what output do you get?

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

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

            @papaf I would honestly just start with a fresh install at this point. It's so trivial to get a new instance up and running.

            Also this isn't a bad idea. The only downside is @papaf might not have a recent configuration backup that could be used to restore his settings.

            But even setting up the settings again generally isn't a difficult process.

            1 Reply Last reply Reply Quote 1
            • P
              papaf @DustinB3403
              last edited by

              @dustinb3403 This the output:

              ● xo-server.service - XO Server
              Loaded: loaded (/etc/systemd/system/xo-server.service; enabled; vendor preset: enabled)
              Active: inactive (dead) (Result: exit-code) since Fri 2018-06-08 15:16:43 CEST; 1h 16min ago
              Process: 7992 ExecStart=/usr/local/bin/node ./bin/xo-server (code=exited, status=200/CHDIR)
              Main PID: 7992 (code=exited, status=200/CHDIR)

              Jun 08 15:16:42 xong systemd[1]: xo-server.service: Main process exited, code=exited, status=200/CHDIR
              Jun 08 15:16:42 xong systemd[1]: xo-server.service: Unit entered failed state.
              Jun 08 15:16:42 xong systemd[1]: xo-server.service: Failed with result 'exit-code'.
              Jun 08 15:16:43 xong systemd[1]: xo-server.service: Service hold-off time over, scheduling restart.
              Jun 08 15:16:43 xong systemd[1]: Stopped XO Server.
              Jun 08 15:16:43 xong systemd[1]: xo-server.service: Start request repeated too quickly.
              Jun 08 15:16:43 xong systemd[1]: Failed to start XO Server.

              But this is expected as there's no active directory in /opt, just the .old copies.

              Also, how do I backup the old config and how do I start clean?

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

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

                @dustinb3403 This the output:

                ● xo-server.service - XO Server
                Loaded: loaded (/etc/systemd/system/xo-server.service; enabled; vendor preset: enabled)
                Active: inactive (dead) (Result: exit-code) since Fri 2018-06-08 15:16:43 CEST; 1h 16min ago
                Process: 7992 ExecStart=/usr/local/bin/node ./bin/xo-server (code=exited, status=200/CHDIR)
                Main PID: 7992 (code=exited, status=200/CHDIR)

                Jun 08 15:16:42 xong systemd[1]: xo-server.service: Main process exited, code=exited, status=200/CHDIR
                Jun 08 15:16:42 xong systemd[1]: xo-server.service: Unit entered failed state.
                Jun 08 15:16:42 xong systemd[1]: xo-server.service: Failed with result 'exit-code'.
                Jun 08 15:16:43 xong systemd[1]: xo-server.service: Service hold-off time over, scheduling restart.
                Jun 08 15:16:43 xong systemd[1]: Stopped XO Server.
                Jun 08 15:16:43 xong systemd[1]: xo-server.service: Start request repeated too quickly.
                Jun 08 15:16:43 xong systemd[1]: Failed to start XO Server.

                But this is expected as there's no active directory in /opt, just the .old copies.

                Also, how do I backup the old config and how do I start clean?

                In order to export a config backup the system would need to be working, do you have a snapshot you can revert to that was working? If so, revert login to Export, export the config file and then make a new Debian/Ubuntu VM and reinstall. Then just import your config file into the new installation and shutdown the old installation.

                P 1 Reply Last reply Reply Quote 0
                • P
                  papaf @DustinB3403
                  last edited by

                  @dustinb3403 If I rename the two .old directories in /opt, xo starts.

                  You really think it's necessary to start from scratch? Isn't there a way to clean everything xo related and compile from the start?

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

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

                    @dustinb3403 If I rename the two .old directories in /opt, xo starts.

                    You really think it's necessary to start from scratch? Isn't there a way to clean everything xo related and compile from the start?

                    Well there might be, the most simple approach is often to just build a new instance. XO is designed to be disposable, since you can always just import your configuration.

                    Rebuilding takes maybe 15 minutes (in most cases).

                    P 1 Reply Last reply Reply Quote 0
                    • P
                      papaf @DustinB3403
                      last edited by

                      @dustinb3403 In case I want to recompile from scratch on the same VM, should I clear /opt? Is that enough?

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

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

                        @dustinb3403 In case I want to recompile from scratch on the same VM, should I clear /opt? Is that enough?

                        Yeah just remove the folders that have xen-orchestra.

                        P 1 Reply Last reply Reply Quote 0
                        • P
                          papaf @DustinB3403
                          last edited by

                          @dustinb3403 Ugh, I ran into yet another issue: apparently, recent ubuntu distro have a great deal of issue booting on XenServer 7.0, which I need to keep... can't update...
                          At the same time, it seems every boot media for 16.10 has disappeared from existence... so, what's the recommended ubuntu distro for this, that is available currently for download?

                          DustinB3403D black3dynamiteB 2 Replies Last reply Reply Quote 0
                          • DustinB3403D
                            DustinB3403 @papaf
                            last edited by

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

                            @dustinb3403 Ugh, I ran into yet another issue: apparently, recent ubuntu distro have a great deal of issue booting on XenServer 7.0, which I need to keep... can't update...
                            At the same time, it seems every boot media for 16.10 has disappeared from existence... so, what's the recommended ubuntu distro for this, that is available currently for download?

                            "Current" is the recommended distro, always current. If you are having issues with Ubuntu you can use Debian as well.

                            1 Reply Last reply Reply Quote 0
                            • black3dynamiteB
                              black3dynamite @papaf
                              last edited by

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

                              @dustinb3403 Ugh, I ran into yet another issue: apparently, recent ubuntu distro have a great deal of issue booting on XenServer 7.0, which I need to keep... can't update...
                              At the same time, it seems every boot media for 16.10 has disappeared from existence... so, what's the recommended ubuntu distro for this, that is available currently for download?

                              Are you using the latest version of XenServer? The latest version is 7.5

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

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

                                Are you using the latest version of XenServer? The latest version is 7.5

                                His hardware might have compatibility issues or some other such issue.

                                P 1 Reply Last reply Reply Quote 0
                                • P
                                  papaf @DustinB3403
                                  last edited by

                                  @dustinb3403 It's more like no downtime allowed, hence no chance to update. I'm trying with 18.04 server, but I need to be able to specify a couple of kernel parameters at boot or it won't start...

                                  DustinB3403D black3dynamiteB 2 Replies Last reply Reply Quote 0
                                  • DustinB3403D
                                    DustinB3403 @papaf
                                    last edited by

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

                                    @dustinb3403 It's more like no downtime allowed, hence no chance to update. I'm trying with 18.04 server, but I need to be able to specify a couple of kernel parameters at boot or it won't start...

                                    The mythos of "No downtime" means your business doesn't understand that scheduled downtime is usually way less downtime compared to unplanned downtime.

                                    1 Reply Last reply Reply Quote 0
                                    • black3dynamiteB
                                      black3dynamite @papaf
                                      last edited by

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

                                      @dustinb3403 It's more like no downtime allowed, hence no chance to update. I'm trying with 18.04 server, but I need to be able to specify a couple of kernel parameters at boot or it won't start...

                                      Which Ubuntu 18.04 iso did you download?

                                      By default, you end up downloading there new installer.
                                      http://releases.ubuntu.com/18.04/ubuntu-18.04-live-server-amd64.iso

                                      The old installer can be found here:
                                      http://cdimage.ubuntu.com/releases/18.04/release/ubuntu-18.04-server-amd64.iso

                                      P 1 Reply Last reply Reply Quote 1
                                      • P
                                        papaf @black3dynamite
                                        last edited by

                                        @black3dynamite I used the old one, and it worked. I succesfully installed xo now. Normally, I'd like to know what went wrong, but it's too late and friday 🙂

                                        1 Reply Last reply Reply Quote 0
                                        • 1
                                        • 2
                                        • 1 / 2
                                        • First post
                                          Last post