Bitcoin Forum

Bitcoin => Wallet software => Topic started by: janikjanik on March 23, 2021, 08:30:06 PM



Title: Can't run litd (lightning-terminal)
Post by: janikjanik on March 23, 2021, 08:30:06 PM
This is the error I'm getting when running: ./litd --uipassword=some_password

error displaying startup info: error querying remote node : rpc error: code = Unknown desc = expected 1 macaroon, got 0

I've run program lnd before:
lnd --adminmacaroonpath=/home/michal/.lnd/data/chain/bitcoin/mainnet/admin.macaroon


Title: Re: Can't run litd (lightning-terminal)
Post by: DaveF on March 24, 2021, 12:11:28 PM
With the standard did you open an issue on github.
What version of lnd are you using? Did you build it or download the binary?

What does the log file say?
I have not used litd much so I don't know how much help I can be, but having that info will at least give a starting point.

-Dave


Title: Re: Can't run litd (lightning-terminal)
Post by: Heisenberg_Hunter on March 29, 2021, 09:43:10 AM
I believe you are running v0.4.1-alpha version of the lightning-terminal. If so, this is a bug in current version of lightning-terminal and will be fixed in the next release which has the PR #196. As of now, instead of using

Code:
litd --adminmacaroonpath=/home/michal/.lnd/data/chain/bitcoin/mainnet/admin.macaroon

use

Code:
litd --remote.lnd.macaroonpath=/home/michal/.lnd/data/chain/bitcoin/mainnet/admin.macaroon

or add the below line in your .config file

Code:
remote.lnd.macaroonpath=/home/michal/.lnd/data/chain/bitcoin/mainnet/admin.macaroon

This was an issue which has been referenced in issue #204 (https://github.com/lightninglabs/lightning-terminal/issues/204) and I think this was fixed in config: fix empty default remote lnd admin mac path #196 (https://github.com/lightninglabs/lightning-terminal/pull/196)

If an error still persist, you need to open an issue in lightning-terminal github page (https://github.com/lightninglabs/lightning-terminal/issues)