Cannot upload files larger than 2GB even though I have modified the php.ini file upload max post_max and execution time.
Rocky linux 8.8 on a vm -
Here is my error log: two lines in the logs Webdav error and no app in context
{“reqId”:“ZdlEIv1da6@dUHQTPIW-tgAAAFc”,“level”:3,“time”:“2024-02-24T01:20:31+00:00”,“remoteAddr”:“24.141.167.165”,“user”:“root”,“app”:“no app in context”,“method”:“MOVE”,“url”:“/remote.php/dav/uploads/root/web-file-upload-146cdf4f9cdc0100/.file”,“message”:“Could not open file”,“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36”,“version”:“28.0.2.5”,“exception”:{“Exception”:“Sabre\DAV\Exception\ServiceUnavailable”,“Message”:“Could not open file”,“Code”:0,“Trace”:[{“file”:“/var/www/html/nextcloud/apps/dav/lib/Upload/AssemblyStream.php”,“line”:294,“function”:“get”,“class”:“OCA\DAV\Connector\Sabre\File”,“type”:“->”},{“file”:“/var/www/html/nextcloud/apps/dav/lib/Upload/AssemblyStream.php”,“line”:164,“function”:“getStream”,“class”:“OCA\DAV\Upload\AssemblyStream”,“type”:“->”},{“function”:“stream_read”,“class”:“OCA\DAV\Upload\AssemblyStream”,“type”:“->”},{“file”:“/var/www/html/nextcloud/3rdparty/icewind/streams/src/Wrapper.php”,“line”:55,“function”:“fread”},{“file”:“/var/www/html/nextcloud/3rdparty/icewind/streams/src/CallbackWrapper.php”,“line”:96,“function”:“stream_read”,“class”:“Icewind\Streams\Wrapper”,“type”:“->”},{“function”:“stream_read”,“class”:“Icewind\Streams\CallbackWrapper”,“type”:“->”},{“file”:“/var/www/html/nextcloud/lib/private/Files/Storage/Local.php”,“line”:335,“function”:“file_put_contents”},{“file”:“/var/www/html/nextcloud/lib/private/Files/Storage/Local.php”,“line”:643,“function”:“file_put_contents”,“class”:“OC\Files\Storage\Local”,“type”:“->”},{“file”:“/var/www/html/nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php”,“line”:644,“function”:“writeStream”,“class”:“OC\Files\Storage\Local”,“type”:“->”},{“file”:“/var/www/html/nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php”,“line”:644,“function”:“writeStream”,“class”:“OC\Files\Storage\Wrapper\Wrapper”,“type”:“->”},{“file”:“/var/www/html/nextcloud/apps/dav/lib/Connector/Sabre/File.php”,“line”:250,“function”:“writeStream”,“class”:“OC\Files\Storage\Wrapper\Wrapper”,“type”:“->”},{“file”:“/var/www/html/nextcloud/apps/dav/lib/Connector/Sabre/Directory.php”,“line”:148,“function”:“put”,“class”:“OCA\DAV\Connector\Sabre\File”,“type”:“->”},{“file”:“/var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Tree.php”,“line”:313,“function”:“createFile”,“class”:“OCA\DAV\Connector\Sabre\Directory”,“type”:“->”,“args”:[“*** sensitive parameters replaced ***”]},{“file”:“/var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Tree.php”,“line”:139,“function”:“copyNode”,“class”:“Sabre\DAV\Tree”,“type”:“->”},{“file”:“/var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Tree.php”,“line”:169,“function”:“copy”,“class”:“Sabre\DAV\Tree”,“type”:“->”},{“file”:“/var/www/html/nextcloud/apps/dav/lib/Upload/ChunkingPlugin.php”,“line”:94,“function”:“move”,“class”:“Sabre\DAV\Tree”,“type”:“->”},{“file”:“/var/www/html/nextcloud/apps/dav/lib/Upload/ChunkingPlugin.php”,“line”:76,“function”:“performMove”,“class”:“OCA\DAV\Upload\ChunkingPlugin”,“type”:“->”},{“file”:“/var/www/html/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php”,“line”:89,“function”:“beforeMove”,“class”:“OCA\DAV\Upload\ChunkingPlugin”,“type”:“->”},{“file”:“/var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php”,“line”:603,“function”:“emit”,“class”:“Sabre\DAV\Server”,“type”:“->”},{“file”:“/var/www/html/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php”,“line”:89,“function”:“httpMove”,“class”:“Sabre\DAV\CorePlugin”,“type”:“->”},{“file”:“/var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php”,“line”:472,“function”:“emit”,“class”:“Sabre\DAV\Server”,“type”:“->”},{“file”:“/var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php”,“line”:253,“function”:“invokeMethod”,“class”:“Sabre\DAV\Server”,“type”:“->”},{“file”:“/var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php”,“line”:321,“function”:“start”,“class”:“Sabre\DAV\Server”,“type”:“->”},{“file”:“/var/www/html/nextcloud/apps/dav/lib/Server.php”,“line”:370,“function”:“exec”,“class”:“Sabre\DAV\Server”,“type”:“->”},{“file”:“/var/www/html/nextcloud/apps/dav/appinfo/v2/remote.php”,“line”:35,“function”:“exec”,“class”:“OCA\DAV\Server”,“type”:“->”},{“file”:“/var/www/html/nextcloud/remote.php”,“line”:172,“args”:[“/var/www/html/nextcloud/apps/dav/appinfo/v2/remote.php”],“function”:“require_once”}],“File”:“/var/www/html/nextcloud/apps/dav/lib/Connector/Sabre/File.php”,“Line”:505,“message”:“Could not open file”,“exception”:,“CustomMessage”:“Could not open file”},“id”:“65d953329d634”}
AND NOTE THE UNDEFINED HERE - ONLY HAPPENS IF FILE IS GREATER THAN 2GB
1. /var/www/html/nextcloud/remote.phpline 172
undefinedundefinedrequire_once
(
"/var/www/html/nextcloud/apps/dav/appinfo/v2/remote.php"
)