Cant open Drive from zimbra - Zimbra 8.8.9 / Nextcloud 13.0.5 / zimbradrive 0.8.19

All about Zimbra Drive
Post Reply
scarabaeus
Posts: 2
Joined: Thu Aug 30, 2018 10:57 pm

Cant open Drive from zimbra - Zimbra 8.8.9 / Nextcloud 13.0.5 / zimbradrive 0.8.19

Post by scarabaeus »

Hello evebody :).

I have a zimbra server and a nextcloud server. I discover the zimbradrive app. It appear to be amazing :).
I follow this tuto https://wiki.zimbra.com/wiki/Zimbra_Dri ... mbra_Drive

The result is :

---when i try from nexcloud :
--> The test page is ok :
[OK] Zimbra Drive app installation test : Zimbra Drive app is installed.
[OK] Enabled Zimbra's users test : Zimbra's users are enabled.
[OK] Enabled Zimbra's user login : Zimbra Drive authentication is enabled.
[OK] Is server url set test : The server url is set.
[OK] Is server port set test : The server port is set.
[OK] Zimbra host connection test : Zimbra Drive app can reach the host.
[OK] Zimbra authentication page connection test : Zimbra Drive app can reach Zimbra's authentication page.
[OK] Zimbra Drive extension connection test : Zimbra Drive app can reach Zimbra Drive extension.
--> i can connect to zimbra

I dont use these options to configure the app on nexcloud :
Enable certificate verification
Domain PreauthKey

---when i try from zimbra : the Drive buton in my interface do nothing.

Here is my version used :
Zimbra 8.8.9
Nextcloud 13.0.5
zimbradrive 0.8.19

I see nothing in the log of nexcloud and the log of zimbra.

Something appear strange because in the tuto for ZCS 8.7.6 only you have to run this command and edit the file :
vi /opt/zimbra/lib/ext/zimbradrive/zimbradrive-extension.conf
When i check on my zimbra, after run the command for my version (with good URL and domain name):
zmprov md dominio.com zimbraDriveOwnCloudURL 'http://nextcloud.dominio.com/index.php'
zmcontrol restart
I dont find /opt/zimbra/lib/ext/zimbradrive/zimbradrive-extension.conf but only the exemple file.

it's the same thing with the last version
Zimbra 8.8.9 pacth 4
Nextcloud 13.0.6
zimbradrive 0.8.20

https://bugzilla.zimbra.com/show_bug.cgi?id=109035

Can you help ?

Thanks :)
Last edited by scarabaeus on Sun Sep 02, 2018 9:41 am, edited 3 times in total.
User avatar
Veera
Posts: 14
Joined: Fri Aug 31, 2018 8:43 am
ZCS/ZD Version: Release 8.8.12.GA.3794.UBUNTU18.64
Contact:

Re: Cant open Drive from zimbra - Zimbra 8.8.9 / Nextcloud 13.0.5 / zimbradrive 0.8.19

Post by Veera »

Hi,

I have exactly the same problem, click on the Drive button in Zimbra nothing happens.

My almost identical versions:
Zimbra 8.8.8 (on Ubuntu 16.04)
Nextcloud 13.0.6
zimbradrive 0.8.19

but additionaly I'm getting the following error messages on NextCloud:

Error PHP Undefined index: COUNT(*) at /var/www/html/apps/zimbradrive/lib/auth/zimbrausersbackendindb.php#228 2018-08-30T22:09:00+0200
Error PHP Undefined index: COUNT(*) at /var/www/html/apps/zimbradrive/lib/auth/zimbrausersbackendindb.php#228 2018-08-30T22:08:59+0200
Error PHP Undefined index: COUNT(*) at /var/www/html/apps/zimbradrive/lib/auth/zimbrausersbackendindb.php#228 2018-08-30T22:08:59+0200
Error PHP Undefined index: COUNT(*) at /var/www/html/apps/zimbradrive/lib/auth/zimbrausersbackendindb.php#228 2018-08-30T22:08:59+0200
Error PHP Undefined index: COUNT(*) at /var/www/html/apps/zimbradrive/lib/auth/zimbrausersbackendindb.php#228 2018-08-30T22:08:59+0200
Error PHP Undefined index: COUNT(*) at /var/www/html/apps/zimbradrive/lib/auth/zimbrausersbackendindb.php#228 2018-08-30T22:08:58+0200
etc. ....

