Setting Up Zimbra’s Nextcloud Zimlet
Hi Zimbra Friends, Partners & Customers,
Today’s post is from Barry de Graaff, Channel Evangelist for Zimbra Synacor, and it shows you how to configure the Nextcloud Zimlet. Nextcloud is an open source file hosting service similar to Zimbra Briefcase, Google Drive and Dropbox, but it can be hosted on-premises. With the Nextcloud Zimlet installed, your users can use Nextcloud for file storage in Zimbra.
This Zimlet works in Zimbra Modern UI which is available for Zimbra 9 and above.
Barry uses these examples:
- NextCloud Server – nextcloud.server.com
- Zimbra Server – myzimbra.server.com
- Domain – example.com
You can skip step #1 if you already have a Nextcloud server set up. |
- Setup a Nextcloud server by following this video – https://www.youtube.com/watch?v=QXfsi0pwgYw
- Install the Nextcloud Zimlet and its dependencies on your Zimbra server:
- To install on Red Hat and CentOS, run:
yum install zimbra-zimlet-nextcloud
- To install on Ubuntu, run:
apt-get install zimbra-zimlet-nextcloud
- Restart zmmailbox server:
su - zimbra zmmailboxdctl restart
- To install on Red Hat and CentOS, run:
- On the Nextcloud server, update the below configuration in
/etc/httpd/conf.d/nextcloud-ssl.conf
RewriteEngine On RewriteCond %{HTTP:Authorization} ^(.*) RewriteRule .* - [e=HTTP_AUTHORIZATION:%1]
- Login to Nextcloud server URL https://nextcloud.server.com and navigate to Settings → Administration → Security.
- In Brute-force IP whitelist section, specify the Zimbra server’s IP Range.
- In OAuth 2.0 clients section, specify the Name and Redirection URL of the Zimbra server. For e.g.:
Specify Name –
My Zimbra Server
Specify Redirection URL – https://myzimbra.server.com/service/extension/oauth2/authenticate/nextcloud
- Copy the Client Identifier and Client Secret fields for the above entered Client. This will be used to update LDAP related configuration in the next step.
To enable Nextcloud for domain example.com, add LDAP entries for it by executing the following commands:
zmprov md example.com zimbraOAuthConsumerCredentials <Client Identifier>:<Client Secret>:nextcloud zmprov md example.com zimbraOAuthConsumerRedirectUri https://myzimbra.server.com/service/extension/oauth2/authenticate/nextcloud:nextcloud zmprov md example.com zimbraOAuthConsumerAPIScope 'https://nextcloud.server.com/nextcloud/index.php:nextcloud_noop'
When the Nextcloud Zimlet is set up and ready to go on your mail server, your users can …
Link to their Nextcloud account on the cloud tab.
Add files from Nextcloud to emails as attachments, links and inline.
Hi,
I already follow the instructions. However, the nextcloud tab does not appear. I already install/reinstall zimlet. I am using this version
Release 9.0.0.GA.3924.UBUNTU16.64 UBUNTU16_64 NETWORK edition, Patch 9.0.0_P9.
Hi Ahmad – if you are still not seeing the Nexcloud tab, please ask this question in forums.zimbra.com. Thanks!
Very good nes thank you . Google Drive and Dropbox, but it can be hosted on-premises. With the Nextcloud Zimlet installed, your users can use Nextcloud for file storage in Zimbra