Repair Database
Repair Pritunl database
The repair-database
command will repair the Pritunl database and allow recovering a corrupted or inconsistent database. Running this command will clear the logs, reset all user static virtual IP addresses and put all servers in the stopped state. Before running the command all hosts in a Pritunl cluster must be stopped including the host the command will be run on. The command should only be run once on one host in a Pritunl cluster. Use the commands below to stop the Pritunl service and repair the database.
sudo systemctl stop pritunl
sudo pritunl repair-database
sudo systemctl start pritunl
Updated almost 6 years ago