mattermost-community / mattermost-plugin-aws-SNS

Plugin that receives SNS notification from Alerts created by AWS CloudWatch and sent via AWS SNS
Apache License 2.0
21 stars 22 forks source link

Error: unable to start plugin. /dist/plugin-linux-amd64: no such file or directory #64

Open pbdco opened 3 years ago

pbdco commented 3 years ago

I'm getting the following error output on my logs when I try to activate the plugin. I have tried to installing it from the plugin marketplace, uploading mannually from the console and even cloning the git repo directly to plugins/

Mattermost version: 5.33.0 aws-sns plugin version: 1.2.0

Always same output:

{
"level":"error",
"ts":1621985774.3054287,
"caller":"mlog/log.go:232",
"msg":"Unable to activate plugin",
"plugin_id":"com.mattermost.aws-sns",
"error":"unable to start plugin: com.mattermost.aws-sns: fork/exec /mattermost/plugins/com.mattermost.aws-sns/server/dist/plugin-linux-amd64: no such file or directory",
"errorVerbose":"fork/exec /mattermost/plugins/com.mattermost.aws-sns/server/dist/plugin-linux-amd64: no such file or directory\nunable to start plugin: com.mattermost.aws-sns\ngithub.com/mattermost/mattermost-server/v5/plugin.(*Environment).Activate\n\tgithub.com/mattermost/mattermost-server/v5/plugin/environment.go:268\ngithub.com/mattermost/mattermost-server/v5/app.(*App).SyncPluginsActiveState.func2\n\tgithub.com/mattermost/mattermost-server/v5/app/plugin.go:132\nruntime.goexit\n\truntime/asm_amd64.s:1374"
}

As you can see, the folder exists and permissions are OK:

image

image