Application

To update Lisk Core application please follow the instructions below. Please choose the instructions specific to the network (Mainnet or Testnet), that your node is connected to.

Update with Lisk Commander application

The core:upgrade command is only supported for Lisk Core versions > 2.0.0 and will only work if Lisk Core has previously been installed with the Lisk Commander application.

Firstly, open the the directory where your Lisk Core installation is located.

Then execute the following command listed below to upgrade Lisk Core:

lisk core:upgrade <location>

Where <location> should be the root folder of your Lisk Core installation.

For all available options see the Lisk Commander application command reference for Lisk Core as well as the General command reference.

Update with bash script

Mainnet

cd ~
rm -f installLisk.sh
wget https://downloads.lisk.io/lisk/main/installLisk.sh
bash installLisk.sh upgrade -r main

Testnet

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 choose from a few options. Please read these thoroughly and follow the steps described below:

It is necessary to enable forging manually after the upgrade. For further details, please follow this guide to enable forging on your delegate node.

Manual update Lisk Core

To switch to your Lisk folder and stop the Lisk processes, execute the following applicable command below:

  • Mainnet

  • Testnet

cd ~
cd lisk-main
bash lisk.sh stop
cd ~
cd lisk-test
bash lisk.sh stop

To backup your SSL folder (if necessary), execute the following commands below:

mkdir ~/backup
cp -f ./ssl/* ~/backup/
cp -f ./config.json ~/backup/

In order to remove your old Lisk folder and install the script, execute the following applicable command below:

  • Mainnet

  • Testnet

cd ~
rm -rf ~/lisk-main
rm -rf installLisk.sh
cd ~
rm -rf ~/lisk-test
rm -rf installLisk.sh

To get the latest install script execute the following applicable command below:

  • Mainnet

  • Testnet

wget https://downloads.lisk.io/lisk/main/installLisk.sh
wget https://downloads.lisk.io/lisk/test/installLisk.sh

To install the latest version of Lisk execute the following applicable command below:

  • Mainnet

  • Testnet

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.