Page 1 of 1

Missing conf file

Posted: Fri Mar 31, 2017 9:20 am
by alessandro.motta
Dear all,
i just upgraded our Zimbra 8.7.5 environment to Zimbra 8.7.6, but when i click on "Drive" i got an error.
I looked into mailbox.log and found this:

java.nio.file.NoSuchFileException: /opt/zimbra/lib/ext/zimbradrive/zimbradrive-extension.conf

Actually i can't find this file nowhere on my server.
I will try a clean install and let you know.

Best regards

Re: Missing conf file

Posted: Fri Mar 31, 2017 9:31 am
by gslongo
Same issue for me.. :-X

//EDIT: I opened a bug here : https://bugzilla.zimbra.com/show_bug.cgi?id=107800

Regards

Re: Missing conf file

Posted: Fri Mar 31, 2017 10:31 am
by alessandro.motta
I confirm this occurs with a clean install too.
Best regards

Re: Missing conf file

Posted: Fri Mar 31, 2017 10:46 am
by mikronaut
Hi,

Created config file as described by Davide in the bug (https://bugzilla.zimbra.com/show_bug.cgi?id=107798) and got communication with OC server

x.x.x.x - - [31/Mar/2017:12:42:13 +0200] "POST /apps/zimbradrive/api/1.0/GetAllFolders HTTP/1.1" 404 236
x.x.x.x - - [31/Mar/2017:12:42:13 +0200] "POST /apps/zimbradrive/api/1.0/SearchRequest HTTP/1.1" 404 236

Where is that app available for download??

Re: Missing conf file

Posted: Fri Mar 31, 2017 12:09 pm
by gslongo
mikronaut wrote:Hi,

Created config file as described by Davide in the bug (https://bugzilla.zimbra.com/show_bug.cgi?id=107798) and got communication with OC server

x.x.x.x - - [31/Mar/2017:12:42:13 +0200] "POST /apps/zimbradrive/api/1.0/GetAllFolders HTTP/1.1" 404 236
x.x.x.x - - [31/Mar/2017:12:42:13 +0200] "POST /apps/zimbradrive/api/1.0/SearchRequest HTTP/1.1" 404 236

Where is that app available for download??


I think there is a misunderstanding. I was initially thinking there was a built-in nextcloud app in the new release but this not seems to be the case. I think we have to install (and maintain) a third party NextCloud installation

Re: Missing conf file

Posted: Fri Mar 31, 2017 3:36 pm
by mikronaut
But can anyone tell where did this documentation come from?? Step 3 is about installing the nextcloud app and then activate it. So this is about running our own nextcloud instance. Where is that app??

Zimbra Drive
============

Zimbra and NextCloud integration.

Features:
- Use Zimbra credentials in NextCloud

## Installation

### 1. Install the Zimbra Extension
Install the Zimbra Extension and restart the mailbox to let the extension to be loaded correctly.

### 2. Configure the Zimbra Extension
Add a configuration file for the zimbra extension at `/opt/zimbra/lib/ext/zimbradrive/zimbradrive-extension.conf` with
the content like the example:
```json
{
"domains": {
"example.com": "https://nextcloud.example.com"
}
}
```

### 3. Install NextCloud ZimbraDrive App
Install and activate the `ZimbraDrive` App for NextCloud.

### 4. Configure NextCloud ZimbraDrive App
Configure the Zimbra Server into to the `Zimbra Drive` section in the **Admin Configuration** of Your NextCloud instance.

### 5. Edit NextCloud Configuration
Add these lines to the NextCloud configuration to allow Zimbra users to use their credentials to use NextCloud:
```php
'user_backends' => array (
0 => array (
'class' => 'OC_User_Zimbra',
'arguments' => array(),
),
),
```

Re: Missing conf file

Posted: Sat Apr 01, 2017 8:33 am
by zrl
Same here, where i can find the Nextcloud app ???

Re: Missing conf file

Posted: Sun Apr 02, 2017 11:49 pm
by jorgedlcruz
Hi guys,
The instructions will be available tomorrow on our Wiki

Best regards

Re: Missing conf file

Posted: Tue Apr 04, 2017 12:04 pm
by josifbg
I`ve followed the provided guide and here is what`s happening.

Whenever i hit "Drive" button on Zimbra i`ve got an error such as: "An error occurred on getting Drive folders"
Any ideas?