Unable to update XOA
-
I have XOA installed via this script https://github.com/ronivay/XenOrchestraInstallerUpdater
When I SSH into the VM and run the installation script and choose update, it eventually fails saying "something went wrong".
This is the log:+ command -v git /usr/bin/git + cd . && git config --get remote.origin.url https://github.com/ronivay/XenOrchestraInstallerUpdater.git + cd . && git status --porcelain + cd . && git fetch + cd . && git rev-parse --short HEAD 9a2f4c4 + cd . && git rev-parse --short FETCH_HEAD 9a2f4c4 + cd . && git diff --name-only @{upstream}| grep xo-install.sh Running script version 9a2f4c4 with config: PORT="443" INSTALLDIR="/opt/xo" SELFUPGRADE=true CONFIGUPDATE=true REPOSITORY="https://github.com/vatesfr/xen-orchestra" BRANCH="master" PLUGINS="all" AUTOUPDATE="true" YARN_CACHE_CLEANUP="true" OS_CHECK="true" ARCH_CHECK="true" PRESERVE="3" PATH_TO_HTTPS_CERT=/opt/ssl/cert.pem PATH_TO_HTTPS_KEY=/opt/ssl/key.pem + 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 11 + grep ^NAME /etc/os-release | cut -d'=' -f2 | sed 's/"//g' | awk '{print $1}' Debian + 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/ssl/cert.pem | openssl md5 (stdin)= b34f5bc5d16b54b6621cfa85117299db + openssl pkey -pubout -in /opt/ssl/key.pem -outform PEM | openssl md5 (stdin)= b34f5bc5d16b54b6621cfa85117299db + df -P -k '/opt' | tail -1 | awk '{print $4}' 6108844 + grep MemTotal /proc/meminfo | awk '{print $2}' 4005420 + node -v 2>/dev/null| grep -Eo '[0-9.]+' | cut -d'.' -f1 22 + apt-get update Hit:1 http://deb.debian.org/debian bullseye InRelease Get:2 http://security.debian.org/debian-security bullseye-security InRelease [27.2 kB] Hit:3 https://dl.yarnpkg.com/debian stable InRelease Hit:4 http://deb.debian.org/debian bullseye-updates InRelease Get:5 https://deb.nodesource.com/node_22.x nodistro InRelease [12.1 kB] Get:6 http://security.debian.org/debian-security bullseye-security/main Sources [271 kB] Get:7 http://security.debian.org/debian-security bullseye-security/main amd64 Packages [420 kB] Get:8 http://security.debian.org/debian-security bullseye-security/main Translation-en [280 kB] Get:9 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages [8,481 B] Fetched 1,019 kB in 1s (1,801 kB/s) Reading package lists... + apt-get install -y --only-upgrade nodejs yarn Reading package lists... Building dependency tree... Reading state information... yarn is already the newest version (1.22.22-1). The following packages will be upgraded: nodejs 1 upgraded, 0 newly installed, 0 to remove and 7 not upgraded. Need to get 37.6 MB of archives. After this operation, 251 kB of additional disk space will be used. Get:1 https://deb.nodesource.com/node_22.x nodistro/main amd64 nodejs amd64 22.21.0-1nodesource1 [37.6 MB] Fetched 37.6 MB in 2s (19.8 MB/s) (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 44490 files and directories currently installed.) Preparing to unpack .../nodejs_22.21.0-1nodesource1_amd64.deb ... Detected old npm client, removing... Unpacking nodejs (22.21.0-1nodesource1) over (22.20.0-1nodesource1) ... Setting up nodejs (22.21.0-1nodesource1) ... + 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/bnt-confirm-error - [deleted] (none) -> origin/chore_remove_jest - [deleted] (none) -> origin/dependabot/npm_and_yarn/axios-1.12.2 - [deleted] (none) -> origin/feat_timeout_rate_limit - [deleted] (none) -> origin/feat_v2v_more_debug - [deleted] (none) -> origin/melissa/restApi/vmSnapshots-id-tasks - [deleted] (none) -> origin/melissa/restApi/vmTemplates-id-tasks - [deleted] (none) -> origin/mra-backup-archive - [deleted] (none) -> origin/mra-rest-hosts-tags - [deleted] (none) -> origin/mra-rest-import-vdi-content - [deleted] (none) -> origin/mra-rest-network-messages - [deleted] (none) -> origin/mra-rest-pif-messages - [deleted] (none) -> origin/mra-rest-vbds-messages - [deleted] (none) -> origin/mra-rest-vdi-messages - [deleted] (none) -> origin/mra-rest-vdi-snap-messages - [deleted] (none) -> origin/mra-rest-vif-messages - [deleted] (none) -> origin/mra-rest-vm-contr-messages - [deleted] (none) -> origin/pbt_update_packages - [deleted] (none) -> origin/pbt_update_rimraf_glob - [deleted] (none) -> origin/web-core/new-table-system - [deleted] (none) -> origin/web-core/object-icon-helper - [deleted] (none) -> origin/web-core/to-computed-helper - [deleted] (none) -> origin/web-stack/vts-status - [deleted] (none) -> origin/web-stak/enhance-modal-system - [deleted] (none) -> origin/xo6/Backedup-vms - [deleted] (none) -> origin/xo6/add-breadcrumb-component - [deleted] (none) -> origin/xo6/backup-job-configuration - [deleted] (none) -> origin/xo6/backup-targets - [deleted] (none) -> origin/xo6/site-backup-runs d7fe4f172..285d1da36 master -> origin/master 8f957f102..ea712839f apt-update-before-apt-install -> origin/apt-update-before-apt-install 380bb9f90..ac05d6c9e bnt-handle-backup-logs -> origin/bnt-handle-backup-logs * [new branch] bnt-loadB-affinity -> origin/bnt-loadB-affinity * [new branch] doc-docker-support -> origin/doc-docker-support * [new branch] doc-immutability -> origin/doc-immutability * [new branch] doc-simpler-sidebar-config -> origin/doc-simpler-sidebar-config * [new branch] feat/fetch-xo5-url-and-store-it -> origin/feat/fetch-xo5-url-and-store-it * [new branch] feat/update-input-search-component -> origin/feat/update-input-search-component * [new branch] feat_monitor_perf_alert_performance -> origin/feat_monitor_perf_alert_performance * [new branch] feat_show_ha -> origin/feat_show_ha * [new branch] fix_use_qcow2_for_backups -> origin/fix_use_qcow2_for_backups * [new branch] mel/xo6/vm-boot-firmware -> origin/mel/xo6/vm-boot-firmware * [new branch] mra-rest-events -> origin/mra-rest-events * [new branch] mra-rest-vm-dashboard -> origin/mra-rest-vm-dashboard * [new branch] mra-subscriptions -> origin/mra-subscriptions 45bff9d13..8ec765df3 pbt_context_backup-report -> origin/pbt_context_backup-report * [new branch] pbt_easyvirt -> origin/pbt_easyvirt * [new branch] pbt_update_saml_doc -> origin/pbt_update_saml_doc * [new branch] pierre-spelling-backup -> origin/pierre-spelling-backup * [new branch] pierre-vm-backup-tab-warning -> origin/pierre-vm-backup-tab-warning * [new branch] translate -> origin/translate 1f418d9e9..df78d8b94 web-core/add-ds-icon -> origin/web-core/add-ds-icon + 10dfa3968...b66b96cd8 web-core/create-use-tables -> origin/web-core/create-use-tables (forced update) + 4f72cd57e...20c06cb9d web-core/table-parts-definitions-and-components -> origin/web-core/table-parts-definitions-and-components (forced update) + 58dd2b5fb...fa7f09bf3 web-core/ui-task-item -> origin/web-core/ui-task-item (forced update) + 62c9b4aa3...99558efe3 web-stack/migrate-to-new-table-system -> origin/web-stack/migrate-to-new-table-system (forced update) * [new branch] xo6/create-tasks-sidepanel -> origin/xo6/create-tasks-sidepanel + ba1a5cb32...50c582477 xo6/create-tasks-view -> origin/xo6/create-tasks-view (forced update) * [new branch] xo6/create-vms-view -> origin/xo6/create-vms-view * [new branch] xo6/host-storage-page -> origin/xo6/host-storage-page * [new branch] xo6/pool-storage-page -> origin/xo6/pool-storage-page * [new branch] xo6/site-host-page -> origin/xo6/site-host-page * [new branch] xo6/update-vts-card-row-key-value-component -> origin/xo6/update-vts-card-row-key-value-component * [new tag] xo-lite-v0.16.0 -> xo-lite-v0.16.0 HEAD is now at 285d1da36 feat(lite): 0.16.0 (#9167) + rm -rf "/opt/xo/xo-builds/xen-orchestra-202510310726" + cp -r "/opt/xo/xo-src/xen-orchestra" "/opt/xo/xo-builds/xen-orchestra-202510310726" + cd /opt/xo/xo-builds/xen-orchestra-202510310726 && git rev-parse HEAD 285d1da361f6b3319e813c0bec5049b9ee829186 + cd /opt/xo/xo-builds/xen-orchestra-202510310726 && git rev-parse --short HEAD 285d1da36 + cd . + readlink -e /opt/xo/xo-server /opt/xo/xo-builds/xen-orchestra-202510040302/packages/xo-server + cd /opt/xo/xo-server && git rev-parse HEAD d7fe4f1729e629878e781a40f1e379768abecdd0 + cd /opt/xo/xo-server && git rev-parse --short HEAD d7fe4f172 + cd . Updating Xen Orchestra from 'd7fe4f172' to '285d1da36' + cd /opt/xo/xo-builds/xen-orchestra-202510310726 && 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-os@3.6.2: The engine "bare" appears to be invalid. [4/5] Linking dependencies... warning "@commitlint/cli > @commitlint/load > cosmiconfig-typescript-loader@6.1.0" has unmet peer dependency "@types/node@*". warning "@commitlint/cli > @commitlint/load > cosmiconfig-typescript-loader@6.1.0" has unmet peer dependency "typescript@>=5". warning "@typescript-eslint/eslint-plugin > ts-api-utils@1.4.3" has unmet peer dependency "typescript@>=4.2.0". warning " > @xen-orchestra/web-core@0.33.0" has unmet peer dependency "pinia@^3.0.1". warning " > @xen-orchestra/web-core@0.33.0" has unmet peer dependency "vue@~3.5.13". warning " > @xen-orchestra/web-core@0.33.0" has unmet peer dependency "vue-i18n@^11.1.2". warning " > @xen-orchestra/web-core@0.33.0" has unmet peer dependency "vue-router@^4.5.0". warning "workspace-aggregator-c0b8f950-6a8f-40e5-b657-3133151d1bea > @xen-orchestra/rest-api > inversify@6.2.2" has unmet peer dependency "reflect-metadata@~0.2.2". warning "workspace-aggregator-c0b8f950-6a8f-40e5-b657-3133151d1bea > @xen-orchestra/rest-api > swagger-ui-express@5.0.1" has unmet peer dependency "express@>=4.0.0 || >=5.0.0-beta". warning "workspace-aggregator-c0b8f950-6a8f-40e5-b657-3133151d1bea > xo-server > typed-flash@1.0.1" has unmet peer dependency "@types/express@*". warning "workspace-aggregator-c0b8f950-6a8f-40e5-b657-3133151d1bea > @vates/event-listeners-manager > tap > @tapjs/test > @isaacs/ts-node-temp-fork-for-pr-2009@10.9.7" has unmet peer dependency "@types/node@*". warning "workspace-aggregator-c0b8f950-6a8f-40e5-b657-3133151d1bea > @xen-orchestra/rest-api > inversify > @inversifyjs/core > @inversifyjs/reflect-metadata-utils@0.2.4" has unmet peer dependency "reflect-metadata@0.2.2". warning "workspace-aggregator-c0b8f950-6a8f-40e5-b657-3133151d1bea > @vates/event-listeners-manager > tap > @tapjs/asserts > tcompare > react-element-to-jsx-string@15.0.0" has unmet peer dependency "react@^0.14.8 || ^15.0.1 || ^16.0.0 || ^17.0.1 || ^18.0.0". warning "workspace-aggregator-c0b8f950-6a8f-40e5-b657-3133151d1bea > @vates/event-listeners-manager > tap > @tapjs/asserts > tcompare > react-element-to-jsx-string@15.0.0" has unmet peer dependency "react-dom@^0.14.8 || ^15.0.1 || ^16.0.0 || ^17.0.1 || ^18.0.0". warning Workspaces can only be enabled in private projects. [5/5] Building fresh packages... $ husky install husky - Git hooks installed Done in 76.73s. yarn run v1.22.22 $ TURBO_TELEMETRY_DISABLED=1 turbo run build --filter xo-server --filter xo-server-'*' --filter xo-web turbo 2.5.8 ⢠Packages in scope: xo-server, xo-server-audit, xo-server-auth-github, xo-server-auth-google, xo-server-auth-ldap, xo-server-auth-oidc, xo-server-auth-saml, xo-server-backup-reports, xo-server-load-balancer, xo-server-netbox, xo-server-perf-alert, xo-server-sdn-controller, xo-server-test-plugin, xo-server-transport-email, xo-server-transport-icinga2, xo-server-transport-nagios, xo-server-transport-slack, xo-server-transport-xmpp, xo-server-usage-report, xo-server-web-hooks, xo-web ⢠Running build in 21 packages ⢠Remote caching disabled x Internal errors encountered: external process killed a task error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. + rm -rf /opt/xo/xo-builds/xen-orchestra-202510310726Can anyone tell me what's wrong please?
-
Hi,
XOA is only the name of the commercial product. You are using XO from the sources.
As stated in the documentation (with a BIG yellow warning), if you have an issue with a 3rd party script, you should create an issue in their repo.
-
@olivierlambert So this is official support forum where I am not allowed to ask this?
-
Have you read the link I've sent? It explains exactly the reasons and answer your question

You can imagine that if we have hundreds of 3rd party scripts, each doing their own way to install, it means we'll have to de facto support them all, despite it's unrelated to Xen Orchestra itself. Which means spending resources instead of working on Xen Orchestra directly (or fixing XO bugs).
That's why it's preferable to open a ticket in the Github repo of the script creator, because that's exactly there you'll find the right answer, and also making sure the script creator could even fix their scripts if needed.
If you need community support in here, you have to install it by following the official documentation: https://docs.xen-orchestra.com/installation#from-the-sources