You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Something changed in the postgres module such that the mattermost module is now broken.
If you deploy mattermost for the first time, it should set up a postgres database through the ExecStartPre script. However, this script fails because psql cannot connect to the postgres UNIX Domain Socket. It seems postgres now listens on tcp instead of unix domain socket. So the script is not correct anymore
The Fix:
Force psql to connect to 127.0.0.1. It will then fallback to TCP connection. this is a hack though it seems...
Issue description
Something changed in the postgres module such that the mattermost module is now broken.
If you deploy mattermost for the first time, it should set up a postgres database through the ExecStartPre script. However, this script fails because
psql
cannot connect to the postgres UNIX Domain Socket. It seems postgres now listens on tcp instead of unix domain socket. So the script is not correct anymoreThe Fix:
Force
psql
to connect to127.0.0.1
. It will then fallback to TCP connection. this is a hack though it seems...Steps to reproduce
now run
nixos-rebuild switch
Technical details
nix-env --version
)nix-instantiate --eval '<nixpkgs>' -A lib.nixpkgsVersion
)The text was updated successfully, but these errors were encountered: