Download issue and upload issue

Hi and thanks to welcome me in this forum. I’m new here and please forgive me if I forget important things in this post.
I’ll try to give you as many details as I can, but as a rookie, I may won’t find important things. Please tell me…

[/details]

Nextcloud version : 20.0.4
Operating system and version : unknown ;( I’m running NC on a web mutual server hosted by Planet Hoster (The World) and let him work as it should, so I don’t know the inside… Maybe what says my admin panel : Linux 3.10.0-962.3.2.lve1.5.36.el7.x86_64 x86_64
Apache or nginx version (eg, Apache 2.4.25):
PHP version : 7.4.13
Memory limit 512MB
Max execution time : 3600
Upload max size : 128MB
(All this are default and I fear to change the defauts…)

Database : mysql Version 10.2.36, size 4.6MB

This is a fesh NC installation and everything almost work fine except 2 issues (one here, a second in another post).

  • When I try to upload several files, I get an error saying that there is an problem uploading and that the destination folder doesn’t exist anymore. For example, with 20 Mo jpgs, I’m able to upload two of them at the same time, but it fails if I try 3 or more. So it is impossible to upload full folder in one step.
  • When I try to download large folders, I get an error after 150 - 200 Mo of the zip file download. It does work with smaller folders

Is this the first time you’ve seen this error? : Yes, but as I’m new… I’ve always got it (tried 3 installs from zero and everytime the same thing)

Steps to replicate it:
Issue of upload

  1. bring a folder with many documents in the interface and several Mo of data
  2. or bring several files of several Mo each
    Issue of download
  3. download a folder with arround 300 Mo of data

The output of your Nextcloud log in Admin > Logging:

I'm unable to find this outup :(

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

<?php
$CONFIG = array (
  'instanceid' => 'xxx',
  'passwordsalt' => 'xxxx',
  'secret' => 'xxxx',
  'trusted_domains' => 
  array (
    0 => 'loeilduciel.fr',
  ),
  'datadirectory' => 'xxx',
  'dbtype' => 'mysql',
  'version' => '20.0.4.0',
  'overwrite.cli.url' => 'xxx',
  'dbname' => 'xxx',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'xx',
  'dbuser' => 'xxx',
  'dbpassword' => 'xxx',
  'installed' => true,
  'default_language' => 'fr',
  'skeletondirectory' => '',
  'mysql.utf8mb4' => true,
  'enabledPreviewProviders' => [
	'OC\Preview\PNG',
	'OC\Preview\JPEG',
	'OC\Preview\GIF',
	'OC\Preview\HEIC',
	'OC\Preview\BMP',
	'OC\Preview\XBitmap',
	'OC\Preview\MP3',
	'OC\Preview\TXT',
	'OC\Preview\MarkDown',
	'OC\Preview\OpenDocument',
	'OC\Preview\Krita',
	'OC\Preview\TIFF',
  ],
);

The output of your Apache/nginx/system log in /var/log/____:

Sorry, I can't find it...

Hi again. I’m sure it will help to find the issue.
1- The upload problem can be replicate by uploading several files and always occures after 5 minutes
2- I’ve managed to find the log and it always like this :

[core] Error: unable to rename, source directory is not writable : uploads/web-file-upload-0e92ab38227fb677194e4d289e4fa6bd-1609572606538

PUT /cloud/remote.php/dav/uploads/cyril/web-file-upload-0e92ab38227fb677194e4d289e4fa6bd-1609572606538/0
from 109.213.80.154 by cyril at 2021-01-02T07:36:59+00:00

[webdav] Error: renaming part file to final file failed $renameOkay: false, $fileExists: false)

PUT /cloud/remote.php/dav/uploads/cyril/web-file-upload-0e92ab38227fb677194e4d289e4fa6bd-1609572606538/0
from 109.213.80.154 by cyril at 2021-01-02T07:36:59+00:00

