I get the same [webdav] error logs, same feof() and Sabre\DAV\Exception as OP. BUT only if the file is >1MB. All files smaller go right through.
When trying to upload a >1MB file via the portal it stays at “a few seconds” and never completes and stays at ~5% complete forever.
When trying to upload a <1MB file via the portal it completes with no problem.
Disable/enable/remove antivirus has no impact on the outcome. Additionally this has be reproduced on fresh 15.0.0 install on three separate new docker containers.
I can see in /apps/dav/lib/Connector/Sabre/File.php at the feof() on line 171 this is all related to parts of files. Can I infer that the parts are 1MB and if thats correct can we change to a larger value to see if the problem follows partitioning the file?
I just wanted to publish my solution, especially because I’m using Apache as webserver. I wasted now almost a whole day to find this actually obvious solution, so I hope this helps one or the other to solve the problem quicker:
In my case it was the “LimitRequestBody” function of Apache. After i changed it from default to “0” (=unlimited) it works fine now!
You can do this rather in the “/etc/apache2/sites-available/nextcloud.conf” (respectively corresponding file) or directly in the “.htaccess” of your NC installation root directory. The first one is the better way I think, because it’s update-save.
Code-Example for “/etc/apache2/sites-available/nextcloud.conf”:
Options +FollowSymlinks +Includes
SetEnv HOME /var/www/nextcloud
SetEnv HTTP_HOME /var/www/nextcloud