Issue Summary
In Omnibus GitLab docker, I don’t have the System Console available
Steps to reproduce
No Console shows up in the correct place
Expected behavior
Shows up in the mattermost chat window somewhere I presume
Observed behavior
I have seen it turn up randomly once in a non administrator account, then it did disappear. I have tried ensuring roles are available via CLI, however I am hit by both the i18n error, thus:
mattermost --config=/var/opt/gitlab/mattermost/config.json version
panic: Unable to find i18n directory (and many more lines of errors afterward),
And then the following database connection error (my assumption it’s a database connection error, but it looks like one to me):
E.g. if I run from /opt/gitlab/embedded/service/mattermost to work around that, I get:
{“level”:“info”,“ts”:1586416609.6965177,“caller”:“utils/i18n.go:83”,“msg”:“Loaded system translations”,“for locale”:“en”,“from locale”:"/opt/gitlab/embedded/service/mattermost/i18n/en.json"}
{“level”:“info”,“ts”:1586416609.696926,“caller”:“app/server_app_adapters.go:58”,“msg”:“Server is initializing…”}
{“level”:“info”,“ts”:1586416609.7034106,“caller”:“sqlstore/supplier.go:221”,“msg”:“Pinging SQL”,“database”:“master”}
{“level”:“error”,“ts”:1586416609.7047381,“caller”:“sqlstore/supplier.go:233”,“msg”:“Failed to ping DB”,“error”:“dial tcp 127.0.0.1:3306: connect: connection refused”,“retrying in seconds”:10}
Clearly it can’t see my database. However I haven’t been able to figure out what is calling this and why it can’t see my database, when it’s an omnibus edition and the rest of mattermost is working.
Can anyone shed any light on where the correct setting for this database might be?
I did see this line in the config file, perhaps it’s this?
mattermost[‘sql_data_source’] = "mmuser:mostest@tcp(127.0.0.1:3306)/mattermost_test>
I can’t manage much without the system console!
Many thanks.
Marshalleq.