Commander update

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, please open and view the contents of the instances directory by executing the following command below:

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

Available options

Add either one or multiple options listed below 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

Defines a custom URL for downloading the new Lisk Core binary 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, in order for the Commander to check the integrity of the binary. Please refer to the binary release for the file naming convention.

--lisk-version

N/A

  • --lisk-version=2.0.0

  • --lisk-version=2.1.3

Defines the specific version that should be used to update Lisk Core.