Zimbra Drive - Official apps for Owncloud/Nextcloud

All about Zimbra Drive
User avatar
jorgedlcruz
Zimbra Alumni
Zimbra Alumni
Posts: 2782
Joined: Thu May 22, 2014 4:47 pm

Zimbra Drive - Official apps for Owncloud/Nextcloud

Post by jorgedlcruz »

Hi guys,
For the last couple of weeks some of the issues we were seeing on this Forum were related about the application on the Owncloud/Nextcloud, for that reason we are thrilled to announce that we have Official apps for both, Nextcloud and Owncloud, please go ahead and grab them here: We also have updated the Installation Wiki for Zimbra Drive, in particular the section related to the Drive apps: We encourage the Users with issues to try this new apps and let us know.

Thank you for your patience
Jorge de la Cruz https://jorgedelacruz.es
Systems Engineer at Veeam Software https://www.veeam.com/
User avatar
L. Mark Stone
Ambassador
Ambassador
Posts: 2796
Joined: Wed Oct 09, 2013 11:35 am
Location: Portland, Maine, US
ZCS/ZD Version: 10.0.6 Network Edition
Contact:

Re: Zimbra Drive - Official apps for Owncloud/Nextcloud

Post by L. Mark Stone »

Hi Jorge,

I posted in the 8.8 Beta section but thought I should post here for production users...

The Zimbra Drive NextCloud application only works with NextCloud 9 through 11. NextCloud 12 is now GA; we set up a NextCloud 12 server for Zimbra 8.8 beta testing (and eventual production use) and are unable to Enable the current Zimbra Drive application in NextCloud.

Thanks!
Mark
___________________________________
L. Mark Stone
Mission Critical Email - Zimbra VAR/BSP/Training Partner https://www.missioncriticalemail.com/
AWS Certified Solutions Architect-Associate
User avatar
jorgedlcruz
Zimbra Alumni
Zimbra Alumni
Posts: 2782
Joined: Thu May 22, 2014 4:47 pm

Re: Zimbra Drive - Official apps for Owncloud/Nextcloud

Post by jorgedlcruz »

Hi Mark,
I've raised this issue with the Zextras team, and we will investigate it and add a new app soon, please find more information here: Thank you
Jorge de la Cruz https://jorgedelacruz.es
Systems Engineer at Veeam Software https://www.veeam.com/
josip.macek
Posts: 11
Joined: Wed Aug 24, 2016 1:27 pm

Re: Zimbra Drive - Official apps for Owncloud/Nextcloud

Post by josip.macek »

Hello,

I have installed zimbra 8.8.6 and i have NextCloud 12 that works fine.
I installed latest app of ZimbraDrive put all my data in but i get

[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.

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

My setup:
Centos 6.9
Zimbra 8.8.6
NextCloud 12

When i log in to zimbra and go to "Drive" i can pass that step but everything is empty.
When i login to NextCloud and go to users i can se that some strange user appears something like 8df3-3fvr34t-2432r-f32 group is zimbra... and if i login to cli and navigate to location of home folder for that user ( i get location from next cloud ) i can see folders there that i created from zimbra...
Btw i can only create folders i cant upload anything.
( if i create folder in cli i cannot see it in zimbra drive :) )

I updated zimbra and next only for this cool feature...
Can you hellp ?
User avatar
zimico
Outstanding Member
Outstanding Member
Posts: 225
Joined: Mon Nov 14, 2016 8:03 am
Location: Vietnam
ZCS/ZD Version: 8.8.15 P3
Contact:

Re: Zimbra Drive - Official apps for Owncloud/Nextcloud

Post by zimico »

Hi,

If you find in nginx log somethings about "client sent invalid "Content-Length" header while reading client request headers" then you can look at http://forums.zimbra.org/viewtopic.php? ... 10#p282160
You need at least php 7.1.14 and curl 7.38.0 and above.

Regards,
josip.macek
Posts: 11
Joined: Wed Aug 24, 2016 1:27 pm

Re: Zimbra Drive - Official apps for Owncloud/Nextcloud

Post by josip.macek »

Hy,

Update on problem. In nextcloud i typed in local IP address of my mail server and not port that I'm using for webmail i typed in not secure postfix port 8080.
Test is now ok.
I can see files now but when i want to download them i get 404....

Any known fixes for that ?
User avatar
zimico
Outstanding Member
Outstanding Member
Posts: 225
Joined: Mon Nov 14, 2016 8:03 am
Location: Vietnam
ZCS/ZD Version: 8.8.15 P3
Contact:

