LN+ asked over 2 years ago

How do I add a watchtower on Umbrel?

I'm running an Umbrel node and want to protect my node in case it dies. How do I add a watchtower?

15 Comments

LN+

LN+ Admin wrote over 2 years ago

Taken from these instructions and edited to fix a typo based on a comment below.

Enter using SSH into your node and run:
cd ~/umbrel
nano lnd/lnd.conf

Add these 2 lines at the bottom:
[watchtower]
wtclient.active=true
Save & close the lnd.conf file (CTRL+X).

Run:
docker-compose restart lnd
At this point, your node is running the watchtower client.

To add some else's node to yours, run this on your umbrel:
(This command contains the TOR version of the watchtower LN+ and Voltage offers.)
docker exec -it lnd lncli wtclient add 0301135932e89600b3582513c648d46213dc425c7666e3380faa7dbb51f7e6a3d6@tower4excc3jdaoxcqzbw7gzipoknzqn3dbnw2kfdfhpvvbxagrzmfad.onion:9911


Guilty Spark

Guilty Spark wrote over 2 years ago

Thanks! Is this your watchtower's address?


Wodan wrote over 2 years ago

The instructions from LN+ describe how to enable Watch Tower server in LND. 
For protecting your own node you need to enable watch tower client first. 

To enable wtclient, 
nano ~/umbrel/lnd/lnd.conf

And add these 2 lines at the bottom:
[wtclient]
wtclient.active=true

Save & close the lnd.conf file (CTRL+X)

Restart LND with:
cd ~/umbrel
docker-compose restart lnd

Now you can add other nodes with for example:
lncli wtclient add 0301135932e89600b3582513c648d46213dc425c7666e3380faa7dbb51f7e6a3d6@44.237.235.163:9911
From: https://lightningnetwork.plus/watchtower

To see which towers you've added run:
lncli wtclient towers



LN+

LN+ Admin wrote over 2 years ago

Thanks for the correction! Yes, this is LN+/Voltage's watchtower.


Hemelvuur

Hemelvuur wrote over 2 years ago

This is incorrect. The 2 lines to add to lnd.conf are:

[wtclient]
wtclient.active=1

(So '1' instead of 'true')


raven

raven wrote over 2 years ago

Hemelvuur

I tried 

[wtclient]
wtclient.active=1

and LND would not start.

I went back and tried 

[watchtower]
wtclient.active=true

as mentioned above and LND was able to start.

I then verified that WT was running and my channel sessions were reported back as being watched.


Is there a way to save lnd.conf changes after an umbrel update? Pretty annoying to keep re-applying the changes after every update.


Cachemoney.io-Bap wrote over 2 years ago

@sat stacker - the new umbrel update stops overwriting lnd.conf changes

Here's what I did step by step, and it worked.
I added  this to the bottom of conf file, then restart

 [wtclient]
wtclient.active=true 


Then i ssh'd in, and typed the following command from root.

docker exec -it lnd lncli wtclient add 0301135932e89600b3582513c648d46213dc425c7666e3380faa7dbb51f7e6a3d6@tower4excc3jdaoxcqzbw7gzipoknzqn3dbnw2kfdfhpvvbxagrzmfad.onion:9911 

It ran.

Then I typed the following to check it worked:

 docker exec -it lnd lncli wtclient towers


Hope this helps!


Ryoshi Kimura wrote over 2 years ago

I'm having some trouble getting my node back up and running after:
docker-compose restart lnd
Gettinng error:
Error response from daemon: Container <> is restarting, wait until the container is running
But it has been 20+ minutes. Any ideas? Thank you.


Tony Stark

Tony Stark wrote over 2 years ago

I had the same issue as Ryoshi Kimura, and I restarted the Umbrel after 30min of waiting.

I've SSH'd back into my umbrel and tried to run the:
docker exec -it lnd lncli wtclient add 0301135932e89600b3582513c648d46213dc425c7666e3380faa7dbb51f7e6a3d6@tower4excc3jdaoxcqzbw7gzipoknzqn3dbnw2kfdfhpvvbxagrzmfad.onion:991
and now I get a:
unable to upgrade to tcp, received 409
Any ideas on this??


2007GrandExchange

2007GrandExchange wrote over 2 years ago

I'm having the same issues as Tyoshi and Tony. I tried 2 weeks ago and tried again today, always the same thing error when restarting lnd.


HandCloud wrote over 2 years ago

I was unable to get lnd to restart after using the configuration suggestions on this page. 

I got it to work finally using this config:
[wtclient]
wtclient.active=true
wtclient.sweep-fee-rate=10

[watchtower]
watchtower.active=true
From the instructions on plebnet:
https://plebnet.wiki/wiki/LND_Configuration_Settings#Watch_Tower_Settings

I also had to specify the location of lncli:
~/umbrel/bin/lncli wtclient towers


AUSTINTEXASNODE

AUSTINTEXASNODE wrote over 2 years ago

@TonyStark, the port you pasted into your docker command is :991 instead of :9911.  This could be just a typo in your post or maybe it was a typo on the linux command line.


NavBlue wrote over 2 years ago

@Handcloud - Thanks your answer did it for me, in combination with the instructions on Plebnet that you linked. Thank you


Gallia

Gallia wrote almost 2 years ago

@Handcloud - Had different issues trying to get Watchtower running… Your post was the Holy Grail - THANKS

Please login to post comments.