Anyone any idea?

thanks

Veera
User avatar
maumar
Outstanding Member
Outstanding Member
Posts: 390
Joined: Fri Sep 12, 2014 10:28 pm

Re: Cant open Drive from zimbra - Zimbra 8.8.9 / Nextcloud 13.0.5 / zimbradrive 0.8.19

Post by maumar »

scarabaeus wrote: Zimbra 8.8.9 pacth 4
Nextcloud 13.0.6
zimbradrive 0.8.20
where did you got zimbradrive 0.8.20 ?
on git I see
https://github.com/ZeXtras/zimbra-drive/tags

Code: Select all

app-v0.8.19

Updated *Cloud App version to 0.8.19

    on Mar 15 64d144b zip tar.gz 
User avatar
Veera
Posts: 14
Joined: Fri Aug 31, 2018 8:43 am
ZCS/ZD Version: Release 8.8.12.GA.3794.UBUNTU18.64
Contact:

Re: Cant open Drive from zimbra - Zimbra 8.8.9 / Nextcloud 13.0.5 / zimbradrive 0.8.19

Post by Veera »

in my case it is 0.8.19 but look at this:
Version 0.8.20
Version 0.8.20
Screenshot from 2018-09-05 10-51-29.png (14.53 KiB) Viewed 31549 times
there is an update to version 0.8.20 ???
rcsanne
Posts: 1
Joined: Thu Oct 11, 2018 1:00 am

Re: Cant open Drive from zimbra - Zimbra 8.8.9 / Nextcloud 13.0.5 / zimbradrive 0.8.19

Post by rcsanne »

Hi All,

can someone help me, please. I'm trying to test the connection between zimbra and nextckoud.
Below is the result. Still failed

[OK] Zimbra Drive app installation test : Zimbra Drive app is installed.

[OK] Enabled Zimbra's users test : Zimbra's users are enabled.

[OK] Enabled Zimbra's user login : Zimbra Drive authentication is enabled.

[OK] Is server url set test : The server url is set.

[OK] Is server port set test : The server port is set.

[OK] Zimbra host connection test : Zimbra Drive app can reach the host.

[FAILED] Zimbra authentication page connection test : Impossible to connect to Zimbra ( ssl verify result: )

[FAILED] Zimbra Drive extension connection test : Impossible to connect to Zimbra Drive extension (response http code: 0 )


And when I clicked the Zimbra button on the nextcloud here is the error:
HTTP ERROR 400
Problem accessing /service/preauth. Reason:

authentication failed for [admin]
pasbag
Posts: 15
Joined: Tue Jun 21, 2016 5:28 am

Re: Cant open Drive from zimbra - Zimbra 8.8.9 / Nextcloud 13.0.5 / zimbradrive 0.8.19

Post by pasbag »

I installed zimbra 8.7.11 [open source] and next cloud 20.0.3. Both of them are in docker environment. Then i configured nextcloud to connect to zimbra and and also set zimbraDriveOwnCloudURL in zimbra server.
I had this problem and when i clicked on

Code: Select all

 my drive
in zimbra panel , i got a error

Code: Select all

unable to connect to server
.
I solved the problem by
1- set

Code: Select all

generateDomainPreAuthKey
in zimbra server

Code: Select all

zmprov generateDomainPreAuthKey test.io
2- set preauthkey in nextcloud panel in zimbradrive application

3- I think your servers should sync together. Please refer this page https://wiki.zimbra.com/wiki/Preauth

4- In nextcloud panel, in users section, i set email address for my zimbra account
Post Reply