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:
# downloadwgethttps://raw.githubusercontent.com/openoms/lightning-node-management/en/lnd.updates/lnd.update.v0.18.0-beta.sh# look through the scriptcatlnd.update.v0.18.0-beta.sh# runbashlnd.update.v0.18.0-beta.sh
# downloadwgethttps://raw.githubusercontent.com/openoms/lightning-node-management/en/lnd.updates/lnd.update.v0.17.4-beta.sh# look through the scriptcatlnd.update.v0.17.4-beta.sh# runbashlnd.update.v0.17.4-beta.sh
# downloadwgethttps://raw.githubusercontent.com/openoms/lightning-node-management/en/lnd.updates/lnd.update.v0.16.4-beta.sh# look through the scriptcatlnd.update.v0.16.4-beta.sh# runbashlnd.update.v0.16.4-beta.sh
# downloadwgethttps://raw.githubusercontent.com/openoms/lightning-node-management/en/lnd.updates/lnd.update.sh# look through the scriptcatlnd.update.sh# runbashlnd.update.sh
asks about the parameters every time then downloads and verifies accordingly:
$bashlnd.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