⛓️Upgrade (v0.13.1)

# For manual upgrade

sudo systemctl stop story

Download new story binary v0.13.1

cd $HOME
rm story-linux-amd64
wget https://github.com/piplabs/story/releases/download/v0.13.1/story-linux-amd64

Replace new binary version

chmod +x story-linux-amd64cp $HOME/story-linux-amd64 $HOME/go/bin/story
source $HOME/.bash_profilestory version

Restart node

sudo systemctl daemon-reload && \
sudo systemctl start story && \
sudo journalctl -u story -f -o cat

# For Cosmovisor upgrade

Create upgrades folder

mkdir -p $HOME/.story/story/cosmovisor/upgrades/v0.13.1/bin
  • Download Story binary v0.13.1

#download binay
cd $HOME
rm story-linux-amd64
wget https://github.com/piplabs/story/releases/download/v0.13.1/story-linux-amd64
chmod +x story-linux-amd64
  • Copy new binary to upgrades folder

# Copy new version binary to upgrade folder
sudo cp $HOME/story-linux-amd64 $HOME/.story/story/cosmovisor/upgrades/v0.13.1/bin/story
sudo systemctl stop story

Verify the Setup

# Check current symlink
ls -l /root/.story/story/cosmovisor/current
# remove current symlink
rm /root/.story/story/cosmovisor/current
# Update symlink point to v0.13.1
ln -s $HOME/.story/story/cosmovisor/upgrades/v0.13.1 $HOME/.story/story/cosmovisor/current

Restart node

sudo systemctl daemon-reload && \
sudo systemctl start story && \
sudo journalctl -u story -f -o cat

Last updated