Cannot install entando-cli v7.1

Hi,

I’m trying to install entando-cli version 7.1 by executing the following command suggested here:

bash <(curl -L "https://get.entando.org/cli") --update --release="v7.1.6"

Unfortunately I got this as response:

 curl -L https://get.entando.org/cli | bash                                                                                                                                                                                                                     
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   552  100   552    0     0   1376      0 --:--:-- --:--:-- --:--:--  1376
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 10494  100 10494    0     0  21984      0 --:--:-- --:--:-- --:--:-- 21953
Assuming ENTANDO_RELEASE="quickstart"
git version 2.34.1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Downloading the ENTANDO RELEASE "quickstart"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Release "quickstart" installed..
/tmp/tmp.Rc3DZI9mVF/quickstart/dist/manifest: line 3: $'\r': command not found
/tmp/tmp.Rc3DZI9mVF/quickstart/dist/manifest: line 5: $'\r': command not found
/tmp/tmp.Rc3DZI9mVF/quickstart/dist/manifest: line 11: $'\r': command not found
/tmp/tmp.Rc3DZI9mVF/quickstart/dist/manifest: line 14: $'\r': command not found
/tmp/tmp.Rc3DZI9mVF/quickstart/dist/manifest: line 19: $'\r': command not found
/tmp/tmp.Rc3DZI9mVF/quickstart/dist/manifest: line 24: $'\r': command not found
/tmp/tmp.Rc3DZI9mVF/quickstart/dist/manifest: line 30: $'\r': command not found
/tmp/tmp.Rc3DZI9mVF/quickstart/dist/manifest: line 32: $'\r': command not found
/tmp/tmp.Rc3DZI9mVF/quickstart/dist/manifest: line 34: $'\r': command not found
/tmp/tmp.Rc3DZI9mVF/quickstart/dist/manifest: line 38: $'\r': command not found
/tmp/tmp.Rc3DZI9mVF/quickstart/dist/manifest: line 42: $'\r': command not found
/tmp/tmp.Rc3DZI9mVF/quickstart/dist/manifest: line 46: $'\r': command not found
/tmp/tmp.Rc3DZI9mVF/quickstart/dist/manifest: line 50: $'\r': command not found
/tmp/tmp.Rc3DZI9mVF/quickstart/dist/manifest: line 52: $'\r': command not found
" Renaming ENTANDO RELEASE "quickstart" to "v7.2.2
/" already exists and will not be overwritten.. (you may use --update)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
" Downloading the ENTANDO CLI "v7.2.1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
" is not a tag, trying as branch..
".Unable to checkout the reference "v7.2.1
> Error downloading the release, rolling back..

Am I missing something?

Thanks
Tommaso

Hey, @tommaso.moroni . Two questions.

  1. Do you get the same behavior if you try the latest CLI release? The CLI version is largely decoupled from the product release so you can definitely use the latest with Entando 7.1, if that’s what you have installed. Some newer features may not be available but the CLI is meant to work across product versions.
  2. If that doesn’t help, what OS and shell are you using?

Hi,

I confirm I have the same behaviour with the latest release (that is, by running bash <(curl -L "https://get.entando.org/cli") --update).

I am testing in a Ubuntu 22.04.3 via WSL2.

Hi, @tommaso.moroni.

I setup a new Ubuntu 22.04.02 (rather than 3 since 2 is the LTS, I think) under WSL2 and I cannot reproduce this yet. Both a specific version and the default CLI install work correctly for me. A couple ideas:

  1. Delete your ~/.entando directory and retry, just in case there was a network glitch and you have a bad install.
  2. git clone GitHub - entando/entando-cli: The Entando Command Line Interface and run the auto-install command directly from the code. See the GitHub - entando/entando-cli: The Entando Command Line Interface README for more information. I’m hoping that will provide another clue.

Hi @nathan.shaw ,

it seems that in fact the problem lies in my WSL2 Ubuntu installation, where I can’t install the cli neither automatically neither manually after deleting ~/.entando.

I confirm that with a fresh one the cli is installed correctly, so I will look on my own what’s wrong with my existing installation.

Thanks for the help

1 Like