Brief issue statement: attempting to copy multi-Gig files from my Linux system to my NextCloud NAS via WebDAV throws this error: HTTP Error: Request Entity Too Large. (See also screenshot attached below.) Is there a setting that needs to be changed to allow transfer of huge files? (Note that files smaller than, say, 1.5G upload to NAS just fine.)
I think I’ve zeroed in on a bunch of environment variables whose values may have to be changed to allow unlimited-size uploads to NextCloud via WebDAV:
APACHE_BODY_LIMIT should be set to 0
PHP_UPLOAD_LIMIT should be set to ??
CLIENT_MAX_BODY_SIZE should be set to ??
My NextCloud server does not have the third one, so I will be playing around with the first two to see which one does the job. In particular, someone may want to comment on the relevance of the PHP Configuration to this issue.
I believe the TrueNAS “app” uses the Nextcloud micro-services image underneath. If so, the variables are all documented here. The one you’re likely looking for is APACHE_BODY_LIMIT.
Note that official Nextcloud clients (including the Web UI) do not have this problem since they use chunking.
Ideally someone gets around to implementing chunking for GVFS at some point (there is an open issue here you may want to express your interest in).