Currently the only way to disable insights is through use of an environmental variable. To ensure this variable persists between sessions it is advised to add it to the service unit file of Mattermost.
NOTE: A RESTART OF THE MATTERMOST IS REQUIRED IF USING HA YOU WILL NEED TO DO THIS ON EACH NODE
- Open the Mattermost service unit file in a text editor of your choosing (default location (/lib/systemd/system/mattermost.service;)
- Add Environment="MM_FEATUREFLAGS_INSIGHTSENABLED=false" to the bottom of the [Service] section
- Reload the service unit using sudo systemctl daemon-reload
- Restart mattermost using sudo systemctl restart mattermost
Comments
Article is closed for comments.