# \[Solved\] Unable to enable upload plugin

**URL:** <https://forum.mattermost.com/t/solved-unable-to-enable-upload-plugin/19055>\
**Category:** Uncategorized\
**Created:** [July 22, 2024, 6:17am UTC](https://forum.mattermost.com/t/solved-unable-to-enable-upload-plugin/19055 "2024-07-22T06:17:32Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fosforit](https://avatars.discourse-cdn.com/v4/letter/f/9f8e36/32.png) [@Fosforit](https://forum.mattermost.com/u/Fosforit)\
**Post date:** [July 22, 2024, 6:17am UTC](https://forum.mattermost.com/t/solved-unable-to-enable-upload-plugin/19055/1 "2024-07-22T06:17:32Z")

</div>

Hello,

I am trying to upload a plugin onto mattermost. Then i enabled it in config.json  
it doesn’t help, even after restart  
installation method docker compose  
image: mattermost-team-edition release 9…9

```auto
    "PluginSettings": {
        "Enable": true,
        "EnableUploads": true,
        "AllowInsecureDownloadURL": true,
        "EnableHealthCheck": true,
        "Directory": "./plugins",
        "ClientDirectory": "./client/plugins",
        "Plugins": {
            "com.mattermost.nps": {
                "enablesurvey": false
            },
            "playbooks": {
                "BotUserID": " *********"
            },
            "zoom": {}
        },
        "PluginStates": {
            "com.mattermost.calls": {
                "Enable": true
            },
            "com.mattermost.nps": {
                "Enable": false
            },
            "playbooks": {
                "Enable": true
            },
            "zoom": {
                "Enable": true
            }
        },
        "EnableMarketplace": true,
        "EnableRemoteMarketplace": true,
        "AutomaticPrepackagedPlugins": true,
        "RequirePluginSignature": true,
        "MarketplaceURL": "https://api.integrations.mattermost.com",
        "SignaturePublicKeyFiles": [],
        "ChimeraOAuthProxyURL": ""
    },

```

any suggestions?  
maybe there is other way to upload plugin?

---

<div class="post-metadata">

**Author:** ![john.oliver](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/john.oliver/32/6436_2.png) [@john.oliver](https://forum.mattermost.com/u/john.oliver)\
**Post date:** [July 22, 2024, 7:19pm UTC](https://forum.mattermost.com/t/solved-unable-to-enable-upload-plugin/19055/2 "2024-07-22T19:19:10Z")

</div>

What happens when you try to upload? Error messgae? What does `/opt/mattermost/logs/mattermost.log` say when you try to upload?

---

<div class="post-metadata">

**Author:** ![Fosforit](https://avatars.discourse-cdn.com/v4/letter/f/9f8e36/32.png) [@Fosforit](https://forum.mattermost.com/u/Fosforit)\
**Post date:** [July 23, 2024, 5:42am UTC](https://forum.mattermost.com/t/solved-unable-to-enable-upload-plugin/19055/3 "2024-07-23T05:42:15Z")

</div>

thank you for response  
Upload button is disabled that is why i can not see log about it (even if the “EnableUploads”: true)

 ![image](https://us1.discourse-cdn.com/flex020/uploads/mattermost/original/2X/0/08ddfde0d705878449f9ad3f13c6a01eaed876e3.png)

/opt/mattermost/logs/mattermost.log  
there is last logs about succsesfull restart, and some issues about zoom plugin

---

<div class="post-metadata">

**Author:** ![john.oliver](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/john.oliver/32/6436_2.png) [@john.oliver](https://forum.mattermost.com/u/john.oliver)\
**Post date:** [July 23, 2024, 12:58pm UTC](https://forum.mattermost.com/t/solved-unable-to-enable-upload-plugin/19055/4 "2024-07-23T12:58:16Z")

</div>

That is odd! Can you post your config.json? Also, one thing to try would be to `tail -f /opt/mattermost/logs/mattermost.log`, stop the mattermost service in another terminal, hit enter a few times in the terminal with the log, then start mattermost again. Post all of the logs that result after starting.

---

<div class="post-metadata">

**Author:** ![Fosforit](https://avatars.discourse-cdn.com/v4/letter/f/9f8e36/32.png) [@Fosforit](https://forum.mattermost.com/u/Fosforit)\
**Post date:** [August 12, 2024, 7:17am UTC](https://forum.mattermost.com/t/solved-unable-to-enable-upload-plugin/19055/5 "2024-08-12T07:17:53Z")

</div>

Deployed it again on another server, the issue was resolved.  
Thanks a lot!

---

<div class="post-metadata">

**Author:** ![monkeybizness](https://avatars.discourse-cdn.com/v4/letter/m/43a26b/32.png) [@monkeybizness](https://forum.mattermost.com/u/monkeybizness)\
**Post date:** [August 30, 2024, 3:13pm UTC](https://forum.mattermost.com/t/solved-unable-to-enable-upload-plugin/19055/6 "2024-08-30T15:13:52Z")

</div>

I had the same issue and I could fix it by setting the environment variable `MM_PLUGINSETTINGS_ENABLEUPLOADS=true` in docker-compose.yaml

It seems that the environment variables are the best way to configure MM in docker

---

<div class="post-metadata">

**Author:** ![mfpaim](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/mfpaim/32/8601_2.png) [@mfpaim](https://forum.mattermost.com/u/mfpaim)\
**Post date:** [January 6, 2025, 3:18pm UTC](https://forum.mattermost.com/t/solved-unable-to-enable-upload-plugin/19055/7 "2025-01-06T15:18:55Z")

</div>

This simple solution made my day. Thanks a lot!
