XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    xoa-updater --upgrade fails and configuration questions

    Scheduled Pinned Locked Moved Xen Orchestra
    2 Posts 2 Posters 564 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • G Offline
      gr85z
      last edited by

      Tried via WEBUI and CLI and get same results.
      Have restarted the service just to see if maybe something was stuck.
      Using the "Latest" channel.

      sudo xoa-updater --upgrade
      latest channel selected
      New versions available:
        xoa-updater 0.32.0
      Downloading packages...
        xoa-updater ............................................................................................................................................................................................................................................................................................................................................. ok ✔
      Saving current updater version in /usr/local/lib/node_modules/xoa-updater/dist-1604936964526 ...ok ✔
      Installing packages...
      
      ✖ Command failed: npm uninstall -g --silent xoa-updater
      
      

      Ran xoa check and getting the following.

      sudo xoa check
      ✔ Node version
      ✔ xo-server config syntax
      ✔ Disk space for /
      ✔ Disk space for /var
      ✔ Native SMB support
      ✔ Fetching VM UUID
      ✔ Appliance registration
      ✔ XOA version
      ✔ Internet connectivity
      ✖ npm version: 6.14.8
       does not satisfies ^4.6
      ✖ XOA status: not up-to-date, please run xoa-updater
      
      

      At this point I about ready to just rebuild the whole system and start fresh.
      I was not able to get turn key page to work. But that could be I didn't get the initial OS build done correctly either with webservices etc...
      If I do rebuild is there a way to save any configurations of the systems I already have in XO?
      I have been through the build documentation, does XO care what the underlying OS is?
      Is there any specific OS configurations that have to be done prior to installing XO?
      I haven't found any documentation as of yet about prerequisites if someone can point me to that would be helpful.

      Our overall goal is not to rely on xen-center and have XO as our central control since it is Web based.

      Thanks

      1 Reply Last reply Reply Quote 0
      • olivierlambertO Offline
        olivierlambert Vates 🪐 Co-Founder CEO
        last edited by

        Hi,

        It failed because you changed the npm version manually. You can indeed re-deploy a fresh XOA, export the configuration and import it on the new one.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post