I deployed our instance to docker via ec2 following the documentation which recommended
sudo chown -R 2000:2000 ./volumes/app/mattermost
However when installing 3rd party plugins this seemed to cause a permissions conflict with local root. I updated the user in the docker container to another local user and gave elevated permissions which got me past the first block however
when installing third party plugins i still run into this error
{
"caller": "web/context.go:115",
"err_where": "installExtractedPlugin",
"error": "installExtractedPlugin: Unable to generate plugin webapp bundle., unable to copy webapp bundle directory: com.github.matterpoll.matterpoll: stat plugins/com.github.matterpoll.matterpoll/webapp/dist: no such file or directory",
"http_code": 500,
"ip_addr": "[Irrelevant]",
"level": "error",
"method": "POST",
"msg": "Unable to generate plugin webapp bundle.",
"path": "/api/v4/plugins",
"request_id": "[Irrelevant]",
"timestamp": "2024-04-11 09:22:37.566 Z",
"user_id": "[Irrelevant]"
}
and errors like this
{
"caller": "web/context.go:115",
"err_where": "installExtractedPlugin",
"error": "installExtractedPlugin: Unable to restart plugin on upgrade., unable to start plugin: com.github.moussetc.mattermost.plugin.giphy: unable to generate plugin checksum: open plugins/com.github.moussetc.mattermost.plugin.giphy/server/dist/plugin-linux-amd64: no such file or directory",
"http_code": 500,
"ip_addr": "[Irrelevant]",
"level": "error",
"method": "POST",
"msg": "Unable to restart plugin on upgrade.",
"path": "/api/v4/plugins",
"request_id": "[Irrelevant]",
"timestamp": "2024-04-11 09:10:58.401 Z",
"user_id": "[Irrelevant]"
}
I’m wondering if this is still somehow a permissions issue, but I’ve been working at this for several hours now and I’m at a loss. Given that both docker and most plugins seem to be community driven the documentation is spotty and filled with inaccuracies.
If anyone has ran into this issue or a similar one I’d welcome any input you have.