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

    Upgrade of XO fails

    Scheduled Pinned Locked Moved Solved Management
    5 Posts 3 Posters 603 Views 2 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.
    • M Offline
      Murf
      last edited by

      I am trying to run an update (Option 2) on my XO which I built in Feb last year, and last updated around March last year.
      I get this error:

      error @vates/generator-toolbox@1.0.1: The engine "node" is incompatible with this module. Expected version ">=20.18". Got "18.19.1"
      error Found incompatible module.
      info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
      + rm -rf /opt/xo/xo-builds/xen-orchestra-202504240934
      
      

      Any help much appreciated!

      A 1 Reply Last reply Reply Quote 0
      • A Offline
        Andrew Top contributor @Murf
        last edited by

        @Murf You need to upgrade NodeJS to at least version 20.x

        Current version is 22.x, so you should just upgrade to that.

        M 1 Reply Last reply Reply Quote 0
        • M Offline
          Murf @Andrew
          last edited by

          @Andrew Ok thanks, I assumed the install script would handle that?
          Murf

          1 Reply Last reply Reply Quote 0
          • M Offline
            Murf
            last edited by

            Resolved with the following commands:

            sudo npm install n -g
            n stable
            

            Please close

            1 Reply Last reply Reply Quote 0
            • olivierlambertO olivierlambert marked this topic as a question on
            • olivierlambertO olivierlambert has marked this topic as solved on
            • olivierlambertO Offline
              olivierlambert Vates 🪐 Co-Founder CEO
              last edited by

              Hi,

              Indeed, the pre requisite section is pretty clear about it: https://docs.xen-orchestra.com/installation#packages-and-pre-requisites

              And the error message was clear too:

              The engine "node" is incompatible with this module. Expected version ">=20.18". Got "18.19.1"
              

              However, if you think there's a way to improve this, let us know, we'll be happy to assist 🙂

              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