Pre-requisites
Installing Nextcloud
Nextcloud must be installed and operational.
Nextcloud is an independent product with no ties to BlueMind. For more information on getting and installing it and how it works, please go to https://Nextcloud.com/
When Nextcloud is running in Apache + PHP-FPM, it is not capable of retrieving the file's contents. The uploaded file therefore weighs 0 bytes and no error is reported to BlueMind or shown in logs.
About this Apache bug: https://bz.apache.org/bugzilla/show_bug.cgi?id=57087
The BlueMind plugin for Nextcloud will therefore not work if Nextcloud is deployed in a PHP-FPM on Apache. You must use mod_php or Nginx+PHP-FPM.
Uninstalling BlueMind document storage
From BlueMind 3.5.9, Nextcloud can be used:
- alongside with BlueMind's internal storage: if the user doesn't fill in a Nextcloud login ID, BlueMind will be used.
To do this, install the files as shown in the section below. instead of BlueMind's internal storage: if the user doesn't fill in a BlueMind login ID, they will not have access to the linked attachments feature.
To do this, uninstall the BlueMind file hosting package:
- alongside with BlueMind's internal storage: if the user doesn't fill in a Nextcloud login ID, BlueMind will be used.
aptitude remove bm-plugin-core-filehosting-filesystem bmctl restart
BlueMind has to be restarted for uninstallation to be complete but it doesn't have to be done immediately. You can install Nexcloud as shown below and restart later.
Then proceed to the installation as described in the next section.
Installation
BlueMind 3.5.7, 3.5.8 and 3.5.8-*
For versions earlier than 3.5.9, Nextcloud can only be used as a replacement for BlueMind's internal storage. For these versions, you must therefore uninstall the dedicated package:
aptitude remove bm-plugin-core-filehosting-filesystem
- Download and extract the archive in the BlueMind marketplace
- Get the jar files contained:
- in the
net.bluemind.filehosting.nextcloud
folder - in the
net.bluemind.filehosting.nextcloud*
folder for your version of Nextcloud
- in the
- Note: The folders provided for version 12 are compatible with all subsequent versions.
Place these 2 files on the server in the directory
/usr/share/bm-core/extensions/
- Delete the directory
/var/lib/bm-core
Restart the bm-core service:
service bm-core restart
- Place the file
net.bluemind.ui.adminconsole.nextcloud.settings-*.jar
on the server in the directory/usr/share/bm-webserver/extensions
- Delete the directory
/var/lib/bm-webserver
Restart the webserver :
service bm-webserver restart
Configuration
For all domains
Only the platform administrator is able to connect BlueMind to Nextcloud for all domains:
- log into the admin console as admin0
- go to System Management > System Configuration > Nextcloud tab
- enter the Nextcloud WebDAV database's url:
For a specific domain
Anyone with the "Domain Administrator" role for a specific domain can configure BlueMind to connect to Nextcloud for this domain.
- connect to the admin console as domain administrator
- go to System Management > Manage Domain > select the domain > Nextcloud tab
- enter the Nextcloud WebDAV database's url:
Connecting user accounts
Once Nextcloud has been properly installed and configured, users can connect their Nextcloud account to their BlueMind account.
To find out more about how to proceed and how to use this feature, please go to the BlueMind User's Guide page Large files and linked attachments
2 Comments
Floribert Musquet
Bonjour,
Une mise à jour pour Nextcloud 16 est-elle prévue s'il vous plaît ?
Thomas Fricker
Bonjour,
vous pouvez utiliser le plugin Bluemind pour la version 12 de Nextcloud. Ce Plugin est compatible avec les versions Nextcloud >= 12