Plugin collabora pour mattermost

:uk:/:us: Message template (english)

My YunoHost server

Hardware: VPS bought online
YunoHost version: L’architecture du serveur est kvm amd64 Le serveur utilise le noyau Linux 4.19.0-16-amd64 Le serveur utilise Debian 10.9 Le serveur utilise YunoHost 4.2.4 (stable)
I have access to my server : Through SSH | through the webadmin
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no /

Description of my issue

Hello ! I’m trying to install the collabora online plugin for Mattermost. Mattermost is operational. I installed collabora online for yunohost and activated the collabora plugin for mattermost, but document editing is not done in mattermost.

Message from journalctl:
Pierre-Yves
a big thank-you

> mai 09 19:47:03 mattermost[28406]: {"level":"error","ts":1620582423.6453817,"caller":"mlog/log.go:232","msg":"Unable to activate plugin","plugin_id":"com.collaboraonline.mattermost","error":"unable to generate webapp bundle: com.collaboraonline.mattermost: unable to copy webapp bundle directory: com.collaboraonline.mattermost: stat plugins/com.collaboraonline.mattermost/webapp/dist: no such file or directory","errorVerbose":"stat plugins/com.collaboraonline.mattermost/webapp/dist: no such file or directory\nunable to copy webapp bundle directory: com.collaboraonline.mattermost\ngithub.com/mattermost/mattermost-server/v5/plugin.(*Environment).UnpackWebappBundle\n\tgithub.com/mattermost/mattermost-server/v5/plugin/environment.go:406\ngithub.com/mattermost/mattermost-server/v5/plugin.(*Environment).Activate\n\tgithub.com/mattermost/mattermost-server/v5/plugin/environment.go:256\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\nunable to generate webapp bundle: com.collaboraonline.mattermost\ngithub.com/mattermost/mattermost-server/v5/plugin.(*Environment).Activate\n\tgithub.com/mattermost/mattermost-server/v5/plugin/environment.go:258\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"}


## :fr: Modèle de message (français)

### Mon serveur YunoHost

**Matériel:** VPS acheté en ligne 
VPS bought online 
**Version de YunoHost:**  L’architecture du serveur est kvm amd64  Le serveur utilise le noyau Linux 4.19.0-16-amd64 Le serveur utilise Debian 10.9 Le serveur utilise YunoHost 4.2.4 (stable)
**J'ai accès à mon serveur :** En SSH | Par la webadmin 
**Êtes-vous dans un contexte particulier ou avez-vous effectué des modificiations particulières sur votre instance ?** : non 

### Description du problème


Bonjour ! J'essaye d'installer le plugin en ligne collabora pour Mattermost. Mattermost est opérationnel. J'ai installé collabora online pour yunohost et activé le plugin collabora pour la plupart, mais l'édition de documents n'est pas effectuée dans mattermost.

Message de journalctl:
Pierre-Yves
un grand merci



```text
Voici des messages d'erreurs

mai 09 19:47:03 mattermost[28406]: {“level”:“error”,“ts”:1620582423.6453817,“caller”:“mlog/log.go:232”,“msg”:“Unable to activate plugin”,“plugin_id”:“com.collaboraonline.mattermost”,“error”:“unable to generate webapp bundle: com.collaboraonline.mattermost: unable to copy webapp bundle directory: com.collaboraonline.mattermost: stat plugins/com.collaboraonline.mattermost/webapp/dist: no such file or directory”,“errorVerbose”:“stat plugins/com.collaboraonline.mattermost/webapp/dist: no such file or directory\nunable to copy webapp bundle directory: com.collaboraonline.mattermost\ngithub.com/mattermost/mattermost-server/v5/plugin.(*Environment).UnpackWebappBundle\n\tgithub.com/mattermost/mattermost-server/v5/plugin/environment.go:406\ngithub.com/mattermost/mattermost-server/v5/plugin.(*Environment).Activate\n\tgithub.com/mattermost/mattermost-server/v5/plugin/environment.go:256\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\nunable to generate webapp bundle: com.collaboraonline.mattermost\ngithub.com/mattermost/mattermost-server/v5/plugin.(*Environment).Activate\n\tgithub.com/mattermost/mattermost-server/v5/plugin/environment.go:258\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”}

Voici les log d’installation de collabora : https://paste.yunohost.org/raw/exakazoqef

Extrait de la console mattermost : gestion des plugin :

Merci d’avance si quelqu’un peu m’aider. Bonne soirée.

Thanks in advance if anyone can help me. Good night.

copie d’écran du plugin.json du plugin collabora.mattermost
screenshot of plugin.json from collabora.mattermost plugin

Hello,
Sorry for cluttered with a peripheral question
It was enough to compile the plugin before uploading it in the console, the answer was in the Readme!
Bravo for your work!

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.