Upgrade to v0.6.x
This document offers the information and instructions required for node operators complete an upgrade with a fresh installation.
We decided to remove the debian package as an installtion artifact and use our own installation tool. The main reason for this is to help our current and future node operators join the cheqd network or complete an upgrade in a more intuitive, simpler and less time intensive way.
For this upgrade from 0.5.0
to 0.6.0
there are 2 possible scenario:
upgrade by installing Cosmovisor
upgrade only
cheqd-noded
binary.
Cosmovisor is a tool from the cosmos-sdk
team which is able to make an upgrade in a full-auto mode. It can download and exchange binary without any actions from a node operator. Beginning with version 0.6.0
, and with all subsequent versions, we will leverage Cosmosvisor as a tool to handling our upgrade process.
For more information about interactive installer please see this documentation. You will find answers to common questions within this document, however of course feel free to reach out to the team on Slack or Discord.
Upgrade with installing Cosmovisor
As the installation and setting up the Cosmovisor can be difficult, and requires some additional steps for setting up the systemd
service, we injected all this steps into our interactive installer.
The flow for installtion is:
Stop the systemd
service
systemd
serviceMake sure that it was definitely stopped by using:
The output should be:
the main focus here: Active: inactive (dead)
Remove current debian package
Download interactive installer and run it
The next answers are needed for upgrading cheqd-noded
binary with the Cosmovisor installation
cheqd-noded
binary with the Cosmovisor installationIMPORTANT For running an Upgrade scenario
you'll be required to setup a current home directory for a cheqd
user as an answer on question Set path for cheqd user's home directory [default: /home/cheqd]:
. This is because the upgrade scenario will only be used if this directory exists.
WARNING Please make sure that you answered yes
for questions about overwriting existing configuration. It's very important when making a new installation with Cosmovisor.
Start new systemd
service
systemd
serviceUpgrade only binary
If you are updating a current installation the next steps can be used:
Stop the systemd
service
systemd
serviceand make sure that it was really stopped by:
Output should be like:
the main focus here: Active: inactive (dead)
Remove current debian package
Download interactive installer and run it
Answers for interactive installer
IMPORTANT For running an Upgrade scenario
you'll be required to setup a current home directory for a cheqd
user as an answer on question Set path for cheqd user's home directory [default: /home/cheqd]:
. This is because the upgrade scenario will only be used if this directory exists.
WARNING. IF you are keeping just standalone a cheqd-noded
, without Cosmovisor, it's crucial you keep your systemd
service files without overwriting them. Please make sure that your answers were no
.
Similar to what was previously in place, for starting the service only the next command is needed
Last updated