Installation error concerning download of documentserver_community.tar.gz

Hi, new user here; I’m investigating a migration from owncloud to nextcloud.

I installed Nextcloud on a fresh Debian 10 system. I’m using the zip installation. The initial start of Nextcloud was successful, install actions were executed via the Web UI installation wizard. Nextcloud seems to be working.

But: during initialization, a very short message appeared about an installation problem.

Checking nextcloud.log in the data area, I found a JSON message about the problem. I cite it here completely, formatted for better readability:

{
“userAgent” : “Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0”,
“app” : “settings”,
“remoteAddr” : “62.225.140.214”,
“level” : 3,
“version” : “18.0.1.3”,
“time” : “2020-02-21T02:38:04+00:00”,
“user” : “administrator”,
“message” : {
“Trace” : [
{
“function” : “createRejection”,
“type” : “::”,
“line” : 149,
“file” : “/data/www/nextcloud-18.0.1/3rdparty/guzzlehttp/guzzle/src/Handler/CurlFactory.php”,
“args” : [
{
“errno” : 28,
“response” : {
class” : “GuzzleHttp\Psr7\Response”
},
class” : “GuzzleHttp\Handler\EasyHandle”,
“sink” : {
class” : “GuzzleHttp\Psr7\LazyOpenStream”,
“stream” : {
class” : “GuzzleHttp\Psr7\Stream”
}
},
“options” : {
“handler” : {
class” : “GuzzleHttp\HandlerStack”
},
“http_errors” : true,
“timeout” : 120,
“__redirect_count” : 1,
“decode_content” : true,
“cookies” : false,
“verify” : “/data/nextcloud/data/files_external/rootcerts.crt”,
“synchronous” : true,
“allow_redirects” : {
“max” : 5,
“track_redirects” : false,
“referer” : false,
“protocols” : [
“http”,
“https”
],
“strict” : false
},
“sink” : “/tmp/oc_tmp_XSL08k-.tar.gz”
},
“request” : {
class” : “GuzzleHttp\Psr7\Request”
},
“headers” : [
“x-amz-id-2: eaKpzfW7sUO3CzdM6PAlMbe8e3orrnNl9e/1ADPhsHKAsHiBInQd/6qRlxbS7PsKuqSrIaHlITI=”,
“x-amz-request-id: 224C929A68AF7163”,
“Date: Fri, 21 Feb 2020 02:36:05 GMT”,
“Last-Modified: Thu, 30 Jan 2020 16:33:00 GMT”,
"ETag: “e5e4155f60a844ec88c0b785a61067a8"”,
“Content-Disposition: attachment; filename=documentserver_community.tar.gz”,
“Accept-Ranges: bytes”,
“Content-Type: application/octet-stream”,
“Content-Length: 315849196”,
“Server: AmazonS3”
],
“onHeadersException” : null
},
{
“total_time_us” : 120000079,
“pretransfer_time” : 0.295875,
“redirect_url” : “”,
“content_type” : “application/octet-stream”,
“error” : “Operation timed out after 120000 milliseconds with 279682260 out of 315849196 bytes received”,
“size_download” : 279682260,
“scheme” : “HTTPS”,
“local_port” : 39138,
“primary_ip” : “52.216.101.51”,
“local_ip” : “62.171.144.36”,
“certinfo” : [],
“speed_upload” : 0,
“url” : “https://github-production-release-asset-2e65be.s3.amazonaws.com/205429728/2c83d900-437e-11ea-96c4-60df5df80b89?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20200221%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20200221T023604Z&X-Amz-Expires=300&X-Amz-Signature=9a502592bf851c9b7597d664783d9714a560bce6d63ad908d176e6a95ebb3761&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Ddocumentserver_community.tar.gz&response-content-type=application%2Foctet-stream”,
“size_upload” : 0,
“http_version” : 2,
“filetime” : -1,
“redirect_time_us” : 0,
“primary_port” : 443,
“ssl_verify_result” : 0,
“connect_time” : 0.092518,
“http_code” : 200,
“download_content_length” : 315849196,
“redirect_count” : 0,
“speed_download” : 2330685,
“namelookup_time” : 0.001136,
“request_size” : 579,
“total_time” : 120.000079,
“namelookup_time_us” : 1136,
“upload_content_length” : -1,
“ssl_verifyresult” : 0,
“starttransfer_time” : 0.409238,
“appconnect_time_us” : 295792,
“errno” : 28,
“pretransfer_time_us” : 295875,
“redirect_time” : 0,
“header_size” : 452,
“connect_time_us” : 92518,
“protocol” : 2,
“starttransfer_time_us” : 409238
}
],
“class” : “GuzzleHttp\Handler\CurlFactory”
},
{
“line” : 102,
“file” : “/data/www/nextcloud-18.0.1/3rdparty/guzzlehttp/guzzle/src/Handler/CurlFactory.php”,
“function” : “finishError”,
“type” : “::”,
“class” : “GuzzleHttp\Handler\CurlFactory”,
“args” : [
{
class” : “GuzzleHttp\Handler\CurlHandler”
},
{
“sink” : {
class” : “GuzzleHttp\Psr7\LazyOpenStream”,
“stream” : {
class” : “GuzzleHttp\Psr7\Stream”
}
},
class” : “GuzzleHttp\Handler\EasyHandle”,
“response” : {
class” : “GuzzleHttp\Psr7\Response”
},
“errno” : 28,
“request” : {
class” : “GuzzleHttp\Psr7\Request”
},
“options” : {
“__redirect_count” : 1,
“cookies” : false,
“decode_content” : true,
“synchronous” : true,
“verify” : “/data/nextcloud/data/files_external/rootcerts.crt”,
“handler” : {
class” : “GuzzleHttp\HandlerStack”
},
“timeout” : 120,
“http_errors” : true,
“sink” : “/tmp/oc_tmp_XSL08k-.tar.gz”,
“allow_redirects” : {
“protocols” : [
“http”,
“https”
],
“strict” : false,
“referer” : false,
“track_redirects” : false,
“max” : 5
}
},
“headers” : [
“x-amz-id-2: eaKpzfW7sUO3CzdM6PAlMbe8e3orrnNl9e/1ADPhsHKAsHiBInQd/6qRlxbS7PsKuqSrIaHlITI=”,
“x-amz-request-id: 224C929A68AF7163”,
“Date: Fri, 21 Feb 2020 02:36:05 GMT”,
“Last-Modified: Thu, 30 Jan 2020 16:33:00 GMT”,
"ETag: “e5e4155f60a844ec88c0b785a61067a8"”,
“Content-Disposition: attachment; filename=documentserver_community.tar.gz”,
“Accept-Ranges: bytes”,
“Content-Type: application/octet-stream”,
“Content-Length: 315849196”,
“Server: AmazonS3”
],
“onHeadersException” : null
},
{
class” : “GuzzleHttp\Handler\CurlFactory”
}
]
},
{
“file” : “/data/www/nextcloud-18.0.1/3rdparty/guzzlehttp/guzzle/src/Handler/CurlHandler.php”,
“line” : 43,
“type” : “::”,
“function” : “finish”,
“class” : “GuzzleHttp\Handler\CurlFactory”,
“args” : [
{
class” : “GuzzleHttp\Handler\CurlHandler”
},
{
“errno” : 28,
class” : “GuzzleHttp\Handler\EasyHandle”,
“response” : {
class” : “GuzzleHttp\Psr7\Response”
},
“sink” : {
“stream” : {
class” : “GuzzleHttp\Psr7\Stream”
},
class” : “GuzzleHttp\Psr7\LazyOpenStream”
},
“options” : {
“timeout” : 120,
“http_errors” : true,
“handler” : {
class” : “GuzzleHttp\HandlerStack”
},
“verify” : “/data/nextcloud/data/files_external/rootcerts.crt”,
“synchronous” : true,
“__redirect_count” : 1,
“decode_content” : true,
“cookies” : false,
“allow_redirects” : {
“referer” : false,
“track_redirects” : false,
“max” : 5,
“protocols” : [
“http”,
“https”
],
“strict” : false
},
“sink” : “/tmp/oc_tmp_XSL08k-.tar.gz”
},
“request” : {
class” : “GuzzleHttp\Psr7\Request”
},
“headers” : [
“x-amz-id-2: eaKpzfW7sUO3CzdM6PAlMbe8e3orrnNl9e/1ADPhsHKAsHiBInQd/6qRlxbS7PsKuqSrIaHlITI=”,
“x-amz-request-id: 224C929A68AF7163”,
“Date: Fri, 21 Feb 2020 02:36:05 GMT”,
“Last-Modified: Thu, 30 Jan 2020 16:33:00 GMT”,
"ETag: “e5e4155f60a844ec88c0b785a61067a8"”,
“Content-Disposition: attachment; filename=documentserver_community.tar.gz”,
“Accept-Ranges: bytes”,
“Content-Type: application/octet-stream”,
“Content-Length: 315849196”,
“Server: AmazonS3”
],
“onHeadersException” : null
},
{
class” : “GuzzleHttp\Handler\CurlFactory”
}
]
},
{
“file” : “/data/www/nextcloud-18.0.1/3rdparty/guzzlehttp/guzzle/src/Handler/Proxy.php”,
“line” : 28,
“type” : “->”,
“function” : “__invoke”,
“class” : “GuzzleHttp\Handler\CurlHandler”,
“args” : [
“*** sensitive parameter replaced ",
"
sensitive parameter replaced "
]
},
{
“args” : [
"
sensitive parameters replaced "
],
“class” : “GuzzleHttp\Handler\Proxy”,
“type” : “::”,
“function” : “GuzzleHttp\Handler\{closure}”,
“file” : “/data/www/nextcloud-18.0.1/3rdparty/guzzlehttp/guzzle/src/Handler/Proxy.php”,
“line” : 51
},
{
“type” : “::”,
“function” : “GuzzleHttp\Handler\{closure}”,
“file” : “/data/www/nextcloud-18.0.1/3rdparty/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php”,
“line” : 37,
“args” : [
"
sensitive parameters replaced "
],
“class” : “GuzzleHttp\Handler\Proxy”
},
{
“line” : 30,
“file” : “/data/www/nextcloud-18.0.1/3rdparty/guzzlehttp/guzzle/src/Middleware.php”,
“function” : “__invoke”,
“type” : “->”,
“class” : “GuzzleHttp\PrepareBodyMiddleware”,
“args” : [
"
sensitive parameter replaced ",
"
sensitive parameter replaced "
]
},
{
“function” : “GuzzleHttp\{closure}”,
“type” : “::”,
“line” : 70,
“file” : “/data/www/nextcloud-18.0.1/3rdparty/guzzlehttp/guzzle/src/RedirectMiddleware.php”,
“args” : [
"
sensitive parameters replaced "
],
“class” : “GuzzleHttp\Middleware”
},
{
“args” : [
"
sensitive parameter replaced ",
"
sensitive parameter replaced "
],
“class” : “GuzzleHttp\RedirectMiddleware”,
“function” : “__invoke”,
“type” : “->”,
“line” : 107,
“file” : “/data/www/nextcloud-18.0.1/3rdparty/guzzlehttp/guzzle/src/RedirectMiddleware.php”
},
{
“class” : “GuzzleHttp\RedirectMiddleware”,
“args” : [
{
class” : “GuzzleHttp\Psr7\Request”
},
"
sensitive parameter replaced ",
"
sensitive parameter replaced "
],
“file” : “/data/www/nextcloud-18.0.1/3rdparty/guzzlehttp/guzzle/src/RedirectMiddleware.php”,
“line” : 72,
“type” : “->”,
“function” : “checkRedirect”
},
{
“class” : “GuzzleHttp\RedirectMiddleware”,
“args” : [
"
sensitive parameters replaced "
],
“line” : 39,
“file” : “/data/www/nextcloud-18.0.1/3rdparty/guzzlehttp/promises/src/FulfilledPromise.php”,
“function” : “GuzzleHttp\{closure}”,
“type” : “->”
},
{
“args” : [
"
sensitive parameters replaced ***”
],
“class” : “GuzzleHttp\Promise\FulfilledPromise”,
“type” : “::”,
“function” : “GuzzleHttp\Promise\{closure}”,
“file” : “/data/www/nextcloud-18.0.1/3rdparty/guzzlehttp/promises/src/TaskQueue.php”,
“line” : 47
},
{
“class” : “GuzzleHttp\Promise\TaskQueue”,
“args” : [
true
],
“line” : 246,
“file” : “/data/www/nextcloud-18.0.1/3rdparty/guzzlehttp/promises/src/Promise.php”,
“function” : “run”,
“type” : “->”
},
{
“args” : [],
“class” : “GuzzleHttp\Promise\Promise”,
“function” : “invokeWaitFn”,
“type” : “->”,
“line” : 223,
“file” : “/data/www/nextcloud-18.0.1/3rdparty/guzzlehttp/promises/src/Promise.php”
},
{
“file” : “/data/www/nextcloud-18.0.1/3rdparty/guzzlehttp/promises/src/Promise.php”,
“line” : 267,
“type” : “->”,
“function” : “waitIfPending”,
“class” : “GuzzleHttp\Promise\Promise”,
“args” : []
},
{
“function” : “invokeWaitList”,
“type” : “->”,
“line” : 225,
“file” : “/data/www/nextcloud-18.0.1/3rdparty/guzzlehttp/promises/src/Promise.php”,
“args” : [],
“class” : “GuzzleHttp\Promise\Promise”
},
{
“args” : [],
“class” : “GuzzleHttp\Promise\Promise”,
“type” : “->”,
“function” : “waitIfPending”,
“file” : “/data/www/nextcloud-18.0.1/3rdparty/guzzlehttp/promises/src/Promise.php”,
“line” : 62
},
{
“args” : [],
“class” : “GuzzleHttp\Promise\Promise”,
“type” : “->”,
“function” : “wait”,
“file” : “/data/www/nextcloud-18.0.1/3rdparty/guzzlehttp/guzzle/src/Client.php”,
“line” : 131
},
{
“class” : “GuzzleHttp\Client”,
“args” : [
“get”,
https://github.com/nextcloud/documentserver_community/releases/download/v0.1.5/documentserver_community.tar.gz”,
{
“timeout” : 120,
“headers” : {
“User-Agent” : “Nextcloud Server Crawler”
},
“synchronous” : true,
“verify” : “/data/nextcloud/data/files_external/rootcerts.crt”,
“proxy” : null,
“save_to” : “/tmp/oc_tmp_XSL08k-.tar.gz”
}
],
“line” : 149,
“file” : “/data/www/nextcloud-18.0.1/lib/private/Http/Client/Client.php”,
“function” : “request”,
“type” : “->”
},
{
“args” : [
https://github.com/nextcloud/documentserver_community/releases/download/v0.1.5/documentserver_community.tar.gz”,
{
“timeout” : 120,
“save_to” : “/tmp/oc_tmp_XSL08k-.tar.gz”
}
],
“class” : “OC\Http\Client\Client”,
“type” : “->”,
“function” : “get”,
“file” : “/data/www/nextcloud-18.0.1/lib/private/Installer.php”,
“line” : 274
},
{
“args” : [
“documentserver_community”
],
“class” : “OC\Installer”,
“type” : “->”,
“function” : “downloadApp”,
“file” : “/data/www/nextcloud-18.0.1/apps/settings/lib/Controller/AppSettingsController.php”,
“line” : 440
},
{
“function” : “enableApps”,
“type” : “->”,
“line” : 170,
“file” : “/data/www/nextcloud-18.0.1/lib/private/AppFramework/Http/Dispatcher.php”,
“args” : [
[
“documentserver_community”
],
[]
],
“class” : “OCA\Settings\Controller\AppSettingsController”
},
{
“args” : [
{
class” : “OCA\Settings\Controller\AppSettingsController”
},
“enableApps”
],
“class” : “OC\AppFramework\Http\Dispatcher”,
“function” : “executeController”,
“type” : “->”,
“line” : 99,
“file” : “/data/www/nextcloud-18.0.1/lib/private/AppFramework/Http/Dispatcher.php”
},
{
“file” : “/data/www/nextcloud-18.0.1/lib/private/AppFramework/App.php”,
“line” : 125,
“type” : “->”,
“function” : “dispatch”,
“class” : “OC\AppFramework\Http\Dispatcher”,
“args” : [
{
class” : “OCA\Settings\Controller\AppSettingsController”
},
“enableApps”
]
},
{
“args” : [
“OCA\Settings\Controller\AppSettingsController”,
“enableApps”,
{
class” : “OC\AppFramework\DependencyInjection\DIContainer”
},
{
“_route” : “settings.AppSettings.enableApps”
}
],
“class” : “OC\AppFramework\App”,
“type” : “::”,
“function” : “main”,
“file” : “/data/www/nextcloud-18.0.1/lib/private/AppFramework/Routing/RouteActionHandler.php”,
“line” : 47
},
{
“type” : “->”,
“function” : “__invoke”,
“class” : “OC\AppFramework\Routing\RouteActionHandler”,
“args” : [
{
“_route” : “settings.AppSettings.enableApps”
}
]
},
{
“file” : “/data/www/nextcloud-18.0.1/lib/private/Route/Router.php”,
“line” : 299,
“function” : “call_user_func”,
“args” : [
{
class” : “OC\AppFramework\Routing\RouteActionHandler”
},
{
“_route” : “settings.AppSettings.enableApps”
}
]
},
{
“class” : “OC\Route\Router”,
“args” : [
“/settings/apps/enable”
],
“file” : “/data/www/nextcloud-18.0.1/lib/base.php”,
“line” : 1008,
“type” : “->”,
“function” : “match”
},
{
“function” : “handleRequest”,
“type” : “::”,
“line” : 38,
“file” : “/data/www/nextcloud-18.0.1/index.php”,
“args” : [],
“class” : “OC”
}
],
“Line” : 185,
“CustomMessage” : “–”,
“Code” : 0,
“Exception” : “GuzzleHttp\Exception\ConnectException”,
“File” : “/data/www/nextcloud-18.0.1/3rdparty/guzzlehttp/guzzle/src/Handler/CurlFactory.php”,
“Message” : “cURL error 28: Operation timed out after 120000 milliseconds with 279682260 out of 315849196 bytes received (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)”
},
“method” : “POST”,
“reqId” : “Gahxf6g2RL6EzXLo4rOD”,
“url” : “/index.php/settings/apps/enable”
}

