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?
© 2005 - 2023 ProProfs

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

-