user@cloud$ sudo ./platform roles system_admin admin
user@cloud$ Using config file at /opt/mattermost/config/config.json
user@cloud$ Loaded system translations for ‘en’ from ‘/opt/mattermost/i18n/en.json’
user@cloud$ Server is initializing…
user@cloud$ Pinging SQL master database
user@cloud$ License key from https://mattermost.com required to unlock enterprise features.
I am only running the community version. I am wondering how I can get a system_admin defined
I had to change the config.json for AllowCorsFrom to “*”.
I think @bradhowes is absolutely right. I had mm 3.6.2 running and had set
and things were working fine.
After an upgrade to mm 4.0.3 I started getting websocket errors which seemed weird so after a couple of hours tinkering with the nginx reverse proxy I simply change above setting to:
and everything works again.
So I am not sure if this is a security issue or something like that, but it solves the Websocket 403 issue.
Since the Websocket connection works fine, my user can access the system console again and actually is a system_admin.