Re: Zimbra Drive - Official apps for Owncloud/Nextcloud

Post by zimico »

I think you should solve the root cause first rather than work around. You should use standard configuration as described in the WIKI and then come back with error log info if any.

Regards,
josip.macek
Posts: 11
Joined: Wed Aug 24, 2016 1:27 pm

Re: Zimbra Drive - Official apps for Owncloud/Nextcloud

Post by josip.macek »

Hello,

I'w worked things up. Drive option is working for me.
This is my setup.
NextCloud 12.0.5 on Centos 7.1
Zimbra 8.8.6_GA_1906.RHEL6_64_20171130041047 on centos 6.9

I still have this error [FAILED] Zimbra Drive extension connection test : Impossible to connect to Zimbra Drive extension (response http code: 400 )

Procedure to follow:
When I log on to my zimbra web server I go to address https://mail.domain.com/ and when the login in is successful URL goes to https://mail.domain.com/zimbra/#1
Then you click on Drive and you can see files listed in your cloud acc. You can even rename the file but when you click to open it it gives error 404 file not found.
In that error file not found you can click on "Return" button. When you click on it another zimbra webpage loads inside that document preview window. In that window you can navigate one more to "Drive" and when it opens you can see files upload files rename .....everything works.
So i inspected what is URL in that "Return" button and i see that URL is https://mail.domain.com/ (Without /zimbra/#1)
In my browser i simply remove /zimbra/ from URL and reload page. Webclient worked fine without that /zimbra/ in URL. I clicked on "Drive" and everything is working regardles the error in NextClud. Error is the same as before ( [FAILED] Zimbra Drive extension connection test : Impossible to connect to Zimbra Drive extension (response http code: 400 ) )

I hope this helps someone out to investigate problems.

Can someone navigate me to change that URL in zimbra so Zimbra Webpage don't add /zimbra/ in url after login in acc.
Or can i manually add /zimbra/ in NextCloud app some ware in code.

I will continue to investigate and if I find out how to change that i will keep you posted.

Tnx
josip.macek
Posts: 11
Joined: Wed Aug 24, 2016 1:27 pm

Re: Zimbra Drive - Official apps for Owncloud/Nextcloud

Post by josip.macek »

One more thing. Resolution for not seeing files and Users appearing on some special numbers ( Zimbra acc ID ) is to replace original ZimbraDrive app files with this one.
https://github.com/HansHM/zibradrive-multi-auth
josip.macek wrote:Hello,

I'w worked things up. Drive option is working for me.
This is my setup.
NextCloud 12.0.5 on Centos 7.1
Zimbra 8.8.6_GA_1906.RHEL6_64_20171130041047 on centos 6.9

I still have this error [FAILED] Zimbra Drive extension connection test : Impossible to connect to Zimbra Drive extension (response http code: 400 )

Procedure to follow:
When I log on to my zimbra web server I go to address https://mail.domain.com/ and when the login in is successful URL goes to https://mail.domain.com/zimbra/#1
Then you click on Drive and you can see files listed in your cloud acc. You can even rename the file but when you click to open it it gives error 404 file not found.
In that error file not found you can click on "Return" button. When you click on it another zimbra webpage loads inside that document preview window. In that window you can navigate one more to "Drive" and when it opens you can see files upload files rename .....everything works.
So i inspected what is URL in that "Return" button and i see that URL is https://mail.domain.com/ (Without /zimbra/#1)
In my browser i simply remove /zimbra/ from URL and reload page. Webclient worked fine without that /zimbra/ in URL. I clicked on "Drive" and everything is working regardles the error in NextClud. Error is the same as before ( [FAILED] Zimbra Drive extension connection test : Impossible to connect to Zimbra Drive extension (response http code: 400 ) )

I hope this helps someone out to investigate problems.

Can someone navigate me to change that URL in zimbra so Zimbra Webpage don't add /zimbra/ in url after login in acc.
Or can i manually add /zimbra/ in NextCloud app some ware in code.

I will continue to investigate and if I find out how to change that i will keep you posted.

Tnx
gvargas99
Posts: 3
Joined: Sat Dec 08, 2018 7:58 pm

Re: Zimbra Drive - Official apps for Owncloud/Nextcloud

Post by gvargas99 »

Hi,

Any ideas on getting Zimbra Drive to work with NextCloud 14 or 15?? This is a very important feature but there is no integration yet
Post Reply