Open aronyi opened 5 months ago
Your database configuration is wrong or your database is not reachable.
But I didn't perform any change on the configuration of it. Could you please guide me a bit how I can get it back to work? Thanks, every help is really appreciated! :)
From the logs I can only see your acrarium instance is not able to resolve the domain name "database". Might be your database container is not running, or unhealthy. Or the network connection is faulty. Or your docker host setup broke. You'll have to do some investigating yourself.
I encountered this problem 3 other times in a row. Due to my observations this happens if you do not login for a longer time. Everytime the database got shutdown. The acrarium instance tries to reboot each time I'm accessing it, but fails in doing so. To solve it, I installed acrarium again from scratch. I'm trying to avoid this now through daily logins..
Why is your database getting shut down at all? Acrarium cannot work without the database being connected.
This happens when the connection to ur db has errors.
If running using docker, pass the vars as env variables.
docker run -p 8080:8080 -e SPRING_DATASOURCE_URL="jdbc:mysql://HOST:3306/YOUR_DB_NAME?useSSL=false&serverTimeZone=UTC&allowPublicKeyRetrieval=true" -e SPRING_DATASOURCE_USERNAME=XXXX -e SPRING_DATASOURCE_PASSWORD="XXXX" acrarium