Update

These instructions are for full nodes that are running on previous versions of RealioNetwork and need to update to the latest version of the RealioNetwork software.

Manual upgrade

The following instructions explain how to manually upgrade the node:

  1. Stop your node

 sudo systemctl stop realio-networkd
  1. Backup your validator files:

cp ~/.realio-network/config/priv_validator_key.json ~/priv_validator_key.json
cp ~/.realio-network/config/node_key.json ~/node_key.json
cp ~/.realio-network/data/priv_validator_state.json ~/priv_validator_state.json
  1. Go into the directory in which you have installed the Realio Network repo. If you have followed the installation instructions and didn't change the path, it should be /home/$USER/realio-network:

cd <installation-path> 

# e.g.
# cd ~/realio-network
  1. Now, update the realio-networkd software:

git fetch --tags
git checkout tags/$(git describe --tags `git rev-list --tags --max-count=1`)
make build && make install

Cosmovisor

Automatic upgrade (with Cosmovisor)

Below it is explained how to prepare your node to be able to automatically upgrade itself.

Cosmovisor handles the automatic upgrades that happens after the upgrade governance proposal passes. If during an upgrade your node doesn't have enough space left or if the cosmovisor backup it is taking too much time, you can do the following:

  1. Open your realio-networkd editor:

     systemctl edit realio-networkd --full
  2. Add the following line after the last Environment line:

    Environment="UNSAFE_SKIP_BACKUP=true"

Last updated