Lates commit breaks install
-
Here is the entire log, not very long, but it shows that nodejs and yarn are up to date.
$ cat /home/gsbrown/XenOrchestraInstallerUpdater/logs/xo-install.log-202604171616 + command -v git /usr/bin/git + cd . && git config --get remote.origin.url https://github.com/ronivay/XenOrchestraInstallerUpdater.git + cd . && git status --porcelain ?? .yarn/ ?? .yarnrc.yml ?? ls ?? nodejsv24-updater-for-24.04-LTS.sh ?? package.json Running script version 188de7e with config: PORT="443" PROXY_PORT="443" INSTALLDIR="/opt/xo" SELFUPGRADE=true CONFIGUPDATE=true REPOSITORY="https://github.com/vatesfr/xen-orchestra" BRANCH="master" PLUGINS="all" AUTOUPDATE="true" OS_CHECK="true" ARCH_CHECK="true" PRESERVE="3" PATH_TO_HTTPS_CERT=$INSTALLDIR/xo.crt PATH_TO_HTTPS_KEY=$INSTALLDIR/xo.key + id -u 0 + uname -m x86_64 + command -v xe + grep ^VERSION_ID /etc/os-release | cut -d'=' -f2 | grep -Eo '[0-9]{1,2}' | head -1 24 + grep ^NAME /etc/os-release | cut -d'=' -f2 | sed 's/"//g' | awk '{print $1}' Ubuntu + grep ^GRUB_DISTRIBUTOR /etc/default/grub | grep 'Xen Orchestra' + command -v dnf + command -v apt-get /usr/bin/apt-get + command -v systemctl /usr/bin/systemctl + openssl x509 -pubkey -noout -in /opt/xo/xo.crt | openssl md5 MD5(stdin)= ba9cd49e64a4b58a2f1e1a2b60784d60 + openssl pkey -pubout -in /opt/xo/xo.key -outform PEM | openssl md5 MD5(stdin)= ba9cd49e64a4b58a2f1e1a2b60784d60 + df -P -k '/opt' | tail -1 | awk '{print $4}' 5484968 + grep MemTotal /proc/meminfo | awk '{print $2}' 12239640 + node -v 2>/dev/null| grep -Eo '[0-9.]+' | cut -d'.' -f1 23 + curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg -o /etc/apt/trusted.gpg.d/yarn.asc + curl -sL https://deb.nodesource.com/setup_24.x | bash - 2026-04-17 16:16:35 - Installing pre-requisites WARNING: apt does not have a stable CLI interface. Use with caution in scripts. Hit:1 https://dl.yarnpkg.com/debian stable InRelease Hit:2 https://deb.nodesource.com/node_24.x nodistro InRelease Get:3 http://security.ubuntu.com/ubuntu noble-security InRelease [126 kB] Hit:4 http://us.archive.ubuntu.com/ubuntu noble InRelease Get:5 http://us.archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB] Get:6 http://security.ubuntu.com/ubuntu noble-security/main amd64 Components [21.5 kB] Get:7 http://us.archive.ubuntu.com/ubuntu noble-backports InRelease [126 kB] Get:8 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 Components [212 B] Get:9 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Components [74.2 kB] Get:10 http://security.ubuntu.com/ubuntu noble-security/multiverse amd64 Components [212 B] Get:11 http://us.archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages [1,901 kB] Get:12 http://us.archive.ubuntu.com/ubuntu noble-updates/main amd64 Components [177 kB] Get:13 http://us.archive.ubuntu.com/ubuntu noble-updates/restricted amd64 Components [212 B] Get:14 http://us.archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages [1,666 kB] Get:15 http://us.archive.ubuntu.com/ubuntu noble-updates/universe amd64 Components [386 kB] Get:16 http://us.archive.ubuntu.com/ubuntu noble-updates/multiverse amd64 Packages [32.5 kB] Get:17 http://us.archive.ubuntu.com/ubuntu noble-updates/multiverse amd64 Components [940 B] Get:18 http://us.archive.ubuntu.com/ubuntu noble-backports/main amd64 Components [7,340 B] Get:19 http://us.archive.ubuntu.com/ubuntu noble-backports/restricted amd64 Components [216 B] Get:20 http://us.archive.ubuntu.com/ubuntu noble-backports/universe amd64 Components [10.5 kB] Get:21 http://us.archive.ubuntu.com/ubuntu noble-backports/multiverse amd64 Components [212 B] Fetched 4,658 kB in 2s (2,921 kB/s) Reading package lists... Building dependency tree... Reading state information... 2 packages can be upgraded. Run 'apt list --upgradable' to see them. WARNING: apt does not have a stable CLI interface. Use with caution in scripts. Reading package lists... Building dependency tree... Reading state information... apt-transport-https is already the newest version (2.8.3). ca-certificates is already the newest version (20240203). curl is already the newest version (8.5.0-2ubuntu10.8). gnupg is already the newest version (2.4.4-2ubuntu17.4). 0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded. WARNING: apt does not have a stable CLI interface. Use with caution in scripts. Hit:1 https://dl.yarnpkg.com/debian stable InRelease Hit:2 https://deb.nodesource.com/node_24.x nodistro InRelease Hit:3 http://us.archive.ubuntu.com/ubuntu noble InRelease Hit:4 http://us.archive.ubuntu.com/ubuntu noble-updates InRelease Hit:5 http://security.ubuntu.com/ubuntu noble-security InRelease Hit:6 http://us.archive.ubuntu.com/ubuntu noble-backports InRelease Reading package lists... Building dependency tree... Reading state information... 2 packages can be upgraded. Run 'apt list --upgradable' to see them. 2026-04-17 16:16:43 - Repository configured successfully. 2026-04-17 16:16:43 - To install Node.js, run: apt install nodejs -y 2026-04-17 16:16:43 - You can use N|solid Runtime as a node.js alternative 2026-04-17 16:16:43 - To install N|solid Runtime, run: apt install nsolid -y + apt-get install -y nodejs Reading package lists... Building dependency tree... Reading state information... nodejs is already the newest version (24.14.1-1nodesource1). 0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded. + cd "/opt/xo/xo-src/xen-orchestra" && git remote set-url origin "https://github.com/vatesfr/xen-orchestra" && git fetch --prune && git reset --hard origin/master && git clean -xdff From https://github.com/vatesfr/xen-orchestra - [deleted] (none) -> origin/backup-XO-Tasks - [deleted] (none) -> origin/mra-fix-remote-copy - [deleted] (none) -> origin/show_backup_merged_size - [deleted] (none) -> origin/test_replication 6b1a2afc9..fbba05bbd master -> origin/master * [new branch] doc-xo6-section -> origin/doc-xo6-section b8b00733e..6c10859a0 encrypt_crendentials -> origin/encrypt_crendentials 48caca99c..b303e7f8c feat/mcp-openapi-bootstrap -> origin/feat/mcp-openapi-bootstrap + b8eb4af6b...1feb8b695 feat/xo-server-ipmi-sensors -> origin/feat/xo-server-ipmi-sensors (forced update) + 5d60a1dbb...184117ce1 fix_memory_leak_bis_final -> origin/fix_memory_leak_bis_final (forced update) * [new branch] hotfix/6.2.2 -> origin/hotfix/6.2.2 * [new branch] mra-acl-backup-jobs -> origin/mra-acl-backup-jobs dc66c0e29..abdd95198 refactor_backup_clean -> origin/refactor_backup_clean + 31d488df2...21b79845b web-core/remove-uiObjectLink -> origin/web-core/remove-uiObjectLink (forced update) + cf6268396...12ccb2e0a xo6/update-system-pages-layout -> origin/xo6/update-system-pages-layout (forced update) HEAD is now at fbba05bbd feat(backups): use XO Tasks (#9734) + rm -rf "/opt/xo/xo-builds/xen-orchestra-202604171616" + cp -r "/opt/xo/xo-src/xen-orchestra" "/opt/xo/xo-builds/xen-orchestra-202604171616" + cd /opt/xo/xo-builds/xen-orchestra-202604171616 && git rev-parse HEAD fbba05bbde4514c63b2ddd97b5304de1210030e5 + cd /opt/xo/xo-builds/xen-orchestra-202604171616 && git rev-parse --short HEAD fbba05bbd + cd . + readlink -e /opt/xo/xo-server /opt/xo/xo-builds/xen-orchestra-202604111527/packages/xo-server + cd /opt/xo/xo-server && git rev-parse HEAD aa605639e46568061635695bb61492c0c990ead2 + cd /opt/xo/xo-server && git rev-parse --short HEAD aa605639e + cd . Updating Xen Orchestra from 'aa605639e' to 'fbba05bbd' + cd /opt/xo/xo-builds/xen-orchestra-202604171616 && yarn --network-timeout 300000 && yarn --network-timeout 300000 build yarn install v1.22.22 [1/5] Validating package.json... [2/5] Resolving packages... [3/5] Fetching packages... warning bare-fs@4.7.1: The engine "bare" appears to be invalid. warning bare-os@3.8.7: The engine "bare" appears to be invalid. error eslint-visitor-keys@5.0.1: The engine "node" is incompatible with this module. Expected version "^20.19.0 || ^22.13.0 || >=24". Got "23.11.0" 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-202604171616 -
Who's script are you using? I have been making updates to mine and just used it earlier. Currently (3 commits behind)
https://github.com/acebmxer/install_xen_orchestra
I have a note - Node.js version (must be 22 or lower; higher versions are not compatible with Yarn Classic v1). As i did have issues with v24. If someone is able to verify that is the reason for v24 having issues.
I probably need to adjust the warning to remove the word "lower"
-
@acebmxer
I am using ronivay's script, and didn't know about yours, but I will be happy to use it and see if it works at this point.I will attempt to follow the instructions that I see on your github page and get back to you soon.
Thank you for responding to my post.
-
@acebmxer
As you can deduce, I already have a VM that is running XO-CE.
I'm guessing that my first move should be to shutdown that VM and create a new VM to use as the Xen Orchestra controller. That will be my next move. If I run into trouble, I can always turn off the new VM and power on the one I had been using. -
Sorry I was away from my computer. Yes I would suggest that start a new vm with my script as i dont believe the two are inter-changeable.
Key thing is to make sure you edit the xo-config.cfg file. If not the script will use the default settings. You can change them later and do a reconfigure option afterwards. Should all be documented. Please let me know if you notice any thing incorrect or have any suggestions for improvments.
-
Node v24 should work fine. The reason for your failure is here --
error eslint-visitor-keys@5.0.1: The engine "node" is incompatible with this module. Expected version "^20.19.0 || ^22.13.0 || >=24". Got "23.11.0"
Either upgrade Node to v24 or downgrade it to v22.
-
Node v24 should work fine. The reason for your failure is here --
error eslint-visitor-keys@5.0.1: The engine "node" is incompatible with this module. Expected version "^20.19.0 || ^22.13.0 || >=24". Got "23.11.0"
Either upgrade Node to v24 or downgrade it to v22.
So this is not correct? I do remember running into other issues when on node 24. I dont know which specific version of 24 but those problems did go away when i dropped to v22.
Note i am not a program at all just my little knowledge and Claude code...
from Claude code -
Yarn v1 is not officially compatible with Node.js 24.Yarn v1 Classic is untested on Node.js >= 20 and in maintenance-only mode since 2020
It may still work for basic operations, but it's not supported
There's an active proposal to drop Yarn v1 with Node.js 26 (April 2026)
For XO specifically: Xen Orchestra's build process uses Yarn v1. Running it on Node 24 is likely to cause issues. Stick with Node 22 (the script's default) which is tested and supported.Sources:
https://github.com/cypress-io/cypress-docker-images/issues/1438
https://endoflife.date/yarnFrom Google -
Yes, Node.js 24 is compatible with Yarn v1 (Classic), though you may encounter non-blocking warnings.
GitHub
GitHub
+1
While Yarn v1 remains functional, it is officially in maintenance mode and no longer receives active bug fixes or feature updates.
GitHub
GitHub
+1
Key Compatibility Details
Deprecation Warnings: Running Yarn v1 on Node.js 24 (and newer versions) often triggers a [DEP0169] DeprecationWarning related to url.parse(), as Yarn v1 uses an outdated API that Node.js is phasing out. This warning does not typically stop your build or installation from completing.
Installation with Corepack: Node.js 24 continues to support Corepack, a tool that manages package managers like Yarn. You can enable it by running corepack enable to use the Yarn version specified in your project's package.json.
Planned Removal: There are ongoing discussions about removing Yarn v1 from official Node.js Docker images starting with Node.js 26 in 2026.
Engine Incompatibility: Even if the package manager itself works, individual project dependencies (like Vite) may require specific Node.js versions. If a package expects a different version than Node 24, Yarn v1 will throw an "incompatible module" error.
GitHub
GitHub
+6
If you are starting a new project, it is highly recommended to migrate to Yarn Modern (v4+) or pnpm for better long-term support and performance. -
@acebmxer The documentations says to use Node LTS, which is currently Node v24. There may have been past issues with running on Node v24. However, AFAIK XO should build and operate fine on Node v24 now.
-
@acebmxer
I appreciate your help with this issue of mine.From my own unpriviliged account, I have always run 'sudo' followed by whatever command was needed. This has worked for more than a year without issue, but last week it all fell apart!
Trying to remove and reinstall nodejs and nvm using sudo from my account did not work.
However, I did find a way to get nodejs updated to version 24 and ronivay's update xo-install.sh script worked just fine. Instead of using sudo followed by the xo-update.sh command, I typed sudo -i
That brought me to the root prompt in the /root directory. I then installed nvm, sourced it, and installed nodejs version 24.
Still as root, I changed directory to the location of the xo-install.sh script and ran it without error, and it updated the the latest version of XO.
I logged out as root and then logged back in using my unpriviliged account. I am now able to run ronivay's xo-install.sh script by using sudo ./xo-install.sh with my own account. I hope it continues to work fine.
In the meantime, I'll experiment using your install_xen_orchestra script on a new VM and let you know how it goes.
Thank you.
-
let us know.
If you do use my script. It pulls nodejs from NodeSource so it may not install the latest 24.15.0 tls. If you specific 24.15.0 it will install that version. If you need to change node version with my script use the rebuild option.
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