Upgrade

Current Version
Upgrade Folder

v1.0.0

v1.0.0

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

Downloading and installing Binary

sudo systemctl stop dhealth
cd $HOME
git clone https://github.com/dhealthproject/dhealth 
cd dhealth
git pull
git checkout v1.0.0
make install

sudo systemctl start dhealth && sudo journalctl -u dhealth -f -o cat

For Cosmovisor Users

# Downloading and installing Binary
cd $HOME
git clone https://github.com/dhealthproject/dhealth 
cd dhealth
git pull
git checkout v1.0.0
make install

# Making New Binary Directory and Copying the Daemon
mkdir -p $HOME/.dhealth/cosmovisor/upgrades/v1.0.0/bin
sudo cp $HOME/go/bin/dhealthd $HOME/.dhealth/cosmovisor/upgrades/v1.0.0/bin/

#Stop dhealth daemon
sudo systemctl stop dhealth

#creating symlink to new binaries
ls -l $HOME/.dhealth/cosmovisor/current
rm $HOME/.dhealth/cosmovisor/current
ln -s $HOME/.dhealth/cosmovisor/upgrades/v1.0.0 $HOME/.dhealth/cosmovisor/current

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

Last updated