I have a broken NC13.0.2 which is an upgrade from NC12.0.0.
WebGUI is now working with the work around described above.
I compared NC code in /var/www/nextcloud with the downloadable zip archive from nextcloud.com. They are identical. (Accept config.php and a /var/www/nextcloud/data folder with an old owncloud.db and nextcloud.log files)
I restored the data and database from the updated and broken NC to a fresh installation. That works.
my client in windows is facing same issue. only uploading files lesser than 10MB, is there a fix? the work around is not working. I also got Error transferring http://… (Savre\DAV\Exception\NotFound).
I have encountered the same problem - files larger than 10MB weren’t uploading via both WEB and MAC application.
The workaround solution helped to solve the issue when uploading via WEB, but the app problem is still actual.
Hi jisse44,
maybe it sounds silly, but after searching for hours, i coulndt find a solution.(me newbie)
Can you give me an idea or link, how i can perform this? INSERT INTO oc_appconfig ( appid , configkey , configvalue ) VALUES (‘files’, ‘max_chunk_size’, ‘524288000’);
I can real not catch the Idea!
I can also not find, where i can do this …
&& i see, its a NC13 topic, i run NC14 … sorry
The main reason ist, that i have a terrible uploadspeed inside/ outside my local network and try to solve it.
The downloadspeed is absolute ok (2-3 Mbs exter and 8-10 Mbs in local Network), but uploading (with the Desktop-app, webdav and webinterface) is horrible slow (30-150 kbs).
I’ve tried almost all, in all me known config’s.
EDIT: the chunk assembling is still not working, I basically need to disable it if I want my bigger upload to work (or set it super high, which results in the same behaviour I guess).
occ config:app:set --value 0 files max_chunk_size
Config value max_chunk_size for app files set to 0
Just registered to mention that (after about 4 hours), I did encounter that same issue on a new install (via Ansible), which the max_chunk_size fixed for me. I used occ to do the change:
nextcloud:~$ occ config:app:set --value 524288000 files max_chunk_size
Config value max_chunk_size for app files set to 524288000
nextcloud:~$ occ config:app:get files max_chunk_size
524288000
To give a bit of context, I am using Nginx as a reverse proxy and Apache on the nextcloud server. The upload kept failing, always at the very end, whatever the size (tested from 2 GB to 30 MB).
Both reverse proxy and Apache would raise the following error:
Following up on my observation. With max_chunk_size set to 0, the file gets fully uploaded on the reverse proxy until the end, when it then reaches /tmp on the nextcloud server, and is then further moved to its final destination.
Dear oh dear, my mistake!
A bad filter in my Apache security.conf file was responsible for the 404 on .file.
Once I fixed that, I could set up chunks again without fearing of overwhelming the memory and/or filesystem on the reverse proxy or the host.
Was this a filter that you had created yourself? I am currently suffering a similar error (files over 10 MB not uploading) with a similar setup (nginx reverse proxy / apache on the nextcloud(pi) server).