I am also having some challenges with the LNCLI
I am getting a “the input device is not a TTY” error.
I am working to rebalance channels from a lightningnetwork.plus swap
First step:
umbrel@umbrel:~/umbrel/bin $ sudo docker exec lnd lncli addinvoice --amt 1150000
umbrel@umbrel:~/umbrel/bin $ sudo docker exec lnd lncli buildroute --amt 1150000 --hops 02bc320249b608a53a76cf3cbd448fdd3ab8f3766f96e8649c2edc26cf03bf8277,035eb7d2253d934b51dd1cc145b6f36a9c2d953c4379f5fff9c39bb437ece525ae,03ac80331775d256eeb7438463e9cf1b986fcc77f84d9501cb52f34ab957fb6e1b,02bd173762f980267f9aa02f5db6a43c1b1f075a0f9f8425668eaa3a21f5252897,0263816bd2eedcb22690bfa623b36512f20aa134e77d247e56f15f2ab57c9fbebc | jq -r ‘(.route.hops[-1] | .mpp_record) |= {payment_addr:"[PAYMENT_ADDR]", total_amt_msat: “1150000000”}’ | lncli sendtoroute --payment_hash=[R_HASH] -
the input device is not a TTY
Are there additional flags I need to set?