Zimbra drive Nextcloud auth problem [Work around]

All about Zimbra Drive
hmobron
Posts: 5
Joined: Mon Oct 09, 2017 5:28 am
Contact:

Zimbra drive Nextcloud auth problem [Work around]

Postby hmobron » Mon Oct 09, 2017 9:54 am

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:https://xx.xx.ws/service/soap/BatchRequest] [ip=00.00.000.00;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: 'hans@xxx.ws' (Remote IP: 00.00.000.000)

I did run zmprov md xxx.ws 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 00.00.000.000 401 POST /index.php/apps/zimbradrive/api/1.0/UploadFile HTTP/1.0
Last edited by hmobron on Sat Oct 21, 2017 7:16 am, edited 2 times in total.


BurntTech
Posts: 6
Joined: Wed Apr 15, 2015 2:40 pm

Re: Zimbra drive Nextcloud auth problem

Postby BurntTech » Mon Oct 09, 2017 4:30 pm

Sounds like same issues with the new nextcloud drive app/nextcloud 12

viewtopic.php?f=58&t=62868
Last edited by BurntTech on Tue Oct 10, 2017 3:23 pm, edited 1 time in total.
hmobron
Posts: 5
Joined: Mon Oct 09, 2017 5:28 am
Contact:

Re: Zimbra drive Nextcloud auth problem

Postby hmobron » Wed Oct 18, 2017 1:09 pm

Is there any update about this problem?

Or did i post on the wrong place.
hmobron
Posts: 5
Joined: Mon Oct 09, 2017 5:28 am
Contact:

Re: Zimbra drive Nextcloud auth problem [Work around]

Postby hmobron » Fri Oct 20, 2017 5:59 am

Oke for other people white the same problem,

When you install zimbra 8.7.10 and install ZinbraDrive from https://github.com/ZeXtras/zimbra-drive ... 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.
hmobron
Posts: 5
Joined: Mon Oct 09, 2017 5:28 am
Contact:

Re: Zimbra drive Nextcloud auth problem [Work around]

Postby hmobron » Tue Oct 31, 2017 7:09 am

You can download the work around here: https://github.com/HansHM/zibradrive-multi-auth

Return to “Zimbra Drive”

Who is online

Users browsing this forum: No registered users and 1 guest