Page 1 of 2

Zimbra Drive - How to Install guide v0.1

Posted: Mon Apr 03, 2017 4:31 pm
by jorgedlcruz

Re: Zimbra Drive - How to Install guide v0.1

Posted: Tue Apr 04, 2017 11:43 am
by josifbg
Hi,
Thanks for the guide!

Following strictly to the provided guide, whenever i hit the button Drive on Zimbra i`ve got an error telling me: "An error has occurred on getting Drive folders"

Any ideas are highly appreciated.

Re: Zimbra Drive - How to Install guide v0.1

Posted: Tue Apr 04, 2017 9:03 pm
by king0770
Nice doc Jorge, Thank you!

When you were writing the doc, what ownCloud version did you use? I ask because when I go to the admin settings page on my ownCloud node, Zimbra Drive is not listed on the left side.

Zimbra Version
--------------
Release 8.7.6_GA_1776.RHEL6_64_20170326144124 RHEL6_64 NETWORK edition.

OwnCloud Version
-----------------
sudo -u www-data occ status
- installed: true
- version: 9.1.4.2
- versionstring: 9.1.4

When I click the drop down arrow from the Apps menu, there is a Zimbra icon along with the usual icons for Files, Activity, Gallery, & Apps. However, when I click the Zimbra icon, FireFox displays the following error...

"The site at https://mail.example.local/index.php/apps/zimbradrive/ has experienced a network protocol violation that cannot be repaired.
The page you are trying to view cannot be shown because an error in the data transmission was detected."


Also, on the ownCloud apps page, the following text is displayed under Zimbra Drive, "This app has no maximum ownCloud version assigned. This will be an error in ownCloud 11 and later."

Re: Zimbra Drive - How to Install guide v0.1

Posted: Tue Apr 04, 2017 11:41 pm
by jorgedlcruz
Hi King,
I have v11, I will edit the Wiki soon with the minimum version of owncloud/nextcloud:

Code: Select all

root@nextcloud:/var/www/nextcloud# sudo -u www-data ./occ status
  - installed: true
  - version: 11.0.1.2
  - versionstring: 11.0.1
  - edition:


Best regards

Re: Zimbra Drive - How to Install guide v0.1

Posted: Thu Apr 06, 2017 5:47 pm
by NoDough
One feature I would dearly love to see is the ability to...

    intercept outbound and/or inbound attachments larger than <configured size>
    strip the attachment from the message
    place the attachment in drive
    place a link to the drive file in the message
I know it's still very early, but does anyone know if this may be a future capability?

Thanks.
NoDough

Re: Zimbra Drive - How to Install guide v0.1

Posted: Fri Apr 07, 2017 11:02 am
by jorgedlcruz
Hi NoDough,
We will include all of them yes

Best regards

Re: Zimbra Drive - How to Install guide v0.1

Posted: Fri Apr 07, 2017 1:05 pm
by NoDough
jorgedlcruz wrote:We will include all of them yes


Awesome! Thanks.

Re: Zimbra Drive - How to Install guide v0.1

Posted: Thu Apr 13, 2017 2:34 pm
by jcben
Hi,

I'm turning back to you in hope of some help to get it working.
When i click on the "Drive" Zimlet for the first time the user is correctly created in my nextcloud but i get an error saying "An error has occured Drive Folders"
In my apache error.log (nextcloud server) i get this :

[Thu Apr 13 15:31:53.093477 2017] [:error] [pid 2796] [client 195.83.66.211:51162] PHP Fatal error: Uncaught exception 'Exception' with message 'Session has been closed - no further changes to the session are allowed' in /var/www/html/nextcloud/lib/private/Session/Internal.php:154\nStack trace:\n#0 /var/www/html/nextcloud/lib/private/Session/Internal.php(64): OC\\Session\\Internal->validateSession()\n#1 /var/www/html/nextcloud/lib/private/Session/CryptoSessionData.php(164): OC\\Session\\Internal->set('encrypted_sessi...', '4cdf751234bab57...')\n#2 /var/www/html/nextcloud/lib/private/Session/CryptoSessionData.php(67): OC\\Session\\CryptoSessionData->close()\n#3 [internal function]: OC\\Session\\CryptoSessionData->__destruct()\n#4 {main}\n thrown in /var/www/html/nextcloud/lib/private/Session/Internal.php on line 154
[Thu Apr 13 15:31:53.378987 2017] [:error] [pid 3126] [client 195.83.66.211:51166] PHP Fatal error: Uncaught exception 'Exception' with message 'Session has been closed - no further changes to the session are allowed' in /var/www/html/nextcloud/lib/private/Session/Internal.php:154\nStack trace:\n#0 /var/www/html/nextcloud/lib/private/Session/Internal.php(64): OC\\Session\\Internal->validateSession()\n#1 /var/www/html/nextcloud/lib/private/Session/CryptoSessionData.php(164): OC\\Session\\Internal->set('encrypted_sessi...', 'b0a51362500490d...')\n#2 /var/www/html/nextcloud/lib/private/Session/CryptoSessionData.php(67): OC\\Session\\CryptoSessionData->close()\n#3 [internal function]: OC\\Session\\CryptoSessionData->__destruct()\n#4 {main}\n thrown in /var/www/html/nextcloud/lib/private/Session/Internal.php on line 154


And that in my mailbox.log :


2017-04-13 15:54:28,311 INFO [qtp1286783232-333:https:https://zimbra87.univ-poitiers.fr/service/soap/BatchRequest] [ip=195.83.66.211;port=57918;] 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-04-13 15:54:28,312 INFO [qtp1286783232-333:https:https://zimbra87.univ-poitiers.fr/service/soap/BatchRequest] [name=testuser@zimbra87.univ-poitiers.fr;mid=13;ip=195.83.66.211;port=57918;ua=ZimbraWebClient - GC57 (Linux)/8.7.6_GA_1776;] soap - BatchRequest
2017-04-13 15:54:28,467 INFO [qtp1286783232-331:https:https://zimbra87.univ-poitiers.fr/service/extension/ZimbraDrive_NcUserZimbraBackend] [] mailbox - NcUserZimbraBackend: [TOKEN] Authenticated 5b8cbb91-4b13-42c4-aace-78c5ef51f548
2017-04-13 15:54:28,506 WARN [qtp1286783232-333:https:https://zimbra87.univ-poitiers.fr/service/soap/BatchRequest] [name=testuser@zimbra87.univ-poitiers.fr;mid=13;ip=195.83.66.211;port=57918;ua=ZimbraWebClient - GC57 (Linux)/8.7.6_GA_1776;] SoapEngine - handler exception
java.lang.RuntimeException: org.apache.http.client.HttpResponseException: Internal Server Error
at com.zextras.zimbradrive.soap.GetAllFoldersHdlr.handleRequest(GetAllFoldersHdlr.java:43)
at org.openzal.zal.soap.InternalDocumentHelper.handle(InternalDocumentHelper.java:75)
at org.openzal.zal.soap.InternalDocumentHandler.handle(InternalDocumentHandler.java:42)
at com.zimbra.soap.SoapEngine.dispatchRequest(SoapEngine.java:607)
at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.java:440)
at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.java:273)
at com.zimbra.soap.SoapServlet.doWork(SoapServlet.java:303)
at com.zimbra.soap.SoapServlet.doPost(SoapServlet.java:213)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at com.zimbra.cs.servlet.ZimbraServlet.service(ZimbraServlet.java:206)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:821)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1685)
at com.zimbra.cs.servlet.CsrfFilter.doFilter(CsrfFilter.java:169)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1668)
at com.zimbra.cs.servlet.RequestStringFilter.doFilter(RequestStringFilter.java:54)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1668)
at com.zimbra.cs.servlet.SetHeaderFilter.doFilter(SetHeaderFilter.java:59)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1668)
at com.zimbra.cs.servlet.ETagHeaderFilter.doFilter(ETagHeaderFilter.java:47)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1668)
at com.zimbra.cs.servlet.ContextPathBasedThreadPoolBalancerFilter.doFilter(ContextPathBasedThreadPoolBalancerFilter.java:107)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1668)
at com.zimbra.cs.servlet.ZimbraQoSFilter.doFilter(ZimbraQoSFilter.java:116)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1668)
at com.zimbra.cs.servlet.ZimbraInvalidLoginFilter.doFilter(ZimbraInvalidLoginFilter.java:117)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1668)
at org.eclipse.jetty.servlets.DoSFilter.doFilterChain(DoSFilter.java:473)
at org.eclipse.jetty.servlets.DoSFilter.doFilter(DoSFilter.java:318)
at org.eclipse.jetty.servlets.DoSFilter.doFilter(DoSFilter.java:288)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1668)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:581)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:524)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1158)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1090)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:213)
at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:109)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:119)
at org.eclipse.jetty.rewrite.handler.RewriteHandler.handle(RewriteHandler.java:318)
at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:437)
at org.eclipse.jetty.server.handler.DebugHandler.handle(DebugHandler.java:84)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:119)
at org.eclipse.jetty.server.Server.handle(Server.java:517)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:306)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:242)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:261)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)
at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:192)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:261)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)
at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:75)
at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceAndRun(ExecuteProduceConsume.java:213)
at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:147)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:654)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:572)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.apache.http.client.HttpResponseException: Internal Server Error
at org.apache.http.impl.client.AbstractResponseHandler.handleResponse(AbstractResponseHandler.java:69)
at org.apache.http.impl.client.BasicResponseHandler.handleResponse(BasicResponseHandler.java:65)
at com.zextras.zimbradrive.soap.GetAllFoldersHdlr.handleRequest(GetAllFoldersHdlr.java:35)
... 60 more
2017-04-13 15:54:28,507 INFO [qtp1286783232-333:https:https://zimbra87.univ-poitiers.fr/service/soap/BatchRequest] [name=testuser@zimbra87.univ-poitiers.fr;mid=13;ip=195.83.66.211;port=57918;ua=ZimbraWebClient - GC57 (Linux)/8.7.6_GA_1776;] soap - (batch) GetAllFoldersRequest elapsed=195
2017-04-13 15:54:28,656 INFO [qtp1286783232-334:https:https://zimbra87.univ-poitiers.fr/service/extension/ZimbraDrive_NcUserZimbraBackend] [] mailbox - NcUserZimbraBackend: [TOKEN] Authenticated 5b8cbb91-4b13-42c4-aace-78c5ef51f548
2017-04-13 15:54:28,694 WARN [qtp1286783232-333:https:https://zimbra87.univ-poitiers.fr/service/soap/BatchRequest] [name=testuser@zimbra87.univ-poitiers.fr;mid=13;ip=195.83.66.211;port=57918;ua=ZimbraWebClient - GC57 (Linux)/8.7.6_GA_1776;] SoapEngine - handler exception
java.lang.RuntimeException: org.apache.http.client.HttpResponseException: Internal Server Error
at com.zextras.zimbradrive.soap.SearchRequestHdlr.handleRequest(SearchRequestHdlr.java:50)
at org.openzal.zal.soap.InternalDocumentHelper.handle(InternalDocumentHelper.java:75)
at org.openzal.zal.soap.InternalDocumentHandler.handle(InternalDocumentHandler.java:42)
at com.zimbra.soap.SoapEngine.dispatchRequest(SoapEngine.java:607)
at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.java:440)
at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.java:273)
at com.zimbra.soap.SoapServlet.doWork(SoapServlet.java:303)
at com.zimbra.soap.SoapServlet.doPost(SoapServlet.java:213)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at com.zimbra.cs.servlet.ZimbraServlet.service(ZimbraServlet.java:206)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:821)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1685)
at com.zimbra.cs.servlet.CsrfFilter.doFilter(CsrfFilter.java:169)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1668)
at com.zimbra.cs.servlet.RequestStringFilter.doFilter(RequestStringFilter.java:54)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1668)
at com.zimbra.cs.servlet.SetHeaderFilter.doFilter(SetHeaderFilter.java:59)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1668)
at com.zimbra.cs.servlet.ETagHeaderFilter.doFilter(ETagHeaderFilter.java:47)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1668)
at com.zimbra.cs.servlet.ContextPathBasedThreadPoolBalancerFilter.doFilter(ContextPathBasedThreadPoolBalancerFilter.java:107)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1668)
at com.zimbra.cs.servlet.ZimbraQoSFilter.doFilter(ZimbraQoSFilter.java:116)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1668)
at com.zimbra.cs.servlet.ZimbraInvalidLoginFilter.doFilter(ZimbraInvalidLoginFilter.java:117)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1668)
at org.eclipse.jetty.servlets.DoSFilter.doFilterChain(DoSFilter.java:473)
at org.eclipse.jetty.servlets.DoSFilter.doFilter(DoSFilter.java:318)
at org.eclipse.jetty.servlets.DoSFilter.doFilter(DoSFilter.java:288)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1668)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:581)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:524)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1158)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1090)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:213)
at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:109)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:119)
at org.eclipse.jetty.rewrite.handler.RewriteHandler.handle(RewriteHandler.java:318)
at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:437)
at org.eclipse.jetty.server.handler.DebugHandler.handle(DebugHandler.java:84)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:119)
at org.eclipse.jetty.server.Server.handle(Server.java:517)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:306)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:242)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:261)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)
at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:192)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:261)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)
at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:75)
at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceAndRun(ExecuteProduceConsume.java:213)
at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:147)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:654)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:572)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.apache.http.client.HttpResponseException: Internal Server Error
at org.apache.http.impl.client.AbstractResponseHandler.handleResponse(AbstractResponseHandler.java:69)
at org.apache.http.impl.client.BasicResponseHandler.handleResponse(BasicResponseHandler.java:65)
at com.zextras.zimbradrive.soap.SearchRequestHdlr.handleRequest(SearchRequestHdlr.java:41)
... 60 more
2017-04-13 15:54:28,695 INFO [qtp1286783232-333:https:https://zimbra87.univ-poitiers.fr/service/soap/BatchRequest] [name=testuser@zimbra87.univ-poitiers.fr;mid=13;ip=195.83.66.211;port=57918;ua=ZimbraWebClient - GC57 (Linux)/8.7.6_GA_1776;] soap - (batch) SearchRequest elapsed=188

Re: Zimbra Drive - How to Install guide v0.1

Posted: Wed Apr 19, 2017 7:59 am
by mrpontifex
I have the same problem as jcben. Users are created in nextcloud but in zimbra it shows "Error occured on getting Drive folders" and in mailbox.log i have same tracestack as user above me.

Re: Zimbra Drive - How to Install guide v0.1

Posted: Wed Apr 19, 2017 9:33 am
by mrpontifex
I have exactly the same issue as jcben.