Updating from the Sources
-
Ran into an odd issue on one of the test benches. I get the following error log when trying to update:
+ command -v git /usr/bin/git + cd . && git config --get remote.origin.url https://github.com/ronivay/XenOrchestraInstallerUpdater.git + cd . && git status --porcelain ?? node_modules/ ?? yarn.lock Running script version a930e94 with config: PORT="80" 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" + 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 10 + 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 yum + command -v apt-get /usr/bin/apt-get + command -v systemctl /usr/bin/systemctl + df -P -k '/opt' | tail -1 | awk '{print $4}' 25538416 + grep MemTotal /proc/meminfo | awk '{print $2}' 4020612 + node -v 2>/dev/null| grep -Eo '[0-9.]+' | cut -d'.' -f1 18 + apt-get update Hit:1 http://deb.debian.org/debian buster InRelease Get:2 http://security.debian.org/debian-security buster/updates InRelease [34.8 kB] Hit:3 https://dl.yarnpkg.com/debian stable InRelease Hit:4 https://deb.nodesource.com/node_18.x nodistro InRelease Get:5 http://security.debian.org/debian-security buster/updates/main Sources [375 kB] Get:6 http://security.debian.org/debian-security buster/updates/main amd64 Packages [592 kB] Get:7 http://security.debian.org/debian-security buster/updates/main Translation-en [321 kB] Fetched 1,323 kB in 2s (795 kB/s) Reading package lists... + apt-get install -y --only-upgrade nodejs yarn Reading package lists... Building dependency tree... Reading state information... nodejs is already the newest version (18.20.1-1nodesource1). yarn is already the newest version (1.22.19-1). The following package was automatically installed and is no longer required: linux-image-4.19.0-17-amd64 Use 'apt autoremove' to remove it. 0 upgraded, 0 newly installed, 0 to remove and 0 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/$ HEAD is now at 74fc4dcac refactor(xo-server/importFromEsxi): don't duplicate code + rm -rf "/opt/xo/xo-builds/xen-orchestra-202404061141" + rm -rf "/opt/xo/xo-builds/xen-orchestra-202404061141" + cp -r "/opt/xo/xo-src/xen-orchestra" "/opt/xo/xo-builds/xen-orchestra-202404061141" + cd /opt/xo/xo-builds/xen-orchestra-202404061141 && git rev-parse HEAD 74fc4dcacaa388d17329b2153ad2c09a915ba7d9 + cd /opt/xo/xo-builds/xen-orchestra-202404061141 && git rev-parse --short HEAD 74fc4dcac + cd . + readlink -e /opt/xo/xo-server /opt/xo/xo-builds/xen-orchestra-202401032158/packages/xo-server + cd /opt/xo/xo-server && git rev-parse HEAD 8b0b2d7c31392fab71f3e4715d188281451dd74f + cd /opt/xo/xo-server && git rev-parse --short HEAD 8b0b2d7c3 + cd . Updating Xen Orchestra from '8b0b2d7c3' to '74fc4dcac' + cd /opt/xo/xo-builds/xen-orchestra-202404061141 && yarn --network-timeout 300000 && yarn --network-timeout 300000 build yarn install v1.22.19 [1/5] Validating package.json... [2/5] Resolving packages... [3/5] Fetching packages... info There appears to be trouble with your network connection. Retrying... info There appears to be trouble with your network connection. Retrying... info There appears to be trouble with your network connection. Retrying... info There appears to be trouble with your network connection. Retrying... error An unexpected error occurred: "https://registry.yarnpkg.com/@babel/parser/-/parser-7.24.0.tgz: connect ETIMEDOUT 2606:4700::6810:1922:443". info If you think this is a bug, please open a bug report with the information provided in "/opt/xo/xo-builds/xen-orchestra-202404061141/yarn-error.log". info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command. + rm -rf /opt/xo/xo-builds/xen-orchestra-202404061141
I tried the following from this topic as well, no success: https://xcp-ng.org/forum/post/38138
XO is in a Debian 10 VM on XCP-NG running version 8.2
Debian is up-to-date at this point as well. -
You are using a 3rd party script to install/update XO, please report your issue to the script provider
-
@olivierlambert Thank you.