Mattermost, Inc.

Docker install under regular .tar.gz?

I just downloaded the non-docker new version but I get this docker error and server wont start!!!
systemctl status mattermost
● mattermost.service - Mattermost
Loaded: loaded (/etc/systemd/system/mattermost.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Tue 2017-06-20 17:38:19 PDT; 3s ago
Process: 10617 ExecStart=/home/mattermost/mattermost/bin/platform (code=exited, status=102)
Main PID: 10617 (code=exited, status=102)

Jun 20 17:38:18 chat platform[10617]: [2017/06/20 17:38:18 PDT] [INFO] Loaded system translations for 'en' from '/home/mattermost/matte
Jun 20 17:38:18 chat platform[10617]: [2017/06/20 17:38:18 PDT] [INFO] Current version is 3.10.0 (3.10.0/Wed Jun 14 21:03:07 UTC 2017/8
Jun 20 17:38:18 chat platform[10617]: [2017/06/20 17:38:18 PDT] [INFO] Enterprise Enabled: false
Jun 20 17:38:18 chat platform[10617]: [2017/06/20 17:38:18 PDT] [INFO] Current working directory is /home/mattermost/mattermost/bin
Jun 20 17:38:18 chat platform[10617]: [2017/06/20 17:38:18 PDT] [INFO] Loaded config file from /home/mattermost/mattermost/config/confi
Jun 20 17:38:18 chat platform[10617]: [2017/06/20 17:38:18 PDT] [INFO] Server is initializing...
Jun 20 17:38:18 chat platform[10617]: [2017/06/20 17:38:18 PDT] [INFO] Pinging SQL master database
Jun 20 17:38:18 chat platform[10617]: [2017/06/20 17:38:18 PDT] [CRIT] Failed to ping DB err:dial tcp: lookup dockerhost on [2001:4860:

Hi,

I’m not sure but I don’t think that it is really in relation with Docker.
Could you explain how you launch the server ? Where does your database server run ? Did you configure the database connection in your config.json file ?

Did you follow the installation instructions for your operating system? (https://docs.mattermost.com/guides/administrator.html#installing-mattermost) Mattermost should be in the /opt/mattermost hierarchy, but you’ve got it in /home/mattermost/mattermost.

This error: [CRIT] Failed to ping DB err:dial tcp: lookup dockerhost on [2001:4860: is because you need to modify the config.json from:

"DataSource": "mmuser:mostest@tcp(dockerhost:3306)/mattermost_test?charset=utf8mb4,utf8&readTimeout=30s&writeTimeout=30s",

to a configuration for your particular database and its location.