I'm trying to build a Docker image for Rubber, but I'm getting this error in dbconfig-common dialog.
unable to connect to postgresql server.
error encountered creating user:
psql: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
Also tried DEBIAN_FRONTEND=noninteractive
option and had the same error:
Tried this and had the same error:
`Setting up rsyslog-pgsql (7.4.4-1ubuntu2.6rudder1) ...
dbconfig-common: writing config to /etc/dbconfig-common/rsyslog-pgsql.conf
Creating config file /etc/dbconfig-common/rsyslog-pgsql.conf with new version
Creating config file /etc/rsyslog.d/pgsql.conf with new version
unable to connect to postgresql server.
error encountered creating user:
psql: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
dbconfig-common: rsyslog-pgsql configure: noninteractive fail.
dbconfig-common: rsyslog-pgsql configure: ignoring errors from here forwards`
I'm using Rudder 4.1 in a Ubunbu 14.04 Docker image.