Summary
After upgrading to 5.37.0 or 5.37.1, Administrator
can’t show System Console
Steps to reproduce
- Start Mattermost Server 5.37.x
- Access Mattermost via browsers
- Click
System Console
in the menu
Expected behavior
Show System Console
Observed behavior
Nothing is shown.
Environment
OS: Debian 10.10
Mattermost Server: 5.37.0
, 5.37.1
Browser: Chrome 92.0.4515.107
Mattermost Desktop: 4.7.0 on Mac
Screen Shot
Mattermost.Log
{"level":"info","ts":1626498514.7577107,"caller":"app/server.go:269","msg":"Server is initializing...","go_version":"go1.15.5"}
{"level":"info","ts":1626498514.7598255,"caller":"app/web_hub.go:93","msg":"Starting websocket hubs","number_of_hubs":4}
{"level":"info","ts":1626498514.7626774,"caller":"i18n/i18n.go:93","msg":"Loaded system translations","for locale":"en","from locale":"/srv/mattermost/mattermost-5.37.0/i18n/en.json"}
{"level":"info","ts":1626498514.7719772,"caller":"sqlstore/store.go:306","msg":"Pinging SQL","database":"master"}
{"level":"info","ts":1626498514.7756126,"caller":"sqlstore/store.go:306","msg":"Pinging SQL","database":"migrations"}
{"level":"error","ts":1626498514.869138,"caller":"sqlstore/upgrade.go:1057","msg":"Error getting column info for migration check","table":"Posts","column":"FileIds","error":"gorp: multiple rows returned for: SELECT data_type as DataType,\n\t\t\t\t\tCOALESCE(character_maximum_length, 0) as CharMaximumLength\n\t\t\t FROM information_schema.columns\n\t\t\t WHERE table_schema = DATABASE()\n\t\t\t AND lower(table_name) = lower(?)\n\t\t\t AND lower(column_name) = lower(?) - [Posts FileIds]"}
{"level":"error","ts":1626498514.894061,"caller":"sqlstore/upgrade.go:1253","msg":"Error getting column info for migration check","table":"Roles","column":"Permissions","error":"gorp: multiple rows returned for: SELECT data_type as DataType,\n\t\t\t\t\tCOALESCE(character_maximum_length, 0) as CharMaximumLength\n\t\t\t FROM information_schema.columns\n\t\t\t WHERE table_schema = DATABASE()\n\t\t\t AND lower(table_name) = lower(?)\n\t\t\t AND lower(column_name) = lower(?) - [Roles Permissions]"}
{"level":"warn","ts":1626498518.0095847,"caller":"sqlstore/upgrade.go:243","msg":"Attempting to upgrade the database schema version","stored_version":"5.36.0","current_version":"5.36.0","new_version":"5.37.0"}
{"level":"warn","ts":1626498521.5572612,"caller":"sqlstore/upgrade.go:224","msg":"The database schema version has been upgraded","version":"5.37.0"}
{"level":"warn","ts":1626498521.7412574,"caller":"sqlstore/store.go:1164","msg":"Could not create foreign key: Error 1005: Can't create table `mattermost`.`retentionpolicieschannels` (errno: 121 \"Duplicate key on write or update\")"}
{"level":"warn","ts":1626498521.9161232,"caller":"sqlstore/store.go:1164","msg":"Could not create foreign key: Error 1005: Can't create table `mattermost`.`retentionpoliciesteams` (errno: 121 \"Duplicate key on write or update\")"}
{"level":"info","ts":1626498522.02861,"caller":"app/license.go:88","msg":"License key from https://mattermost.com required to unlock enterprise features."}
{"level":"info","ts":1626498522.656752,"caller":"app/server.go:570","msg":"Current version is 5.37.0 (5.37.0/Tue Jul 13 19:39:17 UTC 2021/f46b068ecf3b20a0d6e529618813e0ef6b85ed72/5f5945751df929314967e539b5399598611996b7)","current_version":"5.37.0","build_number":"5.37.0","build_date":"Tue Jul 13 19:39:17 UTC 2021","build_hash":"f46b068ecf3b20a0d6e529618813e0ef6b85ed72","build_hash_enterprise":"5f5945751df929314967e539b5399598611996b7"}
{"level":"info","ts":1626498522.6568305,"caller":"app/server.go:579","msg":"Enterprise Build","enterprise_build":true}
{"level":"info","ts":1626498522.6568873,"caller":"app/server.go:585","msg":"Printing current working","directory":"/srv/mattermost/mattermost-5.37.0"}
{"level":"info","ts":1626498522.6569211,"caller":"app/server.go:586","msg":"Loaded config","source":"file:///srv/mattermost/mattermost-5.37.0/config/config.json"}
{"level":"info","ts":1626498522.684046,"caller":"jobs/workers.go:135","msg":"Starting workers"}
{"level":"info","ts":1626498522.6844761,"caller":"jobs/schedulers.go:116","msg":"Starting schedulers."}
{"level":"info","ts":1626498522.6903436,"caller":"app/license.go:88","msg":"License key from https://mattermost.com required to unlock enterprise features."}
{"level":"info","ts":1626498522.7457802,"caller":"mlog/log.go:237","msg":"Starting up plugins"}
{"level":"info","ts":1626498522.7460432,"caller":"app/plugin.go:258","msg":"Syncing plugins from the file store"}
{"level":"info","ts":1626498522.8897362,"caller":"app/plugin.go:318","msg":"Syncing plugin from file store","bundle":"plugins/focalboard.tar.gz"}
{"level":"info","ts":1626498526.9281046,"caller":"go-plugin@v1.4.1/stream.go:15","msg":"2021/07/16 22:08:46 connectDatabase mysql mattermost:itWTPZZl1H6GFKCt2Sigoo6QzyHy68X8@tcp(192.168.207.10:3306)/mattermost?charset=utf8mb4,utf8&readTimeout=30s&writeTimeout=30s","plugin_id":"focalboard","source":"plugin_stderr"}
{"level":"info","ts":1626498531.4969559,"caller":"mlog/sugar.go:21","msg":"Ensuring Surveybot exists","plugin_id":"com.mattermost.nps"}
{"level":"info","ts":1626498531.7013237,"caller":"mlog/sugar.go:21","msg":"Upgrade detected. Checking if a survey should be scheduled.","plugin_id":"com.mattermost.nps"}
{"level":"info","ts":1626498531.7828891,"caller":"mlog/sugar.go:21","msg":"Scheduling next survey for Aug 7, 2021","plugin_id":"com.mattermost.nps"}
{"level":"error","ts":1626498531.8999388,"caller":"log/log.go:181","msg":"[ERR] plugin: plugin acceptAndServe error: timeout waiting for accept","source":"stdlog"}
{"level":"info","ts":1626498533.268945,"caller":"go-plugin@v1.4.1/stream.go:15","msg":"\u001b[36minfo\u001b[0m [2021-07-16 22:08:53.268 -07:00] connectDatabase \u001b[36mdbType\u001b[0m=mysql \u001b[36mconnStr\u001b[0m=\"mattermost:itWTPZZl1H6GFKCt2Sigoo6QzyHy68X8@tcp(192.168.207.10:3306)/mattermost?charset=utf8mb4,utf8&readTimeout=30s&writeTimeout=30s\"","plugin_id":"focalboard","source":"plugin_stdout"}
{"level":"info","ts":1626498533.2825816,"caller":"go-plugin@v1.4.1/stream.go:15","msg":"2021/07/16 22:08:53 connectDatabase mysql mattermost:itWTPZZl1H6GFKCt2Sigoo6QzyHy68X8@tcp(192.168.207.10:3306)/mattermost?charset=utf8mb4,utf8&readTimeout=30s&writeTimeout=30s","plugin_id":"focalboard","source":"plugin_stderr"}
{"level":"info","ts":1626498533.2901614,"caller":"go-plugin@v1.4.1/stream.go:15","msg":"\u001b[36minfo\u001b[0m [2021-07-16 22:08:53.288 -07:00] Server.Start ","plugin_id":"focalboard","source":"plugin_stdout"}
{"level":"info","ts":1626498533.2902384,"caller":"go-plugin@v1.4.1/stream.go:15","msg":"\u001b[31merror\u001b[0m [2021-07-16 22:08:53.288 -07:00] server not bind to any port","plugin_id":"focalboard","source":"plugin_stdout"}
{"level":"info","ts":1626498533.4905326,"caller":"mlog/sugar.go:21","msg":"Sent notification of next survey to admins","plugin_id":"com.mattermost.nps"}
{"level":"info","ts":1626498535.1338627,"caller":"app/server.go:1179","msg":"Starting Server..."}
{"level":"info","ts":1626498535.13445,"caller":"app/server.go:1255","msg":"Server is listening on [::]:8065","address":"[::]:8065"}
{"level":"info","ts":1626498535.135056,"caller":"commands/server.go:130","msg":"Sending systemd READY notification."}
{"level":"error","ts":1626498536.4818537,"caller":"log/log.go:181","msg":"[ERR] plugin: plugin acceptAndServe error: timeout waiting for accept","source":"stdlog"}
{"level":"error","ts":1626498536.4888487,"caller":"log/log.go:181","msg":"[ERR] plugin: plugin acceptAndServe error: timeout waiting for accept","source":"stdlog"}
{"level":"error","ts":1626498538.2594316,"caller":"log/log.go:181","msg":"[ERR] plugin: plugin acceptAndServe error: timeout waiting for accept","source":"stdlog"}
{"level":"info","ts":1626498571.6653469,"caller":"sqlstore/post_store.go:2011","msg":"Post.Message has size restrictions","max_characters":16383,"max_bytes":65535}
{"level":"info","ts":1626499133.290833,"caller":"go-plugin@v1.4.1/stream.go:15","msg":"\u001b[31merror\u001b[0m [2021-07-16 22:18:53.290 -07:00] Unable to clean up the sessions \u001b[31merror\u001b[0m=\"no update allowed from focalboard, update it using mattermost\"","plugin_id":"focalboard","source":"plugin_stdout"}
{"level":"info","ts":1626499133.3920956,"caller":"expirynotify/worker.go:85","msg":"Worker: Job is complete","worker":"ExpiryNotify","job_id":"9egueeuqujg6mcbegoob5966re"}
{"level":"info","ts":1626499733.290919,"caller":"go-plugin@v1.4.1/stream.go:15","msg":"\u001b[31merror\u001b[0m [2021-07-16 22:28:53.290 -07:00] Unable to clean up the sessions \u001b[31merror\u001b[0m=\"no update allowed from focalboard, update it using mattermost\"","plugin_id":"focalboard","source":"plugin_stdout"}
{"level":"info","ts":1626499733.6963904,"caller":"expirynotify/worker.go:85","msg":"Worker: Job is complete","worker":"ExpiryNotify","job_id":"wf9jtjxhwbdz8jepwc3aom4m3r"}
{"level":"info","ts":1626500333.2916024,"caller":"go-plugin@v1.4.1/stream.go:15","msg":"\u001b[31merror\u001b[0m [2021-07-16 22:38:53.291 -07:00] Unable to clean up the sessions \u001b[31merror\u001b[0m=\"no update allowed from focalboard, update it using mattermost\"","plugin_id":"focalboard","source":"plugin_stdout"}
{"level":"info","ts":1626500333.8430712,"caller":"expirynotify/worker.go:85","msg":"Worker: Job is complete","worker":"ExpiryNotify","job_id":"5qcx46cpa3rj98c54m7764n6ae"}
{"level":"info","ts":1626500933.290749,"caller":"go-plugin@v1.4.1/stream.go:15","msg":"\u001b[31merror\u001b[0m [2021-07-16 22:48:53.290 -07:00] Unable to clean up the sessions \u001b[31merror\u001b[0m=\"no update allowed from focalboard, update it using mattermost\"","plugin_id":"focalboard","source":"plugin_stdout"}
...