I have spent a whole week trying to make zimbra drive to work with fresh installation of zimbra open source 8.8.15.
At this time I'm using Zimbra 8.8.5 with Nexcloud V13 without problems and I'm migration to 8.8.15
First thing to note is that connection errors from zimbra server to nextcloud servers ARE NOT SHOWN AT USER SCREEN. Simply it does nothing, and you should debug using logs!!
First error is error 400: Bad Request. This is because authorized domains in nextcloud are configured in config.php with ip address of the server. Then I changed to nexcloud fqdn name.
Code: Select all
'trusted_domains' =>
array (
0 => 'www5.domain.name',
1 => '172.24.32.52'
),
I thought of compatibility problems, then I installed nextcloud V18, as there is no zimbradrive app for V20 that I was using. Then I installed zimbra drive app 0.8.25
In order to know what was going wrong I used http instead of https, and then I ran tcpdump to trace ip packets.
That is what I found:
Code: Select all
From zimbra to nextcloud:
09:21:12.566916 IP (tos 0x0, ttl 64, id 9139, offset 0, flags [DF], proto TCP (6), length 434)
mail.domain.name.co.53084 > www5.domain.name.http: Flags [P.], cksum 0x9a9f (incorrect -> 0x18df), seq 1:383, ack 1, win 229, options [nop,nop,TS val 956963885 ecr 3552137239], length 382: HTTP, length: 382
POST /nextcloud/index.php/apps/zimbradrive/api/2.0/GetAllFolders HTTP/1.1
Content-Length: 84
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Host: www5.subrednorte.gov.co
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.8 (Java/13.0.1)
Accept-Encoding: gzip,deflate
username=a91a9268-79d8-4572-bfbb-61bec64c92a8&token=06d1b3d987f941e7a56bac51c3fc982d[!http]
nextcloud response:
09:21:12.667050 IP (tos 0x0, ttl 64, id 20412, offset 0, flags [DF], proto TCP (6), length 6110)
www5.domain.name.http > mail.domain.name.53084: Flags [P.], cksum 0xb0cb (incorrect -> 0x2aa9), seq 1:6059, ack 383, win 235, options [nop,nop,TS val 3552137339 ecr 956963885], length 6058: HTTP, length: 6058
HTTP/1.1 500 Internal Server Error
Date: Fri, 15 Jan 2021 14:18:35 GMT
Server: Apache/2.4.37 (centos) OpenSSL/1.1.1g
X-Powered-By: PHP/7.2.24
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate
Pragma: no-cache
.
.
.
<body id="body-login">
<noscript>
<div id="nojavascript">
<div>
This application requires JavaScript for correct operation. Please <a href="https://www.enable-javascript.com/" target="_blank" rel="noreferrer noopener">enable JavaScript</a> and reload the page. </div>
</div>
</noscript>
<div class="wrapper">
<div class="v-align">
<header role="banner">
<div id="header">
<div class="logo">
<h1 class="hidden-visually">
Nextcloud </h1>
</div>
</div>
</header>
<main>
<div class="error error-wide">
<h2>Internal Server Error</h2>
<p>The server was unable to complete your request.</p>
<p>If this happens again, please send the technical details below to the server administrator.</p>
<p>More details can be found in the server log.</p>
Code: Select all
172.24.32.150 - - [15/Jan/2021:09:18:38 -0500] "POST /nextcloud/index.php/apps/zimbradrive/api/2.0/SearchRequest HTTP/1.1" 500 4616 "-" "Apache-HttpClient/4.5.8 (Java/13.0.1)"
No other error logs are found
Following this Subject, I uninstalled zimbra-chat and reinstalled zimbra-drive using dnf as I'm using Centos 8, but nothing works!!
Zimbra Drive is critical to our institution as we have very large files to share!!
PLEASE HELP!!