collabora-mattermost
collabora-mattermost copied to clipboard
BUG - Plugin doesn't start in MM 6.3.1
Summary
Collabora plugin doesn't start after installation.
Steps To Reproduce
Steps to reproduce the behavior:
- Install latest Collabora plugin
- Try to activate the plugin in mattermost
- See error
Expected behavior
Collabora plugin start
Observed Behavior (that appears unintentional)
Collabora plugin not starting with error :
[2022-01-24 16:08:30.042 +01:00] Unable to activate plugin caller="app/plugin.go:142" plugin_id=com.collaboraonline.mattermost error="unable to start plugin: com.collaboraonline.mattermost: Unrecognized remote plugin message:
This usually means that the plugin is either invalid or simply
needs to be recompiled to support the latest protocol."
Screenshots
Environment
- Mattermost version: 6.3.1 / 6.4.1
- OS: Ubuntu 18.04
- Platform: Docker
- Platform Version: 19.03.7
Works here:
- Mattermost 6.3.1
- OS: Debian 10 (Buster)
- Native server installation (no docker)
- Plugin version 1.1.0
This might be a musl issue because the mattermost docker image is based on Alpine. When i run manually the binary i got :
Error relocating ./plugin-linux-amd64: __vfprintf_chk: symbol not found
Error relocating ./plugin-linux-amd64: __fprintf_chk: symbol not found
Which might be due to musl lib c.
This might be a musl issue because the mattermost docker image is based on Alpine. When i run manually the binary i got :
Error relocating ./plugin-linux-amd64: __vfprintf_chk: symbol not found Error relocating ./plugin-linux-amd64: __fprintf_chk: symbol not found
Which might be due to musl lib c.
I found a solution by using gcompat
into the docker image.
https://git.adelielinux.org/adelie/gcompat
apk add gcompat
and :tada: ! It's working !
@Aguay-val could you help advise more detail on your solutions to make the collabora server in docker work with mattermost 😉 ?
For now, i just install the gcompat package into the docker image. You could do something like:
FROM mattermost/mattermost-team-edition
RUN apk add gcompat
Then use the image you just built and then it should work.