Mattermost Peer-to-Peer Forum

System console not appearing for admin user


#1

After a few config changes in a bitnami AWS Mattermost instance, the two users with admin access no longer see the system console in their hamburger menu

Following steps found in a search in this forum, I found the mattermost/server/bin directory and ran

sudo ./mattermost roles system_admin admin

(“admin” is the username for the default user with admin access)

I get the following output:

{“level”:“info”,“ts”:1543243922.0535872,“caller”:“utils/i18n.go:78”,“msg”:“Loaded system translations for ‘en’ from ‘/opt/bitnami/apps/mattermost/server/i18n/en.json’”}
{“level”:“info”,“ts”:1543243922.053817,“caller”:“app/app.go:204”,“msg”:“Server is initializing…”}
{“level”:“info”,“ts”:1543243922.0587118,“caller”:“sqlstore/supplier.go:209”,“msg”:“Pinging SQL master database”}
{“level”:“info”,“ts”:1543243922.0767624,“caller”:“sqlstore/channel_store_experimental.go:47”,“msg”:“Enabling experimental public channels materialization”}
{“level”:“info”,“ts”:1543243922.1274724,“caller”:“app/plugin.go:100”,“msg”:“Starting up plugins”}
{“level”:“error”,“ts”:1543243922.1276336,“caller”:“app/plugin.go:108”,“msg”:“Failed to start up plugins”,“error”:“mkdir ./client/plugins: no such file or directory”}
{“level”:“info”,“ts”:1543243922.136283,“caller”:“app/app.go:283”,“msg”:“Stopping Server…”}
{“level”:“info”,“ts”:1543243922.136381,“caller”:“app/web_hub.go:120”,“msg”:“stopping websocket hub connections”}
{“level”:“warn”,“ts”:1543243922.1364763,“caller”:“app/web_hub.go:125”,“msg”:“We appear to have already sent the stop checking for deadlocks command”}
{“level”:“info”,“ts”:1543243922.1376143,“caller”:“sqlstore/supplier.go:852”,“msg”:“Closing SqlStore”}
{“level”:“info”,“ts”:1543243922.1380422,“caller”:“app/app.go:305”,“msg”:“Server stopped”}


#2

I should specify, the config changes I’m referring to that happened before the admin console disappeared involve changing IP addresses, adding a DNS name and adding an SSL certificate.


#3

Update: I created a …bin/client/plugins directory, which seems a weird place to put it, but whatever, so that one error message disappears

The output is now:
{“level”:“info”,“ts”:1543246021.4875233,“caller”:“utils/i18n.go:78”,“msg”:“Loaded system translations for ‘en’ from ‘/opt/bitnami/apps/mattermost/server/i18n/en.json’”}
{“level”:“info”,“ts”:1543246021.487746,“caller”:“app/app.go:204”,“msg”:“Server is initializing…”}
{“level”:“info”,“ts”:1543246021.4892926,“caller”:“sqlstore/supplier.go:209”,“msg”:“Pinging SQL master database”}
{“level”:“info”,“ts”:1543246021.5083587,“caller”:“sqlstore/channel_store_experimental.go:47”,“msg”:“Enabling experimental public channels materialization”}
{“level”:“info”,“ts”:1543246021.5695505,“caller”:“app/plugin.go:100”,“msg”:“Starting up plugins”}
{“level”:“info”,“ts”:1543246022.1409373,“caller”:“app/app.go:283”,“msg”:“Stopping Server…”}
{“level”:“info”,“ts”:1543246022.1409864,“caller”:“app/web_hub.go:120”,“msg”:“stopping websocket hub connections”}
{“level”:“warn”,“ts”:1543246022.1409993,“caller”:“app/web_hub.go:125”,“msg”:“We appear to have already sent the stop checking for deadlocks command”}
{“level”:“info”,“ts”:1543246022.1412697,“caller”:“app/plugin.go:156”,“msg”:“Shutting down plugins”}
{“level”:“info”,“ts”:1543246022.141965,“caller”:“sqlstore/supplier.go:852”,“msg”:“Closing SqlStore”}
{“level”:“info”,“ts”:1543246022.142279,“caller”:“app/app.go:305”,“msg”:“Server stopped”}

I restart everything, including mysql and nginx, and still no admin console access

When I go to https://mysiteurl/admin_console I get a blank page


#4

Hi @Prooffreader,

Is this setting enabled on your server: https://docs.mattermost.com/administration/config-settings.html#enable-cross-origin-requests-from?


#5

Hi @amy.blais, thanks for responding!

I had “AllowCorsFrom” set to “”; I just changed it to “*” (I have “SiteURL” set to my domain name) and restarted everything, and the problem still exists, nothing seems to have changed.


#6

Interesting, the corporate reverse proxy I’m using to access the site is screwing with the headers and telling me there are websocket problems, accessing it on my laptop with my phone as a hotspot shows no problems, I can see the admin console and everything.

The joys of working for a multinational company with tight infosec rules.