> For the complete documentation index, see [llms.txt](https://cotidocs.geordier.co.uk/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cotidocs.geordier.co.uk/troubleshooting/reseting-transactions.md).

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