# Reseting Transactions

If you get a corrupt database, or the node status is UnSync on the coti node alert bot then run the following code in order.

### Step1 - Script download and Script run.

Copy and right click to paste the following code in your VPS .

```
cd ~
rm -rf reset_transactions.sh
wget -O reset_transactions.sh https://raw.githubusercontent.com/Geordie-R/coti-node-upgrade/main/reset_transactions.sh && chmod +x reset_transactions.sh
./reset_transactions.sh "true"
```

### Step 2 - Reboot the cnode.service

```
sudo systemctl restart cnode.service
```

### Step 3 - Set reset.transactions back to false

```
./reset_transactions.sh "false"
```

Now just wait 10 minutes and then check both the [Finally: Checking you're up!](/installing-the-node/finally-checking-youre-up.md) and also try sending some token through your node.


---

# 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://cotidocs.geordier.co.uk/troubleshooting/reseting-transactions.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.
