XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Full backup failure when upgrading XOce

    Scheduled Pinned Locked Moved Unsolved Backup
    9 Posts 5 Posters 123 Views 5 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.
    • P
      ph7
      last edited by

      Problem solved. This is info only .
      It took me quite some time to figure out what the problem was.
      The solution was to update node from v24 to v26

      Here is what happened:
      After the race to get every thing updated after the security updates lately, I updated my XCP-ng, tightened firewall rules and the NAS settings, updated XOce (debian12) from a5077 of oct 29, after I read the [Security] VSA-2026-062: critical Xen Orchestra vulnerability fixed, please update on nov 10. I ran apt update and node was updated from 24.22.2 to 24.22.3 prior to running the XOce update. Now the backups didn't work.

      XOce told me I had no privilege to send backups to the NAS.
      If I tried test your remote it was OK. but I could not see any backups to restore.
      If I disabled/enabled the remote, I saw them again, but after another faulty backup, they where gone again.
      After a lot of testing, I ran the XOce update with 24.22.2 and the backups worked

      But I didn't want to run this "old" version of node so I adjusted my Ronivay install script from using node v24 to v26. and now the backups are all happy again.

      J poddingueP 2 Replies Last reply
      Reply Quote 0
      • J
        jr-m4 @ph7
        last edited by

        @ph7
        Thanks for sharing info. Maybe it will help someone

        1 Reply Last reply
        Reply Quote 0
        • poddingueP poddingue marked this topic as a question
        • poddingueP
          poddingue Vates 🪐 @ph7
          last edited by

          Thanks for writing it up. For anyone landing here: the from-sources guide asks for the latest Node.js LTS (docs), and that has been Node 26 since 28 October, so moving to 26 is also the documented setup now.

          I don't know why 24.22.3 broke the remote for you, though.

          J 1 Reply Last reply
          Reply Quote 0
          • J
            jr-m4 @poddingue
            last edited by

            @poddingue said:

            Thanks for writing it up. For anyone landing here: the from-sources guide asks for the latest Node.js LTS (docs), and that has been Node 26 since 28 October, so moving to 26 is also the documented setup now.

            I don't know why 24.22.3 broke the remote for you, though.

            Do note that there is a PR currently that explicitly says Node should be on 22
            https://github.com/vatesfr/xen-orchestra/pull/10790

            1 Reply Last reply
            Reply Quote 0
            • acebmxerA
              acebmxer
              last edited by

              @poddingue

              I have asked multiple times in the past about what version of Node.js should be. While using the latest LTS version was stated documentation keep using Node.js 22 in the examples. I do believe XOA is lacking on the latest LTS version last i looked into it. I think this is what may be causing the confusion.

              poddingueP 1 Reply Last reply
              Reply Quote 0
              • poddingueP
                poddingue Vates 🪐 @acebmxer
                last edited by

                Hmmm... 🤔

                I'll have to dig and ask the team.

                Thanks. 👍

                poddingueP 1 Reply Last reply
                Reply Quote 0
                • poddingueP
                  poddingue Vates 🪐 @poddingue
                  last edited by

                  Small correction to what I wrote above. There's an open PR for XO on Node 26 (https://github.com/vatesfr/xen-orchestra/pull/10721) whose description says several outgoing HTTP requests from xo-server fail on 26 until it's merged: web hooks, Netbox, XO Proxies, the patch list, imports from a URL. 😢

                  So the docs saying "latest LTS" doesn't make 26 a safe bet right now, and I shouldn't have made it sound like one. My bad. 🤦

                  @ph7, backups to a NAS aren't in that PR's list if I'm reading it right, which would fit with yours working, but the rest might bite you.
                  As @jr-m4 and @acebmxer pointed out, https://github.com/vatesfr/xen-orchestra/pull/10790 would pin the docs to Node 22 like XOA. I'm still asking the team which version they actually want people on, and I'll come back here once I know.

                  P 1 Reply Last reply
                  Reply Quote 1
                  • P
                    ph7 @poddingue
                    last edited by ph7

                    @poddingue
                    My XOce crashed this night during full backup
                    It was running but could not log in by cli or browser.
                    Force shutdown in XO-lite made it back.
                    Maybe a rebuild with node 22 ??

                    edit: it crashed during backup of itself
                    3 running VMs was backed up before the crash
                    here are some options for the backup job for running VMs
                    image.jpeg

                    florentF 1 Reply Last reply
                    Reply Quote 0
                    • florentF
                      florent Vates 🪐 XO Team @ph7
                      last edited by

                      @ph7 can you try with node 24 ?
                      are there any logs ?

                      1 Reply Last reply
                      Reply Quote 0

                      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