---
title: "Recovering from Voron Errors"
description: "Voron errors described in this article are indicators that something had horribly gone wrong."
url: "https://docs.ravendb.net/6.2/users-issues/recovering-from-voron-errors"
version: "6.2"
---

# Recovering from Voron Errors

> RavenDB publishes an official agent skill for coding assistants at https://docs.ravendb.net/skills/ravendb/SKILL.md (also installable with `npx skills add ravendb/skills`). The skill describes itself as: "Read this before writing any RavenDB query, client call or /databases/ request. Covers server setup, document modelling, the Node.js, .NET and Python clients, RQL, indexes, vector search and AI agents. Code written from recall tends to run and return the wrong rows, because RQL resembles SQL and the clients take field names as plain strings."

\#Recovering from Voron Errors
Voron errors described in this article are indicators that something had horribly gone wrong.  
If such errors happen, they need to be reported as soon as possible to [RavenDB Support](https://ravendb.net/support/supportrequest).

## Symptoms

- RavenDB info level logs will contain the following exceptions:
  - **VoronUnrecoverableErrorException**: `Index points to a non leaf page`
  - **VoronUnrecoverableErrorException**: `Was unable to retrieve the correct node. Data corruption possible`
  - **VoronUnrecoverableErrorException**: `Error syncing the data file. The last sync tx is...`

## Possible Causes

- Such exceptions are caused by the corruption of a Voron *data file*, which could occur due to a few reasons:
  - Hardware failure of hard-drive or memory
  - In compliance‏ with RavenDB [hardware and OS requirements](#ravendb-hardware-and-os-requirements)
  - Critical bug in `Voron`

## RavenDB Hardware And OS Requirements

- A *filesystem* and *hard-drive* backing up a RavenDB server should have the following properties:
  - support for `fsync`
  - support for `write-through` on windows and `O_DIRECT` on Linux based OS.

Read more about `fsync` across platforms [here](https://web.archive.org/web/20160319103232/https://www.humboldt.co.uk/fsync-across-platforms/)

## Resolution

For the best results, simply restore a new database from a backup.  
For more information, read this article about [backup configuration](https://docs.ravendb.net/6.2/server/configuration/backup-configuration.md).

If there is no recent/relevant backup available, it is possible to use the [Voron Recovery Tool](https://docs.ravendb.net/6.2/server/troubleshooting/voron-recovery-tool.md).  
This tool can be used to recover intact data from the corrupted file and import it to a newly created database.

If the corruption has affected an index, it should simply be reset in order to restore normal functionality.

> **Note**
>
> If the corruption is caused by a hardware failure, identify and replace the faulty disk.