[webdav] Fatal: Sabre\DAV\Exception: Could not rename part file to final file at <>

  1. /home/loeiexbb/public_html/cloud/apps/dav/lib/Connector/Sabre/Directory.php line 155
    OCA\DAV\Connector\Sabre\File->put(null)
  2. /home/loeiexbb/public_html/cloud/apps/dav/lib/Upload/UploadFolder.php line 46
    OCA\DAV\Connector\Sabre\Directory->createFile(“0”, null)
  3. /home/loeiexbb/public_html/cloud/3rdparty/sabre/dav/lib/DAV/Server.php line 1104
    OCA\DAV\Upload\UploadFolder->createFile(“0”, null)
  4. /home/loeiexbb/public_html/cloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php line 527
    Sabre\DAV\Server->createFile(“uploads/cyril/w … 0”, null, null)
  5. /home/loeiexbb/public_html/cloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php line 89
    Sabre\DAV\CorePlugin->httpPut(Sabre\HTTP\Request {}, Sabre\HTTP\Response {})
  6. /home/loeiexbb/public_html/cloud/3rdparty/sabre/dav/lib/DAV/Server.php line 474
    Sabre\DAV\Server->emit(“method:PUT”, [Sabre\HTTP\Requ … }])
  7. /home/loeiexbb/public_html/cloud/3rdparty/sabre/dav/lib/DAV/Server.php line 251
    Sabre\DAV\Server->invokeMethod(Sabre\HTTP\Request {}, Sabre\HTTP\Response {})
  8. /home/loeiexbb/public_html/cloud/3rdparty/sabre/dav/lib/DAV/Server.php line 319
    Sabre\DAV\Server->start()
  9. /home/loeiexbb/public_html/cloud/apps/dav/lib/Server.php line 332
    Sabre\DAV\Server->exec()
  10. /home/loeiexbb/public_html/cloud/apps/dav/appinfo/v2/remote.php line 35
    OCA\DAV\Server->exec()
  11. /home/loeiexbb/public_html/cloud/remote.php line 167
    require_once("/home/loeiexbb/ … p")

PUT /cloud/remote.php/dav/uploads/cyril/web-file-upload-0e92ab38227fb677194e4d289e4fa6bd-1609572606538/0
from 109.213.80.154 by cyril at 2021-01-02T07:36:59+00:00

[webdav] Fatal: Sabre\DAV\Exception: Could not rename part file to final file at <>

  1. /home/loeiexbb/public_html/cloud/apps/dav/lib/Connector/Sabre/Directory.php line 155
    OCA\DAV\Connector\Sabre\File->put(null)
  2. /home/loeiexbb/public_html/cloud/apps/dav/lib/Upload/UploadFolder.php line 46
    OCA\DAV\Connector\Sabre\Directory->createFile(“0”, null)
  3. /home/loeiexbb/public_html/cloud/3rdparty/sabre/dav/lib/DAV/Server.php line 1104
    OCA\DAV\Upload\UploadFolder->createFile(“0”, null)
  4. /home/loeiexbb/public_html/cloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php line 527
    Sabre\DAV\Server->createFile(“uploads/cyril/w … 0”, null, null)
  5. /home/loeiexbb/public_html/cloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php line 89
    Sabre\DAV\CorePlugin->httpPut(Sabre\HTTP\Request {}, Sabre\HTTP\Response {})
  6. /home/loeiexbb/public_html/cloud/3rdparty/sabre/dav/lib/DAV/Server.php line 474
    Sabre\DAV\Server->emit(“method:PUT”, [Sabre\HTTP\Requ … }])
  7. /home/loeiexbb/public_html/cloud/3rdparty/sabre/dav/lib/DAV/Server.php line 251
    Sabre\DAV\Server->invokeMethod(Sabre\HTTP\Request {}, Sabre\HTTP\Response {})
  8. /home/loeiexbb/public_html/cloud/3rdparty/sabre/dav/lib/DAV/Server.php line 319
    Sabre\DAV\Server->start()
  9. /home/loeiexbb/public_html/cloud/apps/dav/lib/Server.php line 332
    Sabre\DAV\Server->exec()
  10. /home/loeiexbb/public_html/cloud/apps/dav/appinfo/v2/remote.php line 35
    OCA\DAV\Server->exec()
  11. /home/loeiexbb/public_html/cloud/remote.php line 167
    require_once("/home/loeiexbb/ … p")

