Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG - Plugin doesn't start in MM 6.3.1 #56

Open
nothing-fr opened this issue Jan 24, 2022 · 5 comments · May be fixed by #78
Open

BUG - Plugin doesn't start in MM 6.3.1 #56

nothing-fr opened this issue Jan 24, 2022 · 5 comments · May be fixed by #78

Comments

@nothing-fr
Copy link

nothing-fr commented Jan 24, 2022

Summary

Collabora plugin doesn't start after installation.

Steps To Reproduce

Steps to reproduce the behavior:

  1. Install latest Collabora plugin
  2. Try to activate the plugin in mattermost
  3. 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
image

Environment

  • Mattermost version: 6.3.1 / 6.4.1
  • OS: Ubuntu 18.04
  • Platform: Docker
  • Platform Version: 19.03.7
@jprusch
Copy link

jprusch commented Jan 24, 2022

Works here:

  • Mattermost 6.3.1
  • OS: Debian 10 (Buster)
  • Native server installation (no docker)
  • Plugin version 1.1.0

@Aguay-val
Copy link

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.

@Aguay-val
Copy link

Aguay-val commented Jul 8, 2022

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 🎉 ! It's working !

@ngophuong
Copy link

@Aguay-val could you help advise more detail on your solutions to make the collabora server in docker work with mattermost 😉 ?

@Aguay-val
Copy link

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.

@availchet availchet linked a pull request Mar 13, 2023 that will close this issue
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants