Cannot upload file with stop upload bar progress for a file of 70 MB size

Nextcloud version (eg, 20.0.5): 24.0.5
Operating system and version (eg, Ubuntu 20.04): Debian 11.6
Apache or nginx version (eg, Apache 2.4.25): 2.4.54-1
PHP version (eg, 7.4): 8.1.16

Latest Docker Image

The issue you are facing:

Is this the first time you’ve seen this error? (Y/N): Y

Steps to replicate it:

  1. Try to upload a file greater 70MB
  2. Progress bar stops after a few seconds
  3. must leave files menu, everything else works

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

imho not related, no changes since one week

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

imho not related, no nginx installed, apache reverse proxy used

Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.

{"reqId":"pUUvmyyocWcXPAcJQssa","level":0,"time":"2023-03-09T12:28:44+00:00","remoteAddr":"192.168.178.21","user":"[USER]","app":"PHP","method":"PUT","url":"/remote.php/dav/uploads/[USER]/web-file-upload-0d3e12
36ff4a86f39bde4bae4033dcdb-1678364920815/0","message":"pathinfo(): Passing null to parameter #1 ($path) of type string is deprecated at /var/www/html/lib/private/Files/Cache/Scanner.php#505","userAgent":"Mo
zilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36","version":"25.0.4.1","exception":{"Exception":"Error","Message":"pathinfo(): Passing null to parameter #1
 ($path) of type string is deprecated at /var/www/html/lib/private/Files/Cache/Scanner.php#505","Code":0,"Trace":[{"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::","args":[8192,"pathinfo(): 
Passing null to parameter #1 ($path) of type string is deprecated","/var/www/html/lib/private/Files/Cache/Scanner.php",505]},{"file":"/var/www/html/lib/private/Files/Cache/Scanner.php","line":505,"function"
:"pathinfo","args":[null,4]},{"file":"/var/www/html/lib/private/Files/View.php","line":1384,"function":"isPartialFile","class":"OC\\Files\\Cache\\Scanner","type":"::","args":[null]},{"file":"/var/www/html/l
ib/private/Files/Node/HookConnector.php","line":227,"function":"getFileInfo","class":"OC\\Files\\View","type":"->","args":[null]},{"file":"/var/www/html/lib/private/Files/Node/HookConnector.php","line":104,
"function":"getNodeForPath","class":"OC\\Files\\Node\\HookConnector","type":"->","args":[null]},{"file":"/var/www/html/lib/private/legacy/OC_Hook.php","line":106,"function":"write","class":"OC\\Files\\Node\
\HookConnector","type":"->","args":[[null,true]]},{"file":"/var/www/html/apps/dav/lib/Connector/Sabre/File.php","line":448,"function":"emit","class":"OC_Hook","type":"::","args":["OC_Filesystem","write",[nu
ll,true]]},{"file":"/var/www/html/apps/dav/lib/Connector/Sabre/File.php","line":323,"function":"emitPreHooks","class":"OCA\\DAV\\Connector\\Sabre\\File","type":"->","args":[false]},{"file":"/var/www/html/ap
ps/dav/lib/Connector/Sabre/Directory.php","line":151,"function":"put","class":"OCA\\DAV\\Connector\\Sabre\\File","type":"->","args":[null]},{"file":"/var/www/html/apps/dav/lib/Upload/UploadFolder.php","line
":45,"function":"createFile","class":"OCA\\DAV\\Connector\\Sabre\\Directory","type":"->","args":["0",null]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":1098,"function":"createFile",
"class":"OCA\\DAV\\Upload\\UploadFolder","type":"->","args":["0",null]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":504,"function":"createFile","class":"Sabre\\DAV\\Server","typ
e":"->","args":["uploads/[USER]/web-file-upload-0d3e1236ff4a86f39bde4bae4033dcdb-1678364920815/0",null,null]},{"file":"/var/www/html/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"ht
tpPut","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","c
lass":"Sabre\\DAV\\Server","type":"->","args":["method:PUT",[["Sabre\\HTTP\\Request"],["Sabre\\HTTP\\Response"]]]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":253,"function":"invoke
Method","class":"Sabre\\DAV\\Server","type":"->","args":[["Sabre\\HTTP\\Request"],["Sabre\\HTTP\\Response"]]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":321,"function":"start","cla
ss":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"/var/www/html/apps/dav/lib/Server.php","line":360,"function":"exec","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"/var/www/html/apps/d
av/appinfo/v2/remote.php","line":35,"function":"exec","class":"OCA\\DAV\\Server","type":"->","args":[]},{"file":"/var/www/html/remote.php","line":171,"args":["/var/www/html/apps/dav/appinfo/v2/remote.php"],
"function":"require_once"}],"File":"/var/www/html/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"}}

Using NC Loglevel 0 for debugging, message appears at the same moment where the upload progress bar stops. Do not know if related. No Redis Cache.

Files with size for example 1MB uploads with no problems, same behavior with bigger files, for example 130MB.

Have you adjusted your php.ini and apache configs to accept larger files? The default configs usually limit file uploads to 8MB.

okay, will have a look. But before a few days it works without probs…