Skip to content

Upgrade Node

Story banner

# For manual upgrade

Terminal window
sudo systemctl stop story
Download new story binary v0.13.1
Terminal window
cd $HOME
rm story-linux-amd64
wget https://github.com/piplabs/story/releases/download/v0.13.1/story-linux-amd64
banner
Replace new binary version
Terminal window
chmod +x story-linux-amd64
cp $HOME/story-linux-amd64 $HOME/go/bin/story
source $HOME/.bash_profile
story version
banner
Restart node
Terminal window
sudo systemctl daemon-reload && \
sudo systemctl start story && \
sudo journalctl -u story -f -o cat

# For Cosmovisor upgrade

Create upgrades folder
Terminal window
mkdir -p $HOME/.story/story/cosmovisor/upgrades/v0.13.1/bin
  • Download Story binary v0.13.1
Terminal window
#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
Terminal window
# Copy new version binary to upgrade folder
sudo cp $HOME/story-linux-amd64 $HOME/.story/story/cosmovisor/upgrades/v0.13.1/bin/story
Terminal window
sudo systemctl stop story
Verify the Setup
Terminal window
# Check current symlink
ls -l /root/.story/story/cosmovisor/current
Terminal window
# remove current symlink
rm /root/.story/story/cosmovisor/current
Terminal window
# Update symlink point to v0.13.1
ln -s $HOME/.story/story/cosmovisor/upgrades/v0.13.1 $HOME/.story/story/cosmovisor/current
Restart node
Terminal window
sudo systemctl daemon-reload && \
sudo systemctl start story && \
sudo journalctl -u story -f -o cat