Database connection failed: SQLSTATE[08006] [7] connection to server at "localhost" (127.0.0.1), port 5432 failed: server closed the connection unexpectedly This probably means the server terminated abnormally before or while processing the request. SSL SYSCALL error: Connection reset by peer connection to server at "localhost" (127.0.0.1), port 5432 failed: FATAL: the database system is in recovery mode