gvmd-1 | psql: error: connection to server on socket "/var/run/postgresql/.s.PGSQL.5432" failed: No such file or directory gvmd-1 | Is the server running locally and accepting connections on that socket? gvmd-1 | waiting 1 second to retry psql connection
There must be additional messages with more useful error logs for the pg-gvm container. But nevertheless did you try to restart the pg-gvm container already?
I have now fixed this error by deleting psql_socket volume and restarting the containers, and I do not have any additional logs. As soon as the error appears (and I’m sure it will appear again) I’ll write here.
I don’t know what you are doing exactly, but the log is caused by the following: the pg-gvm container is shut down while there seems to be an open connection of gvmd to the database. First of all this is normal behavior. I don’t see anything suspicious.
I’m not doing anything extraneous. The software is simply deployed in docker community containers, and over time, this error occurs (without any intervention of mine). Unfortunately, because of this, everything breaks down at random moment.