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 ?

Where you able to fix this ?
I am having a similar issue

1 Like

Hi Donald and welcome to the Mattermost forums!

Can you share your logs and your Mattermost server version?

Hello Donald,

No… I sill have the problem and I did not find a solution :frowning: I hope someone will help us/fix it, one day…

There is an update of my log. Now I’m using version 7.10.2

{"timestamp":"2023-06-26 07:11:30.844 Z","level":"info","msg":"Server is initializing...","caller":"platform/service.go:165","go_version":"go1.19.5"}
{"timestamp":"2023-06-26 07:11:30.844 Z","level":"info","msg":"Pinging SQL","caller":"sqlstore/store.go:242","database":"master","dataSource":"****:****@tcp(*******:3306)/mattermost?tls=skip-verify&writeTimeout=30s&charset=utf8mb4%2Cutf8"}
{"timestamp":"2023-06-26 07:11:30.921 Z","level":"info","msg":"Pinging SQL","caller":"sqlstore/store.go:242","database":"master","dataSource":"****:****@tcp(**********:3306)/mattermost?multiStatements=true&tls=skip-verify&writeTimeout=30s&charset=utf8mb4%2Cutf8"}
{"timestamp":"2023-06-26 07:11:31.014 Z","level":"debug","msg":"Deleting any unused pre-release features","caller":"sqlstore/preference_store.go:25"}
{"timestamp":"2023-06-26 07:11:31.026 Z","level":"info","msg":"Starting websocket hubs","caller":"platform/web_hub.go:95","number_of_hubs":16}
{"timestamp":"2023-06-26 07:11:31.027 Z","level":"debug","msg":"Hub is starting","caller":"platform/web_hub.go:373","index":1}
{"timestamp":"2023-06-26 07:11:31.027 Z","level":"debug","msg":"Hub is starting","caller":"platform/web_hub.go:373","index":3}
{"timestamp":"2023-06-26 07:11:31.027 Z","level":"debug","msg":"Hub is starting","caller":"platform/web_hub.go:373","index":5}
{"timestamp":"2023-06-26 07:11:31.027 Z","level":"debug","msg":"Hub is starting","caller":"platform/web_hub.go:373","index":2}
{"timestamp":"2023-06-26 07:11:31.027 Z","level":"debug","msg":"Hub is starting","caller":"platform/web_hub.go:373","index":9}
{"timestamp":"2023-06-26 07:11:31.027 Z","level":"debug","msg":"Hub is starting","caller":"platform/web_hub.go:373","index":11}
{"timestamp":"2023-06-26 07:11:31.027 Z","level":"debug","msg":"Hub is starting","caller":"platform/web_hub.go:373","index":6}
{"timestamp":"2023-06-26 07:11:31.027 Z","level":"debug","msg":"Hub is starting","caller":"platform/web_hub.go:373","index":12}
{"timestamp":"2023-06-26 07:11:31.027 Z","level":"debug","msg":"Hub is starting","caller":"platform/web_hub.go:373","index":7}
{"timestamp":"2023-06-26 07:11:31.027 Z","level":"debug","msg":"Hub is starting","caller":"platform/web_hub.go:373","index":8}
{"timestamp":"2023-06-26 07:11:31.027 Z","level":"debug","msg":"Hub is starting","caller":"platform/web_hub.go:373","index":13}
{"timestamp":"2023-06-26 07:11:31.027 Z","level":"debug","msg":"Hub is starting","caller":"platform/web_hub.go:373","index":10}
{"timestamp":"2023-06-26 07:11:31.027 Z","level":"debug","msg":"Hub is starting","caller":"platform/web_hub.go:373","index":14}
{"timestamp":"2023-06-26 07:11:31.027 Z","level":"debug","msg":"Hub is starting","caller":"platform/web_hub.go:373","index":15}
{"timestamp":"2023-06-26 07:11:31.027 Z","level":"debug","msg":"Hub is starting","caller":"platform/web_hub.go:373","index":4}
{"timestamp":"2023-06-26 07:11:31.027 Z","level":"debug","msg":"Hub is starting","caller":"platform/web_hub.go:373","index":0}
{"timestamp":"2023-06-26 07:11:31.027 Z","level":"info","msg":"Loaded system translations","caller":"i18n/i18n.go:132","for locale":"fr","from locale":"/mattermost/i18n/fr.json"}
{"timestamp":"2023-06-26 07:11:31.031 Z","level":"info","msg":"Ensuring the telemetry ID","caller":"telemetry/telemetry.go:142","id":"4en7kzzozbd43xswnkaaq9oquy"}
{"timestamp":"2023-06-26 07:11:31.049 Z","level":"info","msg":"Current version is 7.10.2 (7.10.2/Thu May 18 15:30:39 UTC 2023/42f472f34b27f3dd0fb7df266fef903673331175/none)","caller":"app/server.go:412","current_version":"7.10.2","build_number":"7.10.2","build_date":"Thu May 18 15:30:39 UTC 2023","build_hash":"42f472f34b27f3dd0fb7df266fef903673331175","build_hash_enterprise":"none"}
{"timestamp":"2023-06-26 07:11:31.049 Z","level":"info","msg":"Team Edition Build","caller":"app/server.go:423","enterprise_build":false}
{"timestamp":"2023-06-26 07:11:31.049 Z","level":"info","msg":"Printing current working","caller":"app/server.go:427","directory":"/mattermost"}
{"timestamp":"2023-06-26 07:11:31.049 Z","level":"info","msg":"Loaded config","caller":"app/server.go:428","source":"****:****@tcp(***********:3306)/mattermost?readTimeout=30s&tls=skip-verify&writeTimeout=30s&charset=utf8mb4%2Cutf8"}
{"timestamp":"2023-06-26 07:11:31.050 Z","level":"debug","msg":"Will fetch notices from","caller":"app/product_notices.go:344","url":"https://notices.mattermost.com/","skip_cache":false}
{"timestamp":"2023-06-26 07:11:31.072 Z","level":"info","msg":"Starting workers","caller":"jobs/workers.go:48"}
{"timestamp":"2023-06-26 07:11:31.072 Z","level":"debug","msg":"Worker started","caller":"jobs/base_workers.go:37","worker":"ExportDelete"}
{"timestamp":"2023-06-26 07:11:31.072 Z","level":"debug","msg":"Worker started","caller":"jobs/base_workers.go:37","worker":"ProductNotices"}
{"timestamp":"2023-06-26 07:11:31.072 Z","level":"debug","msg":"Worker started","caller":"jobs/base_workers.go:37","worker":"InstallNotifyAdmin"}
{"timestamp":"2023-06-26 07:11:31.072 Z","level":"debug","msg":"Worker started","caller":"jobs/base_workers.go:37","worker":"HostedPurchaseScreening"}
{"timestamp":"2023-06-26 07:11:31.072 Z","level":"debug","msg":"Worker Started","caller":"indexer/indexing_job.go:100","workername":"BleveIndexer"}
{"timestamp":"2023-06-26 07:11:31.072 Z","level":"debug","msg":"Worker started","caller":"jobs/base_workers.go:37","worker":"ExportProcess"}
{"timestamp":"2023-06-26 07:11:31.072 Z","level":"debug","msg":"Worker started","caller":"migrations/worker.go:50","worker":"Migrations"}
{"timestamp":"2023-06-26 07:11:31.072 Z","level":"debug","msg":"Worker started","caller":"jobs/base_workers.go:37","worker":"ExtractContent"}
{"timestamp":"2023-06-26 07:11:31.072 Z","level":"debug","msg":"Watcher Started","caller":"jobs/jobs_watcher.go:38"}
{"timestamp":"2023-06-26 07:11:31.072 Z","level":"debug","msg":"Worker started","caller":"scheduler/worker.go:39","worker":"Plugins"}
{"timestamp":"2023-06-26 07:11:31.072 Z","level":"debug","msg":"Worker started","caller":"jobs/base_workers.go:37","worker":"ImportProcess"}
{"timestamp":"2023-06-26 07:11:31.072 Z","level":"info","msg":"Starting schedulers.","caller":"jobs/schedulers.go:47"}
{"timestamp":"2023-06-26 07:11:31.072 Z","level":"debug","msg":"Cleaning up token store.","caller":"app/server.go:1238"}
{"timestamp":"2023-06-26 07:11:31.072 Z","level":"debug","msg":"Cleaning up command webhook store.","caller":"sqlstore/command_webhook_store.go:93"}
{"timestamp":"2023-06-26 07:11:31.072 Z","level":"debug","msg":"Cleaning up session store.","caller":"app/server.go:1253"}
{"timestamp":"2023-06-26 07:11:31.072 Z","level":"debug","msg":"Worker started","caller":"jobs/base_workers.go:37","worker":"ImportDelete"}
{"timestamp":"2023-06-26 07:11:31.093 Z","level":"debug","msg":"We could not find the license key in the database or on disk at","caller":"utils/license.go:104","filename":"/mattermost/config/mattermost.mattermost-license"}
{"timestamp":"2023-06-26 07:11:31.100 Z","level":"error","msg":"License key from https://mattermost.com required to unlock enterprise features.","caller":"platform/license.go:101","error":"resource: License id: "}
{"timestamp":"2023-06-26 07:11:31.101 Z","level":"debug","msg":"Skipping license expiration check because no license is expected on Team Edition","caller":"app/server.go:1355"}
{"timestamp":"2023-06-26 07:11:31.102 Z","level":"debug","msg":"Next run time for scheduler","caller":"jobs/schedulers.go:147","scheduler_name":"product_notices","next_runtime":"2023-06-26 08:11:31.102603158 +0000 UTC m=+3600.683037398"}
{"timestamp":"2023-06-26 07:11:31.127 Z","level":"debug","msg":"Next run time for scheduler","caller":"jobs/schedulers.go:147","scheduler_name":"import_delete","next_runtime":"2023-06-27 07:11:33.007017325 +0000 UTC m=+86402.587451555"}
{"timestamp":"2023-06-26 07:11:31.137 Z","level":"debug","msg":"Next run time for scheduler","caller":"jobs/schedulers.go:147","scheduler_name":"export_delete","next_runtime":"2023-06-27 07:11:32.159558105 +0000 UTC m=+86401.739992336"}
{"timestamp":"2023-06-26 07:11:31.137 Z","level":"debug","msg":"Scheduler: isEnabled: false","caller":"notify_admin/scheduler.go:20","scheduler":"upgrade_notify_admin"}
{"timestamp":"2023-06-26 07:11:31.137 Z","level":"debug","msg":"Scheduler: isEnabled: false","caller":"notify_admin/scheduler.go:20","scheduler":"trial_notify_admin"}
{"timestamp":"2023-06-26 07:11:31.137 Z","level":"debug","msg":"Scheduler: isEnabled: true","caller":"notify_admin/install_plugin_scheduler.go:20","scheduler":"install_plugin_notify_admin"}
{"timestamp":"2023-06-26 07:11:31.153 Z","level":"debug","msg":"Next run time for scheduler","caller":"jobs/schedulers.go:147","scheduler_name":"install_plugin_notify_admin","next_runtime":"2023-06-27 07:11:32.989136331 +0000 UTC m=+86402.569570561"}
{"timestamp":"2023-06-26 07:11:31.157 Z","level":"debug","msg":"Next run time for scheduler","caller":"jobs/schedulers.go:147","scheduler_name":"migrations","next_runtime":"2023-06-26 07:12:31.157463737 +0000 UTC m=+60.737897971"}
{"timestamp":"2023-06-26 07:11:31.164 Z","level":"debug","msg":"Next run time for scheduler","caller":"jobs/schedulers.go:147","scheduler_name":"plugins","next_runtime":"2023-06-27 07:11:31.758905735 +0000 UTC m=+86401.339339965"}
{"timestamp":"2023-06-26 07:11:31.164 Z","level":"debug","msg":"Scheduler: isEnabled: false","caller":"last_accessible_post/scheduler.go:20","scheduler":"last_accessible_post"}
{"timestamp":"2023-06-26 07:11:31.164 Z","level":"debug","msg":"Scheduler: isEnabled: false","caller":"last_accessible_file/scheduler.go:20","scheduler":"last_accessible_file"}
{"timestamp":"2023-06-26 07:11:31.234 Z","level":"debug","msg":"Initializing web routes","caller":"web/web.go:26"}
{"timestamp":"2023-06-26 07:11:31.234 Z","level":"debug","msg":"Rewriting static assets","caller":"utils/subpath.go:83","from_subpath":"/","to_subpath":"/"}
{"timestamp":"2023-06-26 07:11:31.235 Z","level":"error","msg":"Failed to update assets subpath from config","caller":"web/static.go:30","error":"failed to update root.html with subpath /: open /mattermost/client/root.html: permission denied"}
{"timestamp":"2023-06-26 07:11:31.235 Z","level":"debug","msg":"Using client directory","caller":"web/static.go:34","clientDir":"/mattermost/client"}
{"timestamp":"2023-06-26 07:11:31.235 Z","level":"info","msg":"Starting up plugins","caller":"app/plugin.go:218"}
{"timestamp":"2023-06-26 07:11:31.235 Z","level":"debug","msg":"Enabling plugin health check job","caller":"plugin/environment.go:613","interval_s":"30s"}
{"timestamp":"2023-06-26 07:11:31.235 Z","level":"info","msg":"Syncing plugins from the file store","caller":"app/plugin.go:299"}
{"timestamp":"2023-06-26 07:11:31.235 Z","level":"debug","msg":"Plugin health check job starting.","caller":"plugin/health_check.go:31"}
{"timestamp":"2023-06-26 07:11:31.237 Z","level":"debug","msg":"Processing prepackaged plugin","caller":"app/plugin.go:984","path":"/mattermost/prepackaged_plugins/mattermost-plugin-custom-attributes-v1.3.1-linux-amd64.tar.gz"}
{"timestamp":"2023-06-26 07:11:31.237 Z","level":"debug","msg":"Processing prepackaged plugin","caller":"app/plugin.go:984","path":"/mattermost/prepackaged_plugins/mattermost-plugin-jitsi-v2.0.1-linux-amd64.tar.gz"}
{"timestamp":"2023-06-26 07:11:31.237 Z","level":"debug","msg":"Processing prepackaged plugin","caller":"app/plugin.go:984","path":"/mattermost/prepackaged_plugins/mattermost-plugin-nps-v1.3.1-linux-amd64.tar.gz"}
{"timestamp":"2023-06-26 07:11:31.237 Z","level":"debug","msg":"Processing prepackaged plugin","caller":"app/plugin.go:984","path":"/mattermost/prepackaged_plugins/mattermost-plugin-gitlab-v1.6.0-linux-amd64.tar.gz"}
{"timestamp":"2023-06-26 07:11:31.237 Z","level":"debug","msg":"Processing prepackaged plugin","caller":"app/plugin.go:984","path":"/mattermost/prepackaged_plugins/mattermost-plugin-aws-SNS-v1.2.0-linux-amd64.tar.gz"}
{"timestamp":"2023-06-26 07:11:31.237 Z","level":"debug","msg":"Processing prepackaged plugin","caller":"app/plugin.go:984","path":"/mattermost/prepackaged_plugins/mattermost-plugin-welcomebot-v1.2.0-linux-amd64.tar.gz"}
{"timestamp":"2023-06-26 07:11:31.237 Z","level":"debug","msg":"Processing prepackaged plugin","caller":"app/plugin.go:984","path":"/mattermost/prepackaged_plugins/mattermost-plugin-confluence-v1.3.0-linux-amd64.tar.gz"}
{"timestamp":"2023-06-26 07:11:31.237 Z","level":"debug","msg":"Processing prepackaged plugin","caller":"app/plugin.go:984","path":"/mattermost/prepackaged_plugins/mattermost-plugin-calls-v0.15.1-linux-amd64.tar.gz"}
{"timestamp":"2023-06-26 07:11:31.242 Z","level":"debug","msg":"Processing prepackaged plugin","caller":"app/plugin.go:984","path":"/mattermost/prepackaged_plugins/mattermost-plugin-todo-v0.6.1-linux-amd64.tar.gz"}
{"timestamp":"2023-06-26 07:11:31.284 Z","level":"debug","msg":"Processing prepackaged plugin","caller":"app/plugin.go:984","path":"/mattermost/prepackaged_plugins/mattermost-plugin-jenkins-v1.1.0-linux-amd64.tar.gz"}
{"timestamp":"2023-06-26 07:11:31.285 Z","level":"debug","msg":"Processing prepackaged plugin","caller":"app/plugin.go:984","path":"/mattermost/prepackaged_plugins/mattermost-plugin-antivirus-v0.1.2-linux-amd64.tar.gz"}
{"timestamp":"2023-06-26 07:11:31.285 Z","level":"debug","msg":"Processing prepackaged plugin","caller":"app/plugin.go:984","path":"/mattermost/prepackaged_plugins/focalboard-v7.10.0-linux-amd64.tar.gz"}
{"timestamp":"2023-06-26 07:11:31.384 Z","level":"debug","msg":"Processing prepackaged plugin","caller":"app/plugin.go:984","path":"/mattermost/prepackaged_plugins/mattermost-plugin-jira-v3.2.2-linux-amd64.tar.gz"}
{"timestamp":"2023-06-26 07:11:31.384 Z","level":"debug","msg":"Processing prepackaged plugin","caller":"app/plugin.go:984","path":"/mattermost/prepackaged_plugins/mattermost-plugin-apps-v1.2.1-linux-amd64.tar.gz"}
{"timestamp":"2023-06-26 07:11:31.385 Z","level":"debug","msg":"Processing prepackaged plugin","caller":"app/plugin.go:984","path":"/mattermost/prepackaged_plugins/mattermost-plugin-autolink-v1.2.2-linux-amd64.tar.gz"}
{"timestamp":"2023-06-26 07:11:31.484 Z","level":"debug","msg":"Processing prepackaged plugin","caller":"app/plugin.go:984","path":"/mattermost/prepackaged_plugins/mattermost-plugin-zoom-v1.6.0-linux-amd64.tar.gz"}
{"timestamp":"2023-06-26 07:11:31.588 Z","level":"debug","msg":"Processing prepackaged plugin","caller":"app/plugin.go:984","path":"/mattermost/prepackaged_plugins/mattermost-plugin-github-v2.1.5-linux-amd64.tar.gz"}
{"timestamp":"2023-06-26 07:11:31.685 Z","level":"debug","msg":"Processing prepackaged plugin","caller":"app/plugin.go:984","path":"/mattermost/prepackaged_plugins/mattermost-plugin-playbooks-v1.36.1-linux-amd64.tar.gz"}
{"timestamp":"2023-06-26 07:11:31.785 Z","level":"debug","msg":"Processing prepackaged plugin","caller":"app/plugin.go:984","path":"/mattermost/prepackaged_plugins/mattermost-plugin-channel-export-v1.0.0-linux-amd64.tar.gz"}
{"timestamp":"2023-06-26 07:11:34.497 Z","level":"debug","msg":"Installing prepackaged plugin","caller":"app/plugin.go:1014","path":"/mattermost/prepackaged_plugins/mattermost-plugin-nps-v1.3.1-linux-amd64.tar.gz"}
{"timestamp":"2023-06-26 07:11:34.599 Z","level":"error","msg":"Failed to install prepackaged plugin","caller":"app/plugin.go:964","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-06-26 07:11:35.506 Z","level":"debug","msg":"Installing prepackaged plugin","caller":"app/plugin.go:1014","path":"/mattermost/prepackaged_plugins/mattermost-plugin-apps-v1.2.1-linux-amd64.tar.gz"}
{"timestamp":"2023-06-26 07:11:35.587 Z","level":"error","msg":"Failed to install prepackaged plugin","caller":"app/plugin.go:964","path":"/mattermost/prepackaged_plugins/mattermost-plugin-apps-v1.2.1-linux-amd64.tar.gz","error":"Failed to install extracted prepackaged plugin /mattermost/prepackaged_plugins/mattermost-plugin-apps-v1.2.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.apps: permission denied"}
{"timestamp":"2023-06-26 07:11:35.596 Z","level":"debug","msg":"Installing prepackaged plugin","caller":"app/plugin.go:1014","path":"/mattermost/prepackaged_plugins/mattermost-plugin-calls-v0.15.1-linux-amd64.tar.gz"}
{"timestamp":"2023-06-26 07:11:35.603 Z","level":"error","msg":"Failed to install prepackaged plugin","caller":"app/plugin.go:964","path":"/mattermost/prepackaged_plugins/mattermost-plugin-calls-v0.15.1-linux-amd64.tar.gz","error":"Failed to install extracted prepackaged plugin /mattermost/prepackaged_plugins/mattermost-plugin-calls-v0.15.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"}
{"timestamp":"2023-06-26 07:11:35.731 Z","level":"debug","msg":"Installing prepackaged plugin","caller":"app/plugin.go:1014","path":"/mattermost/prepackaged_plugins/mattermost-plugin-playbooks-v1.36.1-linux-amd64.tar.gz"}
{"timestamp":"2023-06-26 07:11:35.789 Z","level":"error","msg":"Failed to install prepackaged plugin","caller":"app/plugin.go:964","path":"/mattermost/prepackaged_plugins/mattermost-plugin-playbooks-v1.36.1-linux-amd64.tar.gz","error":"Failed to install extracted prepackaged plugin /mattermost/prepackaged_plugins/mattermost-plugin-playbooks-v1.36.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/playbooks: permission denied"}
{"timestamp":"2023-06-26 07:11:35.935 Z","level":"debug","msg":"Installing prepackaged plugin","caller":"app/plugin.go:1014","path":"/mattermost/prepackaged_plugins/focalboard-v7.10.0-linux-amd64.tar.gz"}
{"timestamp":"2023-06-26 07:11:35.944 Z","level":"error","msg":"Failed to install prepackaged plugin","caller":"app/plugin.go:964","path":"/mattermost/prepackaged_plugins/focalboard-v7.10.0-linux-amd64.tar.gz","error":"Failed to install extracted prepackaged plugin /mattermost/prepackaged_plugins/focalboard-v7.10.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/focalboard: permission denied"}
{"timestamp":"2023-06-26 07:11:35.967 Z","level":"debug","msg":"Able to write files to local storage.","caller":"filestore/localstore.go:77"}
{"timestamp":"2023-06-26 07:11:35.985 Z","level":"info","msg":"Starting Server...","caller":"app/server.go:899"}
{"timestamp":"2023-06-26 07:11:35.985 Z","level":"info","msg":"Server is listening on [::]:8065","caller":"app/server.go:971","address":"[::]:8065"}
{"timestamp":"2023-06-26 07:11:35.985 Z","level":"debug","msg":"No license provided; Remote Cluster services disabled","caller":"app/server.go:579"}
{"timestamp":"2023-06-26 07:11:43.390 Z","level":"info","msg":"Failed to fetch marketplace plugins for telemetry. Using predefined list.","caller":"telemetry/telemetry.go:1443","error":"Get \"https://api.integrations.mattermost.com/api/v1/plugins?build_enterprise_ready=false&cloud=false&enterprise_plugins=false&filter=&local_only=false&page=0&platform=&plugin_id=&remote_only=false&return_all_versions=false&server_version=7.10.2\": dial tcp 52.222.169.100:443: i/o timeout"}

Your problem is still related to the wrong permissions in your deployment:

Hello,

Ok, but how am I suppose to change that ? Something to change in the chart ? I use the chart from here mattermost-helm/charts/mattermost-team-edition at master · mattermost/mattermost-helm · GitHub

Hello @agriesser ,

I think the problem is that mattermost use not the good directory for plugin installation.

Indeed, in my chart I set the environement variable MM_PLUGINSETTINGS_CLIENTDIRECTORY: “./client/plugins” that tells the container to user the folder “./client/plugins”. If I check the right for this folder, it looks good :
image

That the same right than the folder ./data that is used to store images, and i have no problem with that, the container can write images in it.

The problem is that in the logs it looks like it is the folder ./plugins and NOT ./client/plugins that is used
{"timestamp":"2023-06-26 07:11:34.599 Z","level":"error","msg":"Failed to install prepackaged plugin","caller":"app/plugin.go:964","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"}

This folder ./plugins has not inought right and that’s why it do not work
image