# "Value changed successfully" but not changed

**URL:** <https://forum.mattermost.com/t/value-changed-successfully-but-not-changed/11148>\
**Category:** Troubleshooting\
**Created:** [January 23, 2021, 8:44pm UTC](https://forum.mattermost.com/t/value-changed-successfully-but-not-changed/11148 "2021-01-23T20:44:54Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![jayenashar](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/jayenashar/32/4523_2.png) [@jayenashar](https://forum.mattermost.com/u/jayenashar)\
**Post date:** [January 23, 2021, 8:44pm UTC](https://forum.mattermost.com/t/value-changed-successfully-but-not-changed/11148/1 "2021-01-23T20:44:54Z")

</div>

#### Summary

Can’t enable plugin uploads

#### Steps to reproduce

- Using mattermost omnibus
- Try to change PluginSettings.EnableUploads: `sudo -u mattermost mmctl --local config set PluginSettings.EnableUploads true`
- Check if it changed: `sudo -u mattermost mmctl --local config get PluginSettings.EnableUploads`
- Be confused

#### Expected behavior

I expect `sudo -u mattermost mmctl --local config get PluginSettings.EnableUploads` to return `true`

#### Observed behavior

I observed `sudo -u mattermost mmctl --local config get PluginSettings.EnableUploads` returned `false`

```auto
ubuntu@ip-172-26-3-183:~$ sudo -u mattermost mmctl --local config set PluginSettings.EnableUploads true
Value changed successfully
ubuntu@ip-172-26-3-183:~$ sudo -u mattermost mmctl --local config get PluginSettings.EnableUploads
false

```

---

<div class="post-metadata">

**Author:** ![XxLilBoPeepsxX](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/xxlilbopeepsxx/32/4993_2.png) [@XxLilBoPeepsxX](https://forum.mattermost.com/u/XxLilBoPeepsxX)\
**Post date:** [February 1, 2021, 3:42pm UTC](https://forum.mattermost.com/t/value-changed-successfully-but-not-changed/11148/2 "2021-02-01T15:42:01Z")

</div>

Can you confirm that your Mattermost files are owned by the correct system user(s), and have read/write permissions?

---

<div class="post-metadata">

**Author:** ![jayenashar](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/jayenashar/32/4523_2.png) [@jayenashar](https://forum.mattermost.com/u/jayenashar)\
**Post date:** [February 1, 2021, 7:02pm UTC](https://forum.mattermost.com/t/value-changed-successfully-but-not-changed/11148/3 "2021-02-01T19:02:29Z")

</div>

i don’t think that’s relevant as i thought the config is in the db

```auto
ubuntu@ip-172-26-3-183:~$ sudo -u mattermost find /opt/mattermost/ -not -user mattermost
ubuntu@ip-172-26-3-183:~$ sudo -u mattermost find /opt/mattermost/ -not -perm -u+rw
ubuntu@ip-172-26-3-183:~$ sudo -u postgres find /var/lib/postgresql/ -not -user postgres 
ubuntu@ip-172-26-3-183:~$ sudo -u postgres find /var/lib/postgresql/ -not -perm -u+rw

```

all commands return nothing so i assume that all files are owned by the correct user(s), and have read/write permissions.

---

<div class="post-metadata">

**Author:** ![XxLilBoPeepsxX](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/xxlilbopeepsxx/32/4993_2.png) [@XxLilBoPeepsxX](https://forum.mattermost.com/u/XxLilBoPeepsxX)\
**Post date:** [February 7, 2021, 7:06pm UTC](https://forum.mattermost.com/t/value-changed-successfully-but-not-changed/11148/4 "2021-02-07T19:06:24Z")

</div>

And do you have the proper permissions given to your reverse proxy server, so that it is allowed in turn to pass files to the server through the Mattermost Daemon? There aren’t any security policies or file upload restrictions/WAF’s blocking or intercepting your files?

---

<div class="post-metadata">

**Author:** ![jayenashar](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/jayenashar/32/4523_2.png) [@jayenashar](https://forum.mattermost.com/u/jayenashar)\
**Post date:** [February 7, 2021, 11:00pm UTC](https://forum.mattermost.com/t/value-changed-successfully-but-not-changed/11148/5 "2021-02-07T23:00:57Z")

</div>

i’m not sure i know what you’re asking. i don’t have an option to upload files because it’s disabled. i can’t seem to enable it.

there is no proxy in front of the mattermost server, beyond what omnibus may have setup.

---

<div class="post-metadata">

**Author:** ![ahmaddanial](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/ahmaddanial/32/2938_2.png) [@ahmaddanial](https://forum.mattermost.com/u/ahmaddanial)\
**Post date:** [February 8, 2021, 6:52am UTC](https://forum.mattermost.com/t/value-changed-successfully-but-not-changed/11148/6 "2021-02-08T06:52:14Z")

</div>

Hello, @jayenashar

`EnableUploads` is configured through `/etc/mattermost/mmomni.yml`. In this case, you have to set `enable_plugin_uploads` to true and run `mmomni reconfigure` to apply the changes.

You can check a list of the configuration properties that are set through the `mmomni.yml` config file [here](https://docs.mattermost.com/install/mattermost-omnibus.html#configuring-mattermost-omnibus). Hope that helps.

---

<div class="post-metadata">

**Author:** ![jayenashar](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/jayenashar/32/4523_2.png) [@jayenashar](https://forum.mattermost.com/u/jayenashar)\
**Post date:** [February 8, 2021, 7:05am UTC](https://forum.mattermost.com/t/value-changed-successfully-but-not-changed/11148/7 "2021-02-08T07:05:21Z")

</div>

thanks. i didn’t encounter either of those when i was searching through the docs. i only found /opt/mattermost/config/config.json and the db.

---

<div class="post-metadata">

**Author:** ![NexusEFR](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/nexusefr/32/5043_2.png) [@NexusEFR](https://forum.mattermost.com/u/NexusEFR)\
**Post date:** [September 7, 2021, 12:34pm UTC](https://forum.mattermost.com/t/value-changed-successfully-but-not-changed/11148/8 "2021-09-07T12:34:22Z")

</div>

Hello, the problem still exists, although I run the mmomni reconfigure command, after starting Mattermost again, it still does not allow you to upload plugins from the web console, it is disabled.

And when checking with sudo -u mattermost mmctl --local config get PluginSettings.EnableUploads keeps giving false . What may be going on? I’ve even edited the file with vim in the plugins section by removing the word false and changing to true and it doesn’t work either.

Thanks in advance, but I do not see useful to use Omnibus if it does not allow you to edit the settings or upload plugins such as amazon translate, bigbluebutton, and others that are not in the market unfortunately.

---

<div class="post-metadata">

**Author:** ![NexusEFR](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/nexusefr/32/5043_2.png) [@NexusEFR](https://forum.mattermost.com/u/NexusEFR)\
**Post date:** [September 8, 2021, 10:27pm UTC](https://forum.mattermost.com/t/value-changed-successfully-but-not-changed/11148/9 "2021-09-08T22:27:47Z")

</div>

Ok, I have already been able to change the settings, I had to access the directory in /etc/mattermost and edit as I show here:  
nexus@nex-Ubuntu:/etc/mattermost$ sudo edit mmomni.yml to be able to modify with vi editor and save changes. After restarting with mmomni reconfigure, I already see the parameter saved in “true” as checked with sudo -u mattermost mmctl --local config get PluginSettings.EnableUploads

Thank you and sorry for not having understood that you had to enter to edit in the directory where mmomni.yml is hosted

---

<div class="post-metadata">

**Author:** ![NexusEFR](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/nexusefr/32/5043_2.png) [@NexusEFR](https://forum.mattermost.com/u/NexusEFR)\
**Post date:** [September 17, 2021, 8:50am UTC](https://forum.mattermost.com/t/value-changed-successfully-but-not-changed/11148/10 "2021-09-17T08:50:45Z")

</div>

Hello ahmaddanial, I don’t know if you can help me… This post talks about this topic but more focused on how to change the listening port of Mattermost with omnibus, where on the console you can not touch any of this, how can I do it?

> [@Bridge Nginx and Mattermost on the same server](https://forum.mattermost.com/t/bridge-nginx-and-mattermost-on-the-same-server/10570/11):
>
> Hello, I don’t know where to look or I can’t find it. How can I change the listening port or my web address url with a non-standard port on omnibus? I have put several posts with the help and nobody tells me anything and this thread is the closest thing to be able to do something similar. As seen in the image, I need my URL to show another port that I understand should be changed in nginx but I don’t see the way,as noted, I already have the certificate assigned through the Installation script o…

Thanks again.

---

<div class="post-metadata">

**Author:** ![jayenashar](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/jayenashar/32/4523_2.png) [@jayenashar](https://forum.mattermost.com/u/jayenashar)\
**Post date:** [September 17, 2021, 1:34pm UTC](https://forum.mattermost.com/t/value-changed-successfully-but-not-changed/11148/11 "2021-09-17T13:34:57Z")

</div>

i think you can change the `443` here:

```auto
/etc/nginx/conf.d/mattermost.conf: listen 443 ssl http2;
/etc/nginx/conf.d/mattermost.conf: listen [::]:443 ssl http2;

```

alternatively, if you only need another port, i would suggest a new nginx file that proxies to localhost:443. because `/etc/nginx/conf.d/mattermost.conf` may get reset on upgrade
