Introduction

BlueMind 3.5.7 introduces the possibility to connect to an external drive, starting with Nextcloud.

Users are now able to use their Nextcloud personal space to manage the files they send via BlueMind mail and enjoy the advantages of their drive: file structure, moving, deleting, security, synchronization with other apps, etc.

Tool handling for administrators is improved: easier, more detailed disk space management, user-specific management, centralized data, security and back-up monitoring.

Supported versions

BlueMind supports Nextcloud version 11 and above.

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:

    1. 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.
    2. 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:


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

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 
  • 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 Fichiers volumineux et detachement des pieces jointes