Upgrade node

Update geth 1.1.0

Build geth binary

cd $HOME
rm -rf story-geth
git clone https://github.com/piplabs/story-geth.git
cd story-geth
git checkout v1.1.0
make geth
sudo chmod +x build/bin/geth

Download a snapshot from community members

Stop story and geth

sudo systemctl stop story story-geth

Replace binary

mv build/bin/geth  $HOME/go/bin/geth

Restart story and geth

sudo systemctl restart story-geth story

Download snapshot

Check logs

sudo journalctl -u story-geth -f -o cat

Update Story client

Stop the node

sudo systemctl stop story

Build Story binary 1.2.0

cd $HOME
rm -rf story
git clone https://github.com/piplabs/story
cd story
git checkout v1.2.0
go build -o story ./client 
mkdir -p $HOME/go/bin/
mv $HOME/story/story $HOME/go/bin/
story version

Restart the node and check logs

sudo systemctl restart story
sudo journalctl -u story -f -o cat

Last updated