Xormon 1.8.1 - Database system in recovery mode

I've built out Xormon 1.8.1 on a Linux Debian 12 VM in VMware. All works fine for a day or so but then every 1-2 days i will try to load the URL and get the following error from the URL;


{
  "statusCode": 500,
  "message": "the database system is in recovery mode"
}

I can ssh to the VM fine and i can run ./xormon.sh stop everything stops but when I try to stop i get the following error and asked to change the password for the DB which fails.


ERROR: Database connection denied. Used credentials:


DB_HOST=127.0.0.1

DB_PORT=5432

DB_USERNAME=postgres

DB_DATABASE=postgres



error: the database system is in recovery mode


ERROR: Database connection denied. Used credentials:


DB_HOST=127.0.0.1

DB_PORT=5432

DB_USERNAME=postgres

DB_DATABASE=postgres



error: the database system is in recovery mode


Incorrect password!


Do you want to change the password?(y)

Comments

  • Hello,

    it is not about password, the database is down,

    error: the database system is in recovery mode

    run the commands below and let us know:

    systemctl status 'postgresql*'

    if status is failed run the command below

    journalctl -xeu postgresql-16.service

  • Service is active when checking the status of the service and no entries from the second command.

    I tried to stop and restart the service but it now wont load

Sign In or Register to comment.