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

    Upgrade of XO fails

    Scheduled Pinned Locked Moved Solved Management
    5 Posts 3 Posters 138 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
              • First post
                Last post