Commander application

Table of Contents
The core:upgrade command is only supported for Lisk Core versions greater than 2.0.0.

Update

  • Mainnet

  • Testnet

To upgrade Lisk Core, execute the following command:

lisk core:upgrade lisk-mainnet (1)
1 Exchange INSTANCE with the name of your Lisk Core instance, which you chose during the Installation of Lisk Core.

To upgrade Lisk Core, execute the following command:

lisk core:upgrade lisk-testnet (1)
1 Exchange INSTANCE with the name of your Lisk Core instance, which you chose during the Installation of Lisk Core.

If you have forgotton the name of the Lisk instance, this can be found in the instances directory by executing the following command below:

ls ~/.lisk/instances/ (1)
1 Lists all available Lisk Core instances

Available options

Add one or more of the multiple options listed below to the core:upgrade command. Multiple options are seperated by spaces.

Full Name Short Name Examples Description

--release-url

-r

--release-url=https://my-custom.url/testnet/2.1.0-rc.0/lisk-2.1.0-rc.0-Linux-x86_64.tar.gz

Define a custom URL for downloading the new Lisk Core application script. It is also necessary to have the checksum for the TAR file with the format 2.0.0-Linux-x86_64.tar.gz.SHA256, for the Commander application to check the integrity of the application. For the file naming convention, please refer to the Lisk Core application releases.

--lisk-version

N/A

  • --lisk-version=2.0.0

  • --lisk-version=2.1.7

Define the specific version, Lisk Core should be upgraded to.