[details=“Support intro”]
Hi @all,
I am currently stuggling with uploading of large files into my Nextcloud Instance via the WebGUI and would appreciate some help to solve my issue.
I am currently running a Nextcloud AIO Docker instance behind a Nginx as a reverse proxy. I manage all my containers through portainer, just in case if that is relevant in any way.
When I first stumbled across the issue i couldn’t upload any large file in any way, including the Windows Sync App, the Gnome Sync function and the WebGUI. I did a quick research to resolve the problem on my own and I managed to solve the issue if i upload a file via Gnome or the Sync App by extending the upload limit to 1000G and the time limit to around 100 hours in my docker compose file, as well as setting the client_max_body_size to 1000G in Nginx.
So far so good, but on the WebGUI side, another problem occurs now during the assembling of the file. After some time I always get an “unknown error” and the assembling fails. In the logs i can see some more details though, you can see the logs below.
My assumption is, that there is a timeout issue, but even after some research and some potential solutions I couldn’t resolve the issue. Most of the potential solutions suggest editing a php.ini file, but i couldn’t find any file with that name in the Nextloud AIO instance.
And that’s where Iḿ stuck now.
I would really appreciate some help here!
Thank you in advance!
The Basics
- Nextcloud Server version (e.g., 29.x.x):
v11.4.0
- Operating system and version (e.g., Ubuntu 24.04):
Debian 13 Trixie
- Web server and version (e.g, Apache 2.4.25):
Apache 2.4.63
- Reverse proxy and version _(e.g. nginx 1.27.2)
Nginx Reverse Proxy 2.12.6
- PHP version (e.g, 8.3):
8.4.10
- Is this the first time you’ve seen this error? (Yes / No):
N/A
- When did this problem seem to first start?
From the first setup onwards
- Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
AIO
- Are you using CloudfIare, mod_security, or similar? (Yes / No)
No
Summary of the issue you are facing:
I get an unknown error while uploading a large file (>4G) via the WebGUI during the assembling phase.
Steps to replicate it (hint: details matter!):
- Open the WebGUI via the domain
- Upload a file via the “New” button
- Wait for the assembling phase
Log entries
Nextcloud
Please provide the log entries from your Nextcloud log that are generated during the time of problem (via the Copy raw option from Administration settings->Logging screen or from your nextcloud.log
located in your data directory). Feel free to use a pastebin/gist service if necessary.
{
"reqId": "n0LleuxszBVKVcudErio",
"level": 3,
"time": "2025-07-24T15:18:33+00:00",
"remoteAddr": "194.96.37.230",
"user": "username",
"app": "webdav",
"method": "MOVE",
"url": "/remote.php/dav/uploads/username/web-file-upload-93d1e205f3ac3e6b/.file",
"message": "Could not open file: web-file-upload-93d1e205f3ac3e6b/18, file doesn't seem to exist",
"userAgent": "Mozilla/5.0 (X11; Linux x86_64; rv:128.0) Gecko/20100101 Firefox/128.0",
"version": "31.0.7.1",
"exception": {
"Exception": "Sabre\\DAV\\Exception\\ServiceUnavailable",
"Message": "Could not open file: web-file-upload-93d1e205f3ac3e6b/18, file doesn't seem to exist",
"Code": 0,
"Trace": [
{
"file": "/var/www/html/apps/dav/lib/Upload/AssemblyStream.php",
"line": 279,
"function": "get",
"class": "OCA\\DAV\\Connector\\Sabre\\File",
"type": "->",
"args": []
},
{
"file": "/var/www/html/apps/dav/lib/Upload/AssemblyStream.php",
"line": 152,
"function": "getStream",
"class": "OCA\\DAV\\Upload\\AssemblyStream",
"type": "->",
"args": [
{
"__class__": "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": 302,
"function": "file_put_contents",
"args": [
"/mnt/ncdata/username/files/a71c9d4dd851744380eb47ba3e8b9e4f.ocTransferId1055441888.part",
null
]
},
{
"file": "/var/www/html/lib/private/Files/Storage/Local.php",
"line": 584,
"function": "file_put_contents",
"class": "OC\\Files\\Storage\\Local",
"type": "->",
"args": [
"files/a71c9d4dd851744380eb47ba3e8b9e4f.ocTransferId1055441888.part",
null
]
},
{
"file": "/var/www/html/lib/private/Files/Storage/Wrapper/Wrapper.php",
"line": 322,
"function": "writeStream",
"class": "OC\\Files\\Storage\\Local",
"type": "->",
"args": [
"files/a71c9d4dd851744380eb47ba3e8b9e4f.ocTransferId1055441888.part",
null,
null
]
},
{
"file": "/var/www/html/lib/private/Files/Storage/Wrapper/Wrapper.php",
"line": 322,
"function": "writeStream",
"class": "OC\\Files\\Storage\\Wrapper\\Wrapper",
"type": "->",
"args": [
"files/a71c9d4dd851744380eb47ba3e8b9e4f.ocTransferId1055441888.part",
null,
null
]
},
{
"file": "/var/www/html/apps/dav/lib/Connector/Sabre/File.php",
"line": 215,
"function": "writeStream",
"class": "OC\\Files\\Storage\\Wrapper\\Wrapper",
"type": "->",
"args": [
"files/a71c9d4dd851744380eb47ba3e8b9e4f.ocTransferId1055441888.part",
null
]
},
{
"file": "/var/www/html/apps/dav/lib/Connector/Sabre/Directory.php",
"line": 116,
"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": [
{
"__class__": "OCA\\DAV\\Upload\\FutureFile"
},
{
"__class__": "OCA\\DAV\\Files\\FilesHome"
},
"*** 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/username/web-file-upload-93d1e205f3ac3e6b/.file",
"files/username/HomeStudentRetail_2.img"
]
},
{
"file": "/var/www/html/apps/dav/lib/Upload/ChunkingPlugin.php",
"line": 77,
"function": "move",
"class": "Sabre\\DAV\\Tree",
"type": "->",
"args": [
"uploads/username/web-file-upload-93d1e205f3ac3e6b/.file",
"files/username/HomeStudentRetail_2.img"
]
},
{
"file": "/var/www/html/apps/dav/lib/Upload/ChunkingPlugin.php",
"line": 59,
"function": "performMove",
"class": "OCA\\DAV\\Upload\\ChunkingPlugin",
"type": "->",
"args": [
"uploads/username/web-file-upload-93d1e205f3ac3e6b/.file",
"files/username/HomeStudentRetail_2.img"
]
},
{
"file": "/var/www/html/3rdparty/sabre/event/lib/WildcardEmitterTrait.php",
"line": 89,
"function": "beforeMove",
"class": "OCA\\DAV\\Upload\\ChunkingPlugin",
"type": "->",
"args": [
"uploads/username/web-file-upload-93d1e205f3ac3e6b/.file",
"files/username/HomeStudentRetail_2.img"
]
},
{
"file": "/var/www/html/3rdparty/sabre/dav/lib/DAV/CorePlugin.php",
"line": 603,
"function": "emit",
"class": "Sabre\\DAV\\Server",
"type": "->",
"args": [
"beforeMove",
[
"uploads/username/web-file-upload-93d1e205f3ac3e6b/.file",
"files/username/HomeStudentRetail_2.img"
]
]
},
{
"file": "/var/www/html/3rdparty/sabre/event/lib/WildcardEmitterTrait.php",
"line": 89,
"function": "httpMove",
"class": "Sabre\\DAV\\CorePlugin",
"type": "->",
"args": [
{
"__class__": "Sabre\\HTTP\\Request"
},
{
"__class__": "Sabre\\HTTP\\Response"
}
]
},
{
"file": "/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php",
"line": 472,
"function": "emit",
"class": "Sabre\\DAV\\Server",
"type": "->",
"args": [
"method:MOVE",
[
{
"__class__": "Sabre\\HTTP\\Request"
},
{
"__class__": "Sabre\\HTTP\\Response"
}
]
]
},
{
"file": "/var/www/html/apps/dav/lib/Connector/Sabre/Server.php",
"line": 49,
"function": "invokeMethod",
"class": "Sabre\\DAV\\Server",
"type": "->",
"args": [
{
"__class__": "Sabre\\HTTP\\Request"
},
{
"__class__": "Sabre\\HTTP\\Response"
}
]
},
{
"file": "/var/www/html/apps/dav/lib/Server.php",
"line": 401,
"function": "start",
"class": "OCA\\DAV\\Connector\\Sabre\\Server",
"type": "->",
"args": []
},
{
"file": "/var/www/html/apps/dav/appinfo/v2/remote.php",
"line": 21,
"function": "exec",
"class": "OCA\\DAV\\Server",
"type": "->",
"args": []
},
{
"file": "/var/www/html/remote.php",
"line": 145,
"args": [
"/var/www/html/apps/dav/appinfo/v2/remote.php"
],
"function": "require_once"
}
],
"File": "/var/www/html/apps/dav/lib/Connector/Sabre/File.php",
"Line": 469,
"message": "Could not open file: web-file-upload-93d1e205f3ac3e6b/18, file doesn't seem to exist",
"exception": [],
"CustomMessage": "Could not open file: web-file-upload-93d1e205f3ac3e6b/18, file doesn't seem to exist"
},
"id": "6882a2f09d453"
}
If more information is necessary to resolve the issue, i will happily provide it asap.
Thx in advance!