Error on uploading big files : Path upload/web-file-upload-xxx is not accessible or present

Hi guys

Im running Nextcloud 28.0.4.1 with docker 25.0.4 (as root). I use docker compose 2.24.7 on a recent debian.

The nextcloud stack is :
image: nextcloud:fpm
image: mariadb
image: nginx
image: redis:alpine

I went through installation, restored the data from a borg backup : everything works fine.
Nextcloud data folder is a NFS mount on my Synology NAS.
The problem is : I can’t upload files larger than 1,something Go.

The upload via web interface goes all the way to the end, then it show an “Unknow error message”
In the nextcloud logs, i got :
{"reqId":"2aH33IByWFi5Rx06GN1g","level":0,"time":"May 05, 2024 05:43:57","remoteAddr":"10.10.10.5","user":"roller","app":"core","method":"MOVE","url":"/remote.php/dav/uploads/roller/web-file-upload-88c7b94bea8156db/.file","message":"!!! Path 'uploads/web-file-upload-88c7b94bea8156db/170' is not accessible or present !!!","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36 OPR/109.0.0.0","version":"28.0.4.1","data":{"app":"core"}} {"reqId":"2aH33IByWFi5Rx06GN1g","level":3,"time":"May 05, 2024 05:44:06","remoteAddr":"10.10.10.5","user":"roller","app":"no app in context","method":"MOVE","url":"/remote.php/dav/uploads/roller/web-file-upload-88c7b94bea8156db/.file","message":"Could not open file","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36 OPR/109.0.0.0","version":"28.0.4.1","exception":{"Exception":"Sabre\\DAV\\Exception\\ServiceUnavailable","Message":"Could not open file","Code":0,"Trace":[{"file":"/var/www/html/apps/dav/lib/Upload/AssemblyStream.php","line":294,"function":"get","class":"OCA\\DAV\\Connector\\Sabre\\File","type":"->","args":[]},{"file":"/var/www/html/apps/dav/lib/Upload/AssemblyStream.php","line":164,"function":"getStream","class":"OCA\\DAV\\Upload\\AssemblyStream","type":"->","args":[["OCA\\DAV\\Connector\\Sabre\\File"]]},{"function":"stream_read","class":"OCA\\DAV\\Upload\\AssemblyStream","type":"->","args":[8192]},{"file":"/var/www/html/3rdparty/icewind/streams/src/Wrapper.php","line":55,"function":"fread","args":["*** sensitive parameters replaced ***",8192]},{"file":"/var/www/html/3rdparty/icewind/streams/src/CallbackWrapper.php","line":96,"function":"stream_read","class":"Icewind\\Streams\\Wrapper","type":"->","args":[8192]},{"function":"stream_read","class":"Icewind\\Streams\\CallbackWrapper","type":"->","args":[8192]},{"file":"/var/www/html/lib/private/Files/Storage/Local.php","line":339,"function":"file_put_contents","args":["/var/www/html/data/roller/files/Vid\u00e9os/2024/Mai 2024/2024-05-02/Carnaval2024_defile.mp4.ocTransferId1947620395.part",null]},{"file":"/var/www/html/lib/private/Files/Storage/Local.php","line":647,"function":"file_put_contents","class":"OC\\Files\\Storage\\Local","type":"->","args":["files/Vid\u00e9os/2024/Mai 2024/2024-05-02/Carnaval2024_defile.mp4.ocTransferId1947620395.part",null]},{"file":"/var/www/html/lib/private/Files/Storage/Wrapper/Wrapper.php","line":653,"function":"writeStream","class":"OC\\Files\\Storage\\Local","type":"->","args":["files/Vid\u00e9os/2024/Mai 2024/2024-05-02/Carnaval2024_defile.mp4.ocTransferId1947620395.part",null,null]},{"file":"/var/www/html/lib/private/Files/Storage/Wrapper/Wrapper.php","line":653,"function":"writeStream","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->","args":["files/Vid\u00e9os/2024/Mai 2024/2024-05-02/Carnaval2024_defile.mp4.ocTransferId1947620395.part",null,null]},{"file":"/var/www/html/apps/dav/lib/Connector/Sabre/File.php","line":250,"function":"writeStream","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->","args":["files/Vid\u00e9os/2024/Mai 2024/2024-05-02/Carnaval2024_defile.mp4.ocTransferId1947620395.part",null]},{"file":"/var/www/html/apps/dav/lib/Connector/Sabre/Directory.php","line":148,"function":"put","class":"OCA\\DAV\\Connector\\Sabre\\File","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Tree.php","line":325,"function":"createFile","class":"OCA\\DAV\\Connector\\Sabre\\Directory","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Tree.php","line":151,"function":"copyNode","class":"Sabre\\DAV\\Tree","type":"->","args":[["OCA\\DAV\\Upload\\FutureFile"],["OCA\\DAV\\Connector\\Sabre\\Directory"],"*** sensitive parameters replaced ***"]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Tree.php","line":181,"function":"copy","class":"Sabre\\DAV\\Tree","type":"->","args":["uploads/roller/web-file-upload-88c7b94bea8156db/.file","files/roller/Vid\u00e9os/2024/Mai 2024/2024-05-02/Carnaval2024_defile.mp4"]},{"file":"/var/www/html/apps/dav/lib/Upload/ChunkingPlugin.php","line":94,"function":"move","class":"Sabre\\DAV\\Tree","type":"->","args":["uploads/roller/web-file-upload-88c7b94bea8156db/.file","files/roller/Vid\u00e9os/2024/Mai 2024/2024-05-02/Carnaval2024_defile.mp4"]},{"file":"/var/www/html/apps/dav/lib/Upload/ChunkingPlugin.php","line":76,"function":"performMove","class":"OCA\\DAV\\Upload\\ChunkingPlugin","type":"->","args":["uploads/roller/web-file-upload-88c7b94bea8156db/.file","files/roller/Vid\u00e9os/2024/Mai 2024/2024-05-02/Carnaval2024_defile.mp4"]},{"file":"/var/www/html/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"beforeMove","class":"OCA\\DAV\\Upload\\ChunkingPlugin","type":"->","args":["uploads/roller/web-file-upload-88c7b94bea8156db/.file","files/roller/Vid\u00e9os/2024/Mai 2024/2024-05-02/Carnaval2024_defile.mp4"]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":603,"function":"emit","class":"Sabre\\DAV\\Server","type":"->","args":["beforeMove",["uploads/roller/web-file-upload-88c7b94bea8156db/.file","files/roller/Vid\u00e9os/2024/Mai 2024/2024-05-02/Carnaval2024_defile.mp4"]]},{"file":"/var/www/html/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"httpMove","class":"Sabre\\DAV\\CorePlugin","type":"->","args":[["Sabre\\HTTP\\Request"],["Sabre\\HTTP\\Response"]]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":472,"function":"emit","class":"Sabre\\DAV\\Server","type"

So "url": "/remote.php/dav/uploads/roller/web-file-upload-88c7b94bea8156db/.file", "message": "!!! Path 'uploads/web-file-upload-88c7b94bea8156db/170' is not accessible or present !!!", is the interesting part

For info, I mounted several config files into the docker to be able to change them with the following :

  • /var/www/html/.user.ini
    php_value upload_max_filesize 32G
    php_value post_max_size 32G
  • /var/www/html/config/config.php
  • /usr/local/etc/php-fpm.d/www.conf
    pm = dynamic
    pm.max_children = 150
    pm.start_servers = 50
    pm.min_spare_servers = 50
    pm.max_spare_servers = 100

I don’t understand what’s happening. Any help appreciated. :slight_smile:

edit : My synology NAS has a RAID1 and 1 disk seems to have a bad health. Could it be the cause ?
edit2: I changed the disk, I still got the same error. When i upload a 2.96GB file, I can see the /uploads/web-file-upload-3365c600446f1904 growing to 3.0GB. Then, the error append…