[FIXED] An error occurred on getting Drive folders

All about Zimbra Drive
aleks.p
Posts: 4
Joined: Wed Apr 05, 2017 6:52 am

[FIXED] An error occurred on getting Drive folders

Postby aleks.p » Wed Apr 05, 2017 6:55 am

Message "An error occurred on getting Drive folders" when i select tab "Drive"

All settings made according guide.

NextCloud - 11.0.1.2


aleks.p
Posts: 4
Joined: Wed Apr 05, 2017 6:52 am

Re: An error occurred on getting Drive folders

Postby aleks.p » Wed Apr 05, 2017 8:39 am

I fix it!

In zimbra log mailbox.log i found message "java.lang.RuntimeException: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target"
My NextCloud server use self-signed certificate (HTTPS over SSL)
I save certificate with .der extension and import certificate into Zimbra server:

keytool -import -alias example -keystore /opt/zimbra/common/etc/java/cacerts -file example.der

I do it under "zimbra" user...
mrcatta
Posts: 2
Joined: Fri Apr 21, 2017 4:09 pm

Re: [FIXED] An error occurred on getting Drive folders

Postby mrcatta » Tue Apr 25, 2017 3:20 pm

No me funciona, me da el siguiente error:
error de herramienta de claves: java.io.IOException: Keystore was tampered with, or password was incorrect
mrcatta
Posts: 2
Joined: Fri Apr 21, 2017 4:09 pm

Re: [FIXED] An error occurred on getting Drive folders

Postby mrcatta » Thu Apr 27, 2017 4:05 pm

I have the same problem, but when I put the command it says:
Java.io.IOException: Keystore was tampered with, or password was incorrect
User avatar
jorgedlcruz
Zimbra Employee
Zimbra Employee
Posts: 2694
Joined: Thu May 22, 2014 4:47 pm

Re: [FIXED] An error occurred on getting Drive folders

Postby jorgedlcruz » Thu Apr 27, 2017 10:36 pm

You can try with ZCS 8.7.8 after do a backup, it might work better, but 8.7.8 it's only for testing and development
Jorge de la Cruz https://jorgedelacruz.es
Technical Marketing Manager at Zimbra/Synacor https://www.zimbra.com/
phili67
Posts: 10
Joined: Thu May 04, 2017 9:07 am
Location: France
Contact:

Re: [FIXED] An error occurred on getting Drive folders

Postby phili67 » Thu May 04, 2017 9:12 am

I installed zcs 8.7.7 from the 8.6 version, and I've installed the Drive.
Everything is working great, but I get exactly the same error.
I've installed nextCloud 11.0.3
I 've followed your tutorial, but it's impossible to make the connexion between zimbra and nextCloud.
Could you give me an advice.
josh
Posts: 2
Joined: Mon May 01, 2017 7:32 pm

Re: [FIXED] An error occurred on getting Drive folders

Postby josh » Thu May 04, 2017 2:55 pm

phili67 wrote:I installed zcs 8.7.7 from the 8.6 version, and I've installed the Drive.
Everything is working great, but I get exactly the same error.
I've installed nextCloud 11.0.3
I 've followed your tutorial, but it's impossible to make the connexion between zimbra and nextCloud.
Could you give me an advice.


I'm having the exact same issue as you. When I click on "Drive" I see the error getting drive folders.

On the nextcloud server it receives the request but is responding with an HTTP 400 bad request.

Code: Select all

x.x.x.x - - [04/May/2017:09:52:56 -0500] "POST /index.php/apps/zimbradrive/api/1.0/GetAllFolders HTTP/1.1" 400 12312 "-" "Apache-HttpClient/4.2.1 (Java/1.8.0_92-zimbra)"
x.x.x.x - - [04/May/2017:09:52:56 -0500] "POST /index.php/apps/zimbradrive/api/1.0/SearchRequest HTTP/1.1" 400 12312 "-" "Apache-HttpClient/4.2.1 (Java/1.8.0_92-zimbra)"
aleks.p
Posts: 4
Joined: Wed Apr 05, 2017 6:52 am

Re: [FIXED] An error occurred on getting Drive folders

Postby aleks.p » Mon May 15, 2017 6:34 am

After upgrade zimbra from 8.7.6 to 8.7.9 i do next step (from tutorial)

Code: Select all

zmprov md dominio.com zimbraDriveOwnCloudURL 'http://nextcloud.dominio.com/index.php'
zmcontrol restart

but it's not work for me. (I use ssl)

Right command:

Code: Select all

zmprov md dominio.com zimbraDriveOwnCloudURL 'https://nextcloud.dominio.com/index.php'


I hope, this helps someone
MisterM75
Advanced member
Advanced member
Posts: 66
Joined: Sat Aug 05, 2017 7:10 am

Re: [FIXED] An error occurred on getting Drive folders

Postby MisterM75 » Sat Sep 23, 2017 8:34 pm

After upgrade zimbra from 8.7.6 to 8.7.9 i do next step (from tutorial)

Code: Select all
zmprov md dominio.com zimbraDriveOwnCloudURL 'http://nextcloud.dominio.com/index.php'
zmcontrol restart

but it's not work for me. (I use ssl)

Right command:

Code: Select all
zmprov md dominio.com zimbraDriveOwnCloudURL 'https://nextcloud.dominio.com/index.php'


I hope, this helps someone


The same worries are in the stable version at the moment.

The worst part of this is the synchronization between NextCloud and Zimbra (User), works, not in the opposite direction.

What I mean is that when I log in with NextCloud, I do it with my user access to my webmail.

Here is

Also, I just tested the version Nextcloud 11.0.5 (stable), under chrome and with the version of php 5.6 and it does not work, I repeat myself again, it happens to connect, via the webmail .. because when I connect to my cloud, the user is creating, and via the webmail, drive, it crashes ...

Crazy

Mz
Javier Garcia Alarcon
Posts: 38
Joined: Sat Dec 27, 2014 7:09 pm

Re: [FIXED] An error occurred on getting Drive folders

Postby Javier Garcia Alarcon » Tue Oct 24, 2017 6:56 pm

Hello All
I think perhaps i ve reach a solution
I had the same problem with owncloud 9 and owncloud10.
All worked after this steps:
1) Include a dns entry A type as mynameserver.mydomain.xx in A a.b.c.d
2) Configure reverse dns for this
3) Get a Let's encrypt free certificate and install it

An after all works.

Perhaps can help someone... i Think that if you uses a self signed certificate, it does not work and needs a perfect dns setup.

best regards

Return to “Zimbra Drive”

Who is online

Users browsing this forum: No registered users and 1 guest