Plugin activation problem

Summary
Can’t activate plugins

Steps to reproduce
Activate plugins

Expected behavior
Plugins are available

Observed behavior
Hello,

I use mattermost 7.7.0 team edition deployed via the chart helm mattermost-helm/charts/mattermost-team-edition at master · mattermost/mattermost-helm · GitHub

When I want to activate plugins I saw that pluging pre included (like playbooks) are not available after the activation. I checked the logs and there are logs after my activation.

{"timestamp":"2023-01-23 12:52:46.658 Z","level":"debug","msg":"Plugin health check job starting.","caller":"plugin/health_check.go:31"}
{"timestamp":"2023-01-23 12:52:46.659 Z","level":"debug","msg":"Processing prepackaged plugin","caller":"app/plugin.go:987","path":"/mattermost/prepackaged_plugins/mattermost-plugin-playbooks-v1.35.0-linux-amd64.tar.gz"}
{"timestamp":"2023-01-23 12:52:46.659 Z","level":"debug","msg":"Processing prepackaged plugin","caller":"app/plugin.go:987","path":"/mattermost/prepackaged_plugins/mattermost-plugin-jitsi-v2.0.1-linux-amd64.tar.gz"}
{"timestamp":"2023-01-23 12:52:46.659 Z","level":"debug","msg":"Processing prepackaged plugin","caller":"app/plugin.go:987","path":"/mattermost/prepackaged_plugins/mattermost-plugin-jenkins-v1.1.0-linux-amd64.tar.gz"}
{"timestamp":"2023-01-23 12:52:46.659 Z","level":"debug","msg":"Processing prepackaged plugin","caller":"app/plugin.go:987","path":"/mattermost/prepackaged_plugins/mattermost-plugin-autolink-v1.2.2-linux-amd64.tar.gz"}
{"timestamp":"2023-01-23 12:52:46.660 Z","level":"debug","msg":"Processing prepackaged plugin","caller":"app/plugin.go:987","path":"/mattermost/prepackaged_plugins/mattermost-plugin-zoom-v1.6.0-linux-amd64.tar.gz"}
{"timestamp":"2023-01-23 12:52:46.662 Z","level":"debug","msg":"Processing prepackaged plugin","caller":"app/plugin.go:987","path":"/mattermost/prepackaged_plugins/mattermost-plugin-nps-v1.3.1-linux-amd64.tar.gz"}
{"timestamp":"2023-01-23 12:52:46.732 Z","level":"debug","msg":"Processing prepackaged plugin","caller":"app/plugin.go:987","path":"/mattermost/prepackaged_plugins/focalboard-v7.7.0-linux-amd64.tar.gz"}
{"timestamp":"2023-01-23 12:52:46.733 Z","level":"debug","msg":"Processing prepackaged plugin","caller":"app/plugin.go:987","path":"/mattermost/prepackaged_plugins/mattermost-plugin-aws-SNS-v1.2.0-linux-amd64.tar.gz"}
{"timestamp":"2023-01-23 12:52:46.733 Z","level":"debug","msg":"Processing prepackaged plugin","caller":"app/plugin.go:987","path":"/mattermost/prepackaged_plugins/mattermost-plugin-github-v2.1.4-linux-amd64.tar.gz"}
{"timestamp":"2023-01-23 12:52:46.740 Z","level":"debug","msg":"Processing prepackaged plugin","caller":"app/plugin.go:987","path":"/mattermost/prepackaged_plugins/mattermost-plugin-jira-v3.2.2-linux-amd64.tar.gz"}
{"timestamp":"2023-01-23 12:52:46.832 Z","level":"debug","msg":"Processing prepackaged plugin","caller":"app/plugin.go:987","path":"/mattermost/prepackaged_plugins/mattermost-plugin-gitlab-v1.6.0-linux-amd64.tar.gz"}
{"timestamp":"2023-01-23 12:52:46.833 Z","level":"debug","msg":"Processing prepackaged plugin","caller":"app/plugin.go:987","path":"/mattermost/prepackaged_plugins/mattermost-plugin-antivirus-v0.1.2-linux-amd64.tar.gz"}
{"timestamp":"2023-01-23 12:52:46.932 Z","level":"debug","msg":"Processing prepackaged plugin","caller":"app/plugin.go:987","path":"/mattermost/prepackaged_plugins/mattermost-plugin-welcomebot-v1.2.0-linux-amd64.tar.gz"}
{"timestamp":"2023-01-23 12:52:46.932 Z","level":"debug","msg":"Processing prepackaged plugin","caller":"app/plugin.go:987","path":"/mattermost/prepackaged_plugins/mattermost-plugin-confluence-v1.3.0-linux-amd64.tar.gz"}
{"timestamp":"2023-01-23 12:52:47.132 Z","level":"debug","msg":"Processing prepackaged plugin","caller":"app/plugin.go:987","path":"/mattermost/prepackaged_plugins/mattermost-plugin-todo-v0.6.1-linux-amd64.tar.gz"}
{"timestamp":"2023-01-23 12:52:47.133 Z","level":"debug","msg":"Processing prepackaged plugin","caller":"app/plugin.go:987","path":"/mattermost/prepackaged_plugins/mattermost-plugin-custom-attributes-v1.3.1-linux-amd64.tar.gz"}
{"timestamp":"2023-01-23 12:52:47.332 Z","level":"debug","msg":"Processing prepackaged plugin","caller":"app/plugin.go:987","path":"/mattermost/prepackaged_plugins/mattermost-plugin-apps-v1.1.0-linux-amd64.tar.gz"}
{"timestamp":"2023-01-23 12:52:47.532 Z","level":"debug","msg":"Processing prepackaged plugin","caller":"app/plugin.go:987","path":"/mattermost/prepackaged_plugins/mattermost-plugin-calls-v0.12.1-linux-amd64.tar.gz"}
{"timestamp":"2023-01-23 12:52:47.733 Z","level":"debug","msg":"Processing prepackaged plugin","caller":"app/plugin.go:987","path":"/mattermost/prepackaged_plugins/mattermost-plugin-channel-export-v1.0.0-linux-amd64.tar.gz"}
{"timestamp":"2023-01-23 12:52:58.933 Z","level":"debug","msg":"Received HTTP request","caller":"web/handlers.go:171","method":"GET","url":"/api/v4/system/ping","request_id":"x1khi9ies3yjtnpzfnqu7bfryo","status_code":"200"}
{"timestamp":"2023-01-23 12:52:59.133 Z","level":"debug","msg":"Received HTTP request","caller":"web/handlers.go:171","method":"GET","url":"/api/v4/system/ping","request_id":"7so6tq9rmpb1xedtnic8gmk4er","status_code":"200"}
{"timestamp":"2023-01-23 12:53:06.736 Z","level":"debug","msg":"Installing prepackaged plugin","caller":"app/plugin.go:1017","path":"/mattermost/prepackaged_plugins/mattermost-plugin-nps-v1.3.1-linux-amd64.tar.gz"}
{"timestamp":"2023-01-23 12:53:07.133 Z","level":"error","msg":"Failed to install prepackaged plugin","caller":"app/plugin.go:967","path":"/mattermost/prepackaged_plugins/mattermost-plugin-nps-v1.3.1-linux-amd64.tar.gz","error":"Failed to install extracted prepackaged plugin /mattermost/prepackaged_plugins/mattermost-plugin-nps-v1.3.1-linux-amd64.tar.gz: installExtractedPlugin: Unable to move plugin from temporary directory to final destination. Another plugin may be using the same directory name., mkdir plugins/com.mattermost.nps: permission denied"}
{"timestamp":"2023-01-23 12:53:10.834 Z","level":"debug","msg":"Installing prepackaged plugin","caller":"app/plugin.go:1017","path":"/mattermost/prepackaged_plugins/mattermost-plugin-calls-v0.12.1-linux-amd64.tar.gz"}
{"timestamp":"2023-01-23 12:53:10.836 Z","level":"debug","msg":"Installing prepackaged plugin","caller":"app/plugin.go:1017","path":"/mattermost/prepackaged_plugins/mattermost-plugin-apps-v1.1.0-linux-amd64.tar.gz"}
{"timestamp":"2023-01-23 12:53:10.934 Z","level":"error","msg":"Failed to install prepackaged plugin","caller":"app/plugin.go:967","path":"/mattermost/prepackaged_plugins/mattermost-plugin-apps-v1.1.0-linux-amd64.tar.gz","error":"Failed to install extracted prepackaged plugin /mattermost/prepackaged_plugins/mattermost-plugin-apps-v1.1.0-linux-amd64.tar.gz: installExtractedPlugin: Unable to move plugin from temporary directory to final destination. Another plugin may be using the same directory name., mkdir plugins/com.mattermost.apps: permission denied"}
{"timestamp":"2023-01-23 12:53:11.038 Z","level":"error","msg":"Failed to install prepackaged plugin","caller":"app/plugin.go:967","path":"/mattermost/prepackaged_plugins/mattermost-plugin-calls-v0.12.1-linux-amd64.tar.gz","error":"Failed to install extracted prepackaged plugin /mattermost/prepackaged_plugins/mattermost-plugin-calls-v0.12.1-linux-amd64.tar.gz: installExtractedPlugin: Unable to move plugin from temporary directory to final destination. Another plugin may be using the same directory name., mkdir plugins/com.mattermost.calls: permission denied"

I tried to create a folder in the /mattermost/plugins folder from the pod’s terminal and got the same error : permission denied. How can I fix that ? I can’t run chmod from the terminal. If I type whoami from the pod’s terminal it writes 1001060000.

Hello,

Can someone help me ?