ronivay / XenOrchestraInstallerUpdater

Xen Orchestra install/update script
GNU General Public License v3.0
1.18k stars 189 forks source link

Does not start after update #91

Closed MarMed closed 3 years ago

MarMed commented 3 years ago

OS Version: Debian GNU/Linux 10 (buster) Node.js version: v14.17.2 Yarn version: 1.22.5

Server specs 2vcpu 4gb ram

Issue Fail to start after update

Installation logfile

Running script version 1d5f379 with config:

PORT="443"
INSTALLDIR="/etc/xo"
CONFIGUPDATE=true
REPOSITORY="https://github.com/vatesfr/xen-orchestra"
BRANCH="master"
LOGFILE="$(dirname $0)/xo-install.log"
PLUGINS="all"
OS_CHECK="true"
AUTOUPDATE="true"
PRESERVE="3"
PATH_TO_HTTPS_CERT=/home/mario/XenOrchestraInstallerUpdater/xoa.marmed.xyz.crt
PATH_TO_HTTPS_KEY=/home/mario/XenOrchestraInstallerUpdater/xoa.marmed.xyz.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
10
+ grep ^NAME /etc/os-release | cut -d'=' -f2 | sed 's/"//g' | awk '{print $1}'
Debian
+ command -v yum
+ command -v apt-get
/usr/bin/apt-get
+ command -v systemctl
/usr/bin/systemctl
+ openssl x509 -pubkey -noout -in /home/mario/XenOrchestraInstallerUpdater/xoa.marmed.xyz.crt | openssl md5
(stdin)= 2092e47a33e8bb4922115dc901723682
+ openssl pkey -pubout -in /home/mario/XenOrchestraInstallerUpdater/xoa.marmed.xyz.key -outform PEM | openssl md5
(stdin)= 2092e47a33e8bb4922115dc901723682
+ df -P -k '/etc' | tail -1 | awk '{print $4}'
15768484
+ grep MemTotal /proc/meminfo | awk '{print $2}'
4021740
+ node -v 2>/dev/null| grep -Eo '[0-9.]+' | cut -d'.' -f1
14
+ apt-get update
Hit:1 http://mirror.us.leaseweb.net/debian buster InRelease
Hit:2 http://security.debian.org/debian-security buster/updates InRelease
Hit:3 http://mirror.us.leaseweb.net/debian buster-updates InRelease
Get:4 https://dl.yarnpkg.com/debian stable InRelease [17.1 kB]
Hit:5 https://deb.nodesource.com/node_14.x buster InRelease
Fetched 17.1 kB in 1s (14.6 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 (14.17.2-1nodesource1).
yarn is already the newest version (1.22.5-1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
+ cd "/etc/xo/xo-src/xen-orchestra" && git pull
Already up to date.
+ cd .
+ rm -rf "/etc/xo/xo-builds/xen-orchestra-202107271809"
+ cp -r "/etc/xo/xo-src/xen-orchestra" "/etc/xo/xo-builds/xen-orchestra-202107271809"
+ cd /etc/xo/xo-builds/xen-orchestra-202107271809 && git rev-parse HEAD
4b4bea5f3b1e12eb3d3c7f818745f0523b59ba36
+ cd /etc/xo/xo-builds/xen-orchestra-202107271809 && git rev-parse --short HEAD
4b4bea5f3
+ cd .
+ readlink -e /etc/xo/xo-server
/etc/xo/xo-builds/xen-orchestra-202106192227/packages/xo-server
+ cd /etc/xo/xo-server && git rev-parse HEAD
f3501acb643786b6fac56c6ef8eae31638950ae0
+ cd /etc/xo/xo-server && git rev-parse --short HEAD
f3501acb6
+ cd .
+ pgrep -f xo-server
619
+ /bin/systemctl stop xo-server
Updating xen-orchestra from 'f3501acb6' to '4b4bea5f3'
+ cd /etc/xo/xo-builds/xen-orchestra-202107271809 && yarn && yarn build
yarn install v1.22.5
[1/5] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
info fsevents@2.3.2: The platform "linux" is incompatible with this module.
info "fsevents@2.3.2" is an optional dependency and failed compatibility check. Excluding it from installation.
info fsevents@1.2.13: The platform "linux" is incompatible with this module.
info "fsevents@1.2.13" is an optional dependency and failed compatibility check. Excluding it from installation.
[4/5] Linking dependencies...
[5/5] Building fresh packages...
Done in 45.02s.
yarn run v1.22.5
$ scripts/run-script --parallel build
* complex-matcher:prebuild − yarn run clean
* value-matcher:prebuild − yarn run clean
* vhd-cli:prebuild − rimraf dist/ && index-modules --cjs-lazy src/commands
* vhd-lib:prebuild − yarn run clean
* xapi-explore-sr:prebuild − rimraf dist/
* xen-api:prebuild − rimraf dist/
* xo-cli:prebuild − rimraf dist/
* xo-collection:prebuild − rimraf dist/
* xo-common:prebuild − yarn run clean
* xo-lib:prebuild − rimraf dist/
* xo-remote-parser:prebuild − rimraf dist/
* xo-server-audit:prebuild − rimraf dist/
* xo-server-auth-google:prebuild − rimraf dist/
* xo-server-auth-ldap:prebuild − rimraf dist/
* xo-server-auth-saml:prebuild − yarn run clean
* xo-server-backup-reports:prebuild − yarn run clean
* xo-server-netbox:prebuild − rimraf dist/
* xo-server-perf-alert:prebuild − yarn run clean
* xo-server-sdn-controller:prebuild − rimraf dist/
* xo-server-transport-email:prebuild − rimraf dist/
* xo-server-transport-icinga2:prebuild − rimraf dist/
* xo-server-transport-nagios:prebuild − yarn run clean
* xo-server-transport-slack:prebuild − yarn run clean
* xo-server-transport-xmpp:prebuild − yarn run clean
* xo-server-usage-report:prebuild − yarn run clean
* xo-server-web-hooks:prebuild − rimraf dist/
* xo-vmdk-to-vhd:prebuild − yarn run clean
* xo-web:prebuild − yarn run clean && index-modules --auto src
* @xen-orchestra/audit-core:prebuild − rimraf dist/
* @xen-orchestra/cron:prebuild − yarn run clean
* @xen-orchestra/fs:prebuild − yarn run clean
* @xen-orchestra/openflow:prebuild − rimraf dist/
* @xen-orchestra/proxy-cli:prebuild − yarn run clean
* @xen-orchestra/template:prebuild − yarn run clean
* @xen-orchestra/upload-ova:prebuild − rimraf dist/
* @xen-orchestra/xapi:prebuild − yarn run clean
* xo-import-servers-csv:build − tsc
* xo-server:build − cross-env NODE_ENV=production yarn run _build
* xo-server-auth-github:build − NODE_ENV=production babel --source-maps --out-dir=dist/ src/
* xo-server-load-balancer:build − NODE_ENV=production babel --source-maps --out-dir=dist/ src/
* @xen-orchestra/proxy:build − cross-env NODE_ENV=production yarn run _build
* xapi-explore-sr:build − cross-env NODE_ENV=production babel --source-maps --out-dir=dist/ src/
* xo-cli:build − cross-env NODE_ENV=production babel --source-maps --out-dir=dist/ src/
* xo-lib:build − cross-env NODE_ENV=production babel --source-maps --out-dir=dist/ src/
* xo-remote-parser:build − cross-env NODE_ENV=production babel --source-maps --out-dir=dist/ src/
* xo-server-auth-google:build − cross-env NODE_ENV=production babel --source-maps --out-dir=dist/ src/
* xo-server-netbox:build − cross-env NODE_ENV=production babel --source-maps --out-dir=dist/ src/
* xen-api:build − cross-env NODE_ENV=production babel --source-maps --out-dir=dist/ src/
* xo-server-transport-email:build − cross-env NODE_ENV=production babel --source-maps --out-dir=dist/ src/
* xo-server-transport-icinga2:build − cross-env NODE_ENV=production babel --source-maps --out-dir=dist/ src/
* xo-collection:build − cross-env NODE_ENV=production babel --source-maps --out-dir=dist/ src/
* xo-server-auth-ldap:build − cross-env NODE_ENV=production babel --source-maps --out-dir=dist/ src/
* xo-server-audit:build − cross-env NODE_ENV=production babel --source-maps --out-dir=dist/ src/
* xo-server-sdn-controller:build − cross-env NODE_ENV=production babel --source-maps --out-dir=dist/ src/
* xo-server-web-hooks:build − cross-env NODE_ENV=production babel --source-maps --out-dir=dist/ src/
* @xen-orchestra/audit-core:build − cross-env NODE_ENV=production babel --source-maps --out-dir=dist/ src/
* @xen-orchestra/openflow:build − cross-env NODE_ENV=production babel --source-maps --out-dir=dist/ src/
* @xen-orchestra/upload-ova:build − cross-env NODE_ENV=production babel --source-maps --out-dir=dist/ src/
index generated src/commands/index.js
* vhd-cli:build − cross-env NODE_ENV=production babel --source-maps --out-dir=dist/ src/
$ rimraf dist/
$ rimraf dist/
$ rimraf dist/
$ rimraf dist/
$ rimraf dist/
$ rimraf dist/
$ gulp clean
$ rimraf dist/
$ rimraf dist/
$ rimraf dist/
* complex-matcher:build − cross-env NODE_ENV=production babel --source-maps --out-dir=dist/ src/
$ rimraf dist/
$ rimraf dist/
$ rimraf dist/
$ rimraf dist/
$ rimraf dist/
$ rimraf dist/
* vhd-lib:build − cross-env NODE_ENV=production babel --source-maps --out-dir=dist/ src/
$ rimraf dist/
$ rimraf dist/
* xo-server-transport-nagios:build − cross-env NODE_ENV=production babel --source-maps --out-dir=dist/ src/
* xo-server-transport-slack:build − cross-env NODE_ENV=production babel --source-maps --out-dir=dist/ src/
* xo-vmdk-to-vhd:build − cross-env NODE_ENV=production babel --source-maps --out-dir=dist/ src/
$ index-modules --index-file index.mjs src/api src/xapi/mixins src/xo-mixins && babel --delete-dir-on-start --keep-file-extension --source-maps --out-dir=dist/ src/
* xo-server-usage-report:build − cross-env NODE_ENV=production babel --source-maps --out-dir=dist/ src/
* xo-server-transport-xmpp:build − cross-env NODE_ENV=production babel --source-maps --out-dir=dist/ src/
* @xen-orchestra/fs:build − cross-env NODE_ENV=production babel --source-maps --out-dir=dist/ src/
* value-matcher:build − cross-env NODE_ENV=production babel --source-maps --out-dir=dist/ src/
* xo-common:build − cross-env NODE_ENV=production babel --source-maps --out-dir=dist/ src/
* @xen-orchestra/cron:build − cross-env NODE_ENV=production babel --source-maps --out-dir=dist/ src/
* @xen-orchestra/proxy-cli:build − cross-env NODE_ENV=production babel --source-maps --out-dir=dist/ src/
* xo-server-backup-reports:build − cross-env NODE_ENV=production babel --source-maps --out-dir=dist/ src/
* xo-server-perf-alert:build − cross-env NODE_ENV=production babel --source-maps --out-dir=dist/ src/
* xo-server-auth-saml:build − cross-env NODE_ENV=production babel --source-maps --out-dir=dist/ src/
$ index-modules --index-file index.mjs src/app/mixins && babel --delete-dir-on-start --keep-file-extension --source-maps --out-dir=dist/ src/
* @xen-orchestra/template:build − cross-env NODE_ENV=production babel --source-maps --out-dir=dist/ src/
* @xen-orchestra/xapi:build − cross-env NODE_ENV=production babel --source-maps --out-dir=dist/ src/
index generated src/api/index.mjs
index generated src/xapi/mixins/index.mjs
index generated src/xo-mixins/index.mjs
index generated src/app/mixins/index.mjs
@babel/preset-env: `DEBUG` option

Using targets:
{
  "node": "6"
}

Using modules transform: auto

Using plugins:
  proposal-class-static-block { node }
  proposal-private-property-in-object { node }
  proposal-class-properties { node < 14.6 }
  proposal-private-methods { node < 14.6 }
  proposal-numeric-separator { node < 12.5 }
  proposal-logical-assignment-operators { node < 15 }
  proposal-nullish-coalescing-operator { node < 14 }
  proposal-optional-chaining { node }
  proposal-json-strings { node < 10 }
  proposal-optional-catch-binding { node < 10 }
  proposal-async-generator-functions { node < 10 }
  proposal-object-rest-spread { node < 8.3 }
  transform-dotall-regex { node < 8.10 }
  proposal-unicode-property-regex { node < 10 }
  transform-named-capturing-groups-regex { node < 10 }
  transform-async-to-generator { node < 7.6 }
  transform-exponentiation-operator { node < 7 }
  transform-function-name { node < 6.5 }
  transform-for-of { node < 6.5 }
  transform-destructuring { node < 6.5 }
  proposal-export-namespace-from { node < 13.2 }
  transform-modules-commonjs
  proposal-dynamic-import

Using polyfills: No polyfills were added, since the `useBuiltIns` option was not set.
@babel/preset-env: `DEBUG` option

Using targets:
{
  "node": "14.6"
}

Using modules transform: auto

Using plugins:
  proposal-class-static-block { node }
  proposal-private-property-in-object { node }
  syntax-class-properties
  syntax-numeric-separator
  proposal-logical-assignment-operators { node < 15 }
  syntax-nullish-coalescing-operator
  proposal-optional-chaining { node }
  syntax-json-strings
  syntax-optional-catch-binding
  syntax-async-generators
  syntax-object-rest-spread
  transform-modules-commonjs
  proposal-dynamic-import
  proposal-export-namespace-from { }

Using polyfills: No polyfills were added, since the `useBuiltIns` option was not set.
@babel/preset-env: `DEBUG` option
@babel/preset-env: `DEBUG` option

Using targets:
{
  "node": "6"
}

Using modules transform: auto

Using plugins:
  proposal-class-static-block { node }
  proposal-private-property-in-object { node }
  proposal-class-properties { node < 14.6 }
  proposal-private-methods { node < 14.6 }
  proposal-numeric-separator { node < 12.5 }
  proposal-logical-assignment-operators { node < 15 }
  proposal-nullish-coalescing-operator { node < 14 }
  proposal-optional-chaining { node }
  proposal-json-strings { node < 10 }
  proposal-optional-catch-binding { node < 10 }
  proposal-async-generator-functions { node < 10 }
  proposal-object-rest-spread { node < 8.3 }

Using targets:
{
  "node": "10"
}

Using modules transform: auto

Using plugins:
  proposal-class-static-block { node }
  proposal-private-property-in-object { node }
  proposal-class-properties { node < 14.6 }
  proposal-private-methods { node < 14.6 }
  proposal-numeric-separator { node < 12.5 }
  proposal-logical-assignment-operators { node < 15 }
  proposal-nullish-coalescing-operator { node < 14 }
  proposal-optional-chaining { node }
  syntax-json-strings
  syntax-optional-catch-binding
  syntax-async-generators
  syntax-object-rest-spread
  proposal-export-namespace-from { node < 13.2 }
  transform-modules-commonjs
  proposal-dynamic-import

Using polyfills: No polyfills were added, since the `useBuiltIns` option was not set.
  transform-dotall-regex { node < 8.10 }
  proposal-unicode-property-regex { node < 10 }
  transform-named-capturing-groups-regex { node < 10 }
  transform-async-to-generator { node < 7.6 }
  transform-exponentiation-operator { node < 7 }
  transform-function-name { node < 6.5 }
  transform-for-of { node < 6.5 }
  transform-destructuring { node < 6.5 }
  proposal-export-namespace-from { node < 13.2 }
  transform-modules-commonjs
  proposal-dynamic-import

Using polyfills: No polyfills were added, since the `useBuiltIns` option was not set.
@babel/preset-env: `DEBUG` option

Using targets:
{
  "node": "8.10"
}

Using modules transform: auto

Using plugins:
  proposal-class-static-block { node }
  proposal-private-property-in-object { node }
  proposal-class-properties { node < 14.6 }
  proposal-private-methods { node < 14.6 }
  proposal-numeric-separator { node < 12.5 }
  proposal-logical-assignment-operators { node < 15 }
  proposal-nullish-coalescing-operator { node < 14 }
  proposal-optional-chaining { node }
  proposal-json-strings { node < 10 }
  proposal-optional-catch-binding { node < 10 }
  proposal-async-generator-functions { node < 10 }
  syntax-object-rest-spread
  proposal-unicode-property-regex { node < 10 }
  transform-named-capturing-groups-regex { node < 10 }
  proposal-export-namespace-from { node < 13.2 }
  transform-modules-commonjs
  proposal-dynamic-import

Using polyfills: No polyfills were added, since the `useBuiltIns` option was not set.
@babel/preset-env: `DEBUG` option

Using targets:
{
  "node": "6"
}

Using modules transform: auto

Using plugins:
  proposal-class-static-block { node }
  proposal-private-property-in-object { node }
  proposal-class-properties { node < 14.6 }
  proposal-private-methods { node < 14.6 }
  proposal-numeric-separator { node < 12.5 }
  proposal-logical-assignment-operators { node < 15 }
  proposal-nullish-coalescing-operator { node < 14 }
  proposal-optional-chaining { node }
  proposal-json-strings { node < 10 }
  proposal-optional-catch-binding { node < 10 }
  proposal-async-generator-functions { node < 10 }
  proposal-object-rest-spread { node < 8.3 }
  transform-dotall-regex { node < 8.10 }
  proposal-unicode-property-regex { node < 10 }
  transform-named-capturing-groups-regex { node < 10 }
  transform-async-to-generator { node < 7.6 }
  transform-exponentiation-operator { node < 7 }
  transform-function-name { node < 6.5 }
  transform-for-of { node < 6.5 }
  transform-destructuring { node < 6.5 }
  proposal-export-namespace-from { node < 13.2 }
  transform-modules-commonjs
  proposal-dynamic-import

Using polyfills: No polyfills were added, since the `useBuiltIns` option was not set.
@babel/preset-env: `DEBUG` option

Using targets:
{
  "node": "6"
}

Using modules transform: auto

Using plugins:
  proposal-class-static-block { node }
  proposal-private-property-in-object { node }
  proposal-class-properties { node < 14.6 }
  proposal-private-methods { node < 14.6 }
  proposal-numeric-separator { node < 12.5 }
  proposal-logical-assignment-operators { node < 15 }
  proposal-nullish-coalescing-operator { node < 14 }
  proposal-optional-chaining { node }
  proposal-json-strings { node < 10 }
  proposal-optional-catch-binding { node < 10 }
  proposal-async-generator-functions { node < 10 }
  proposal-object-rest-spread { node < 8.3 }
  transform-dotall-regex { node < 8.10 }
  proposal-unicode-property-regex { node < 10 }
  transform-named-capturing-groups-regex { node < 10 }
  transform-async-to-generator { node < 7.6 }
  transform-exponentiation-operator { node < 7 }
  transform-function-name { node < 6.5 }
  transform-for-of { node < 6.5 }
  transform-destructuring { node < 6.5 }
  proposal-export-namespace-from { node < 13.2 }
  transform-modules-commonjs
  proposal-dynamic-import

Using polyfills: No polyfills were added, since the `useBuiltIns` option was not set.
@babel/preset-env: `DEBUG` option

Using targets:
{
  "node": "8.10"
}

Using modules transform: auto

Using plugins:
  proposal-class-static-block { node }
  proposal-private-property-in-object { node }
  proposal-class-properties { node < 14.6 }
  proposal-private-methods { node < 14.6 }
  proposal-numeric-separator { node < 12.5 }
  proposal-logical-assignment-operators { node < 15 }
  proposal-nullish-coalescing-operator { node < 14 }
  proposal-optional-chaining { node }
  proposal-json-strings { node < 10 }
  proposal-optional-catch-binding { node < 10 }
  proposal-async-generator-functions { node < 10 }
  syntax-object-rest-spread
  proposal-unicode-property-regex { node < 10 }
  transform-named-capturing-groups-regex { node < 10 }
  proposal-export-namespace-from { node < 13.2 }
  transform-modules-commonjs
  proposal-dynamic-import

Using polyfills: No polyfills were added, since the `useBuiltIns` option was not set.
@babel/preset-env: `DEBUG` option

Using targets:
{
  "node": "10"
}

Using modules transform: auto

Using plugins:
@babel/preset-env: `DEBUG` option

Using targets:
{
  "node": "8.10"
}

Using modules transform: auto

Using plugins:
  proposal-class-static-block { node }
  proposal-class-static-block { node }
  proposal-private-property-in-object { node }
  proposal-class-properties { node < 14.6 }
  proposal-private-methods { node < 14.6 }
  proposal-numeric-separator { node < 12.5 }
  proposal-logical-assignment-operators { node < 15 }
  proposal-nullish-coalescing-operator { node < 14 }
  proposal-optional-chaining { node }
  syntax-json-strings
  syntax-optional-catch-binding
  syntax-async-generators
  syntax-object-rest-spread
  proposal-export-namespace-from { node < 13.2 }
  transform-modules-commonjs
  proposal-dynamic-import

Using polyfills: No polyfills were added, since the `useBuiltIns` option was not set.
@babel/preset-env: `DEBUG` option

Using targets:
{
  "node": "8.10"
}

Using modules transform: auto

Using plugins:
  proposal-private-property-in-object { node }
  proposal-class-properties { node < 14.6 }
  proposal-private-methods { node < 14.6 }
  proposal-numeric-separator { node < 12.5 }
  proposal-logical-assignment-operators { node < 15 }
  proposal-nullish-coalescing-operator { node < 14 }
  proposal-optional-chaining { node }
  proposal-json-strings { node < 10 }
  proposal-optional-catch-binding { node < 10 }
  proposal-async-generator-functions { node < 10 }
  syntax-object-rest-spread
  proposal-unicode-property-regex { node < 10 }
  transform-named-capturing-groups-regex { node < 10 }
  proposal-export-namespace-from { node < 13.2 }
  transform-modules-commonjs
  proposal-dynamic-import

Using polyfills: No polyfills were added, since the `useBuiltIns` option was not set.
  proposal-class-static-block { node }
  proposal-private-property-in-object { node }
  proposal-class-properties { node < 14.6 }
  proposal-private-methods { node < 14.6 }
  proposal-numeric-separator { node < 12.5 }
  proposal-logical-assignment-operators { node < 15 }
  proposal-nullish-coalescing-operator { node < 14 }
  proposal-optional-chaining { node }
  proposal-json-strings { node < 10 }
  proposal-optional-catch-binding { node < 10 }
  proposal-async-generator-functions { node < 10 }
  syntax-object-rest-spread
  proposal-unicode-property-regex { node < 10 }
  transform-named-capturing-groups-regex { node < 10 }
  proposal-export-namespace-from { node < 13.2 }
  transform-modules-commonjs
  proposal-dynamic-import

Using polyfills: No polyfills were added, since the `useBuiltIns` option was not set.
@babel/preset-env: `DEBUG` option

Using targets:
{
  "node": "6"
}

Using modules transform: auto

Using plugins:
  proposal-class-static-block { node }
  proposal-private-property-in-object { node }
  proposal-class-properties { node < 14.6 }
  proposal-private-methods { node < 14.6 }
  proposal-numeric-separator { node < 12.5 }
  proposal-logical-assignment-operators { node < 15 }
  proposal-nullish-coalescing-operator { node < 14 }
  proposal-optional-chaining { node }
  proposal-json-strings { node < 10 }
  proposal-optional-catch-binding { node < 10 }
  proposal-async-generator-functions { node < 10 }
  proposal-object-rest-spread { node < 8.3 }
  transform-dotall-regex { node < 8.10 }
  proposal-unicode-property-regex { node < 10 }
  transform-named-capturing-groups-regex { node < 10 }
  transform-async-to-generator { node < 7.6 }
  transform-exponentiation-operator { node < 7 }
  transform-function-name { node < 6.5 }
  transform-for-of { node < 6.5 }
  transform-destructuring { node < 6.5 }
  proposal-export-namespace-from { node < 13.2 }
  transform-modules-commonjs
  proposal-dynamic-import

Using polyfills: No polyfills were added, since the `useBuiltIns` option was not set.
@babel/preset-env: `DEBUG` option

Using targets:
{
  "node": "8.9.4"
}

Using modules transform: auto

Using plugins:
  proposal-class-static-block { node }
  proposal-private-property-in-object { node }
  proposal-class-properties { node < 14.6 }
  proposal-private-methods { node < 14.6 }
  proposal-numeric-separator { node < 12.5 }
  proposal-logical-assignment-operators { node < 15 }
  proposal-nullish-coalescing-operator { node < 14 }
  proposal-optional-chaining { node }
  proposal-json-strings { node < 10 }
  proposal-optional-catch-binding { node < 10 }
  proposal-async-generator-functions { node < 10 }
  syntax-object-rest-spread
  transform-dotall-regex { node < 8.10 }
  proposal-unicode-property-regex { node < 10 }
  transform-named-capturing-groups-regex { node < 10 }
  proposal-export-namespace-from { node < 13.2 }
  transform-modules-commonjs
  proposal-dynamic-import

Using polyfills: No polyfills were added, since the `useBuiltIns` option was not set.
[18:10:33] Using gulpfile /etc/xo/xo-builds/xen-orchestra-202107271809/packages/xo-web/gulpfile.js
[18:10:33] Starting 'clean'...
@babel/preset-env: `DEBUG` option

Using targets:
{
  "node": "6"
}

Using modules transform: auto

Using plugins:
  proposal-class-static-block { node }
  proposal-private-property-in-object { node }
  proposal-class-properties { node < 14.6 }
  proposal-private-methods { node < 14.6 }
  proposal-numeric-separator { node < 12.5 }
  proposal-logical-assignment-operators { node < 15 }
  proposal-nullish-coalescing-operator { node < 14 }
  proposal-optional-chaining { node }
  proposal-json-strings { node < 10 }
  proposal-optional-catch-binding { node < 10 }
  proposal-async-generator-functions { node < 10 }
  proposal-object-rest-spread { node < 8.3 }
  transform-dotall-regex { node < 8.10 }
  proposal-unicode-property-regex { node < 10 }
  transform-named-capturing-groups-regex { node < 10 }
  transform-async-to-generator { node < 7.6 }
  transform-exponentiation-operator { node < 7 }
  transform-function-name { node < 6.5 }
  transform-for-of { node < 6.5 }
  transform-destructuring { node < 6.5 }
  proposal-export-namespace-from { node < 13.2 }
  transform-modules-commonjs
[18:10:33] Finished 'clean' after 242 ms
  proposal-dynamic-import

Using polyfills: No polyfills were added, since the `useBuiltIns` option was not set.
Successfully compiled 1 file with Babel (15193ms).
Successfully compiled 1 file with Babel (11637ms).
Successfully compiled 1 file with Babel (12607ms).
Successfully compiled 1 file with Babel (13729ms).
Successfully compiled 1 file with Babel (14432ms).
@babel/preset-env: `DEBUG` option

Using targets:
{
  "node": "6"
}

Using modules transform: auto

Using plugins:
  proposal-class-static-block { node }
  proposal-private-property-in-object { node }
  proposal-class-properties { node < 14.6 }
  proposal-private-methods { node < 14.6 }
  proposal-numeric-separator { node < 12.5 }
  proposal-logical-assignment-operators { node < 15 }
  proposal-nullish-coalescing-operator { node < 14 }
  proposal-optional-chaining { node }
  proposal-json-strings { node < 10 }
  proposal-optional-catch-binding { node < 10 }
  proposal-async-generator-functions { node < 10 }
  proposal-object-rest-spread { node < 8.3 }
  transform-dotall-regex { node < 8.10 }
  proposal-unicode-property-regex { node < 10 }
  transform-named-capturing-groups-regex { node < 10 }
  transform-async-to-generator { node < 7.6 }
  transform-exponentiation-operator { node < 7 }
  transform-function-name { node < 6.5 }
  transform-for-of { node < 6.5 }
  transform-destructuring { node < 6.5 }
  proposal-export-namespace-from { node < 13.2 }
  transform-modules-commonjs
  proposal-dynamic-import

Using polyfills: No polyfills were added, since the `useBuiltIns` option was not set.
Successfully compiled 1 file with Babel (15157ms).
@babel/preset-env: `DEBUG` option

Using targets:
{
  "node": "14.17"
}

Using modules transform: false

Using plugins:
  proposal-class-static-block { node }
  proposal-private-property-in-object { node }
  syntax-class-properties
  syntax-numeric-separator
  proposal-logical-assignment-operators { node < 15 }
  syntax-nullish-coalescing-operator
  proposal-optional-chaining { node }
  syntax-json-strings
  syntax-optional-catch-binding
  syntax-async-generators
  syntax-object-rest-spread
  syntax-dynamic-import
  syntax-export-namespace-from

Using polyfills: No polyfills were added, since the `useBuiltIns` option was not set.
index generated src/common/themes/index.js
Successfully compiled 1 file with Babel (15408ms).
index generated src/common/intl/locales/index.js
* xo-web:build − NODE_ENV=production gulp build
@babel/preset-env: `DEBUG` option

Using targets:
{
  "node": "10"
}

Using modules transform: auto

Using plugins:
  proposal-class-static-block { node }
  proposal-private-property-in-object { node }
  proposal-class-properties { node < 14.6 }
  proposal-private-methods { node < 14.6 }
  proposal-numeric-separator { node < 12.5 }
  proposal-logical-assignment-operators { node < 15 }
  proposal-nullish-coalescing-operator { node < 14 }
  proposal-optional-chaining { node }
  syntax-json-strings
  syntax-optional-catch-binding
  syntax-async-generators
  syntax-object-rest-spread
  proposal-export-namespace-from { node < 13.2 }
  transform-modules-commonjs
  proposal-dynamic-import

Using polyfills: No polyfills were added, since the `useBuiltIns` option was not set.
@babel/preset-env: `DEBUG` option

Using targets:
{
  "chrome": "90",
  "edge": "91",
  "ios": "14",
  "node": "6",
  "samsung": "14"
}

Using modules transform: auto

Using plugins:
  proposal-class-static-block { chrome < 91, edge, ios, node, samsung }
  proposal-private-property-in-object { chrome < 91, edge, ios, node, samsung }
  proposal-class-properties { ios, node < 14.6, samsung }
  proposal-private-methods { ios, node < 14.6, samsung }
  proposal-numeric-separator { node < 12.5 }
  proposal-logical-assignment-operators { node < 15, samsung }
  proposal-nullish-coalescing-operator { node < 14 }
  proposal-optional-chaining { chrome, edge, node, samsung }
  proposal-json-strings { node < 10 }
  proposal-optional-catch-binding { node < 10 }
  proposal-async-generator-functions { node < 10 }
  proposal-object-rest-spread { node < 8.3 }
  transform-dotall-regex { node < 8.10 }
  proposal-unicode-property-regex { node < 10 }
  transform-named-capturing-groups-regex { node < 10 }
  transform-async-to-generator { node < 7.6 }
  transform-exponentiation-operator { node < 7 }
  transform-function-name { node < 6.5 }
  transform-for-of { node < 6.5 }
  transform-destructuring { node < 6.5 }
  proposal-export-namespace-from { ios, node < 13.2 }
  transform-modules-commonjs
  proposal-dynamic-import

Using polyfills: No polyfills were added, since the `useBuiltIns` option was not set.
@babel/preset-env: `DEBUG` option

Using targets:
{
  "node": "6"
}

Using modules transform: auto

Using plugins:
  proposal-class-static-block { node }
  proposal-private-property-in-object { node }
  proposal-class-properties { node < 14.6 }
  proposal-private-methods { node < 14.6 }
  proposal-numeric-separator { node < 12.5 }
  proposal-logical-assignment-operators { node < 15 }
  proposal-nullish-coalescing-operator { node < 14 }
  proposal-optional-chaining { node }
  proposal-json-strings { node < 10 }
  proposal-optional-catch-binding { node < 10 }
  proposal-async-generator-functions { node < 10 }
  proposal-object-rest-spread { node < 8.3 }
  transform-dotall-regex { node < 8.10 }
  proposal-unicode-property-regex { node < 10 }
  transform-named-capturing-groups-regex { node < 10 }
  transform-async-to-generator { node < 7.6 }
  transform-exponentiation-operator { node < 7 }
  transform-function-name { node < 6.5 }
  transform-for-of { node < 6.5 }
  transform-destructuring { node < 6.5 }
  proposal-export-namespace-from { node < 13.2 }
  transform-modules-commonjs
  proposal-dynamic-import

Using polyfills: No polyfills were added, since the `useBuiltIns` option was not set.
@babel/preset-env: `DEBUG` option

Using targets:
{
  "chrome": "90",
  "edge": "91",
  "ios": "14",
  "node": "6",
  "samsung": "14"
}

Using modules transform: auto

Using plugins:
  proposal-class-static-block { chrome < 91, edge, ios, node, samsung }
  proposal-private-property-in-object { chrome < 91, edge, ios, node, samsung }
  proposal-class-properties { ios, node < 14.6, samsung }
  proposal-private-methods { ios, node < 14.6, samsung }
  proposal-numeric-separator { node < 12.5 }
  proposal-logical-assignment-operators { node < 15, samsung }
  proposal-nullish-coalescing-operator { node < 14 }
  proposal-optional-chaining { chrome, edge, node, samsung }
  proposal-json-strings { node < 10 }
  proposal-optional-catch-binding { node < 10 }
  proposal-async-generator-functions { node < 10 }
  proposal-object-rest-spread { node < 8.3 }
  transform-dotall-regex { node < 8.10 }
  proposal-unicode-property-regex { node < 10 }
  transform-named-capturing-groups-regex { node < 10 }
  transform-async-to-generator { node < 7.6 }
  transform-exponentiation-operator { node < 7 }
  transform-function-name { node < 6.5 }
  transform-for-of { node < 6.5 }
  transform-destructuring { node < 6.5 }
  proposal-export-namespace-from { ios, node < 13.2 }
  transform-modules-commonjs
  proposal-dynamic-import

Using polyfills: No polyfills were added, since the `useBuiltIns` option was not set.
@babel/preset-env: `DEBUG` option

Using targets:
{
  "node": "8"
}

Using modules transform: auto

Using plugins:
  proposal-class-static-block { node }
  proposal-private-property-in-object { node }
  proposal-class-properties { node < 14.6 }
  proposal-private-methods { node < 14.6 }
  proposal-numeric-separator { node < 12.5 }
  proposal-logical-assignment-operators { node < 15 }
  proposal-nullish-coalescing-operator { node < 14 }
  proposal-optional-chaining { node }
  proposal-json-strings { node < 10 }
  proposal-optional-catch-binding { node < 10 }
  proposal-async-generator-functions { node < 10 }
  proposal-object-rest-spread { node < 8.3 }
  transform-dotall-regex { node < 8.10 }
  proposal-unicode-property-regex { node < 10 }
  transform-named-capturing-groups-regex { node < 10 }
  proposal-export-namespace-from { node < 13.2 }
  transform-modules-commonjs
  proposal-dynamic-import

Using polyfills: No polyfills were added, since the `useBuiltIns` option was not set.
@babel/preset-env: `DEBUG` option

Using targets:
{
  "node": "6"
}

Using modules transform: auto

Using plugins:
  proposal-class-static-block { node }
  proposal-private-property-in-object { node }
  proposal-class-properties { node < 14.6 }
  proposal-private-methods { node < 14.6 }
  proposal-numeric-separator { node < 12.5 }
  proposal-logical-assignment-operators { node < 15 }
  proposal-nullish-coalescing-operator { node < 14 }
  proposal-optional-chaining { node }
  proposal-json-strings { node < 10 }
  proposal-optional-catch-binding { node < 10 }
  proposal-async-generator-functions { node < 10 }
  proposal-object-rest-spread { node < 8.3 }
  transform-dotall-regex { node < 8.10 }
  proposal-unicode-property-regex { node < 10 }
  transform-named-capturing-groups-regex { node < 10 }
  transform-async-to-generator { node < 7.6 }
  transform-exponentiation-operator { node < 7 }
  transform-function-name { node < 6.5 }
  transform-for-of { node < 6.5 }
  transform-destructuring { node < 6.5 }
  proposal-export-namespace-from { node < 13.2 }
  transform-modules-commonjs
  proposal-dynamic-import

Using polyfills: No polyfills were added, since the `useBuiltIns` option was not set.
@babel/preset-env: `DEBUG` option

Using targets:
{
  "node": "6"
}

Using modules transform: auto

Using plugins:
  proposal-class-static-block { node }
  proposal-private-property-in-object { node }
  proposal-class-properties { node < 14.6 }
  proposal-private-methods { node < 14.6 }
  proposal-numeric-separator { node < 12.5 }
  proposal-logical-assignment-operators { node < 15 }
  proposal-nullish-coalescing-operator { node < 14 }
  proposal-optional-chaining { node }
  proposal-json-strings { node < 10 }
  proposal-optional-catch-binding { node < 10 }
  proposal-async-generator-functions { node < 10 }
  proposal-object-rest-spread { node < 8.3 }
  transform-dotall-regex { node < 8.10 }
  proposal-unicode-property-regex { node < 10 }
  transform-named-capturing-groups-regex { node < 10 }
  transform-async-to-generator { node < 7.6 }
  transform-exponentiation-operator { node < 7 }
  transform-function-name { node < 6.5 }
  transform-for-of { node < 6.5 }
  transform-destructuring { node < 6.5 }
  proposal-export-namespace-from { node < 13.2 }
  transform-modules-commonjs
  proposal-dynamic-import

Using polyfills: No polyfills were added, since the `useBuiltIns` option was not set.
@babel/preset-env: `DEBUG` option

Using targets:
{
  "node": "7.6"
}

Using modules transform: auto

Using plugins:
  proposal-class-static-block { node }
  proposal-private-property-in-object { node }
  proposal-class-properties { node < 14.6 }
  proposal-private-methods { node < 14.6 }
  proposal-numeric-separator { node < 12.5 }
  proposal-logical-assignment-operators { node < 15 }
  proposal-nullish-coalescing-operator { node < 14 }
  proposal-optional-chaining { node }
  proposal-json-strings { node < 10 }
  proposal-optional-catch-binding { node < 10 }
  proposal-async-generator-functions { node < 10 }
  proposal-object-rest-spread { node < 8.3 }
  transform-dotall-regex { node < 8.10 }
  proposal-unicode-property-regex { node < 10 }
  transform-named-capturing-groups-regex { node < 10 }
  proposal-export-namespace-from { node < 13.2 }
  transform-modules-commonjs
  proposal-dynamic-import

Using polyfills: No polyfills were added, since the `useBuiltIns` option was not set.
@babel/preset-env: `DEBUG` option

Using targets:
{
  "node": "10"
}

Using modules transform: auto

Using plugins:
  proposal-class-static-block { node }
  proposal-private-property-in-object { node }
  proposal-class-properties { node < 14.6 }
  proposal-private-methods { node < 14.6 }
  proposal-numeric-separator { node < 12.5 }
  proposal-logical-assignment-operators { node < 15 }
  proposal-nullish-coalescing-operator { node < 14 }
  proposal-optional-chaining { node }
  syntax-json-strings
  syntax-optional-catch-binding
  syntax-async-generators
  syntax-object-rest-spread
  proposal-export-namespace-from { node < 13.2 }
  transform-modules-commonjs
  proposal-dynamic-import

Using polyfills: No polyfills were added, since the `useBuiltIns` option was not set.
Successfully compiled 9 files with Babel (15156ms).
@babel/preset-env: `DEBUG` option

Using targets:
{
  "node": "8.10"
}

Using modules transform: auto

Using plugins:
  proposal-class-static-block { node }
  proposal-private-property-in-object { node }
  proposal-class-properties { node < 14.6 }
  proposal-private-methods { node < 14.6 }
  proposal-numeric-separator { node < 12.5 }
  proposal-logical-assignment-operators { node < 15 }
  proposal-nullish-coalescing-operator { node < 14 }
  proposal-optional-chaining { node }
  proposal-json-strings { node < 10 }
  proposal-optional-catch-binding { node < 10 }
  proposal-async-generator-functions { node < 10 }
  syntax-object-rest-spread
  proposal-unicode-property-regex { node < 10 }
  transform-named-capturing-groups-regex { node < 10 }
  proposal-export-namespace-from { node < 13.2 }
  transform-modules-commonjs
  proposal-dynamic-import

Using polyfills: No polyfills were added, since the `useBuiltIns` option was not set.
@babel/preset-env: `DEBUG` option

Using targets:
{
  "node": "14.13"
}

Using modules transform: false

Using plugins:
  proposal-class-static-block { node }
  proposal-private-property-in-object { node }
  syntax-class-properties
  syntax-numeric-separator
  proposal-logical-assignment-operators { node < 15 }
  syntax-nullish-coalescing-operator
  proposal-optional-chaining { node }
  syntax-json-strings
  syntax-optional-catch-binding
  syntax-async-generators
  syntax-object-rest-spread
  syntax-dynamic-import
  syntax-export-namespace-from

Using polyfills: No polyfills were added, since the `useBuiltIns` option was not set.
@babel/preset-env: `DEBUG` option

Using targets:
@babel/preset-env: `DEBUG` option

Using targets:
{
  "node": "6"
}

Using modules transform: auto

Using plugins:
  proposal-class-static-block { node }
  proposal-private-property-in-object { node }
  proposal-class-properties { node < 14.6 }
  proposal-private-methods { node < 14.6 }
  proposal-numeric-separator { node < 12.5 }
  proposal-logical-assignment-operators { node < 15 }
  proposal-nullish-coalescing-operator { node < 14 }
  proposal-optional-chaining { node }
{
  "chrome": "90",
  "edge": "91",
  "ios": "14",
  "node": "6",
  "samsung": "14"
}

Using modules transform: auto

Using plugins:
  proposal-class-static-block { chrome < 91, edge, ios, node, samsung }
  proposal-private-property-in-object { chrome < 91, edge, ios, node, samsung }
  proposal-class-properties { ios, node < 14.6, samsung }
  proposal-private-methods { ios, node < 14.6, samsung }
  proposal-numeric-separator { node < 12.5 }
  proposal-logical-assignment-operators { node < 15, samsung }
  proposal-nullish-coalescing-operator { node < 14 }
  proposal-optional-chaining { chrome, edge, node, samsung }
  proposal-json-strings { node < 10 }
  proposal-optional-catch-binding { node < 10 }
  proposal-async-generator-functions { node < 10 }
  proposal-object-rest-spread { node < 8.3 }
  transform-dotall-regex { node < 8.10 }
  proposal-json-strings { node < 10 }
  proposal-optional-catch-binding { node < 10 }
  proposal-async-generator-functions { node < 10 }
  proposal-object-rest-spread { node < 8.3 }
  transform-dotall-regex { node < 8.10 }
  proposal-unicode-property-regex { node < 10 }
  transform-named-capturing-groups-regex { node < 10 }
  transform-async-to-generator { node < 7.6 }
  transform-exponentiation-operator { node < 7 }
  transform-function-name { node < 6.5 }
  transform-for-of { node < 6.5 }
  transform-destructuring { node < 6.5 }
  proposal-export-namespace-from { node < 13.2 }
  transform-modules-commonjs
  proposal-dynamic-import

Using polyfills: No polyfills were added, since the `useBuiltIns` option was not set.
@babel/preset-env: `DEBUG` option

Using targets:
  proposal-unicode-property-regex { node < 10 }
  transform-named-capturing-groups-regex { node < 10 }
  transform-async-to-generator { node < 7.6 }
  transform-exponentiation-operator { node < 7 }
  transform-function-name { node < 6.5 }
  transform-for-of { node < 6.5 }
  transform-destructuring { node < 6.5 }
  proposal-export-namespace-from { ios, node < 13.2 }
  transform-modules-commonjs
  proposal-dynamic-import

Using polyfills: No polyfills were added, since the `useBuiltIns` option was not set.
@babel/preset-env: `DEBUG` option

Using targets:
{
  "node": "8.10"
}

Using modules transform: auto

Using plugins:
  proposal-class-static-block { node }
  proposal-private-property-in-object { node }
  proposal-class-properties { node < 14.6 }
  proposal-private-methods { node < 14.6 }
  proposal-numeric-separator { node < 12.5 }
  proposal-logical-assignment-operators { node < 15 }
  proposal-nullish-coalescing-operator { node < 14 }
  proposal-optional-chaining { node }
  proposal-json-strings { node < 10 }
  proposal-optional-catch-binding { node < 10 }
  proposal-async-generator-functions { node < 10 }
  syntax-object-rest-spread
  proposal-unicode-property-regex { node < 10 }
  transform-named-capturing-groups-regex { node < 10 }
  proposal-export-namespace-from { node < 13.2 }
  transform-modules-commonjs
  proposal-dynamic-import

Using polyfills: No polyfills were added, since the `useBuiltIns` option was not set.
{
  "chrome": "90",
  "edge": "91",
  "ios": "14",
  "node": "6",
  "samsung": "14"
}

Using modules transform: auto

Using plugins:
  proposal-class-static-block { chrome < 91, edge, ios, node, samsung }
  proposal-private-property-in-object { chrome < 91, edge, ios, node, samsung }
  proposal-class-properties { ios, node < 14.6, samsung }
  proposal-private-methods { ios, node < 14.6, samsung }
  proposal-numeric-separator { node < 12.5 }
  proposal-logical-assignment-operators { node < 15, samsung }
  proposal-nullish-coalescing-operator { node < 14 }
  proposal-optional-chaining { chrome, edge, node, samsung }
  proposal-json-strings { node < 10 }
  proposal-optional-catch-binding { node < 10 }
  proposal-async-generator-functions { node < 10 }
  proposal-object-rest-spread { node < 8.3 }
  transform-dotall-regex { node < 8.10 }
  proposal-unicode-property-regex { node < 10 }
  transform-named-capturing-groups-regex { node < 10 }
  transform-async-to-generator { node < 7.6 }
  transform-exponentiation-operator { node < 7 }
  transform-function-name { node < 6.5 }
  transform-for-of { node < 6.5 }
  transform-destructuring { node < 6.5 }
  proposal-export-namespace-from { ios, node < 13.2 }
  transform-modules-commonjs
  proposal-dynamic-import

Using polyfills: No polyfills were added, since the `useBuiltIns` option was not set.
Successfully compiled 1 file with Babel (10404ms).
@babel/preset-env: `DEBUG` option

Using targets:
{
  "chrome": "90",
  "edge": "91",
  "ios": "14",
  "node": "6",
  "samsung": "14"
}

Using modules transform: auto

Using plugins:
  proposal-class-static-block { chrome < 91, edge, ios, node, samsung }
  proposal-private-property-in-object { chrome < 91, edge, ios, node, samsung }
  proposal-class-properties { ios, node < 14.6, samsung }
  proposal-private-methods { ios, node < 14.6, samsung }
  proposal-numeric-separator { node < 12.5 }
  proposal-logical-assignment-operators { node < 15, samsung }
  proposal-nullish-coalescing-operator { node < 14 }
  proposal-optional-chaining { chrome, edge, node, samsung }
  proposal-json-strings { node < 10 }
  proposal-optional-catch-binding { node < 10 }
  proposal-async-generator-functions { node < 10 }
  proposal-object-rest-spread { node < 8.3 }
  transform-dotall-regex { node < 8.10 }
  proposal-unicode-property-regex { node < 10 }
  transform-named-capturing-groups-regex { node < 10 }
  transform-async-to-generator { node < 7.6 }
  transform-exponentiation-operator { node < 7 }
  transform-function-name { node < 6.5 }
  transform-for-of { node < 6.5 }
  transform-destructuring { node < 6.5 }
  proposal-export-namespace-from { ios, node < 13.2 }
  transform-modules-commonjs
  proposal-dynamic-import

Using polyfills: No polyfills were added, since the `useBuiltIns` option was not set.
Successfully compiled 3 files with Babel (18416ms).
Successfully compiled 9 files with Babel (18380ms).
Successfully compiled 1 file with Babel (12435ms).
@babel/preset-env: `DEBUG` option

Using targets:
{
  "node": "10"
}

Using modules transform: auto

Using plugins:
  proposal-class-static-block { node }
  proposal-private-property-in-object { node }
  proposal-class-properties { node < 14.6 }
  proposal-private-methods { node < 14.6 }
  proposal-numeric-separator { node < 12.5 }
  proposal-logical-assignment-operators { node < 15 }
  proposal-nullish-coalescing-operator { node < 14 }
  proposal-optional-chaining { node }
  syntax-json-strings
  syntax-optional-catch-binding
  syntax-async-generators
  syntax-object-rest-spread
  proposal-export-namespace-from { node < 13.2 }
  transform-modules-commonjs
  proposal-dynamic-import

Using polyfills: No polyfills were added, since the `useBuiltIns` option was not set.
Successfully compiled 1 file with Babel (20256ms).
Successfully compiled 1 file with Babel (19159ms).
@babel/preset-env: `DEBUG` option

Using targets:
{
  "node": "10"
}

Using modules transform: auto

Using plugins:
  proposal-class-static-block { node }
  proposal-private-property-in-object { node }
  proposal-class-properties { node < 14.6 }
  proposal-private-methods { node < 14.6 }
  proposal-numeric-separator { node < 12.5 }
  proposal-logical-assignment-operators { node < 15 }
  proposal-nullish-coalescing-operator { node < 14 }
  proposal-optional-chaining { node }
  syntax-json-strings
  syntax-optional-catch-binding
  syntax-async-generators
  syntax-object-rest-spread
  proposal-export-namespace-from { node < 13.2 }
  transform-modules-commonjs
  proposal-dynamic-import

Using polyfills: No polyfills were added, since the `useBuiltIns` option was not set.
Successfully compiled 1 file with Babel (12398ms).
Successfully compiled 1 file with Babel (13730ms).
Successfully compiled 1 file with Babel (21272ms).
Successfully compiled 1 file with Babel (13929ms).
Successfully compiled 2 files with Babel (19503ms).
Successfully compiled 1 file with Babel (21642ms).
Successfully compiled 1 file with Babel (13303ms).
@babel/preset-env: `DEBUG` option

Using targets:
{
  "node": "6"
}

Using modules transform: auto

Using plugins:
  proposal-class-static-block { node }
  proposal-private-property-in-object { node }
  proposal-class-properties { node < 14.6 }
  proposal-private-methods { node < 14.6 }
  proposal-numeric-separator { node < 12.5 }
  proposal-logical-assignment-operators { node < 15 }
  proposal-nullish-coalescing-operator { node < 14 }
  proposal-optional-chaining { node }
  proposal-json-strings { node < 10 }
  proposal-optional-catch-binding { node < 10 }
  proposal-async-generator-functions { node < 10 }
  proposal-object-rest-spread { node < 8.3 }
  transform-dotall-regex { node < 8.10 }
  proposal-unicode-property-regex { node < 10 }
  transform-named-capturing-groups-regex { node < 10 }
  transform-async-to-generator { node < 7.6 }
  transform-exponentiation-operator { node < 7 }
  transform-function-name { node < 6.5 }
  transform-for-of { node < 6.5 }
  transform-destructuring { node < 6.5 }
  proposal-export-namespace-from { node < 13.2 }
  transform-modules-commonjs
  proposal-dynamic-import
Successfully compiled 2 files with Babel (21784ms).

Using polyfills: No polyfills were added, since the `useBuiltIns` option was not set.
@babel/preset-env: `DEBUG` option

Using targets:
{
  "node": "14"
}

Using modules transform: auto

Using plugins:
  proposal-class-static-block { node }
  proposal-private-property-in-object { node }
  proposal-class-properties { node < 14.6 }
  proposal-private-methods { node < 14.6 }
  syntax-numeric-separator
  proposal-logical-assignment-operators { node < 15 }
  syntax-nullish-coalescing-operator
  proposal-optional-chaining { node }
  syntax-json-strings
  syntax-optional-catch-binding
  syntax-async-generators
  syntax-object-rest-spread
  transform-modules-commonjs
  proposal-dynamic-import
  proposal-export-namespace-from { }

Using polyfills: No polyfills were added, since the `useBuiltIns` option was not set.
@babel/preset-env: `DEBUG` option

Using targets:
{
  "node": "6"
}

Using modules transform: auto

Using plugins:
  proposal-class-static-block { node }
  proposal-private-property-in-object { node }
  proposal-class-properties { node < 14.6 }
  proposal-private-methods { node < 14.6 }
  proposal-numeric-separator { node < 12.5 }
  proposal-logical-assignment-operators { node < 15 }
  proposal-nullish-coalescing-operator { node < 14 }
  proposal-optional-chaining { node }
  proposal-json-strings { node < 10 }
  proposal-optional-catch-binding { node < 10 }
  proposal-async-generator-functions { node < 10 }
  proposal-object-rest-spread { node < 8.3 }
  transform-dotall-regex { node < 8.10 }
  proposal-unicode-property-regex { node < 10 }
  transform-named-capturing-groups-regex { node < 10 }
  transform-async-to-generator { node < 7.6 }
  transform-exponentiation-operator { node < 7 }
  transform-function-name { node < 6.5 }
  transform-for-of { node < 6.5 }
  transform-destructuring { node < 6.5 }
  proposal-export-namespace-from { node < 13.2 }
  transform-modules-commonjs
  proposal-dynamic-import

Using polyfills: No polyfills were added, since the `useBuiltIns` option was not set.
Successfully compiled 1 file with Babel (14745ms).
@babel/preset-env: `DEBUG` option

Using targets:
{
  "chrome": "90",
  "edge": "91",
  "firefox": "89",
  "ios": "14",
  "node": "6",
  "safari": "14",
  "samsung": "14"
}

Using modules transform: auto

Using plugins:
  proposal-class-static-block { chrome < 91, edge, firefox, ios, node, safari, samsung }
  proposal-private-property-in-object { chrome < 91, edge, firefox < 90, ios, node, safari, samsung }
  proposal-class-properties { firefox < 90, ios, node < 14.6, safari < 15, samsung }
  proposal-private-methods { firefox < 90, ios, node < 14.6, safari < 15, samsung }
  proposal-numeric-separator { node < 12.5 }
  proposal-logical-assignment-operators { node < 15, samsung }
  proposal-nullish-coalescing-operator { node < 14 }
  proposal-optional-chaining { chrome, edge, node, samsung }
  proposal-json-strings { node < 10 }
  proposal-optional-catch-binding { node < 10 }
  proposal-async-generator-functions { node < 10 }
  proposal-object-rest-spread { node < 8.3 }
  transform-dotall-regex { node < 8.10 }
  proposal-unicode-property-regex { node < 10 }
  transform-named-capturing-groups-regex { node < 10 }
  transform-async-to-generator { node < 7.6 }
  transform-exponentiation-operator { node < 7 }
  transform-function-name { node < 6.5 }
  transform-for-of { node < 6.5 }
  transform-destructuring { node < 6.5 }
  proposal-export-namespace-from { ios, node < 13.2, safari }
  transform-modules-commonjs
  proposal-dynamic-import

Using polyfills: No polyfills were added, since the `useBuiltIns` option was not set.
@babel/preset-env: `DEBUG` option

Using targets:
{
  "node": "6"
}

Using modules transform: auto

Using plugins:
  proposal-class-static-block { node }
  proposal-private-property-in-object { node }
  proposal-class-properties { node < 14.6 }
  proposal-private-methods { node < 14.6 }
  proposal-numeric-separator { node < 12.5 }
  proposal-logical-assignment-operators { node < 15 }
  proposal-nullish-coalescing-operator { node < 14 }
  proposal-optional-chaining { node }
  proposal-json-strings { node < 10 }
  proposal-optional-catch-binding { node < 10 }
  proposal-async-generator-functions { node < 10 }
  proposal-object-rest-spread { node < 8.3 }
  transform-dotall-regex { node < 8.10 }
  proposal-unicode-property-regex { node < 10 }
  transform-named-capturing-groups-regex { node < 10 }
  transform-async-to-generator { node < 7.6 }
  transform-exponentiation-operator { node < 7 }
  transform-function-name { node < 6.5 }
  transform-for-of { node < 6.5 }
  transform-destructuring { node < 6.5 }
  proposal-export-namespace-from { node < 13.2 }
  transform-modules-commonjs
  proposal-dynamic-import

Using polyfills: No polyfills were added, since the `useBuiltIns` option was not set.
[18:10:45] Using gulpfile /etc/xo/xo-builds/xen-orchestra-202107271809/packages/xo-web/gulpfile.js
[18:10:45] Starting 'build'...
[18:10:45] Starting 'buildPages'...
[18:10:45] Starting 'buildScripts'...
[18:10:45] Starting 'buildStyles'...
[18:10:45] Starting 'copyAssets'...
Successfully compiled 3 files with Babel (16416ms).
Successfully compiled 3 files with Babel (18798ms).
Successfully compiled 24 files with Babel (23661ms).
Successfully compiled 9 files with Babel (13689ms).
Successfully compiled 7 files with Babel (18520ms).
Successfully compiled 10 files with Babel (14976ms).
Successfully compiled 1 file with Babel (16667ms).
Successfully compiled 5 files with Babel (24970ms).
Successfully compiled 18 files with Babel (26368ms).
Successfully compiled 6 files with Babel (29925ms).
Successfully compiled 10 files with Babel (19585ms).
Successfully compiled 1 file with Babel (19451ms).
Successfully compiled 1 file with Babel (19136ms).
Successfully compiled 21 files with Babel (21713ms).
Successfully compiled 1 file with Babel (20863ms).
[18:10:51] Finished 'buildPages' after 6.31 s
@babel/preset-env: `DEBUG` option

Using targets:
{
  "chrome": "90",
  "edge": "91",
  "ios": "14",
  "node": "6",
  "samsung": "14"
}

Using modules transform: auto

Using plugins:
  proposal-class-static-block { chrome < 91, edge, ios, node, samsung }
  proposal-private-property-in-object { chrome < 91, edge, ios, node, samsung }
  proposal-class-properties { ios, node < 14.6, samsung }
  proposal-private-methods { ios, node < 14.6, samsung }
  proposal-numeric-separator { node < 12.5 }
  proposal-logical-assignment-operators { node < 15, samsung }
  proposal-nullish-coalescing-operator { node < 14 }
  proposal-optional-chaining { chrome, edge, node, samsung }
  proposal-json-strings { node < 10 }
  proposal-optional-catch-binding { node < 10 }
  proposal-async-generator-functions { node < 10 }
  proposal-object-rest-spread { node < 8.3 }
  transform-dotall-regex { node < 8.10 }
  proposal-unicode-property-regex { node < 10 }
  transform-named-capturing-groups-regex { node < 10 }
  transform-async-to-generator { node < 7.6 }
  transform-exponentiation-operator { node < 7 }
  transform-function-name { node < 6.5 }
  transform-for-of { node < 6.5 }
  transform-destructuring { node < 6.5 }
  proposal-export-namespace-from { ios, node < 13.2 }
  transform-modules-commonjs
  proposal-dynamic-import

Using polyfills: No polyfills were added, since the `useBuiltIns` option was not set.
Successfully compiled 131 files with Babel (26590ms).
[18:10:57] Finished 'buildStyles' after 12 s
[18:10:57] Finished 'copyAssets' after 12 s
[18:12:57] Finished 'buildScripts' after 2.2 min
[18:12:57] Finished 'build' after 2.2 min
Done in 162.13s.
+ find "/etc/xo/xo-builds/xen-orchestra-202107271809/packages/" -maxdepth 1 -mindepth 1 -not -name "xo-server" -not -name "xo-web" -not -name "xo-server-cloud" -exec ln -sn {} "/etc/xo/xo-builds/xen-orchestra-202107271809/packages/xo-server/node_modules/" \;
+ sed -i "s#ExecStart=.*#ExecStart=/etc/xo\/xo-server\/dist\/cli.mjs#" /etc/xo/xo-builds/xen-orchestra-202107271809/packages/xo-server/xo-server.service
+ sed -i "/ExecStart=.*/a WorkingDirectory=/etc/xo/xo-server" /etc/xo/xo-builds/xen-orchestra-202107271809/packages/xo-server/xo-server.service
+ sed -i "s%#'/any/url' = '/path/to/directory'%'/' = '/etc/xo/xo-web/dist/'%" /etc/xo/xo-builds/xen-orchestra-202107271809/packages/xo-server/sample.config.toml
+ sed -i "s/port = 80/port = 443/" /etc/xo/xo-builds/xen-orchestra-202107271809/packages/xo-server/sample.config.toml
+ sed -i "s%# cert = '.\/certificate.pem'%cert = '/home/mario/XenOrchestraInstallerUpdater/xoa.marmed.xyz.crt'%" /etc/xo/xo-builds/xen-orchestra-202107271809/packages/xo-server/sample.config.toml
+ sed -i "s%# key = '.\/key.pem'%key = '/home/mario/XenOrchestraInstallerUpdater/xoa.marmed.xyz.key'%" /etc/xo/xo-builds/xen-orchestra-202107271809/packages/xo-server/sample.config.toml
+ sed -i "s/# redirectToHttps/redirectToHttps/" /etc/xo/xo-builds/xen-orchestra-202107271809/packages/xo-server/sample.config.toml
+ mkdir -p /root/.config/xo-server
+ mv -f /etc/xo/xo-builds/xen-orchestra-202107271809/packages/xo-server/sample.config.toml /root/.config/xo-server/config.toml
+ ln -sfn /etc/xo/xo-builds/xen-orchestra-202107271809/packages/xo-server /etc/xo/xo-server
+ ln -sfn /etc/xo/xo-builds/xen-orchestra-202107271809/packages/xo-web /etc/xo/xo-web
+ find /etc/systemd/system -maxdepth 1 -type l -name 'xo-server.service'
+ /bin/cp -f /etc/xo/xo-builds/xen-orchestra-202107271809/packages/xo-server/xo-server.service /etc/systemd/system/xo-server.service
+ /bin/systemctl daemon-reload
+ /bin/systemctl start xo-server
+ journalctl --since '2021-07-27 18:09:23' -u xo-server | grep 'Web server listening on https\{0,1\}:\/\/.*:443'
+ journalctl --since '2021-07-27 18:09:23' -u xo-server | grep 'Web server listening on https\{0,1\}:\/\/.*:443'
+ journalctl --since '2021-07-27 18:09:23' -u xo-server | grep 'Web server listening on https\{0,1\}:\/\/.*:443'
+ journalctl --since '2021-07-27 18:09:23' -u xo-server | grep 'Web server listening on https\{0,1\}:\/\/.*:443'
+ journalctl --since '2021-07-27 18:09:23' -u xo-server | grep 'Web server listening on https\{0,1\}:\/\/.*:443'
+ journalctl --since '2021-07-27 18:09:23' -u xo-server | grep 'Web server listening on https\{0,1\}:\/\/.*:443'
+ journalctl --since '2021-07-27 18:09:23' -u xo-server | grep 'Web server listening on https\{0,1\}:\/\/.*:443'

Update failed
xo-server service log:

+ journalctl --since '2021-07-27 18:09:23' -u xo-server >> /home/mario/XenOrchestraInstallerUpdater/logs/xo-install.log-202107271809
-- Logs begin at Tue 2021-07-27 18:08:42 EDT, end at Tue 2021-07-27 18:13:15 EDT. --
Jul 27 18:09:29 XOA xo-server[619]: 2021-07-27T22:09:29.973Z xo:main INFO SIGTERM caught, closing…
Jul 27 18:09:29 XOA systemd[1]: Stopping XO Server...
Jul 27 18:09:29 XOA xo-server[619]: 2021-07-27T22:09:29.987Z xo:main INFO - WebSocket connection (::ffff:192.168.0.35)
Jul 27 18:09:29 XOA xo-server[619]: 2021-07-27T22:09:29.991Z xo:main INFO bye :-)
Jul 27 18:09:30 XOA systemd[1]: xo-server.service: Succeeded.
Jul 27 18:09:30 XOA systemd[1]: Stopped XO Server.
Jul 27 18:13:10 XOA systemd[1]: Started XO Server.
Jul 27 18:13:11 XOA xo-server[3686]: internal/process/esm_loader.js:74
Jul 27 18:13:11 XOA xo-server[3686]:     internalBinding('errors').triggerUncaughtException(
Jul 27 18:13:11 XOA xo-server[3686]:                               ^
Jul 27 18:13:11 XOA xo-server[3686]: Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/etc/xo/xo-builds/xen-orchestra-202107271809/node_modules/lodash/pick' imported from /etc/xo/xo-builds/xen-orchestra-202107271809/packages/xo-server/dist/xo-mixins/xen-servers.mjs
Jul 27 18:13:11 XOA xo-server[3686]: Did you mean to import lodash/pick.js?
Jul 27 18:13:11 XOA xo-server[3686]:     at finalizeResolution (internal/modules/esm/resolve.js:271:11)
Jul 27 18:13:11 XOA xo-server[3686]:     at moduleResolve (internal/modules/esm/resolve.js:694:10)
Jul 27 18:13:11 XOA xo-server[3686]:     at Loader.defaultResolve [as _resolve] (internal/modules/esm/resolve.js:805:11)
Jul 27 18:13:11 XOA xo-server[3686]:     at Loader.resolve (internal/modules/esm/loader.js:88:40)
Jul 27 18:13:11 XOA xo-server[3686]:     at Loader.getModuleJob (internal/modules/esm/loader.js:241:28)
Jul 27 18:13:11 XOA xo-server[3686]:     at ModuleWrap.<anonymous> (internal/modules/esm/module_job.js:72:40)
Jul 27 18:13:11 XOA xo-server[3686]:     at link (internal/modules/esm/module_job.js:71:36) {
Jul 27 18:13:11 XOA xo-server[3686]:   code: 'ERR_MODULE_NOT_FOUND'
Jul 27 18:13:11 XOA xo-server[3686]: }
Jul 27 18:13:11 XOA systemd[1]: xo-server.service: Main process exited, code=exited, status=1/FAILURE
Jul 27 18:13:11 XOA systemd[1]: xo-server.service: Failed with result 'exit-code'.
Jul 27 18:13:11 XOA systemd[1]: xo-server.service: Service RestartSec=100ms expired, scheduling restart.
Jul 27 18:13:11 XOA systemd[1]: xo-server.service: Scheduled restart job, restart counter is at 1.
Jul 27 18:13:11 XOA systemd[1]: Stopped XO Server.
Jul 27 18:13:11 XOA systemd[1]: Started XO Server.
Jul 27 18:13:12 XOA xo-server[3703]: internal/process/esm_loader.js:74
Jul 27 18:13:12 XOA xo-server[3703]:     internalBinding('errors').triggerUncaughtException(
Jul 27 18:13:12 XOA xo-server[3703]:                               ^
Jul 27 18:13:12 XOA xo-server[3703]: Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/etc/xo/xo-builds/xen-orchestra-202107271809/node_modules/lodash/pick' imported from /etc/xo/xo-builds/xen-orchestra-202107271809/packages/xo-server/dist/xo-mixins/xen-servers.mjs
Jul 27 18:13:12 XOA xo-server[3703]: Did you mean to import lodash/pick.js?
Jul 27 18:13:12 XOA xo-server[3703]:     at finalizeResolution (internal/modules/esm/resolve.js:271:11)
Jul 27 18:13:12 XOA xo-server[3703]:     at moduleResolve (internal/modules/esm/resolve.js:694:10)
Jul 27 18:13:12 XOA xo-server[3703]:     at Loader.defaultResolve [as _resolve] (internal/modules/esm/resolve.js:805:11)
Jul 27 18:13:12 XOA xo-server[3703]:     at Loader.resolve (internal/modules/esm/loader.js:88:40)
Jul 27 18:13:12 XOA xo-server[3703]:     at Loader.getModuleJob (internal/modules/esm/loader.js:241:28)
Jul 27 18:13:12 XOA xo-server[3703]:     at ModuleWrap.<anonymous> (internal/modules/esm/module_job.js:72:40)
Jul 27 18:13:12 XOA xo-server[3703]:     at link (internal/modules/esm/module_job.js:71:36) {
Jul 27 18:13:12 XOA xo-server[3703]:   code: 'ERR_MODULE_NOT_FOUND'
Jul 27 18:13:12 XOA xo-server[3703]: }
Jul 27 18:13:12 XOA systemd[1]: xo-server.service: Main process exited, code=exited, status=1/FAILURE
Jul 27 18:13:12 XOA systemd[1]: xo-server.service: Failed with result 'exit-code'.
Jul 27 18:13:12 XOA systemd[1]: xo-server.service: Service RestartSec=100ms expired, scheduling restart.
Jul 27 18:13:12 XOA systemd[1]: xo-server.service: Scheduled restart job, restart counter is at 2.
Jul 27 18:13:12 XOA systemd[1]: Stopped XO Server.
Jul 27 18:13:12 XOA systemd[1]: Started XO Server.
Jul 27 18:13:13 XOA xo-server[3714]: internal/process/esm_loader.js:74
Jul 27 18:13:13 XOA xo-server[3714]:     internalBinding('errors').triggerUncaughtException(
Jul 27 18:13:13 XOA xo-server[3714]:                               ^
Jul 27 18:13:13 XOA xo-server[3714]: Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/etc/xo/xo-builds/xen-orchestra-202107271809/node_modules/lodash/pick' imported from /etc/xo/xo-builds/xen-orchestra-202107271809/packages/xo-server/dist/xo-mixins/xen-servers.mjs
Jul 27 18:13:13 XOA xo-server[3714]: Did you mean to import lodash/pick.js?
Jul 27 18:13:13 XOA xo-server[3714]:     at finalizeResolution (internal/modules/esm/resolve.js:271:11)
Jul 27 18:13:13 XOA xo-server[3714]:     at moduleResolve (internal/modules/esm/resolve.js:694:10)
Jul 27 18:13:13 XOA xo-server[3714]:     at Loader.defaultResolve [as _resolve] (internal/modules/esm/resolve.js:805:11)
Jul 27 18:13:13 XOA xo-server[3714]:     at Loader.resolve (internal/modules/esm/loader.js:88:40)
Jul 27 18:13:13 XOA xo-server[3714]:     at Loader.getModuleJob (internal/modules/esm/loader.js:241:28)
Jul 27 18:13:13 XOA xo-server[3714]:     at ModuleWrap.<anonymous> (internal/modules/esm/module_job.js:72:40)
Jul 27 18:13:13 XOA xo-server[3714]:     at link (internal/modules/esm/module_job.js:71:36) {
Jul 27 18:13:13 XOA xo-server[3714]:   code: 'ERR_MODULE_NOT_FOUND'
Jul 27 18:13:13 XOA xo-server[3714]: }
Jul 27 18:13:13 XOA systemd[1]: xo-server.service: Main process exited, code=exited, status=1/FAILURE
Jul 27 18:13:13 XOA systemd[1]: xo-server.service: Failed with result 'exit-code'.
Jul 27 18:13:13 XOA systemd[1]: xo-server.service: Service RestartSec=100ms expired, scheduling restart.
Jul 27 18:13:13 XOA systemd[1]: xo-server.service: Scheduled restart job, restart counter is at 3.
Jul 27 18:13:13 XOA systemd[1]: Stopped XO Server.
Jul 27 18:13:13 XOA systemd[1]: Started XO Server.
Jul 27 18:13:14 XOA xo-server[3725]: internal/process/esm_loader.js:74
Jul 27 18:13:14 XOA xo-server[3725]:     internalBinding('errors').triggerUncaughtException(
Jul 27 18:13:14 XOA xo-server[3725]:                               ^
Jul 27 18:13:14 XOA xo-server[3725]: Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/etc/xo/xo-builds/xen-orchestra-202107271809/node_modules/lodash/pick' imported from /etc/xo/xo-builds/xen-orchestra-202107271809/packages/xo-server/dist/xo-mixins/xen-servers.mjs
Jul 27 18:13:14 XOA xo-server[3725]: Did you mean to import lodash/pick.js?
Jul 27 18:13:14 XOA xo-server[3725]:     at finalizeResolution (internal/modules/esm/resolve.js:271:11)
Jul 27 18:13:14 XOA xo-server[3725]:     at moduleResolve (internal/modules/esm/resolve.js:694:10)
Jul 27 18:13:14 XOA xo-server[3725]:     at Loader.defaultResolve [as _resolve] (internal/modules/esm/resolve.js:805:11)
Jul 27 18:13:14 XOA xo-server[3725]:     at Loader.resolve (internal/modules/esm/loader.js:88:40)
Jul 27 18:13:14 XOA xo-server[3725]:     at Loader.getModuleJob (internal/modules/esm/loader.js:241:28)
Jul 27 18:13:14 XOA xo-server[3725]:     at ModuleWrap.<anonymous> (internal/modules/esm/module_job.js:72:40)
Jul 27 18:13:14 XOA xo-server[3725]:     at link (internal/modules/esm/module_job.js:71:36) {
Jul 27 18:13:14 XOA xo-server[3725]:   code: 'ERR_MODULE_NOT_FOUND'
Jul 27 18:13:14 XOA xo-server[3725]: }
Jul 27 18:13:14 XOA systemd[1]: xo-server.service: Main process exited, code=exited, status=1/FAILURE
Jul 27 18:13:14 XOA systemd[1]: xo-server.service: Failed with result 'exit-code'.
Jul 27 18:13:14 XOA systemd[1]: xo-server.service: Service RestartSec=100ms expired, scheduling restart.
Jul 27 18:13:14 XOA systemd[1]: xo-server.service: Scheduled restart job, restart counter is at 4.
Jul 27 18:13:14 XOA systemd[1]: Stopped XO Server.
Jul 27 18:13:14 XOA systemd[1]: Started XO Server.
Jul 27 18:13:14 XOA xo-server[3736]: internal/process/esm_loader.js:74
Jul 27 18:13:14 XOA xo-server[3736]:     internalBinding('errors').triggerUncaughtException(
Jul 27 18:13:14 XOA xo-server[3736]:                               ^
Jul 27 18:13:14 XOA xo-server[3736]: Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/etc/xo/xo-builds/xen-orchestra-202107271809/node_modules/lodash/pick' imported from /etc/xo/xo-builds/xen-orchestra-202107271809/packages/xo-server/dist/xo-mixins/xen-servers.mjs
Jul 27 18:13:14 XOA xo-server[3736]: Did you mean to import lodash/pick.js?
Jul 27 18:13:14 XOA xo-server[3736]:     at finalizeResolution (internal/modules/esm/resolve.js:271:11)
Jul 27 18:13:14 XOA xo-server[3736]:     at moduleResolve (internal/modules/esm/resolve.js:694:10)
Jul 27 18:13:14 XOA xo-server[3736]:     at Loader.defaultResolve [as _resolve] (internal/modules/esm/resolve.js:805:11)
Jul 27 18:13:14 XOA xo-server[3736]:     at Loader.resolve (internal/modules/esm/loader.js:88:40)
Jul 27 18:13:14 XOA xo-server[3736]:     at Loader.getModuleJob (internal/modules/esm/loader.js:241:28)
Jul 27 18:13:14 XOA xo-server[3736]:     at ModuleWrap.<anonymous> (internal/modules/esm/module_job.js:72:40)
Jul 27 18:13:14 XOA xo-server[3736]:     at link (internal/modules/esm/module_job.js:71:36) {
Jul 27 18:13:14 XOA xo-server[3736]:   code: 'ERR_MODULE_NOT_FOUND'
Jul 27 18:13:14 XOA xo-server[3736]: }
Jul 27 18:13:14 XOA systemd[1]: xo-server.service: Main process exited, code=exited, status=1/FAILURE
Jul 27 18:13:14 XOA systemd[1]: xo-server.service: Failed with result 'exit-code'.
Jul 27 18:13:15 XOA systemd[1]: xo-server.service: Service RestartSec=100ms expired, scheduling restart.
Jul 27 18:13:15 XOA systemd[1]: xo-server.service: Scheduled restart job, restart counter is at 5.
Jul 27 18:13:15 XOA systemd[1]: Stopped XO Server.
Jul 27 18:13:15 XOA systemd[1]: xo-server.service: Start request repeated too quickly.
Jul 27 18:13:15 XOA systemd[1]: xo-server.service: Failed with result 'exit-code'.
Jul 27 18:13:15 XOA systemd[1]: Failed to start XO Server.
ronivay commented 3 years ago

Hi,

Thanks. Seems that my tests fail as well. Looks like it's related to latest commit in xen orchestra master branch: https://github.com/vatesfr/xen-orchestra/commit/4b4bea5f3b1e12eb3d3c7f818745f0523b59ba36

So not an issue in this script really and not something i can fix, but i'll open an issue to xen orchestra repository and follow up here when fixed.

ronivay commented 3 years ago

This is now fixed. You can either run update again or if you didn't do rollback yet, you can issue a manual fix for the problematic file by running:

sed -i 's/lodash\/pick/lodash\/pick.js/' /etc/xo/xo-builds/xen-orchestra-202107271809/packages/xo-server/dist/xo-mixins/xen-servers.mjs and then systemctl restart xo-server