Hello, I have a problem that is making nextcloud unusable. I need to store large files but it seems like it’s impossible to upload anything large. I can download, but not upload.
Steps I’ve taken to address the issue
I have searched both the nextcloud and owncloud servers and found several related topics. However, none of them have offered a solution that works. I have tried following the instructions here:
Nextcloud instructions https://docs.nextcloud.com/server/14/admin_manual/configuration_files/big_file_upload_configuration.html
Increasing max_chunk_size Nextcloud 13 chunking upload not working
All of the settings here: https://central.owncloud.org/t/expected-filesize-xxx-got-yyy-0/816
So far, nothing works. Anyone knows what else could be wrong?
Nextcloud version : 14.0.3
Operating system and version : Ubuntu 18.04.1 LTS
Apache or nginx version: Apache/2.4.29
PHP version: PHP 7.2.10
MySQL version: mysql Ver 14.14 Distrib 5.7.24, for Linux (x86_64)
The server is an amazon EC2 instance.
The issue you are facing:
Whenever I try to upload a large file (~4GB), uploading fails through either the app or the web browser. I get both of the below error messages:
Sabre\DAV\Exception\BadRequest: expected filesize 4199287209 got 1101824
Sabre\DAV\Exception: Error while copying file to target location (copied bytes: 548864, expected filesize: 10000000 )
Is this the first time you’ve seen this error?:
No, it is very consistent.
Steps to replicate it:
On the browser
- Drag and drop a file or folder on to the website
- The upload starts
- Shortly after it fails with the above message.
On the application
- Create a folder sync.
- The app will download files from the server.
- Add a file on to the synced folder.
- The app will start the upload but eventually fails with the message “Connection closed”
The output of your Nextcloud log in Admin > Logging:
https://pastebin.com/kF2LrndY
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
https://pastebin.com/XqWqpjXZ
The output of your Apache log in /var/log/apache2/error.log
:
https://pastebin.com/YmMKurR6