> For the complete documentation index, see [llms.txt](https://cryptomolot.gitbook.io/cryptomolot-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cryptomolot.gitbook.io/cryptomolot-docs/mainnets/story-protocol/upgrade-node.md).

# Upgrade node

## Update story-geth 1.2.1

### 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.1/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
```
