Start9Labs / lightning-terminal-startos

MIT License
1 stars 0 forks source link

Command to run frcli listed in instructions results in error (in EOS v0.3.1) #2

Closed JesseMarkowitz closed 2 years ago

JesseMarkowitz commented 2 years ago

The instructions page says to SSH into your embassy and provides usage information:

Usage:

    docker exec lightning-terminal.embassy frcli --rpcserver=localhost:8443 "command"

For help finding more Faraday commands, type

    docker exec lightning-terminal.embassy frcli --rpcserver=localhost:8443 -help

Starting in Embassy OS version 3.1 that command yields an error:

start9@embassy-mynodeid:~ $ docker exec lightning-terminal.embassy frcli --rpcserver=localhost:8443 -help
Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/containers/lightning-terminal.embassy/json": dial unix /var/run/docker.sock: connect: permission denied

Perhaps this is due to the change that SSH now supposed to log in as start9? When I prefaced the command listed in the instructions with "sudo" it worked.

islandbitcoin commented 2 years ago

Great catch! Yes this was due to the SSH login change for 0.3.1.

You can either use sudo at the beginning of this command, or you can run the command sudo -i and then the command will work as-is.

We will update the documentation to reflect this in the next release.

islandbitcoin commented 2 years ago

fixed in #5