Plugin disabled in mattermost

I hit this bug today, the installed plugin were not anymore available

the plugins have been disabled, I needed to add the full path in config.json

-        "Directory": "./plugins",
-        "ClientDirectory": "./client/plugins",
+       "Directory": "/opt/mattermost/plugins",
+      "ClientDirectory": "/opt/mattermost/client/plugins",

I found in logs

{"level":"error","ts":1614290111.7581637,"caller":"app/plugin.go:178","msg":"Failed to start up plugins","error":"mkdir ./client/plugins: no such file or directory"}

2 Likes