PUT /cloud/remote.php/dav/uploads/cyril/web-file-upload-0e92ab38227fb677194e4d289e4fa6bd-1609572606538/0
from 109.213.80.154 by cyril at 2021-01-02T07:36:59+00:00

[PHP] Error: Error: Cannot modify header information - headers already sent by (output started at /home/loeiexbb/public_html/cloud/3rdparty/sabre/http/lib/Sapi.php:132) at /home/loeiexbb/public_html/cloud/apps/dav/lib/Connector/Sabre/File.php#691 at <>

  1. <>
    OC\Log\ErrorHandler::onError(2, “Cannot modify h … )”, “/home/loeiexbb/ … p”, 691, {string: "X-Hash … "})
  2. /home/loeiexbb/public_html/cloud/apps/dav/lib/Connector/Sabre/File.php line 691
    header(“X-Hash-SHA256: … 5”)
  3. /home/loeiexbb/public_html/cloud/apps/dav/lib/Connector/Sabre/File.php line 195
    OCA\DAV\Connector\Sabre\File->header(“X-Hash-SHA256: … 5”)
  4. <>
    OCA\DAV\Connector\Sabre\File->OCA\DAV\Connector\Sabre{closure}("*** sensitive parameters replaced ***")
  5. /home/loeiexbb/public_html/cloud/lib/private/Files/Stream/HashWrapper.php line 71
    call_user_func(Closure {}, “*** sensitive parameter replaced ***”)
  6. /home/loeiexbb/public_html/cloud/3rdparty/sabre/dav/lib/DAV/Server.php line 319
    OC\Files\Stream\HashWrapper->stream_close()
  7. /home/loeiexbb/public_html/cloud/apps/dav/lib/Server.php line 332
    Sabre\DAV\Server->exec()
  8. /home/loeiexbb/public_html/cloud/apps/dav/appinfo/v2/remote.php line 35
    OCA\DAV\Server->exec()
  9. /home/loeiexbb/public_html/cloud/remote.php line 167
    require_once("/home/loeiexbb/ … p")

PUT /cloud/remote.php/dav/uploads/cyril/web-file-upload-0e92ab38227fb677194e4d289e4fa6bd-1609572606538/0
from 109.213.80.154 by cyril at 2021-01-02T07:36:59+00:00

[PHP] Error: Error: Cannot modify header information - headers already sent by (output started at /home/loeiexbb/public_html/cloud/3rdparty/sabre/http/lib/Sapi.php:132) at /home/loeiexbb/public_html/cloud/apps/dav/lib/Connector/Sabre/File.php#691 at <>

  1. <>
    OC\Log\ErrorHandler::onError(2, “Cannot modify h … )”, “/home/loeiexbb/ … p”, 691, {string: "X-Hash … "})
  2. /home/loeiexbb/public_html/cloud/apps/dav/lib/Connector/Sabre/File.php line 691
    header(“X-Hash-SHA1: 52 … 5”)
  3. /home/loeiexbb/public_html/cloud/apps/dav/lib/Connector/Sabre/File.php line 192
    OCA\DAV\Connector\Sabre\File->header(“X-Hash-SHA1: 52 … 5”)
  4. <>
    OCA\DAV\Connector\Sabre\File->OCA\DAV\Connector\Sabre{closure}("*** sensitive parameters replaced ***")
  5. /home/loeiexbb/public_html/cloud/lib/private/Files/Stream/HashWrapper.php line 71
    call_user_func(Closure {}, “*** sensitive parameter replaced ***”)
  6. <>
    OC\Files\Stream\HashWrapper->stream_close()
  7. /home/loeiexbb/public_html/cloud/apps/files_external/3rdparty/icewind/streams/src/Wrapper.php line 132
    fclose(null)
  8. /home/loeiexbb/public_html/cloud/lib/private/Files/Stream/HashWrapper.php line 75
    Icewind\Streams\Wrapper->stream_close()
  9. /home/loeiexbb/public_html/cloud/3rdparty/sabre/dav/lib/DAV/Server.php line 319
    OC\Files\Stream\HashWrapper->stream_close()
  10. /home/loeiexbb/public_html/cloud/apps/dav/lib/Server.php line 332
    Sabre\DAV\Server->exec()
  11. /home/loeiexbb/public_html/cloud/apps/dav/appinfo/v2/remote.php line 35
    OCA\DAV\Server->exec()
  12. /home/loeiexbb/public_html/cloud/remote.php line 167
    require_once("/home/loeiexbb/ … p")

