Deployment Failed - PG::ConnectionBad: FATAL: could not write init file

Deployments to my app have stopped working. Nothing very special about the commit. Just a migration and some front end changes. Now deployment gives this error.

What can i do to resolve?

You must be logged in to answer this question