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

    xo-disk-cli on latest XOA node.js problem

    Scheduled Pinned Locked Moved Management
    7 Posts 3 Posters 32 Views 3 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.
    • P Offline
      Pilow
      last edited by

      hi,

      we tried to install the npm package but it cries about node.js being too old... we are on official XOA latest commit, node.js is 20.x

      5a04f051-a032-4ac6-abbd-939d97489ef5-image.jpeg

      will try on an XO CE and report back

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

        Hi,

        Not sure to get it, XOA isn't meant to be tinkered. Why would you add an npm package on it?

        P 1 Reply Last reply Reply Quote 0
        • M Online
          MajorP93 @Pilow
          last edited by

          @Pilow I was also suprised to see that disk-cli depends on node 22 or later.
          Before disk-cli got introduced I was able to build XO on node 20 just fine.
          Had to bump my node version on XO-CE in order to be able to keep building XO.

          I was also suprised to see that XOA still uses node 20 even though XO from sources can not be built anymore using that particular node version.

          P 1 Reply Last reply Reply Quote 0
          • P Offline
            Pilow @olivierlambert
            last edited by Pilow

            @olivierlambert because xo-disk-cli reviewed in last updates is not present
            and the github tells us to npm install here : https://github.com/vatesfr/xen-orchestra/tree/master/%40xen-orchestra/disk-cli

            P 1 Reply Last reply Reply Quote 0
            • P Offline
              Pilow @Pilow
              last edited by

              on XO CE with node.js 24.x it installs OK
              6d8636b5-865d-4559-b7e2-1b10600893bb-image.jpeg

              1 Reply Last reply Reply Quote 0
              • P Offline
                Pilow @MajorP93
                last edited by

                @MajorP93 said:

                I was also suprised to see that XOA still uses node 20

                its presumably more stable memory-wise, as discussed in another topic about XOA memory leaks

                M 1 Reply Last reply Reply Quote 0
                • M Online
                  MajorP93 @Pilow
                  last edited by MajorP93

                  @Pilow Yeah maybe but I hoped that XOA is somewhat aligned with XO from sources users. At least in a way that XO-CE users have the option to use the same Node version that Vates declares as most stable to use.
                  With the introduction of disk-cli this is not the case anymore.

                  //EDIT: at least when using the common scripts or docker containers maintained by community for running XO-CE. Those scripts / Dockerfiles could be edited to exclude disk-cli. Then it would still be possible to run XO on Node 20 I guess.

                  1 Reply Last reply Reply Quote 0

                  Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                  Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                  With your input, this post could be even better 💗

                  Register Login
                  • First post
                    Last post