# Default content lnd.conf lightning configuration file

**URL:** <https://community.umbrel.com/t/default-content-lnd-conf-lightning-configuration-file/5929>\
**Category:** Support and Troubleshooting\
**Created:** [January 24, 2022, 9:24am UTC](https://community.umbrel.com/t/default-content-lnd-conf-lightning-configuration-file/5929 "2022-01-24T09:24:04Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![MrD](https://avatars.discourse-cdn.com/v4/letter/m/ecae2f/32.png) [@MrD](https://community.umbrel.com/u/MrD)\
**Post date:** [January 24, 2022, 9:24am UTC](https://community.umbrel.com/t/default-content-lnd-conf-lightning-configuration-file/5929/1 "2022-01-24T09:24:04Z")

</div>

Hi all,

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)  
bitcoind.rpcuser=umbrel  
bitcoind.rpcpass=XXX  
bitcoind.zmqpubrawblock=tcp://10.21.21.8:28332  
bitcoind.zmqpubrawtx=tcp://10.21.21.8:28333

Can someone with another umbrel instance please check if I am missing something under the bitcoind section of my config file?

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![DarthCoin](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.umbrel.com/darthcoin/32/1628_2.png) [@DarthCoin](https://community.umbrel.com/u/DarthCoin)\
**Post date:** [January 24, 2022, 10:00am UTC](https://community.umbrel.com/t/default-content-lnd-conf-lightning-configuration-file/5929/2 "2022-01-24T10:00:05Z")

</div>

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):

```auto
[Application Options]
listen=0.0.0.0:9735
rpclisten=0.0.0.0:10009
restlisten=0.0.0.0:8080
maxpendingchannels=3
minchansize=500000
accept-keysend=true
tlsextraip=10.21.x.x
tlsextradomain=umbrel.local
tlsautorefresh=1
tlsdisableautofill=1
feeurl=
allow-circular-route=1
alias=YourFunnyAliasNode
color=#5f1be8
# Mark unpayable, unpaid invoices as deleted
gc-canceled-invoices-on-startup=1
gc-canceled-invoices-on-the-fly=1
# Avoid historical graph data sync
ignore-historical-gossip-filters=1
# Avoid slow startup time
sync-freelist=1
# Avoid high startup overhead
stagger-initial-reconnect=1

[Bitcoind]
bitcoind.rpchost=10.21.x.x
bitcoind.rpcuser=umbrel
bitcoind.rpcpass=longcharspassword
bitcoind.zmqpubrawblock=tcp://10.21.x.x:28332
bitcoind.zmqpubrawtx=tcp://10.21.x.x:28333

[Bitcoin]
bitcoin.active=1
bitcoin.mainnet=1
# Default to neutrino as the node is
# automatically switched to bitcoind once
# IBD is complete
bitcoin.node=bitcoind
bitcoin.defaultchanconfs=2

# [neutrino]
# Testnet neutrino peers that are automatically
# uncommented if Umbrel is configured for testnet
# neutrino.addpeer=testnet1-btcd.zaphq.io
# neutrino.addpeer=testnet2-btcd.zaphq.io

[tor]
tor.active=1
tor.control=10.21.x.x:29051
tor.socks=10.21.x.x:9050
tor.targetipaddress=10.21.x.x
tor.password=longcharspassword
tor.v3=1

[wtclient]
wtclient.active=true
wtclient.sweep-fee-rate=10

[protocol]
protocol.no-anchors=true

```

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.

---

<div class="post-metadata">

**Author:** ![MrD](https://avatars.discourse-cdn.com/v4/letter/m/ecae2f/32.png) [@MrD](https://community.umbrel.com/u/MrD)\
**Post date:** [January 24, 2022, 10:07am UTC](https://community.umbrel.com/t/default-content-lnd-conf-lightning-configuration-file/5929/3 "2022-01-24T10:07:01Z")

</div>

Thanks for the quick response DarthCoin. I changed the host to:

bitcoind.rpchost=10.21.21.8

and now it works 🙂

---

<div class="post-metadata">

**Author:** ![Holyspawn](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.umbrel.com/holyspawn/32/565_2.png) [@Holyspawn](https://community.umbrel.com/u/Holyspawn)\
**Post date:** [June 27, 2022, 7:06am UTC](https://community.umbrel.com/t/default-content-lnd-conf-lightning-configuration-file/5929/4 "2022-06-27T07:06:39Z")

</div>

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.

 ![Immagine 2022-06-27 090343](https://canada1.discourse-cdn.com/flex030/uploads/getumbrel/original/2X/0/07937a7216c1a0532a2120fd1dfda16a1cd612ff.png)

---

<div class="post-metadata">

**Author:** ![Holyspawn](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.umbrel.com/holyspawn/32/565_2.png) [@Holyspawn](https://community.umbrel.com/u/Holyspawn)\
**Post date:** [June 27, 2022, 7:59am UTC](https://community.umbrel.com/t/default-content-lnd-conf-lightning-configuration-file/5929/5 "2022-06-27T07:59:34Z")

</div>

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:

[wtclient]  
wtclient.active=true

I`m correct?

---

<div class="post-metadata">

**Author:** ![I.don.t.know](https://avatars.discourse-cdn.com/v4/letter/i/43a26b/32.png) [@I.don.t.know](https://community.umbrel.com/u/I.don.t.know)\
**Post date:** [November 21, 2022, 11:28am UTC](https://community.umbrel.com/t/default-content-lnd-conf-lightning-configuration-file/5929/6 "2022-11-21T11:28:39Z")

</div>

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.
