sedge icon indicating copy to clipboard operation
sedge copied to clipboard

Error: exit status 125

Open egk10 opened this issue 3 years ago • 4 comments

see print screen Captura de tela de 2022-08-07 12-48-58 Captura de tela de 2022-08-07 12-49-24

egk10 avatar Aug 07 '22 15:08 egk10

Hello @egk10, thanks for opening an issue. What you are facing here is a known issue of ours in Linux :( By any chance did you read this in our docs?

I would appreciate more information from your side:

  • Your Linux distribution (OS)
  • Do you have the compose plugin installed? Try running docker compose.

AntiD2ta avatar Aug 07 '22 17:08 AntiD2ta

Ubuntu 22.04.1 lts Docker compose v2.6.1

Em dom., 7 de ago. de 2022 14:41, Miguel Tenorio @.***> escreveu:

Hello @egk10 https://github.com/egk10, thanks for opening an issue. What you are facing here is a known issue of ours in Linux :( By any chance did you read this https://docs.sedge.nethermind.io/docs/troubleshooting#docker-compose-not-found-after-sedge-installs-it in our docs?

I would appreciate more information from your side:

  • Your Linux distribution (OS)
  • Do you have the compose plugin installed? Try running docker compose.

— Reply to this email directly, view it on GitHub https://github.com/NethermindEth/sedge/issues/70#issuecomment-1207453815, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQUW3GKYVVST237VEFHK4ODVX7YNLANCNFSM552VLZEQ . You are receiving this because you were mentioned.Message ID: @.***>

egk10 avatar Aug 08 '22 10:08 egk10

I noticed the same error myself, only with already installed docker compose Problem: Error with Docker compose, if installed before manually in some cases there is an error where the sedge cli will recognize the installation of docker compose, but when running it will not detect docker compose plugin and exits [ERRO] it seems docker compose plugin is not installed. please install it and try again. Error: exit status 125

I’ve seen this reported a few times now, from others and with different versions of docker compose. I’m not sure how docker compose is installed in those cases, but I have reproduced by installing from apt repository.

PIC 1

To Replicate: Fresh install of Ubuntu 20.04LTS, install docker compose sudo apt install docker compose install sedge v0.5.0 Run sedge cli

PIC 2

to fix I had to uninstall docker compose and docker and start again with sedge installing those dependencies, and it worked.

possible solution: delete any old previous versions

sudo apt-get remove docker-engine docker.io containerd runc
sudo apt-get remove docker-compose docker-compose-plugin

Is there reason to not do this by default, and just have sedge remove older versions and install docker & compose plugin.

GLCNI avatar Dec 07 '22 23:12 GLCNI