[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: 2412
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
Product Manager, Zimbra/Synacor https://www.zimbra.com/
A Zetalliance Founder
phili67
Posts: 4
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

Return to “Zimbra Drive”

Who is online

Users browsing this forum: No registered users and 1 guest