I recently upgrade Mattermost’s self-hosted version from 6.7 to 7.2.0 and enabled CRT but still, it is showing that CRT is in the beta version, and the option to enable or disable is
still available under Experimental → Features instead of under Site Configuration → Posts.
See the attached screenshot CRT -1.png where the CRT option is available under Experimental → features.
After the upgrade to 7.2.0, did you follow the recommendation to change a value in system console, and without saving, change it back and click on save for a new configuration file to be written?
After the upgrade, I disabled the Calling feature so ideally, that should push the changes to the config.json otherwise I made a change, revert it back, and then click on the save.
This is very interesting - could it be that a cache is playing tricks on you here? Did you try a different browser or a private browsing tab or deleting all website data for your Mattermost domain or purging the cache of the reverse proxy in front of it just to rule out that you’re getting a stale view here?
I emptied the Nginx cache directory and restarted Nginx. I have a test environment that is running 7.1.2 version and an upgrade on the test environment was done from 6.7.1 to 7.1.2 version and it has the same issue of CRT which is showing as the beta version. The CRT options are not listed under Posts but rather under Experimental Feature. Maybe I am missing a step or two while doing the upgrade.
When I do the upgrade, I copy the config.json file from the old version into the new version mattermost config directory. Is this the right way to do or there is some other way I need to follow?
2nd if I compare the original config.json file that came with version 7.2.0 and with my old config.json file of Production then the “CollapsedThreads” is true under “FeatureFlag” whereas it is missing for the current config.json file which is in use on the Production environment.
This is OK, as long as you do that before starting the new Mattermost server version for the first time.
The configuration option should only occur once in the config.json. In all my systems, it’s directly in the ServiceSettings section, but if you have a vanilla 7.2.0 config.json file around, could you run the following command and post the output here, please?
This will produce a diff output so we can see where the differences are. Please make sure to mask sensitive information like IP addresses, domainnames, passwords, etc.
Thanks - I’m not sure where the FeatureFlags section is coming from, still need to find some documentation about that, but can you try to remove the - "CollapsedThreads": true, line from the FeatureFlags section, reload the config (or restart the server) and see if that changes the behaviour, please?
Sorry, I should stop doing too many things in parallel.
I can confirm what you’re seeing - when starting a fresh installation, the feature flags are being written to the config.json for both the team and enterprise edition (7.2.0, vanilla install).
After logging in to the system console, I can see the CRT feature in both sections, Posts and Experimental and the setting is mirrored there, so when I change it in Posts it gets automatically also changed in Experimental:
I upgraded to the 7.4.0 version and still CRT option does not appear under “Posts” but under “Experimental → features” and this ticket is closed MM-45905. Can someone provide the fix for the issue? Please let me know what more information is needed.