It seems as if a download request for documentserver_community.tar.gz has not completed successfully.

My questions:
– Is this an issue that I should care of?
– If yes, what consequences has this error?
– How can I remedy/repair the problem?
documentserver_community.tar.gz seems to have something to do with ONLYOFFICE.
I haven’t found an action in the admin UI where I can demand re-dowload and
re-installation of this subsystem.

Can anybody please explain if this is really an issue and, if yes, what this issue is about?

Of course, I tried the search function in the community forum first, but it didn’t give me any result. (Literally, any term entered doesn’t give a result; but that’s another problem. Firefox on Debian 10, FWIW.)

Sorry if these questions are run-of-the-mill – I’m a newbie in this community, so please bare with me.

Cheers,
Joachim

PS: Nextcloud newbie, not Linux newbie. I’m literally a Unix white beard, using Unix since 1981. So any answers can assume advanced Linux knowledge. :wink:

hmpf, proper formatting of JSON has not succeeded; but I hope it will be readable enough… :-/

Welcome, as far you do not need OnlyOffice it is fine.
You can try to download and activate the Community Document Server in the App section.

Thanks for this info; helps a lot.

Your welcome, would you mark it as Solution and solved?

For sure, did so.

It was not obvious in the forum UI that the grey “marked checkbox + Solution” should have been activated. I was alreday wondering why every post is marked as a solution; now I’ve learned that only the green ones are really activated.

Great, lot of new things this weekend :wink: thanks
Happy nextclouding