Upgrade

Current Version
Upgrade Folder

v3.1.1

v3.1.1

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

For Non Cosmovisor Users

Downloading and installing Binary

sudo systemctl stop celestia
cd $HOME
git clone https://github.com/celestiaorg/celestia-app.git 
cd celestia-app
git pull
git checkout v3.1.1 
make install

# Enable bbr if not already done
make enable-bbr

sudo systemctl start celestia

For Cosmovisor Users

# Downloading and installing Binary
cd $HOME
git clone https://github.com/celestiaorg/celestia-app.git 
cd celestia-app
git pull
git checkout v3.1.1 
make install

# Enable bbr if not already done
make enable-bbr

# Making New Binary Directory and Copying the Daemon
mkdir -p $HOME/.celestia-app/cosmovisor/upgrades/v3.1.1 /bin
sudo cp $HOME/go/bin/celestia-appd $HOME/.celestia-app/cosmovisor/upgrades/v3.1.1 /bin/

#Stop Celestia-app daemon
sudo systemctl stop celestia

#creating symlink to new binaries
ls -l $HOME/.celestia-app/cosmovisor/current
rm $HOME/.celestia-app/cosmovisor/current
ln -s $HOME/.celestia-app/cosmovisor/upgrades/v3.1.1  $HOME/.celestia-app/cosmovisor/current

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

Last updated