# Upgrade node

## Update story-geth 1.2.0

### Get story-geth binary

```bash
cd $HOME
rm -rf story-geth
wget -O story-geth https://github.com/piplabs/story-geth/releases/download/v1.2.0/geth-linux-amd64
chmod +x $HOME/story-geth
mv $HOME/story-geth $HOME/go/bin/
```

### Restart the nodes

```bash
sudo systemctl restart story-geth && sleep 3 && sudo systemctl restart story
```

### Check logs

```bash
journalctl -u story -u story-geth -f
```

## Update story client

### Build Story binary 1.5.2

```bash
cd $HOME
rm -rf story
git clone https://github.com/piplabs/story
cd story
git checkout v1.5.2
go build -o story ./client
mv $HOME/story/story $HOME/go/bin/
```

### Restart the node

```bash
sudo systemctl restart story
```

### Check logs

```bash
sudo journalctl -u story -f -o cat
```
