Lisk Core Binary Upgrade
In order to upgrade Lisk Core from Binary please follow the instructions below. If you wish to migrate a 0.9 node to Lisk Core 1.0, we recommend you to go directly to the Migration page for a full step-by-step guide.
Please choose the instructions specific to the network (Mainnet or Testnet) your node is connected to.
Before any upgrade process, we strongly recommend you to check always your
config.json file. For example, the upgrade from 0.9 to 1.0 includes many changes which turns this step into an important one that requires your attention. See this document for further reference.
Automated Upgrade Lisk Core
cd ~ rm -f installLisk.sh wget https://downloads.lisk.io/lisk/main/installLisk.sh bash installLisk.sh upgrade -r main
cd ~ rm -f installLisk.sh wget https://downloads.lisk.io/lisk/test/installLisk.sh bash installLisk.sh upgrade -r test
After running the above script manually or through
lisk_bridge.sh, you will be prompted to pick from a few options. Please read these thoroughly and follow the steps.
You have to enable forging manually after the upgrade. Please follow this guide to enable forging on your delegate node for further details.
Manual Upgrade Lisk Core
Switch to your Lisk folder and stop Lisk processes:
cd ~ cd lisk-main bash lisk.sh stop
cd ~ cd lisk-test bash lisk.sh stop
Backup your SSL folder (if needed):
mkdir ~/backup cp -f ./ssl/* ~/backup/ cp -f ./config.json ~/backup/
Remove your old Lisk folder and install script:
cd ~ rm -rf ~/lisk-main rm -rf installLisk.sh
cd ~ rm -rf ~/lisk-test rm -rf installLisk.sh
Get the latest install script:
Install the latest version of Lisk:
bash installLisk.sh install -r main
bash installLisk.sh install -r test
You will be prompted for your installation directory, pressing 'enter' will choose the default.