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

    00h00m00s 0/0: : ERROR: There are no scenarios; must have at least one.

    Scheduled Pinned Locked Moved Xen Orchestra
    12 Posts 3 Posters 1.2k 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.
    • H Offline
      hack3rcon
      last edited by hack3rcon

      Hello,
      I want to install XO on Debian 10 and I use XO documentation. I have two questions:
      1- I got the following error during installation and how to fix it?

      # yarn
      00h00m00s 0/0: : ERROR: There are no scenarios; must have at least one.
      

      I did following steps :

      # apt remove yarn
      # apt install curl
      # curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
      # echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
      # apt update
      # apt install yarn
      

      But, I got the following error:

      # yarn
      yarn install v1.22.19
      [1/5] Validating package.json...
      error @: The engine "node" is incompatible with this module. Expected version ">=14". Got "10.24.0"
      error Found incompatible module.
      info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
      

      2- The location of translations is "packages/xo-web/src/common/intl/locales/" directory, if I put the translation in this location and install the XO, then it will add to OX automatically?

      Thank you.

      H AtaxyaNetworkA 2 Replies Last reply Reply Quote 0
      • H Offline
        hack3rcon @hack3rcon
        last edited by

        Should I install it via nmp?

        # apt remove cmdtest
        # apt install npm
        # npm install -g yarn
        
        1 Reply Last reply Reply Quote 0
        • AtaxyaNetworkA Offline
          AtaxyaNetwork Ambassador @hack3rcon
          last edited by AtaxyaNetwork

          Hi !

          hack3rcon said in 00h00m00s 0/0: : ERROR: There are no scenarios; must have at least one.:

          Expected version ">=14". Got "10.24.0"

          As the doc says: Please always use latest Node LTS

          H 1 Reply Last reply Reply Quote 0
          • H Offline
            hack3rcon @AtaxyaNetwork
            last edited by

            AtaxyaNetwork Hi,
            How to fix it?

            AtaxyaNetworkA 1 Reply Last reply Reply Quote 0
            • AtaxyaNetworkA Offline
              AtaxyaNetwork Ambassador @hack3rcon
              last edited by

              hack3rcon You can use

              wget -qO- https://deb.nodesource.com/setup_18.x | sudo -E bash -
              apt install -y nodejs
              
              H 1 Reply Last reply Reply Quote 0
              • H Offline
                hack3rcon @AtaxyaNetwork
                last edited by

                AtaxyaNetwork said in 00h00m00s 0/0: : ERROR: There are no scenarios; must have at least one.:

                hack3rcon You can use

                wget -qO- https://deb.nodesource.com/setup_18.x | sudo -E bash -
                apt install -y nodejs
                

                Hello,
                Thank you so much.
                I copied the language file in "/xen-orchestra/packages/xo-web/src/common/intl/locales/" directory before installing the XO. I installed the XO and logged into the XO, but I can't see that language.
                Why?

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

                  There's no file to modify to change the language. Go in your user zone (left menu, the "user" icon, almost on the bottom, and then you can select your language, that will be immediately set.

                  H 1 Reply Last reply Reply Quote 0
                  • H Offline
                    hack3rcon @olivierlambert
                    last edited by

                    olivierlambert
                    Hello,
                    Thank you so much.
                    I did a localization and I want to see the result. I translated the English file.

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

                      It doesn't work like this. You need to create a new file with the country code. You can use an existing translation for inspiration (like in French or whatever) and then try it.

                      H 1 Reply Last reply Reply Quote 0
                      • H Offline
                        hack3rcon @olivierlambert
                        last edited by

                        olivierlambert
                        Can you tell me step by step? I translated one of the .js files and copied it in "/xen-orchestra/packages/xo-web/src/common/intl/locales/" directory with a new name.

                        AtaxyaNetworkA 1 Reply Last reply Reply Quote 0
                        • AtaxyaNetworkA Offline
                          AtaxyaNetwork Ambassador @hack3rcon
                          last edited by

                          hack3rcon You can take inspiration from this PR: https://github.com/vatesfr/xen-orchestra/pull/6526/files

                          kursantkvi opened this pull request in vatesfr/xen-orchestra

                          closed feat(xo-web/intl): Russian localization #6526

                          H 1 Reply Last reply Reply Quote 0
                          • H Offline
                            hack3rcon @AtaxyaNetwork
                            last edited by

                            AtaxyaNetwork
                            Thank you so much.

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