Hello, I’m trying to install a test installation via docker. The installation process up to step 3 (https://docs.mattermost.com/install/prod-docker.html) worked without a problem but I can’t use the platform cli on the app server. I alway get the following error when trying to execue a command (e.g. create a user):
[2017/08/12 10:21:30 CEST] [EROR] Failed to ping DB retrying in 10 seconds err=dial tcp 127.0.0.1:5432: getsockopt: connection refused
The webinterface is working and I can create a user with it. I didn’t do any steps after point 3 because this is only a local test installation in a virtual machine with docker.
I tried to open up the 5432 tcp port with the yast firewall but it didn’t help either.
Summary
Host: openSuse Tumbleweed
Installation with docker (https://docs.mattermost.com/install/prod-docker.html)
Trying to execute a command via the platform cli throws the following error:
[2017/08/12 10:21:30 CEST] [EROR] Failed to ping DB retrying in 10 seconds err=dial tcp 127.0.0.1:5432: getsockopt: connection refused
Steps to reproduce
Install mattermost without changing any of the configuration and try to execute a platform command from the app server.
Expected behavior
Connect to the db and execute the command.
I searched but didn’t found any suiting or working solution.
Can anyone help me? Thanks in advance