PUT /cloud/remote.php/dav/uploads/cyril/web-file-upload-0e92ab38227fb677194e4d289e4fa6bd-1609572606538/0
from 109.213.80.154 by cyril at 2021-01-02T07:36:59+00:00

[PHP] Error: Error: Cannot modify header information - headers already sent by (output started at /home/loeiexbb/public_html/cloud/3rdparty/sabre/http/lib/Sapi.php:132) at /home/loeiexbb/public_html/cloud/apps/dav/lib/Connector/Sabre/File.php#691 at <>

  1. <>
    OC\Log\ErrorHandler::onError(2, “Cannot modify h … )”, “/home/loeiexbb/ … p”, 691, {string: "X-Hash … "})
  2. /home/loeiexbb/public_html/cloud/apps/dav/lib/Connector/Sabre/File.php line 691
    header(“X-Hash-MD5: 09a … 5”)
  3. /home/loeiexbb/public_html/cloud/apps/dav/lib/Connector/Sabre/File.php line 189
    OCA\DAV\Connector\Sabre\File->header(“X-Hash-MD5: 09a … 5”)
  4. <>
    OCA\DAV\Connector\Sabre\File->OCA\DAV\Connector\Sabre{closure}("*** sensitive parameters replaced ***")
  5. /home/loeiexbb/public_html/cloud/lib/private/Files/Stream/HashWrapper.php line 71
    call_user_func(Closure {}, “*** sensitive parameter replaced ***”)
  6. <>
    OC\Files\Stream\HashWrapper->stream_close()
  7. /home/loeiexbb/public_html/cloud/apps/files_external/3rdparty/icewind/streams/src/Wrapper.php line 132
    fclose(null)
  8. /home/loeiexbb/public_html/cloud/lib/private/Files/Stream/HashWrapper.php line 75
    Icewind\Streams\Wrapper->stream_close()
  9. <>
    OC\Files\Stream\HashWrapper->stream_close()
  10. /home/loeiexbb/public_html/cloud/apps/files_external/3rdparty/icewind/streams/src/Wrapper.php line 132
    fclose(null)
  11. /home/loeiexbb/public_html/cloud/lib/private/Files/Stream/HashWrapper.php line 75
    Icewind\Streams\Wrapper->stream_close()
  12. /home/loeiexbb/public_html/cloud/3rdparty/sabre/dav/lib/DAV/Server.php line 319
    OC\Files\Stream\HashWrapper->stream_close()
  13. /home/loeiexbb/public_html/cloud/apps/dav/lib/Server.php line 332
    Sabre\DAV\Server->exec()
  14. /home/loeiexbb/public_html/cloud/apps/dav/appinfo/v2/remote.php line 35
    OCA\DAV\Server->exec()
  15. /home/loeiexbb/public_html/cloud/remote.php line 167
    require_once("/home/loeiexbb/ … p")

PUT /cloud/remote.php/dav/uploads/cyril/web-file-upload-0e92ab38227fb677194e4d289e4fa6bd-1609572606538/0
from 109.213.80.154 by cyril at 2021-01-02T07:36:59+00:00

Thanks for your help in advance