lightning-shell icon indicating copy to clipboard operation
lightning-shell copied to clipboard

lsh_exec.sh not working anymore with Umbrel v0.5.0

Open mikuhl-dev opened this issue 3 years ago • 7 comments

Running the example from FAQ: /mnt/data/umbrel/app-data/lightning-shell/data/lsh_exec.sh suez Produces: OCI runtime exec failed: exec failed: unable to start container process: exec: "37a695b2bd25": executable file not found in $PATH: unknown

I did really struggle updating to v0.5.0, so unsure if maybe I broke something?

mikuhl-dev avatar Jun 09 '22 19:06 mikuhl-dev

Hmm, I didn't upgrade to v0.5.0 yet and I am postponing to do so on my main node, as I have some stuff there that I know will break. Planning to set up a separate node for testing and debugging, but that might take a while.

Happy if anyone wants to help with this.

ibz avatar Jun 12 '22 11:06 ibz

docker exec -u lnshell -w /home/lnshell lightning-shell_web_1 /home/lnshell/.local/bin/charge-lnd --dry-run --config /data/charge.config

Something like this works for now maybe? charge-lnd for example. (Remove dry run if you are using this.)

mikuhl-dev avatar Jun 12 '22 15:06 mikuhl-dev

Same worked for me. There are maching 3 container in the previous version; lightning-shell_web_1 is the right one: lightning-shell_app_proxy_1 lightning-shell_web_1 lightning-shell_tor_server_1

Pubskiste avatar Jun 12 '22 17:06 Pubskiste

Can you also update the igniter script, please. thx

I guess its the same problem with umbrel.

https://github.com/RooSoft/igniter/commit/3a998ff4cadacd04c58e82cae0db597442da5f9c

TZocker avatar Jun 21 '22 16:06 TZocker

docker exec -u lnshell -w /home/lnshell lightning-shell_web_1 /home/lnshell/.local/bin/charge-lnd --dry-run --config /data/charge.config

Something like this works for now maybe? charge-lnd for example. (Remove dry run if you are using this.)

This is working!! Thank you!

jgmontoya avatar Jul 11 '22 19:07 jgmontoya

umbrel 0.5.1 unfortunately I have got this error:

`docker exec -u lnshell -w /home/lnshell lightning-shell_web_1 /mnt/data/umbrel/app-data/lightning-shell/data/lsh_exec_ni.sh suez

OCI runtime exec failed: exec failed: unable to start container process: exec: "/mnt/data/umbrel/app-data/lightning-shell/data/lsh_exec_ni.sh": stat /mnt/data/umbrel/app-data/lightning-shell/data/lsh_exec_ni.sh: no such file or directory: unknown`

Anybody know how it works with umbrel 0.5.1?

Ratzefummel4 avatar Aug 22 '22 19:08 Ratzefummel4

umbrel 0.5.1 OK, I figured out which command is needed to start a lightningshell Command in a ssh terminal, e.g. crontab. I'm starting rabalance-lnd, which runs as a docker container, in ssh terminal:

docker exec -u lnshell -w /home/lnshell lightning-shell_web_1 /home/lnshell/.local/bin/rebalance-lnd

You can also use it as a crontab for charge-lnd or rebalance-lnd etc.

You like this and it's usefull for you? Send some sats to:

my lightning address

Ratzefummel4 avatar Aug 23 '22 09:08 Ratzefummel4