Page 1 of 1

Zimbra drive Nextcloud auth problem [Work around]

Posted: Mon Oct 09, 2017 9:54 am
by hmobron
Hello all,

I have the following setup:

A) Mail server, Centos 7 daily updated, running Zimbra Release 8.7.11_GA_1854.RHEL7_64_20170531151956 RHEL7_64 FOSS edition. Include Zimbra drive
B) Plesk 17.5, Centos 7 weekly updated, Virtualhost whit Nextcloud version 12.0.3, PHP 7.0 and 7.1 tested.

Both working separated as expected, but between the both off them, there is something wrong.

When I create a account om the mailserver side, the user can login at the mail page and browse the Nextcloud, Zimbra drive without any errors. Except uploading. At the client side the follow errors appeared: At the top off the page: Unknown status code, and a popup: Error when uploading file. At the javascript console appear: VM661:1 POST https://xx.xx.xx/service/extension/ZimbraDrive_Upload 401 (Unauthorized)
Mailbox.log: none errors. At the access_log.2017-10-09:
2017-10-09 09:26:02,349 INFO [qtp127618319-8514:https:] [ip=;port=35644;] SoapEngine - Only BatchRequest does not have a handler mapped to it. Request: /service/soap/ BatchRequest, does not have a handler, log for future handling.
2017-10-09 09:26:0200.00.000.000 - - [09/Oct/2017:09:26:02 +0000] "POST https://mail.xx.xx:8443/service/extensi ... braBackend HTTP/1.1" 500 287 "-" "-" 3

At the same time owncloud.log: Warning core Login failed: '' (Remote IP:

I did run zmprov md zimbraDriveOwnCloudURL https://xxx.xx.xx/index.php And added the mailserver as trusted on Nextcloud, but I don’t think this is the problem.

This is more concerning and i can’t find where to look for the problem: https://mail.xx.xx:8443/service/extensi ... braBackend error 500

At the side off Nexcloud, the user can’t login at all, meing full emailadres as username. When I install the Zimbradrive plugin and fill in the form whit the normal port 443 [FAILED] Zimbra Drive extension connection test : Impossible to connect to Zimbra Drive extension (response http code: 400 ) And port 8443 returns [OK] Zimbra Drive extension connection test : Zimbra Drive app can reach Zimbra Drive extension.

Edit 10-10-2017:
I knew there was an other error message, i found at the side off Nextcloud in the Virthualhost httpd.log:
2017-10-10 06:29:29 Error 401 POST /index.php/apps/zimbradrive/api/1.0/UploadFile HTTP/1.0

Re: Zimbra drive Nextcloud auth problem

Posted: Mon Oct 09, 2017 4:30 pm
by BurntTech
Sounds like same issues with the new nextcloud drive app/nextcloud 12


Re: Zimbra drive Nextcloud auth problem

Posted: Wed Oct 18, 2017 1:09 pm
by hmobron
Is there any update about this problem?

Or did i post on the wrong place.

Re: Zimbra drive Nextcloud auth problem [Work around]

Posted: Fri Oct 20, 2017 5:59 am
by hmobron
Oke for other people white the same problem,

When you install zimbra 8.7.10 and install ZinbraDrive from ... ase/8.7.10 change the file appinfo/info.xml max-version="11" to max-version="12" and <version>0.8.10</version> to <version>0.8.15</version>

Everything is working smoothly.

Maybe there is some one whit a higher version of Zimbra and can test the work around by download and install the older version of Zimbra drive and change the app info file.

Re: Zimbra drive Nextcloud auth problem [Work around]

Posted: Tue Oct 31, 2017 7:09 am
by hmobron
You can download the work around here: