Upgrade

Current Version
Upgrade Folder

v0.6.5.2

v0_6_5_2

This guide assumes that the current systemd file is named as kopi

Downloading and installing Binary

sudo systemctl stop kopi
cd $HOME
git clone https://github.com/kopi-money/kopi.git 
cd kopi
git pull
git checkout v0.6.5.2
make install

sudo systemctl start kopi

For Cosmovisor Users

# Downloading and installing Binary
cd $HOME
git clone https://github.com/kopi-money/kopi.git 
cd kopi
git pull
git checkout v0.6.5.2
make install

# Making New Binary Directory and Copying the Daemon
mkdir -p $HOME/.kopid/cosmovisor/upgrades/v0_6_5_2/bin
sudo cp $HOME/go/bin/kopid $HOME/.kopid/cosmovisor/upgrades/v0_6_5_2/bin/

#Stop kopi daemon
sudo systemctl stop kopi

#creating symlink to new binaries
ls -l $HOME/.kopid/cosmovisor/current
rm $HOME/.kopid/cosmovisor/current
ln -s $HOME/.kopid/cosmovisor/upgrades/v0_6_5_1 $HOME/.kopid/cosmovisor/current

#starting kopi
sudo systemctl start kopi && sudo journalctl -u kopi -f -o cat

Last updated