Skip to content

Nextcloud aborts file downloads from samba external storage after 1GB #223

@mdimura

Description

@mdimura

Nextcloud aborts the downloading of a file after 1GB, if it is on an external samba storage. When I download large files from the local storage via nextcloud - everything works fine.
I thought it is due to the proxy_buffering:

By default, downloads will be limited to 1GB due to proxy_buffering and proxy_max_temp_file_size on the frontend.

but setting proxy_buffering off; in /etc/nginx/.../nextcloud.conf and even nginx.conf did not help.
I also checked the logs, but nothing stands out:

nginx/xxx-access.log:174.11.2.119 - - [05/Sep/2019:16:02:41 +0300] "GET /nextcloud/remote.php/webdav/xxx/test3GB.mkv?downloadStartSecret=p6qwexyz12 HTTP/2.0" 200 1074641798 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0"

Note the 1074641798 in the request size. The file is actually ~3GB.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions