[Solved] Unable to enable upload plugin

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

    "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?

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

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

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

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.

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

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