Why Nostr? What is Njump?
2023-10-13 20:07:46

hmichellerose on Nostr: Have you updated to LND 0.17 yet? Here is my checklist for updating my nodes, and a ...

Have you updated to LND 0.17 yet?

Here is my checklist for updating my nodes, and a blog post from Velas Commerce with an LND #Lightning Node Troubleshooting Guide to use in the unlikely event that you run into any trouble!

Step one - Backups
✅ Generate static channel backup file
$ lncli --network=testnet exportchanbackup --all --output_file=channel.backup
✅ Copy channel.backup to local
$ rsync -avz -e "ssh -i /home/[user]/.ssh/key.pem" ubuntu@[IP address]:/home/ubuntu/channel.backup channel.backup
✅ Gracefully stop LND
$ lncli --network=testnet stop
✅ Also stop via systemd or disable the service $ sudo systemctl stop lnd
✅ Copy channel.db file to local
$ rsync -avz -e "ssh -i /home/[user]/.ssh/key.pem " ubuntu@[IP address]:/home/ubuntu/.lnd/data/graph/testnet/channel.db channel.db
✅ Check file size
$ ls -la

Step two - Upgrade
✅ Pull down latest $ git pull
✅ Checkout new version
$ git checkout v0.17.0-beta
✅ Remake $ make clean && make && make install tags="autopilotrpc chainrpc invoicesrpc peersrpc routerrpc signrpc walletrpc watchtowerrpc wtclientrpc"
$ lncli --network=testnet version

Step three - Restart
✅ Start LND
$ sudo systemctl start lnd
$ lncli --network=testnet getinfo LND

Lightning Node Troubleshooting Guide: https://velascommerce.com/lnd-lightning-node-troubleshooting-guide/
Author Public Key
npub1tv5j2h2742ht2a6490cdzypsxah5wlge5qyutadgphw884ynt8mqg4jlst