Nextcloud stops downloading on big files


I’ve modified the .htaccess-file to handle big uploads up to 10G.
The system is on raspian (jessie), apache, php5 and here’s a snip of the .htaccess-file

php_value upload_max_filesize 10G
php_value post_max_size 10G
php_value memory_limit 1024M
php_value mbstring.func_overload 0
php_value always_populate_raw_post_data -1
php_value default_charset 'UTF-8’
php_value output_buffering 0
php_value max_input_time 3600
php_value max_execution_time 3600

SetEnv htaccessWorking true

Uploading works great (e. G. a file of 7GB). Downloading this file stops always at 'bout 2,9GB.
Where can I fix this??
Platform is a Raspberry Pi 3 with a 32GB-Card

Info: I’m uploading to a folder on a external hdd via external-storage-plugin …

Thanks for help

This type of issue needs logs to support the request as it could be a few different things.

Can you post your NC logs and Apache error logs?

Maybe even syslog as it’s on a Pi, could be a memory issue.

Hi Jason. Thanks for answering.
Problem confirmed on two pi’s.
On an x64-System it’s okay. So I also think, it’s the pi. I considered to change to nginx, 'cause Apache has very high CPU-usage. Maybe that’s the problem. Does the NC-Box don’t have apache??



Update: I’ve just read … it’s apache … and even it’s a pi2 …

If the NCbox can do it, we need logs to see why yours can’t. :slight_smile:

Okay, let’s try …

the NCbox is working with Snappy x86. My OS is Raspian Jessie x64

Here are the logs …

If you need more logs - pls tell me …


Can I get your error.log for Apache too please?
Also the nc log, which you can easily export via the admin portal in NC.

syslog looks OK and I rarely see anything useful with the access.log.

Jason - I’m working on a new setup … stay tuned - thanks