collabora-mattermost icon indicating copy to clipboard operation
collabora-mattermost copied to clipboard

BUG - Plugin doesn't start in MM 6.3.1

Open nothing-fr opened this issue 3 years ago • 5 comments

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

nothing-fr avatar Jan 24 '22 15:01 nothing-fr

Works here:

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

jprusch avatar Jan 24 '22 15:01 jprusch

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 avatar Jul 08 '22 07:07 Aguay-val

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 avatar Jul 08 '22 07:07 Aguay-val

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

ngophuong avatar Aug 09 '22 14:08 ngophuong

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.

Aguay-val avatar Aug 19 '22 07:08 Aguay-val