While editing config file: Unrecognized config permissions tag value

Summary
mmctl config edit works as expected at my machine, but If I look into the log, the config permissions tag is unrecoginzed. Also the changed config parameters resetted, after looking to mmctl config edit again.

Steps to reproduce
I am using an ubuntu 22.04 server and installed it via sudo apt install mattermost-omnibus -y like described here: Deploy Mattermost — Mattermost documentation
I didn’t change anything.
Current version is 7.5.1.
But the /opt/mattermost/ folder was owned by root I guess. Changed the ownership to the user mattermost.

Observed behavior

{"timestamp":"2022-12-15 14:33:45.301 +01:00","level":"warn","msg":"Unrecognized config permissions tag value.","caller":"api4/config.go:436","tag_value":"sysconsole_write_*_read"}

Whole log after systemctl restart and issuing mmctl config edit once:

{"timestamp":"2022-12-15 14:33:10.190 +01:00","level":"info","msg":"Server is initializing...","caller":"platform/service.go:157","go_version":"go1.18.1"}
{"timestamp":"2022-12-15 14:33:10.191 +01:00","level":"info","msg":"Pinging SQL","caller":"sqlstore/store.go:230","database":"master"}
{"timestamp":"2022-12-15 14:33:10.227 +01:00","level":"error","msg":"License key from https://mattermost.com required to unlock enterprise features.","caller":"platform/license.go:106","error":"resource: License id: "}
{"timestamp":"2022-12-15 14:33:10.228 +01:00","level":"error","msg":"License key from https://mattermost.com required to unlock enterprise features.","caller":"platform/license.go:106","error":"resource: License id: "}
{"timestamp":"2022-12-15 14:33:10.229 +01:00","level":"info","msg":"Starting websocket hubs","caller":"platform/web_hub.go:101","number_of_hubs":8}
{"timestamp":"2022-12-15 14:33:10.229 +01:00","level":"info","msg":"Loaded system translations","caller":"i18n/i18n.go:93","for locale":"de","from locale":"/opt/mattermost/i18n/de.json"}
{"timestamp":"2022-12-15 14:33:10.248 +01:00","level":"info","msg":"Current version is 7.5.1 (7.5.1/Wed Nov 16 19:01:26 UTC 2022/a419daae3d360ad3ea56bc329d282fa6d6b77b46/461796f3707dd9a056d81dd17da4b29094de6e56)","caller":"app/server.go:424","current_version":"7.5.1","build_number":"7.5.1","build_date":"Wed Nov 16 19:01:26 UTC 2022","build_hash":"a419daae3d360ad3ea56bc329d282fa6d6b77b46","build_hash_enterprise":"461796f3707dd9a056d81dd17da4b29094de6e56"}
{"timestamp":"2022-12-15 14:33:10.248 +01:00","level":"info","msg":"Enterprise Build","caller":"app/server.go:433","enterprise_build":true}
{"timestamp":"2022-12-15 14:33:10.248 +01:00","level":"info","msg":"Printing current working","caller":"app/server.go:439","directory":"/opt/mattermost"}
{"timestamp":"2022-12-15 14:33:10.248 +01:00","level":"info","msg":"Loaded config","caller":"app/server.go:440","source":"postgres://mmuser:@localhost:5432/mattermost?sslmode=disable&connect_timeout=10"}
{"timestamp":"2022-12-15 14:33:10.251 +01:00","level":"info","msg":"Starting workers","caller":"jobs/workers.go:48"}
{"timestamp":"2022-12-15 14:33:10.253 +01:00","level":"info","msg":"Starting schedulers.","caller":"jobs/schedulers.go:47"}
{"timestamp":"2022-12-15 14:33:10.258 +01:00","level":"error","msg":"License key from https://mattermost.com required to unlock enterprise features.","caller":"platform/license.go:106","error":"resource: License id: "}
{"timestamp":"2022-12-15 14:33:10.317 +01:00","level":"info","msg":"Starting up plugins","caller":"app/plugin.go:234"}
{"timestamp":"2022-12-15 14:33:10.317 +01:00","level":"info","msg":"Syncing plugins from the file store","caller":"app/plugin.go:308"}
{"timestamp":"2022-12-15 14:33:11.572 +01:00","level":"info","msg":"Ensuring Feedbackbot exists","caller":"app/plugin_api.go:973","plugin_id":"com.mattermost.nps"}
{"timestamp":"2022-12-15 14:33:11.758 +01:00","level":"info","msg":"activated","caller":"app/plugin_api.go:973","plugin_id":"com.mattermost.apps"}
{"timestamp":"2022-12-15 14:33:11.809 +01:00","level":"info","msg":"got public IP address","caller":"app/plugin_api.go:973","plugin_id":"com.mattermost.calls","origin":"main.(*logger).Info log.go:84","addr":"89.58.61.38"}
{"timestamp":"2022-12-15 14:33:11.809 +01:00","level":"info","msg":"rtc: server is listening on udp 8443","caller":"app/plugin_api.go:973","plugin_id":"com.mattermost.calls","origin":"main.(*logger).Info log.go:84"}
{"timestamp":"2022-12-15 14:33:11.810 +01:00","level":"info","msg":"rtc: server is listening on udp 8443","caller":"app/plugin_api.go:973","plugin_id":"com.mattermost.calls","origin":"main.(*logger).Info log.go:84"}
{"timestamp":"2022-12-15 14:33:11.810 +01:00","level":"info","msg":"rtc: server is listening on udp 8443","caller":"app/plugin_api.go:973","plugin_id":"com.mattermost.calls","origin":"main.(*logger).Info log.go:84"}
{"timestamp":"2022-12-15 14:33:11.811 +01:00","level":"info","msg":"rtc: server is listening on udp 8443","caller":"app/plugin_api.go:973","plugin_id":"com.mattermost.calls","origin":"main.(*logger).Info log.go:84"}
{"timestamp":"2022-12-15 14:33:12.264 +01:00","level":"info","msg":"connectDatabase","caller":"app/plugin_api.go:973","plugin_id":"focalboard","dbType":"postgres"}
{"timestamp":"2022-12-15 14:33:12.304 +01:00","level":"info","msg":"Initialized notification backend","caller":"app/plugin_api.go:973","plugin_id":"focalboard","name":"notifyMentions"}
{"timestamp":"2022-12-15 14:33:12.304 +01:00","level":"info","msg":"Initialized notification backend","caller":"app/plugin_api.go:973","plugin_id":"focalboard","name":"notifySubscriptions"}
{"timestamp":"2022-12-15 14:33:12.305 +01:00","level":"info","msg":"Initialized notification backend","caller":"app/plugin_api.go:973","plugin_id":"focalboard","name":"notifyLogger"}
{"timestamp":"2022-12-15 14:33:12.319 +01:00","level":"info","msg":"FocalBoard Server","caller":"app/plugin_api.go:973","plugin_id":"focalboard","version":"7.5.1","edition":"plugin","build_number":"3480960266","build_date":"\"Wed Nov 16 16:01:21 UTC 2022\"","build_hash":"3a7361e8d8c9662c392dd26773f76220b9d4595b"}
{"timestamp":"2022-12-15 14:33:12.320 +01:00","level":"info","msg":"Server.Start","caller":"app/plugin_api.go:973","plugin_id":"focalboard"}
{"timestamp":"2022-12-15 14:33:12.330 +01:00","level":"info","msg":"Boards product successfully started.","caller":"app/plugin_api.go:973","plugin_id":"focalboard"}
{"timestamp":"2022-12-15 14:33:12.932 +01:00","level":"info","msg":"Starting Server...","caller":"app/server.go:913"}
{"timestamp":"2022-12-15 14:33:12.933 +01:00","level":"info","msg":"Server is listening on [::]:8065","caller":"app/server.go:985","address":"[::]:8065"}
{"timestamp":"2022-12-15 14:33:12.933 +01:00","level":"info","msg":"Sending systemd READY notification.","caller":"commands/server.go:130"}
{"timestamp":"2022-12-15 14:33:14.272 +01:00","level":"info","msg":"Post.Message has size restrictions","caller":"sqlstore/post_store.go:2475","max_characters":16383,"max_bytes":65535}
{"timestamp":"2022-12-15 14:33:45.301 +01:00","level":"warn","msg":"Unrecognized config permissions tag value.","caller":"api4/config.go:436","tag_value":"sysconsole_write_*_read"}

How can I fix this error?
I couldn’t find anything in the internet about it.

Hi,

you cannot fix this error (unless you know how to code and fix it there), but it’s harmless and can be ignored, see this old ticket which got closed due to the low priority unfortunately:

https://mattermost.atlassian.net/browse/MM-36321

Hi. Thank you very much.
But I can’t edit my config at mattermost.
Every change is ignored but mmctl says, the config was set successfully.
Should I open another thread for that?

What config option are you trying to change? Some of them require a restart of the server to take effect, some might be overriden by environment variables (see the full list in /etc/mattermost/mmomni.mattermost.env).
An easy option to change and verify is the loglevel, it is changed on the fly and you will immediately see the server logging debug prefixed messages to the log or the console (depending on what option you changed).

In the Omnibus environment, some settings are also overriden by /etc/mattermost/ mmomni.yml. If you change something there or in the environment variables, you need to run mmomni reconfigure afterwards.

/opt/mattermost is owned by root by default, that is OK - the folders below should be owned by the mattermost user.

Hi @Quail8498 ,

just checking back in here - were you able to reload your configuration and change your settings by now or is there still anything I can help you with?