# 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
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://cryptomolot.gitbook.io/cryptomolot-docs/mainnets/story-protocol/upgrade-node.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
