Open gunar opened 1 year ago
I'm able to get past that error message with this command:
$ litd --uipassword=mylongpassword --network=regtest --httpslisten=0.0.0.0:8433 --autopilot.disable --lnd-mode=remote --remote.lnd.rpcserver=localhost:10009 --remote.lnd.macaroonpath=/root/.lnd/data/chain/bitcoin/regtest/admin.macaroon
I wonder why the default remote.lnd.macaroonpath
isn't set to ~/.lnd...
?
Anyway, now I'm getting this error message:
[ERR] LITD: Could not start subservers: no swap server address specified
Thanks for the report! The error error querying remote node: read /root/.lnd/data/chain/bitcoin/regtest: is a directory
is an actual bug, we need to fix that.
Unfortunately there is no easy way to get full Lightning Terminal functionality on regtest. Both the Loop and Pool subsystems need to connect to their server counterpart, which there are none running by default. You can run your own regtest Loop server (see https://github.com/lightninglabs/loop/tree/master/regtest), but the equivalent for Pool isn't public (yet?).
A common workaround is to just set the --loop.server.host
and --pool.auctionserver=
to the public testnet servers (see https://github.com/lightninglabs/loop/blob/master/loopd/config.go#L163 and https://github.com/lightninglabs/pool/blob/master/config.go#L188). You'll also need to set --autopilot.disable
if you run the latest version.
The actual bug is here: https://github.com/lightninglabs/lightning-terminal/blob/master/config.go#L659. Because the AdminMacPath
of the default lnd config is empty, this doesn't add the filename to the path, which results in the error shown.
I'll create a fix when I have some spare time.
Can't run
litd
.Expected behavior
Running
litd --uipassword=mylongpassword --network=regtest --autopilot.disable
should startlitd
.Actual behavior
To reproduce
v0.8.6-alpha
on docker imagelightninglabs/lnd:v0.15.3-beta
System information
Running stand alone.
I just want
lnd
but it doesn't work in either mode.v0.8.6-alpha
This docker image: lightninglabs/lnd:v0.15.3-beta