Nextcloud version: 19.0.3
Operating system and version: Centos 8.2.2004 4.18.0-193.19.1.el8_2.x86_64
Apache or nginx version: Httpd (Apache) 2.4.37-21
PHP version : 7.4.10-1
The issue you are facing:
I have an http reverse proxy which nextcloud sits behind. I cannot transfer files larger than 245MB. The webgui pops up and says connection lost, unknown error occured.
Is this the first time you’ve seen this error? (Y/N): N
Steps to replicate it:
all from Chrome browser
- Select any file 245MB or less and it uploads without issue
- Select a file to upload that is above 250MB and it fails
The output of your Nextcloud log in Admin > Logging:
https://pastebin.pl/view/b827aee2
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'instanceid' => 'xxx',
'passwordsalt' => 'xxx',
'secret' => 'xxx',
'trusted_domains' =>
array (
0 => '65.185.12.63',
1 => 'cloud.fseven.us',
2 => '192.168.2.100',
),
'trusted_proxies' =>
array (
0 => '192.168.2.101',
),
'datadirectory' => '/data',
'dbtype' => 'mysql',
'version' => '19.0.3.1',
'overwrite.cli.url' => 'http://192.168.2.100',
'dbname' => 'xxx',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'xxx',
'dbpassword' => 'xxx',
'installed' => true,
'memcache.local' => '\\OC\\Memcache\\APCu',
'overwriteprotocol' => 'https',
'updater.secret' => 'xxx',
'maintenance' => false,
'theme' => '',
'loglevel' => 2,
);
The output of your Apache/nginx/system log in /var/log/____
:
In the same file as above
https://pastebin.pl/view/b827aee2
I think this is similar to what im experiencing https://serverfault.com/questions/818891/proxy-fcgierror-70008partial-results-are-valid-but-processing-is-incomplete
But when I add the line:
RequestReadTimeout as stated here: http://httpd.apache.org/docs/2.4/mod/mod_reqtimeout.html
to my httpd.conf file it complaints its not spelled correctly or something to that effect.
I did notice that the reqtimeout module is in 00-basic.conf, i tried to comment it out but Im thinking the issue is with the proxy because commenting it out didnt solve my problem.
the error log on my nextcloud server is full of these errors:
[Mon Sep 21 21:35:44.324220 2020] [proxy_fcgi:error] [pid 8887:tid 140362198800128] (70008)Partial results are valid but processing is incomplete: [client 192.168.2.101:34060] AH01075: Error dispatching request to : (reading input brigade)
Any help is appreciated, if you need more info on something, let me know and I will get it as soon as I can. Thank you
Here is my .user.ini
mbstring.func_overload=0
always_populate_raw_post_data=-1
default_charset='UTF-8'
output_buffering=0
php_value upload_max_filesize 16G
php_value post_max_size 16G
php_value max_input_time 3600
php_value max_execution_time 3600
FcgidMaxRequestLen 13107200