Open bsramin opened 3 years ago
Hello @bsramin, thank you for the issue. We changed the source of the current release. Please try again and if the problem still persists, let us know
Thanks @Gvantsats. I don't see any commit, what has changed? I tried to download again and re-run it and the error is the same.
ps. Thanks for your plugin. If I can make it work for me mattermost finally makes sense.
@bsramin you can download the source file of the release from here and then upload com.mattermost.mattermost-plugin-anonymous-0.1.0.tar.gz file to the server. Have you tried it?
Yes. Yesterday. I have the same output.
Tried again now. Downloaded from https://github.com/bakurits/mattermost-plugin-anonymous/releases/tag/0.1.0. Uploaded. Same error.
The same plugin, in the local environment, works well
@bsramin Could you tell me what other plugins are you using on the docker server?
I have tried now also with no other plugin
We are using mattermost on docker and getting the same error
Describe the bug I wanted to try the plugin on a docker on an ubuntu server on an amazon ec2. I downloaded the zip from github, uploaded it to mattermost and if I try to activate it I get this error message in the logs:
{ "caller": "mlog/log.go:190", "error": "unable to start plugin: com.mattermost.mattermost-plugin-anonymous: Unrecognized remote plugin message: \n\nThis usually means that the plugin is either invalid or simply\nneeds to be recompiled to support the latest protocol.", "errorVerbose": "Unrecognized remote plugin message: \n\nThis usually means that the plugin is either invalid or simply\nneeds to be recompiled to support the latest protocol.\nunable to start plugin: com.mattermost.mattermost-plugin-anonymous\ngithub.com/mattermost/mattermost-server/v5/plugin.(*Environment).Activate\n\tgithub.com/mattermost/mattermost-server/v5/plugin/environment.go:266\ngithub.com/mattermost/mattermost-server/v5/app.(*App).SyncPluginsActiveState\n\tgithub.com/mattermost/mattermost-server/v5/app/plugin.go:125\ngithub.com/mattermost/mattermost-server/v5/app.(*App).InitPlugins.func1\n\tgithub.com/mattermost/mattermost-server/v5/app/plugin.go:197\ngithub.com/mattermost/mattermost-server/v5/config.(*emitter).invokeConfigListeners.func1\n\tgithub.com/mattermost/mattermost-server/v5/config/emitter.go:36\nsync.(*Map).Range\n\tsync/map.go:333\ngithub.com/mattermost/mattermost-server/v5/config.(*emitter).invokeConfigListeners\n\tgithub.com/mattermost/mattermost-server/v5/config/emitter.go:34\ngithub.com/mattermost/mattermost-server/v5/config.(*commonStore).set\n\tgithub.com/mattermost/mattermost-server/v5/config/common.go:90\ngithub.com/mattermost/mattermost-server/v5/config.(*FileStore).Set\n\tgithub.com/mattermost/mattermost-server/v5/config/file.go:108\ngithub.com/mattermost/mattermost-server/v5/app.(*Server).SaveConfig\n\tgithub.com/mattermost/mattermost-server/v5/app/config.go:404\ngithub.com/mattermost/mattermost-server/v5/app.(*App).SaveConfig\n\tgithub.com/mattermost/mattermost-server/v5/app/config.go:433\ngithub.com/mattermost/mattermost-server/v5/app.(*App).EnablePlugin\n\tgithub.com/mattermost/mattermost-server/v5/app/plugin.go:358\ngithub.com/mattermost/mattermost-server/v5/api4.enablePlugin\n\tgithub.com/mattermost/mattermost-server/v5/api4/plugin.go:316\ngithub.com/mattermost/mattermost-server/v5/web.Handler.ServeHTTP\n\tgithub.com/mattermost/mattermost-server/v5/web/handlers.go:240\ngithub.com/NYTimes/gziphandler.GzipHandlerWithOpts.func1.1\n\tgithub.com/NYTimes/gziphandler@v1.1.1/gzip.go:336\nnet/http.HandlerFunc.ServeHTTP\n\tnet/http/server.go:2041\ngithub.com/gorilla/mux.(*Router).ServeHTTP\n\tgithub.com/gorilla/mux@v1.7.4/mux.go:210\ngithub.com/getsentry/sentry-go/http.(*Handler).Handle.func1\n\tgithub.com/getsentry/sentry-go@v0.6.1/http/sentryhttp.go:61\nnet/http.HandlerFunc.ServeHTTP\n\tnet/http/server.go:2041\ngithub.com/mattermost/mattermost-server/v5/app.(*RateLimiter).RateLimitHandler.func1\n\tgithub.com/mattermost/mattermost-server/v5/app/ratelimit.go:108\nnet/http.HandlerFunc.ServeHTTP\n\tnet/http/server.go:2041\nnet/http.serverHandler.ServeHTTP\n\tnet/http/server.go:2836\nnet/http.(*conn).serve\n\tnet/http/server.go:1924\nruntime.goexit\n\truntime/asm_amd64.s:1373", "level": "error", "msg": "Unable to activate plugin", "plugin_id": "com.mattermost.mattermost-plugin-anonymous", "ts": 1602368053.7566605 }
Screenshots
In the local environment everything works well instead.