Just finished syncing my Bitcoin node and want to open some lightning channels now.
When I want to open a channel, I get the following error:
Unable to get peer information, wallet locked, unlock it to enable full RPC access
The log has records saying:
[ERR] RPCS: [/lnrpc.Lightning/PendingChannels]: waiting to start, RPC services not available
I previously added 2 lines to the lnd.conf for garbage collecting invalid invoices and think I might have deleted one or more lines in lnd.conf in the [bitcoind] section.
I want to check if my lightning config file is complete. I have the following entries under the [bitcoind] section:
bitcoind.rpchost=localhost (I manually added this line, the rest was already in place)
Can someone with another umbrel instance please check if I am missing something under the bitcoind section of my config file?
Thanks in advance.
Those lines are OK, only that instead of localhost, should be an IP like 10.x.x.x
Maybe you just add some extra spaces in the file, you should always use nano editor and be sure you do not put extra spaces or lines or other characters
Even a wrong color RGB code can make that lnd do not start.
You can stop umbrel, rename that old lnd.conf in something else and then restart the umbrel scripts. lnd.conf will be created again, clean.
Here you have an example of full lnd.conf from an umbrel (the last 2 are optional and the IPs replace them with yours ones):
# Mark unpayable, unpaid invoices as deleted
# Avoid historical graph data sync
# Avoid slow startup time
# Avoid high startup overhead
# Default to neutrino as the node is
# automatically switched to bitcoind once
# IBD is complete
# Testnet neutrino peers that are automatically
# uncommented if Umbrel is configured for testnet
NOTE: if you just want to reset the lnd.conf file with a default one, you can do this
Make a backup of your current lnd.conf
cp ~/umbrel/lnd/lnd.conf ~/umbrel/lnd/lnd.bak
Delete your current lnd.conf, re-configure Umbrel and restart the node
rm ~/umbrel/lnd/lnd.conf && ~/umbrel/scripts/configure && sudo reboot
After is all OK, you can go and add one by one the lines you want in your lnd.conf, but be careful to not broke it again with wrong info.
Thanks for the quick response DarthCoin. I changed the host to:
and now it works
Why i don`t have the lnd directory where is supposed to be the file lnd.conf?
Something changed with the recent upgrade (0.5.0)?
Where i can find the file lnd.conf? I need the location cause i wanna add a watchtower.
Thanks in advance.
Ok i just found out that with 0.5.0 the location is:
sudo nano ~/umbrel/app-data/lightning/data/lnd/lnd.conf
Also it appear that the watchtower is already active by default since i found at the bottom these 2 lines:
My lnd.conf file is broken since i have made the update to 0.5.4.
There are only a few lines in anymore.
I have already renamed the file and reboot the node but it doesn’t creat a new lnd.conf file.
But it looks like that this is not needed anymore because my node is still running as normal. But how i can let the node create a new file?
Thanks in adavnce for your help.