Do you have access to the config.json file of your mattermost instance? If so, please change the value for EnableUploads in the PluginSettings section from “false” to “true” and restart your server then.
sed -i -e 's/"EnableUploads": false/"EnableUploads": true/' /opt/mattermost/config/config.json
systemctl restart mattermost
You should then see a file upload picker in the “System console” → “Plugin Management” → “Upload Plugin” control.
Mattermost Team Edition
All your team communication in one place, instantly searchable and accessible anywhere.
Mattermost Version: 7.1.2
Database Schema Version: 89
Join the Mattermost community
Copyright 2015 - 2022 Mattermost, Inc. All rights reserved
Collabora Online from YUNOHOST ID : collabora Libellé : Collabora Online Description : Suite office en ligne et collaborative, basée sur LibreOffice Version : 188.8.131.52~ynh1 Peut être installée plusieurs fois : Non Date d’installation : 11 août 2022 à 09:56:13 URL : …libro.jreservices.fr
Thanks, I could successfully install the plugin version 1.1.0 on my Mattermost setup with version 7.1.2, so the plugin is compatible and works.
Not sure what the special thing about Yunohost is, I never worked with them - do you have SSH access to the server where you installed the Mattermost application so we can check on the logs?
I did spin up a new virtual machine and set up Yunohost on it in order to reproduce your issue.
After I installed the mattermost application to it, I ran the following commands via SSH on the yunohost server:
sed -i -e 's/"EnableUploads": false/"EnableUploads": true/' /var/www/mattermost/config/config.json
sed -i -e 's/"EnableLocalMode": false/"EnableLocalMode": true/' /var/www/mattermost/config/config.json
systemctl restart mattermost
This will enable the plugin upload and the local mode. Local Mode needs a restart, so restart the service then.
Afterwards, you will immediately see the upload button available in system console:
Did you set up the URL for your collabora online instance in the plugin settings? I did not have such a URL, so my logs were getting full of errors about not being able to query the cloud service. Did you put in the correct URL after enabling the plugin? On the FAQ page of the plugin it says that all changes to the settings require a restart of the plugin, so disable and enable it again to see if that helps.
I don’t have an online instance of collabora online and I tried to install it on my yunohost installation, but that’s currently broken as it seems, so I’m not sure waht could go wrong here since I cannot test the integration myself.
Anyways, can you see anything in the mattermost.log file that’s relevant? Can you post the last 100 lines (tail -100 /var/www/mattermost/logs/mattermost.log) if re-enabling the plugin didn’t work so I can look for additional errors?
Also, can you maybe share a screenshot of what you’re seeing? Maybe the plugin is disabling the edit button if the communication with your collabora online server is not working or not properly established.
Can you SSH into your Yunohost server where mattermost is installed? Usually, Yunohost allows SSH login with the username “admin” and the password you configured during installation. You can use a tool like putty to connect via SSH to your server, just enter the IP address in the box then and a black window will open where you can type the username and password. Once in, you will need to switch to a root account using su - and then you can access the logfiles. I’ve prepared a screenshot for you, hope that helps:
You can then just copy and paste the logilnes, make sure to show more logs than in my example, I just printed the last line (-1).