500: An error occured

connect ENOENT /var/run/postgresql/.s.PGSQL.5432

You can use the Site Tester to check for any configuration errors.