I had the same error with the update to xoa-updater but muddled through manually removing it, and updating it. But I'm not confident in trying to do that with the whole of xen-orchestra.
The log is posted below. Any idea what to do next?
[14:11 11] xoa@xoa:~$ xoa-updater --update
latest channel selected
Following packages will be removed:
xen-orchestra 5.48.3
xo-server-telemetry 0.2.1
xo-server-xoa 0.9.0
xo-server 5.62.1
xo-web-free 5.64.0
xoa-cli 0.20.0
xen-orchestra-upload-ova 0.1.3
xoa-updater 0.35.0
New packages available:
npm 6.14.11
New versions available:
node 14.16.0 (12.18.2 installed)
New versions available:
xoa-updater 0.35.0 (0.35.0 installed)
New versions available:
xen-orchestra-upload-ova 0.1.4 (0.1.3 installed)
xen-orchestra 5.56.1 (5.48.3 installed)
xo-server-telemetry 0.4.0 (0.2.1 installed)
xo-server-xoa 0.11.3 (0.9.0 installed)
xo-server 5.77.0 (5.62.1 installed)
xo-web-free 5.79.0 (5.64.0 installed)
xoa-cli 0.25.1 (0.20.0 installed)
[14:11 11] xoa@xoa:~$ xoa-updater --upgrade
latest channel selected
Following packages will be removed:
xen-orchestra 5.48.3
xo-server-telemetry 0.2.1
xo-server-xoa 0.9.0
xo-server 5.62.1
xo-web-free 5.64.0
xoa-cli 0.20.0
xen-orchestra-upload-ova 0.1.3
xoa-updater 0.35.0
Removing packages...
✖ Command failed: npm uninstall -g --silent xen-orchestra
[14:11 11] xoa@xoa:~$ ping xen-orchestra.com
PING xen-orchestra.com (185.78.159.93) 56(84) bytes of data.
64 bytes from 185.78.159.93 (185.78.159.93): icmp_seq=1 ttl=50 time=104 ms
64 bytes from 185.78.159.93 (185.78.159.93): icmp_seq=2 ttl=50 time=104 ms
^C
--- xen-orchestra.com ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1000ms
rtt min/avg/max/mdev = 104.510/104.555/104.601/0.326 ms
[14:12 11] xoa@xoa:~$ xoa check
✔ Node version
✔ xo-server config syntax
✔ Disk space for /
✔ Disk space for /var
✔ Native SMB support
✔ XOA version
✔ Appliance registration
✖ npm version: 6.14.5
does not satisfies ^4.6
✖ XOA status: not up-to-date, please run xoa-updater
✔ Internet connectivity