To update Lisk Core application please follow the instructions below. Please choose the instructions specific to the network, (Mainnet or Testnet) your node is connected to.
Firstly, open the the directory, where your Lisk Core installation is located.
Then execute the following command to upgrade Lisk Core:
lisk core:upgrade <location>
<location> should be the root folder of your Lisk Core installation.
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 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.
To switch to your Lisk folder and stop the Lisk processes, execute the following applicable command below:
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:
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:
To install the latest version of Lisk execute the following applicable command below:
|You will be prompted for your installation directory, pressing Enter will choose the default.|