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

    Lates commit breaks install

    Scheduled Pinned Locked Moved Management
    3 Posts 2 Posters 31 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.
    • A Offline
      acebmxer
      last edited by

      So I just tried updating to the latest commit 0286f from 7ea86.

      I get the following error....

      error @xen-orchestra/disk-cli@0.1.0: The engine "node" is incompatible with this module. Expected version ">=22.3". Got "20.20.1"
      error Found incompatible module.
      

      Just to confirm Node is updated to 22.3 as the new default?

      whole output if it helps...

      [INFO] Checking for updates...
      [INFO] Installed commit: 7ea8640ad028
      [INFO] Remote commit:    0286f7786a44
      [INFO] New version available. Proceeding with update...
      [INFO] Stopping xo-server service...
      [INFO] Creating backup of current installation...
      [SUCCESS] Backup created: /opt/xo-backups/xo-backup-20260324_150257
      [INFO] Cleaning old backups (keeping 5)...
      [INFO] Removing 1 old backup(s)...
      [INFO] Removing old backup: xo-backup-20260316_203641
      [SUCCESS] Old backups cleaned
      [INFO] Pulling latest changes...
      Updated 1 path from the index
      remote: Enumerating objects: 249, done.
      remote: Counting objects: 100% (224/224), done.
      remote: Compressing objects: 100% (67/67), done.
      remote: Total 249 (delta 164), reused 203 (delta 157), pack-reused 25 (from 1)
      Receiving objects: 100% (249/249), 83.17 KiB | 11.88 MiB/s, done.
      Resolving deltas: 100% (166/166), completed with 25 local objects.
      From https://github.com/vatesfr/xen-orchestra
         7ea8640ad..0286f7786  master                           -> origin/master
       * [new branch]          doc_xo_metrics                   -> origin/doc_xo_metrics
       + 8ba0f8c1f...1db02bb4c feat/mcp-list-srs-get-sr-details -> origin/feat/mcp-list-srs-get-sr-details  (forced update)
       + 4f06d5fdf...67ab3a101 translate                        -> origin/translate  (forced update)
         eb5a31a1b..a937c9d46  xo6/fix-reset-template-selector-new-vm -> origin/xo6/fix-reset-template-selector-new-vm
      branch 'master' set up to track 'origin/master'.
      Reset branch 'master'
      Your branch is up to date with 'origin/master'.
      [INFO] Building Xen Orchestra (this may take a while)...
      [INFO] Sufficient swap space available: 4095MB
      [INFO] Clearing build cache for clean rebuild...
      yarn install v1.22.22
      [1/5] Validating package.json...
      [2/5] Resolving packages...
      [3/5] Fetching packages...
      error @xen-orchestra/disk-cli@0.1.0: The engine "node" is incompatible with this module. Expected version ">=22.3". Got "20.20.1"
      error Found incompatible module.
      info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
      
      1 Reply Last reply Reply Quote 0
      • olivierlambertO Offline
        olivierlambert Vates 🪐 Co-Founder CEO
        last edited by

        Ping @Team-XO-Backend

        1 Reply Last reply Reply Quote 0
        • A Offline
          acebmxer
          last edited by acebmxer

          @olivierlambert we posted at same time...

          Saw notation in commit before last -

                - name: Setup Node environment
                  uses: actions/setup-node@v4
                  with:
                    node-version: '20'
                    node-version: '22.3'
                    cache: 'yarn'
          

          Edited my config file to use node 22 and install completed and XO is backup and running.

          Edit - I need to update my config/script as it did not like me specifying node 22.3. When i just used node 22 it installed v22.22.1

          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