LNCLI does not work after upgrade to Umbrel 1.0

Hi, what is the new way of putting in LNCLI commands. The old way with Terminal/SSH and

~/umbrel/scripts/app docker compose lightning exec lnd lncli …

no longer works with v.1.0.2.
I get:

This script requires “docker-compose” to be installed

Any advice? Thank you.

Hey @fil. On umbrelOS 1.0, lncli can be used with:

sudo docker exec -it lightning_lnd_1 lncli

And bitcoin-cli can be used with:

sudo docker exec -it bitcoin_bitcoind_1 bitcoin-cli 

Hey, @mayank. Thank you. I’ve tried that but I get:

umbrel@umbrel:~$ sudo docker exec -it lightning_lnd_1 lncli
[sudo] password for umbrel:
OCI runtime exec failed: exec failed: unable to start container process: open /dev/ptmx: no such device: unknown

Any suggestion how to fix this? Thank you.

1 Like
OCI runtime exec failed: exec failed: unable to start container process: open /dev/ptmx: no such device: unknown

I have the same error message. Can’t get to lncli, but have a hanging transaction. Isn’t there a solution to get to command for such important things? (i use 1.04)

1 Like

ok, the solution was 1.1 Update.
sudo docker exec -it CONTAINERID lncli state

get Concainer ID : sudo docker ps : search for lightninglabs/lnd:v0.17.4-beta
the Container ID is after every Update new!