It looks like you cannot connect to your database. Maybe you can check that the value of $DSPOSTGRESQL_URL is correctly set inside the deployment?
$DSPOSTGRESQL_URL