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

 

Windows

 

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

 

Linux

 
/etc/opt/mailarchiva/stop
rm -rf /var/opt/mailarchiva/ROOT/database (delete the database)
/etc/opt/mailarchiva/start
MailArchiva will create a new database.
 
 
 
Option 2) Repair Database
 
Download and unpack Orient DB.from https://orientdb.com/download-2/
/etc/opt/mailarchiva/stop
export JAVA_HOME=/var/opt/mailarchiva/jre64
bin\console.sh
connect plocal:/var/opt/mailarchiva/ROOT/database/archiva.db admin admin
repair database --fix-graph
/etc/opt/mailarchiva/start

 

 
Was this information helpful?

Found this information useful? Visit mailarchiva.com 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.