Upgrade

Current Version
Upgrade Folder

v11

v11

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 v11
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 v11
make install

# Making New Binary Directory and Copying the Daemon
mkdir -p $HOME/.kopid/cosmovisor/upgrades/v11/bin
sudo cp $HOME/go/bin/kopid $HOME/.kopid/cosmovisor/upgrades/v11/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/v11 $HOME/.kopid/cosmovisor/current

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

Last updated