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/ Published at
2023-10-13 20:07:46Event JSON
{
"id": "0fa82b476ca2f7b29f285566267127743f974a177cb40a0a6ea81ad68e62bad7",
"pubkey": "5b29255d5eaaaeb577552bf0d11030376f477d19a009c5f5a80ddc73d49359f6",
"created_at": 1697227666,
"kind": 1,
"tags": [
[
"t",
"lightning"
]
],
"content": "Have you updated to LND 0.17 yet? \n\nHere 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! \n\nStep one - Backups \n✅ Generate static channel backup file \n$ lncli --network=testnet exportchanbackup --all --output_file=channel.backup \n✅ Copy channel.backup to local \n$ rsync -avz -e \"ssh -i /home/[user]/.ssh/key.pem\" ubuntu@[IP address]:/home/ubuntu/channel.backup channel.backup \n✅ Gracefully stop LND \n$ lncli --network=testnet stop \n✅ Also stop via systemd or disable the service $ sudo systemctl stop lnd \n✅ Copy channel.db file to local \n$ rsync -avz -e \"ssh -i /home/[user]/.ssh/key.pem \" ubuntu@[IP address]:/home/ubuntu/.lnd/data/graph/testnet/channel.db channel.db \n✅ Check file size \n$ ls -la \n\nStep two - Upgrade \n✅ Pull down latest $ git pull \n✅ Checkout new version \n$ git checkout v0.17.0-beta \n✅ Remake $ make clean \u0026\u0026 make \u0026\u0026 make install tags=\"autopilotrpc chainrpc invoicesrpc peersrpc routerrpc signrpc walletrpc watchtowerrpc wtclientrpc\" \n$ lncli --network=testnet version \n\nStep three - Restart \n✅ Start LND \n$ sudo systemctl start lnd \n$ lncli --network=testnet getinfo LND \n\nLightning Node Troubleshooting Guide: https://velascommerce.com/lnd-lightning-node-troubleshooting-guide/ ",
"sig": "866c3908dd3091b8305b574aafe11c1e141883279001c0fd0a3f1895586fefd7ab7e6a4cc7a8c7c4ec8b809f8852ef056efac147f971a84a9f86ab02be53fda4"
}