XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Home
    2. bret_miller
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 4
    • Groups 0

    bret_miller

    @bret_miller

    0
    Reputation
    1
    Profile views
    4
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online
    Age 60
    Location Charlotte, North Carolina, USA

    bret_miller Unfollow Follow

    Latest posts made by bret_miller

    • RE: Upgrade failed: Command failed: npm uninstall -g --silent xen-orchestra

      @bret_miller said in Upgrade failed: Command failed: npm uninstall -g --silent xen-orchestra:

      ✖ npm version: 6.14.5
      does not satisfies ^4.6

      For the sake of someone after me with this problem, based on it apparently looking for npm version 4.6.x, I did this:

      sudo npm install -g npm@4.6.1
      

      Then re-ran the xo check which came out clean except for being on and old version.

      Then re-ran the upgrade which immediately re-upgraded to npm 6.14.11 and completed the upgrade successfully.

      My theory then is that the upgrade to 6.14.x probably happened on a failed XO upgrade leaving the system in a state that I could no longer upgrade. It now appears fixed.

      posted in Xen Orchestra
      bret_millerB
      bret_miller
    • RE: Upgrade failed: Command failed: npm uninstall -g --silent xen-orchestra

      @olivierlambert OK. I did that, but there isn't any feedback from "Open Support Ticket" so I'm not sure it did anything.

      posted in Xen Orchestra
      bret_millerB
      bret_miller
    • RE: Upgrade failed: Command failed: npm uninstall -g --silent xen-orchestra

      @olivierlambert No changes that I'm aware of. It it possible to get it back to a supported version?

      posted in Xen Orchestra
      bret_millerB
      bret_miller
    • Upgrade failed: Command failed: npm uninstall -g --silent xen-orchestra

      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
      
      
      posted in Xen Orchestra
      bret_millerB
      bret_miller