⚡
Lightning Node Management
🇺🇸 English
🇺🇸 English
  • Contents
  • Lightning basics
  • Create inbound liquidity
  • Create outbound liquidity
  • Comparison table of software implementations
  • Comparison table of lightning channel markets
  • Node Types
    • Merchant
    • Spending
    • Routing
  • Advanced Tools
    • lnd.conf example
    • Advanced and automated fee settings
    • Set up an LND watchtower and connect a client
    • Methods to create a balanced channel with a trusted peer
    • Pool usage notes
    • Bos Score
  • Technicals
    • Connecting to a lightning node remotely
    • High onchain fee environment
    • Compact the LND database (channel.db)
    • Manage the LND onchain funds in Electrum Wallet
  • Recovery
    • Resources for LND
    • Resources for Core Lightning
  • Privacy
    • Resources on Lightning privacy
    • VPN tunnels
  • Hardware deployment
    • Hardware recommendations
    • RaspiBolt
    • RaspiBlitz
      • charge-lnd
      • Balance of Satoshis Telegram Bot
      • LND updates
      • Bitcoin Core updates
      • VPN and firewall setup
    • TrueNAS (FreeBSD) node
      • aliases
      • Balance of Satoshis
      • Lightning Terminal
      • Circuitbreaker
      • LNtop
      • LND notes
      • stream-lnd-htlcs
      • Suez
      • Tailscale
      • Connect Zeus
  • Donate
    • Donations
Powered by GitBook
On this page
  • Backup
  • Update LND to v0.18.0-beta
  • Update LND to v0.17.4-beta
  • Update LND to v0.16.4-beta
  • Update LND to a chosen version
  • Build LND from the source

Was this helpful?

Edit on GitHub
  1. Hardware deployment
  2. RaspiBlitz

LND updates

PreviousBalance of Satoshis Telegram BotNextTrueNAS (FreeBSD) node

Last updated 1 year ago

Was this helpful?

Check for the latest official release and notes:

WARNING for every major version update: After the migration the LND database will be only compatible with that new version and above. This means that the update script needs to be run each time when a clean RaspiBlitz SDcard image is used to access the LND database.

Backup

Before updating it is recommended to make a full backup of the LND directory. This is not to be restored after LND is successfully restarted!

  • Run this line in the RaspiBlitz terminal to use the built-in script:

      $ /home/admin/config.scripts/lnd.rescue.sh backup

    More info about this process in the

  • Run in the RaspiBlitz terminal to use:

      # download
      wget https://raw.githubusercontent.com/openoms/lightning-node-management/en/lnd.updates/lnd.update.v0.18.0-beta.sh
      # look through the script
      cat lnd.update.v0.18.0-beta.sh
      # run
      bash lnd.update.v0.18.0-beta.sh

  • Run in the RaspiBlitz terminal to use:

      # download
      wget https://raw.githubusercontent.com/openoms/lightning-node-management/en/lnd.updates/lnd.update.v0.17.4-beta.sh
      # look through the script
      cat lnd.update.v0.17.4-beta.sh
      # run
      bash lnd.update.v0.17.4-beta.sh
  • Run in the RaspiBlitz terminal to use:

      # download
      wget https://raw.githubusercontent.com/openoms/lightning-node-management/en/lnd.updates/lnd.update.v0.16.4-beta.sh
      # look through the script
      cat lnd.update.v0.16.4-beta.sh
      # run
      bash lnd.update.v0.16.4-beta.sh
  • Run in the RaspiBlitz terminal to use:

      # download
      wget https://raw.githubusercontent.com/openoms/lightning-node-management/en/lnd.updates/lnd.update.sh
      # look through the script
      cat lnd.update.sh
      # run
      bash lnd.update.sh
  • asks about the parameters every time then downloads and verifies accordingly:

      $ bash lnd.update.sh
      # Input the LND version to install (eg. '0.16.0-beta.rc1'):
      0.16.0-beta.rc1
      # Input the name of the signer (eg: 'roasbeef'):
      roasbeef
      # Input the PGP key fingerprint to check against (eg. 'E4D85299674B2D31FAA1892E372CBD7633C61696'):
      E4D85299674B2D31FAA1892E372CBD7633C61696
  • Download and run this script on the RaspiBlitz:

      # download
      wget https://raw.githubusercontent.com/openoms/lightning-node-management/master/lnd.updates/lnd.from.source.sh
      # inspect the script
      cat lnd.from.source.sh
      # run
      bash lnd.from.source.sh

Will ask for the commit to checkout from. Choose a commit ID from this list:

https://github.com/lightningnetwork/lnd/releases/
FAQ
Update LND to v0.18.0-beta
Update LND to v0.17.4-beta
Update LND to v0.16.4-beta
Update LND to a chosen version
Build LND from the source
https://github.com/lightningnetwork/lnd/commits/master