I cannot install Community Document Server

I am getting Error “cURL error 23: Failed writing body (0 != 16347) (see https://curl.haxx.se/libcurl/c/libcurl-errors.html)” while trying to install Community Document Server.

Nextcloud is installed on my server and I have access via ftp.

@arnesg welcome to the forums and thanks for your first contribution here.

to have at least a fair chance trying to answer your question we would need way more info about your server, setup, environment, logfiles, etc, I’m afraid.

a very interesting question here would be: what kind of server is this instance installed on? on an ARM-device?

Nextcloud is installed on remote (web) server where I have FTP access to. I installed it trough php script. All working well. Now, I am trying to implement ONLYOFFICE which needs Community Document Server which I cannot install.

Where I can find LOG files?

Here is the LOG file (actually only one line):

{“reqId”:“X4a650mMoz4izef9o5r4XQAAAWs”,“level”:3,“time”:“2020-10-14T08:47:57+00:00”,“remoteAddr”:“217.86.253.182”,“user”:“gab”,“app”:“settings”,“method”:“POST”,“url”:"/index.php/settings/apps/enable",“message”:{“Exception”:“GuzzleHttp\Exception\RequestException”,“Message”:“cURL error 23: Failed writing body (0 != 16347) (see https://curl.haxx.se/libcurl/c/libcurl-errors.html)”,“Code”:200,“Trace”:[{“file”:"/mnt/web218/c1/11/51247411/htdocs/cloud/3rdparty/guzzlehttp/guzzle/src/Handler/CurlFactory.php",“line”:155,“function”:“createRejection”,“class”:“GuzzleHttp\Handler\CurlFactory”,“type”:"::",“args”:[{“sink”:{“stream”:{“class”:“GuzzleHttp\Psr7\Stream”},“class”:“GuzzleHttp\Psr7\LazyOpenStream”},“headers”:[“x-amz-id-2: GcicSakNeJszHk/McSnYQwztOUq6GpMjmqWT57VXAIVWHiVgl7Ptpf6wHjr+24SXuPRZjLw8CsQ=”,“x-amz-request-id: DHAR7RER8HAY0R2Y”,“Date: Wed, 14 Oct 2020 08:46:35 GMT”,“Last-Modified: Tue, 06 Oct 2020 13:24:19 GMT”,“ETag: “24133da8dda1a1c91e38770be86f5779"”,“Content-Disposition: attachment; filename=documentserver_community.tar.gz”,“Accept-Ranges: bytes”,“Content-Type: application/octet-stream”,“Content-Length: 378283893”,“Server: AmazonS3”],“response”:{“class”:“GuzzleHttp\Psr7\Response”},“request”:{“class”:“GuzzleHttp\Psr7\Request”},“options”:{“verify”:”/mnt/web218/c1/11/51247411/htdocs/cloud/data/files_external/rootcerts.crt",“timeout”:9999,“synchronous”:true,“handler”:{“class”:“GuzzleHttp\HandlerStack”},“allow_redirects”:{“max”:5,“protocols”:[“http”,“https”],“strict”:false,“referer”:false,“track_redirects”:false},“http_errors”:true,“decode_content”:true,“cookies”:false,“idn_conversion”:true,“sink”:"/mnt/shared/tmp/oc_tmp_Lxyqea-.tar.gz","__redirect_count":1},“errno”:23,“onHeadersException”:null,“class”:“GuzzleHttp\Handler\EasyHandle”},{“errno”:23,“error”:“Failed writing body (0 != 16347)”,“appconnect_time”:0.343148999999999981813658678220235742628574371337890625,“url”:“https://github-production-release-asset-2e65be.s3.amazonaws.com/205429728/3bf1d680-07d7-11eb-9248-e1b9990c28a0?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20201014%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20201014T084544Z&X-Amz-Expires=300&X-Amz-Signature=8e56fed88f2b3c1fa829e4fad85ccb4d5b8bfc908d686d550c4373573df1a4d8&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=205429728&response-content-disposition=attachment%3B%20filename%3Ddocumentserver_community.tar.gz&response-content-type=application%2Foctet-stream",“content_type”:“application/octet-stream”,“http_code”:200,“header_size”:452,“request_size”:606,“filetime”:-1,“ssl_verify_result”:0,“redirect_count”:0,“total_time”:83.9558559999999971523720887489616870880126953125,“namelookup_time”:0.0331120000000000025419666371817584149539470672607421875,“connect_time”:0.126686999999999994059862729045562446117401123046875,“pretransfer_time”:0.343247000000000024311219704031827859580516815185546875,“size_upload”:0,“size_download”:208964119,“speed_download”:2488976,“speed_upload”:0,“download_content_length”:378283893,“upload_content_length”:-1,“starttransfer_time”:0.587018000000000039761971493135206401348114013671875,“redirect_time”:0,“redirect_url”:"",“primary_ip”:“52.216.114.195”,“certinfo”:[],“primary_port”:443,“local_ip”:“192.168.53.229”,“local_port”:52770,“curl_version”:“7.54.0”}]},{“file”:"/mnt/web218/c1/11/51247411/htdocs/cloud/3rdparty/guzzlehttp/guzzle/src/Handler/CurlFactory.php",“line”:105,“function”:“finishError”,“class”:“GuzzleHttp\Handler\CurlFactory”,“type”:"::",“args”:[{"class”:“GuzzleHttp\Handler\CurlHandler”},{“sink”:{“stream”:{“class”:“GuzzleHttp\Psr7\Stream”},“class”:“GuzzleHttp\Psr7\LazyOpenStream”},“headers”:[“x-amz-id-2: GcicSakNeJszHk/McSnYQwztOUq6GpMjmqWT57VXAIVWHiVgl7Ptpf6wHjr+24SXuPRZjLw8CsQ=”,“x-amz-request-id: DHAR7RER8HAY0R2Y”,“Date: Wed, 14 Oct 2020 08:46:35 GMT”,“Last-Modified: Tue, 06 Oct 2020 13:24:19 GMT”,“ETag: “24133da8dda1a1c91e38770be86f5779"”,“Content-Disposition: attachment; filename=documentserver_community.tar.gz”,“Accept-Ranges: bytes”,“Content-Type: application/octet-stream”,“Content-Length: 378283893”,“Server: AmazonS3”],“response”:{“class”:“GuzzleHttp\Psr7\Response”},“request”:{“class”:“GuzzleHttp\Psr7\Request”},“options”:{“verify”:”/mnt/web218/c1/11/51247411/htdocs/cloud/data/files_external/rootcerts.crt",“timeout”:9999,“synchronous”:true,“handler”:{“class”:“GuzzleHttp\HandlerStack”},“allow_redirects”:{“max”:5,“protocols”:[“http”,“https”],“strict”:false,“referer”:false,“track_redirects”:false},“http_errors”:true,“decode_content”:true,“cookies”:false,“idn_conversion”:true,“sink”:"/mnt/shared/tmp/oc_tmp_Lxyqea-.tar.gz","__redirect_count":1},“errno”:23,“onHeadersException”:null,“class”:“GuzzleHttp\Handler\EasyHandle”},{“class”:“GuzzleHttp\Handler\CurlFactory”}]},{“file”:"/mnt/web218/c1/11/51247411/htdocs/cloud/3rdparty/guzzlehttp/guzzle/src/Handler/CurlHandler.php",“line”:43,“function”:“finish”,“class”:“GuzzleHttp\Handler\CurlFactory”,“type”:"::",“args”:[{“class”:“GuzzleHttp\Handler\CurlHandler”},{“sink”:{“stream”:{“class”:“GuzzleHttp\Psr7\Stream”},“class”:“GuzzleHttp\Psr7\LazyOpenStream”},“headers”:[“x-amz-id-2: GcicSakNeJszHk/McSnYQwztOUq6GpMjmqWT57VXAIVWHiVgl7Ptpf6wHjr+24SXuPRZjLw8CsQ=”,“x-amz-request-id: DHAR7RER8HAY0R2Y”,“Date: Wed, 14 Oct 2020 08:46:35 GMT”,“Last-Modified: Tue, 06 Oct 2020 13:24:19 GMT”,“ETag: “24133da8dda1a1c91e38770be86f5779"”,“Content-Disposition: attachment; filename=documentserver_community.tar.gz”,“Accept-Ranges: bytes”,“Content-Type: application/octet-stream”,“Content-Length: 378283893”,“Server: AmazonS3”],“response”:{“class”:“GuzzleHttp\Psr7\Response”},“request”:{“class”:“GuzzleHttp\Psr7\Request”},“options”:{“verify”:”/mnt/web218/c1/11/51247411/htdocs/cloud/data/files_external/rootcerts.crt",“timeout”:9999,“synchronous”:true,“handler”:{“class”:“GuzzleHttp\HandlerStack”},“allow_redirects”:{“max”:5,“protocols”:[“http”,“https”],“strict”:false,“referer”:false,“track_redirects”:false},“http_errors”:true,“decode_content”:true,“cookies”:false,“idn_conversion”:true,“sink”:"/mnt/shared/tmp/oc_tmp_Lxyqea-.tar.gz","__redirect_count":1},“errno”:23,“onHeadersException”:null,“class”:“GuzzleHttp\Handler\EasyHandle”},{“class”:“GuzzleHttp\Handler\CurlFactory”}]},{“file”:"/mnt/web218/c1/11/51247411/htdocs/cloud/3rdparty/guzzlehttp/guzzle/src/Handler/Proxy.php",“line”:28,“function”:"__invoke",“class”:“GuzzleHttp\Handler\CurlHandler”,“type”:"->",“args”:["*** sensitive parameter replaced "," sensitive parameter replaced "]},{“file”:"/mnt/web218/c1/11/51247411/htdocs/cloud/3rdparty/guzzlehttp/guzzle/src/Handler/Proxy.php",“line”:51,“function”:“GuzzleHttp\Handler\{closure}”,“class”:“GuzzleHttp\Handler\Proxy”,“type”:"::",“args”:[" sensitive parameters replaced "]},{“file”:"/mnt/web218/c1/11/51247411/htdocs/cloud/3rdparty/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php",“line”:37,“function”:“GuzzleHttp\Handler\{closure}”,“class”:“GuzzleHttp\Handler\Proxy”,“type”:"::",“args”:[" sensitive parameters replaced "]},{“file”:"/mnt/web218/c1/11/51247411/htdocs/cloud/3rdparty/guzzlehttp/guzzle/src/Middleware.php",“line”:29,“function”:"__invoke",“class”:“GuzzleHttp\PrepareBodyMiddleware”,“type”:"->",“args”:[" sensitive parameter replaced "," sensitive parameter replaced "]},{“file”:"/mnt/web218/c1/11/51247411/htdocs/cloud/3rdparty/guzzlehttp/guzzle/src/RedirectMiddleware.php",“line”:70,“function”:“GuzzleHttp\{closure}”,“class”:“GuzzleHttp\Middleware”,“type”:"::",“args”:[" sensitive parameters replaced "]},{“file”:"/mnt/web218/c1/11/51247411/htdocs/cloud/3rdparty/guzzlehttp/guzzle/src/RedirectMiddleware.php",“line”:107,“function”:"__invoke",“class”:“GuzzleHttp\RedirectMiddleware”,“type”:"->",“args”:[" sensitive parameter replaced "," sensitive parameter replaced "]},{“file”:"/mnt/web218/c1/11/51247411/htdocs/cloud/3rdparty/guzzlehttp/guzzle/src/RedirectMiddleware.php",“line”:72,“function”:“checkRedirect”,“class”:“GuzzleHttp\RedirectMiddleware”,“type”:"->",“args”:[{“class”:“GuzzleHttp\Psr7\Request”}," sensitive parameter replaced "," sensitive parameter replaced "]},{“file”:"/mnt/web218/c1/11/51247411/htdocs/cloud/3rdparty/guzzlehttp/promises/src/FulfilledPromise.php",“line”:39,“function”:“GuzzleHttp\{closure}”,“class”:“GuzzleHttp\RedirectMiddleware”,“type”:"->",“args”:[" sensitive parameters replaced "]},{“file”:"/mnt/web218/c1/11/51247411/htdocs/cloud/3rdparty/guzzlehttp/promises/src/TaskQueue.php",“line”:47,“function”:“GuzzleHttp\Promise\{closure}”,“class”:“GuzzleHttp\Promise\FulfilledPromise”,“type”:"::",“args”:[" sensitive parameters replaced ***"]},{“file”:"/mnt/web218/c1/11/51247411/htdocs/cloud/3rdparty/guzzlehttp/promises/src/Promise.php",“line”:246,“function”:“run”,“class”:“GuzzleHttp\Promise\TaskQueue”,“type”:"->",“args”:[true]},{“file”:"/mnt/web218/c1/11/51247411/htdocs/cloud/3rdparty/guzzlehttp/promises/src/Promise.php",“line”:223,“function”:“invokeWaitFn”,“class”:“GuzzleHttp\Promise\Promise”,“type”:"->",“args”:[]},{“file”:"/mnt/web218/c1/11/51247411/htdocs/cloud/3rdparty/guzzlehttp/promises/src/Promise.php",“line”:267,“function”:“waitIfPending”,“class”:“GuzzleHttp\Promise\Promise”,“type”:"->",“args”:[]},{“file”:"/mnt/web218/c1/11/51247411/htdocs/cloud/3rdparty/guzzlehttp/promises/src/Promise.php",“line”:225,“function”:“invokeWaitList”,“class”:“GuzzleHttp\Promise\Promise”,“type”:"->",“args”:[]},{“file”:"/mnt/web218/c1/11/51247411/htdocs/cloud/3rdparty/guzzlehttp/promises/src/Promise.php",“line”:62,“function”:“waitIfPending”,“class”:“GuzzleHttp\Promise\Promise”,“type”:"->",“args”:[]},{“file”:"/mnt/web218/c1/11/51247411/htdocs/cloud/3rdparty/guzzlehttp/guzzle/src/Client.php",“line”:183,“function”:“wait”,“class”:“GuzzleHttp\Promise\Promise”,“type”:"->",“args”:[]},{“file”:"/mnt/web218/c1/11/51247411/htdocs/cloud/lib/private/Http/Client/Client.php",“line”:228,“function”:“request”,“class”:“GuzzleHttp\Client”,“type”:"->",“args”:[“get”,“https://github.com/nextcloud/documentserver_community/releases/download/v0.1.8/documentserver_community.tar.gz",{“verify”:"/mnt/web218/c1/11/51247411/htdocs/cloud/data/files_external/rootcerts.crt",“timeout”:9999,“save_to”:"/mnt/shared/tmp/oc_tmp_Lxyqea-.tar.gz",“headers”:{“User-Agent”:"Nextcloud Server Crawler”},“synchronous”:true}]},{“file”:"/mnt/web218/c1/11/51247411/htdocs/cloud/lib/private/Installer.php",“line”:281,“function”:“get”,“class”:“OC\Http\Client\Client”,“type”:"->",“args”:[“https://github.com/nextcloud/documentserver_community/releases/download/v0.1.8/documentserver_community.tar.gz",{“save_to”:"/mnt/shared/tmp/oc_tmp_Lxyqea-.tar.gz",“timeout”:9999}]},{“file”:"/mnt/web218/c1/11/51247411/htdocs/cloud/apps/settings/lib/Controller/AppSettingsController.php",“line”:444,“function”:“downloadApp”,“class”:“OC\Installer”,“type”:"->”,“args”:[“documentserver_community”]},{“file”:"/mnt/web218/c1/11/51247411/htdocs/cloud/lib/private/AppFramework/Http/Dispatcher.php",“line”:170,“function”:“enableApps”,“class”:“OCA\Settings\Controller\AppSettingsController”,“type”:"->",“args”:[[“documentserver_community”],[]]},{“file”:"/mnt/web218/c1/11/51247411/htdocs/cloud/lib/private/AppFramework/Http/Dispatcher.php",“line”:100,“function”:“executeController”,“class”:“OC\AppFramework\Http\Dispatcher”,“type”:"->",“args”:[{“class”:“OCA\Settings\Controller\AppSettingsController”},“enableApps”]},{“file”:"/mnt/web218/c1/11/51247411/htdocs/cloud/lib/private/AppFramework/App.php",“line”:137,“function”:“dispatch”,“class”:“OC\AppFramework\Http\Dispatcher”,“type”:"->",“args”:[{“class”:“OCA\Settings\Controller\AppSettingsController”},“enableApps”]},{“file”:"/mnt/web218/c1/11/51247411/htdocs/cloud/lib/private/AppFramework/Routing/RouteActionHandler.php",“line”:47,“function”:“main”,“class”:“OC\AppFramework\App”,“type”:"::",“args”:[“OCA\Settings\Controller\AppSettingsController”,“enableApps”,{“class”:“OC\AppFramework\DependencyInjection\DIContainer”},{"_route":“settings.AppSettings.enableApps”}]},{“function”:"__invoke",“class”:“OC\AppFramework\Routing\RouteActionHandler”,“type”:"->",“args”:[{"_route":“settings.AppSettings.enableApps”}]},{“file”:"/mnt/web218/c1/11/51247411/htdocs/cloud/lib/private/Route/Router.php",“line”:297,“function”:“call_user_func”,“args”:[{“class”:“OC\AppFramework\Routing\RouteActionHandler”},{"_route":“settings.AppSettings.enableApps”}]},{“file”:"/mnt/web218/c1/11/51247411/htdocs/cloud/lib/base.php",“line”:1007,“function”:“match”,“class”:“OC\Route\Router”,“type”:"->",“args”:["/settings/apps/enable"]},{“file”:"/mnt/web218/c1/11/51247411/htdocs/cloud/index.php",“line”:37,“function”:“handleRequest”,“class”:“OC”,“type”:"::",“args”:[]}],“File”:"/mnt/web218/c1/11/51247411/htdocs/cloud/3rdparty/guzzlehttp/guzzle/src/Handler/CurlFactory.php",“Line”:201,“CustomMessage”:"–"},“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36”,“version”:“19.0.0.12”}

that sounds like a shared hosting device. is it? and if yes: are you sure their rules allow to install community document server? maybe it would be a feature you’d need to pay for

Yes it is. (It is on the Strato.de server, because you are from Germany). I thought I can install it like any other application on the server.

well it COULD be the reason why… but i don’t know for sure. You might wanna ask strato.de for insights about that?

anyways: NC isn’t really recommended to be used with a shared server. it COULD work flawless but that’s not a given.