Upgrade

Current Version
Port Prefix
Upgrade Folder

v4.0.2

130

stickyfingers

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

Downloading and installing Binary

sudo systemctl stop bitcanna
cd $HOME
git clone https://github.com/BitCannaGlobal/bcna.git 
cd bcna
git pull
git checkout v4.0.2
make install

sudo systemctl start bitcanna

For Cosmovisor Users

# Downloading and installing Binary
cd $HOME
git clone https://github.com/BitCannaGlobal/bcna.git 
cd bcna
git pull
git checkout v4.0.2
make install

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

#Stop bitcanna daemon
sudo systemctl stop bitcanna

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

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

Last updated