Mattermost config cannot be updated
-
wrote on May 20, 2019, 6:39 PM last edited by
I have a similar issue. My attemts failed to change the config.json file in the terminal. The vi command returns a "readonly file" and I cannot change the permissions. Neither with chmod or with ls. Also mount doesn't work.
Running the CLT I got this result:
sudo -u cloudron /app/code/bin/mattermost config set PluginSettings.EnableUploads true
Error: failed to initialize config store: failed to load: failed to persist required changes after load: failed to write file: open /app/code/config/config.json: read-only file systemFor the mount command I got the report that I don't have the permissions to do that.
It is a clean new installation. No imports or anything, just the plane Mattermost.
-
@leon said in Mattermost config cannot be updated:
/app/code/config/config.json
Edit the config from /app/data/ not /app/code/
-
wrote on May 22, 2019, 9:36 PM last edited by
@murgero now as you said it I see it. I was focussed on the terminal use mentioned in the comment above not about the path. I'll keep that for reading more critically in the future. I'm new to Cloudron but besides that minor issue here everything works great.
-
wrote on May 23, 2019, 9:41 PM last edited by
Keep in mind that most of the good features are Enterprise only. The Team version lacks any permission policy so everyone is able to invite, delete channels and so on. See pricing-feature-comparison. For this reason most projects I know and even the company I work for uses Rocket or Riot/Matrix.
-
wrote on Sep 15, 2020, 9:02 AM last edited by
Hi Team,
i could edit the config.json in /app/data/ ("EnableUploads": true,), but I still cant upload any plugin (https://screenshots.x-mailer.de/u/smichna-2020.09.15-1TsnjG54.png). I have restarted the app, it doenst work.I also tried to upload a plugin via sudo -u cloudron /app/code/bin/mattermost plugin add com.github.scottleedavis.mattermost-plugin-remind-0.4.4.tar.gz, but it doenst work as well:
root@c0749861-87cc-4103-a2d0-a309353d423d:/tmp# sudo -u cloudron /app/code/bin/mattermost plugin add com.github.scottleedavis.mattermost-plugin-remind-0.4.4.tar.gz
{"level":"info","msg":"Server is initializing..."}
panic: failed to apply option: failed to apply Config option: failed to load: failed to persist required changes after load: failed to write file: open /app/code/config/config.json: read-only file systemCan you help me?
-
wrote on Sep 16, 2020, 7:00 AM last edited by
Thank you, that works. But why I cant upload plugins via GUI although I have set the right setting (https://screenshots.x-mailer.de/u/smichna-2020.09.15-1TsnjG54.png).