> 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/testnets/story-protocol/upgrade-node.md).

# Upgrade node

## Update story-geth

### Get geth binary 1.2.1

```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
sudo journalctl -u story-geth -f -o cat
```

## Update Story client

### Build story binary 1.6.1

```bash
cd $HOME
rm -rf story
git clone https://github.com/piplabs/story
cd story
git checkout v1.6.1
go build -o story ./client
mkdir -p $HOME/go/bin/
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
```
