Database connection failed after upgrade
Posted: Fri Sep 20, 2024 1:24 pm
Hi,
First of all I'm sorry for being stupid, but I am new at docker and Unimus.
I have deployed the 2.5.0 docker version some time ago and everything worked smoothly until today when it started to fail on the database connection. I tried to update to 2.5.1 by entering the version in the docker-compose.yml and restarting the docker, but now it got stucked on updating database and I get a "the database is inconsistent, please delete the database" error. Is there any way to make it work?
I tried downgrading to 2.4.3 and the outcome is the same...
I have all the devices in the database and don't want to lose them...
Thank you!!
EDIT:
Reverted from a snapshot but it constantly loses connection to the DB.
First of all I'm sorry for being stupid, but I am new at docker and Unimus.
I have deployed the 2.5.0 docker version some time ago and everything worked smoothly until today when it started to fail on the database connection. I tried to update to 2.5.1 by entering the version in the docker-compose.yml and restarting the docker, but now it got stucked on updating database and I get a "the database is inconsistent, please delete the database" error. Is there any way to make it work?
I tried downgrading to 2.4.3 and the outcome is the same...
I have all the devices in the database and don't want to lose them...
Thank you!!
EDIT:
Reverted from a snapshot but it constantly loses connection to the DB.