Graph Database

The graph DB is used for storing folder structures. It doesn't contain actual emails. When the graph DB is deleted, MailArchiva should resync the folders in Exchange / Azure.

Database Service Not Started

Error message is: The database service is not started

Option 1) Delete Database




Stop MailArchiva service
Delete C:\ProgramData\MailArchiva\ROOT\database
Start MailArchiva service



rm -rf /var/opt/mailarchiva/ROOT/database (delete the database)
MailArchiva will create a new database.
Option 2) Repair Database
Download and unpack Orient DB.from
export JAVA_HOME=/var/opt/mailarchiva/jre64
connect plocal:/var/opt/mailarchiva/ROOT/database/archiva.db admin admin
repair database --fix-graph


Was this information helpful?

Found this information useful? Visit to learn more about MailArchiva.

The page cannot be found

The page you are looking for might have been removed, had its name changed, or is temporarily unavailable. Please make sure you spelled the page name correctly or use the search box.