Skip to main content

Upgrade

Chain ID: gitopia | Current Node Version: v5.1.0

Clone Gitopia repository

cd $HOME
rm -rf gitopia
git clone https://github.com/gitopia.git
cd gitopia
git checkout v5.1.0

Build binaries

make build

Prepare binaries for Cosmovisor

mkdir -p ~/.gitopia/cosmovisor/upgrades/v5.1.0/bin
mv build/gitopiad ~/.gitopia/cosmovisor/upgrades/v5.1.0/bin/
rm -rf build

Without Cosmovisor

Clone Gitopia repository

cd $HOME
rm -rf gitopia
git clone https://github.com/gitopia.git
cd gitopia
git checkout v5.1.0

Build binaries

make install

Restart node and check logs

sudo systemctl restart gitopiad && sudo journalctl -u gitopiad -f --no-hostname -o cat