I have been trying to upload files larger than 512MB, I have changed the php.ini , .htaccess
here is the php.ini info
php_value upload_max_filesize 1G
php_value post_max_size 999M
php_value memory_limit 1G
php_value max_input_time -1
php_value max_execution_time -1
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
And my server Info
Nextcloud version 11.03
Operating system and version Centos 7.3.1611
Apache or nginx version Apache 2.4.6
PHP version 7.0.20
Is this the first time you’ve seen this error?:yes
Can you reliably replicate it? (If so, please outline steps):yes
I try to upload a file larger than 512 mb, and it returns an error in the browser saying
The issue you are facing:
Cannot upload files larger than 512 MB. I have
The output of your Nextcloud log in Admin > Logging:
Fatal webdav Sabre\DAV\Exception\BadRequest: HTTP/1.1 400 expected filesize 799130797 got 527654912
/home//public_html/apps/dav/lib/Connector/Sabre/Directory.php - line 137: OCA\DAV\Connector\Sabre\File->put(Resource id #17)
/home//public_html/3rdparty/sabre/dav/lib/DAV/Server.php - line 1072: OCA\DAV\Connector\Sabre\Directory->createFile(‘Website_Main_1 …’, Resource id #17)
/home//public_html/3rdparty/sabre/dav/lib/DAV/CorePlugin.php - line 525: Sabre\DAV\Server->createFile(‘WILDROSE/Websit…’, Resource id #17, NULL)
[internal function] Sabre\DAV\CorePlugin->httpPut(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))
/home//public_html/3rdparty/sabre/event/lib/EventEmitterTrait.php - line 105: call_user_func_array(Array, Array)
/home//public_html/3rdparty/sabre/dav/lib/DAV/Server.php - line 479: Sabre\Event\EventEmitter->emit(‘method PUT’, Array)
/home//public_html/3rdparty/sabre/dav/lib/DAV/Server.php - line 254: Sabre\DAV\Server->invokeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))
/home//public_html/apps/dav/appinfo/v1/webdav.php - line 60: Sabre\DAV\Server->exec()
/home//public_html/remote.php - line 165: require_once(’/home/*…’)
{main}
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):