Cant upload Files <1MB via WebDav

Hello,

i cant upload files via WebDav to my Nextcloud. Files with ~1MB are working, all others not, i think theres bug in my System but i dont know where.

My System:
Nextcloud AIO 28.0.4 on Docker on Ubuntu AMD64, Standard Installation, only the Data Volume is via master container env changed (from Volume to a Bind)

Nginx as a Reverse Proxy, configured like the Docs, but with this “pleasure”:
i have no direct IPv4, so i have a V-Server at IONOS, where the Nginx is running and a OpenVPN Server. At my Home there is a Ad-Guard Pi wchich is allways connected to the VPN Server.

Nextcloud Webinterface is no Problem (upload also no Problem), DAVx5 for Calender and Contacts is working.

Never touched the php settings.

Error when i try to uload Data:

{"reqId":"crGeEz3s2rZH6GwwP7Os","level":3,"time":"2024-04-11T13:04:06+00:00","remoteAddr":"91.4.195.110","user":"Reiner","app":"no app in context","method":"PUT","url":"/remote.php/dav/files/Reiner/xDrip-plus-variant1-20240116-2db9aa6.apk","message":"Erwartete Dateigröße von 15399605 bytes, aber 6848512 bytes gelesen (vom Nextcloud-Client) und geschrieben (in den Nextcloud-Speicher). Dies kann entweder ein Netzwerkproblem auf der sendenden Seite oder ein Problem beim Schreiben in den Speicher auf der Serverseite sein.","userAgent":"ezdavplugin/3.70 TotalCommander/3.50 Microsoft-WebDAV-MiniRedir/6.3.9600 (Android; en_EN)","version":"28.0.4.1","exception":{"Exception":"Sabre\\DAV\\Exception\\BadRequest","Message":"Erwartete Dateigröße von 15399605 bytes, aber 6848512 bytes gelesen (vom Nextcloud-Client) und geschrieben (in den Nextcloud-Speicher). Dies kann entweder ein Netzwerkproblem auf der sendenden Seite oder ein Problem beim Schreiben in den Speicher auf der Serverseite sein.","Code":0,"Trace":[{"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/Server.php","line":1098,"function":"createFile","class":"OCA\\DAV\\Connector\\Sabre\\Directory","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":504,"function":"createFile","class":"Sabre\\DAV\\Server","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"httpPut","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":"->","args":["method:PUT",[["Sabre\\HTTP\\Request"],["Sabre\\HTTP\\Response"]]]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":253,"function":"invokeMethod","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","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"/var/www/html/apps/dav/lib/Server.php","line":373,"function":"exec","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"/var/www/html/apps/dav/appinfo/v2/remote.php","line":35,"function":"exec","class":"OCA\\DAV\\Server","type":"->","args":[]},{"file":"/var/www/html/remote.php","line":172,"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":301,"message":"Erwartete Dateigröße von 15399605 bytes, aber 6848512 bytes gelesen (vom Nextcloud-Client) und geschrieben (in den Nextcloud-Speicher). Dies kann entweder ein Netzwerkproblem auf der sendenden Seite oder ein Problem beim Schreiben in den Speicher auf der Serverseite sein.","exception":[],"CustomMessage":"Erwartete Dateigröße von 15399605 bytes, aber 6848512 bytes gelesen (vom Nextcloud-Client) und geschrieben (in den Nextcloud-Speicher). Dies kann entweder ein Netzwerkproblem auf der sendenden Seite oder ein Problem beim Schreiben in den Speicher auf der Serverseite sein."},"id":"6617e752a1735"}

on Nginx there is no Error to found.

If something needed please write.

Has someone this Setup and know an Answer?

Thanks a lot!

The Web UI is a WebDAV client as well, if that helps provide context. So if that works, but not the other client you’re driving, have you tried any other clients?

Ok after trying this weekend, I get the following solution:
With nextcloud aio it doesn’t work, but with the “Standart” nextcloud Container from the community and the same data way (only changed the container ip addresss proxy_pass in the Apache config) there is no problem with any dav…