Show error message when Redis/Postgres is down
In the case when Redis or Postgres connection is down, GitLab would show a 500 error, which is expected. However, given that other conditions might cause such error, is there any way we can view the exact error message other than viewing the log? The health check endpoint /-/readiness
or /-/liveness
would also be down since the entire server is down.
Side question: can GitLab still start if Redis/Postgres is down? I noticed current_setting
would "fake" an application setting in case of a failover, but still the endpoints can't be reached.
Edited by Yuanchen Lu