Skip to content

Instantly share code, notes, and snippets.

@daniel-vera-g
Last active May 10, 2019 19:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save daniel-vera-g/92b33ffc6b7d4754056254f92ede4a1b to your computer and use it in GitHub Desktop.
Save daniel-vera-g/92b33ffc6b7d4754056254f92ede4a1b to your computer and use it in GitHub Desktop.
Update LND to v0.6
# Release at: https://github.com/lightningnetwork/lnd/releases/tag/v0.6-beta
# Stop lnd service
sudo systemctl stop lnd
cd /home/admin/download
# Get all required release files
wget https://github.com/lightningnetwork/lnd/releases/download/v0.6-beta/lnd-linux-armv7-v0.6-beta.tar.gz
wget https://github.com/lightningnetwork/lnd/releases/download/v0.6-beta/manifest-v0.6-beta.txt
wget https://github.com/lightningnetwork/lnd/releases/download/v0.6-beta/manifest-v0.6-beta.txt.sig
wget https://keybase.io/roasbeef/pgp_keys.asc
# Check integrity and signature
sha256sum --check manifest-v0.6-beta.txt --ignore-missing
gpg ./pgp_keys.asc
gpg --import ./pgp_keys.asc
# Install
tar -xzf lnd-linux-armv7-v0.6-beta.tar.gz
sudo install -m 0755 -o root -g root -t /usr/local/bin lnd-linux-armv7-v0.6-beta/*
# Check install
lnd --version
# Restart services
sudo systemctl restart bitcoind
sudo systemctl restart lnd
sudo su - bitcoin
lncli unlock
# Check logs
sudo journalctl -u lnd -f
@bereska
Copy link

bereska commented May 10, 2019

@daniel-vera-g, thank you. Worked like a charm on my raspiblitz. FYI: it took it about 2 hrs to restore 12 peers and 10 channels

@daniel-vera-g
Copy link
Author

@daniel-vera-g, thank you. Worked like a charm on my raspiblitz. FYI: it took it about 2 hrs to restore 12 peers and 10 channels

Good to hear. I did not have many channels, so probably that's why it worked that fast on my node.

@bereska
Copy link

bereska commented May 10, 2019

my custom setup is Raspiblitz (bitcoind, lnd) + BTCPay Server 2 in 1 on rpi 3b+. It was running out of memory before updating to lnd 0.6. Now it's much better). Planning to update bitcoin to 0.18 and see how it goes. Hope my rpi will pull it off.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment