# Who changes permanently my config.json in MM 5.31.4

**URL:** <https://forum.mattermost.com/t/who-changes-permanently-my-config-json-in-mm-5-31-4/11800>\
**Category:** Troubleshooting\
**Created:** [June 9, 2021, 8:01pm UTC](https://forum.mattermost.com/t/who-changes-permanently-my-config-json-in-mm-5-31-4/11800 "2021-06-09T20:01:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![SuziQ](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/suziq/32/6751_2.png) [@SuziQ](https://forum.mattermost.com/u/SuziQ)\
**Post date:** [June 9, 2021, 8:01pm UTC](https://forum.mattermost.com/t/who-changes-permanently-my-config-json-in-mm-5-31-4/11800/1 "2021-06-09T20:01:27Z")

</div>

Good evening,  
who actually keeps rewriting my “SqlSettings” in config.json? I mean, which software? I use MySQL and not Postgres. And the site URL is suddenly gone at all! But Mattermost 5.31.4 still works fine and tells me to enter the site URL. What happens here?  
Only mattermost (cli) has its problems, because it can’t access the database anymore (timeout, will try it in 10 seconds). How often do I have to change my config.json?  
Any ideas?

---

<div class="post-metadata">

**Author:** ![amy.blais](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/amy.blais/32/7481_2.png) [@amy.blais](https://forum.mattermost.com/u/amy.blais)\
**Post date:** [June 9, 2021, 8:52pm UTC](https://forum.mattermost.com/t/who-changes-permanently-my-config-json-in-mm-5-31-4/11800/2 "2021-06-09T20:52:41Z")

</div>

There is [a known issue](https://docs.mattermost.com/administration/changelog.html?highlight=changelog#known-issues) where the `config.json` can reset when running the command `systemctl restart mattermost` , and when running any commands that write to the config (e.g. `config` or `plugin` ) (tickets to address [[MM-33752] Restarting the mattermost service wipes the config - Mattermost](https://mattermost.atlassian.net/browse/MM-33752) / [[MM-32390] Config logic overhaul - Mattermost](https://mattermost.atlassian.net/browse/MM-32390)). Maybe you’re seeing this?

---

<div class="post-metadata">

**Author:** ![SuziQ](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/suziq/32/6751_2.png) [@SuziQ](https://forum.mattermost.com/u/SuziQ)\
**Post date:** [June 10, 2021, 11:08am UTC](https://forum.mattermost.com/t/who-changes-permanently-my-config-json-in-mm-5-31-4/11800/3 "2021-06-10T11:08:19Z")

</div>

Oh! Many thanks. 🙂  
I’ve written in other threads about this issue but have’nt got an answer …
