Mattermost, Inc.

[solved] Password authentication failed for user \"mattermost\""}

For troubleshooting questions, please post in the following format:


Fresh installation at Ubuntu 18.04.2 LTS 64 Bit
Follow documantation at
Went trough everything. Till starting with sudo -u mattermost ./bin/mattermost

Steps to reproduce

Teamversion V5.13.02 with postgres

Error Output

root@mattermost:/opt/mattermost# sudo -u mattermost ./bin/mattermost
{“level”:“info”,“ts”:1565862870.613147,“caller”:“utils/i18n.go:83”,“msg”:“Loaded system translations for ‘en’ from ‘/opt/mattermost/i18n/en.json’”}
{“level”:“info”,“ts”:1565862870.6134565,“caller”:“app/server_app_adapters.go:58”,“msg”:“Server is initializing…”}
{“level”:“info”,“ts”:1565862870.6159148,“caller”:“sqlstore/supplier.go:224”,“msg”:“Pinging SQL master database”}
{“level”:“error”,“ts”:1565862870.6575272,“caller”:“sqlstore/supplier.go:236”,“msg”:“Failed to ping DB retrying in 10 seconds err=pq: password authentication failed for user “mattermost””}


"SqlSettings": {
    "DriverName": "postgres",
    "DataSource": "mmuser:secialPassowrdfromme@,utf8\u0026readTimeout=30s\u0026writeTimeout=30s",

Expected behavior

normal startup.

"SqlSettings": {
    "DriverName": "postgres",
    "DataSource": "postgres://mmuser:SEcurePassword@",

The description in the documentation fails (bug). This works for me …
Second error tar -xvfz is not working at standard ubuntu installation. You have tu unzip file in the first step and than tar -xvf without z.

domumentaiton is correct. It was a copy error