I tried to upload a file with ~3Mb, but as response i get 413 Request Entity Too Large.
I updated already to last version. I'm using nextcloud 13.0.
make sure your maximum allowed upload size is set correctly. see this: https://github.com/nextcloud/docker/blob/master/.examples/docker-compose/with-nginx-proxy/mariadb-cron-redis/fpm/web/nginx.conf#L76 for example
Hello,
First thanks a lot for all this, this is so nice and easy to use.
I must alter my congratulations by saying that I have the same problem, i checked everything,
nginx.conf is set as the example (i copy/pasted it)
i went inside the nextcloud interface, in settings / additional settings and changed the "file handling" to 10 GB
I changed the write permissions for the data folder with chmod command to 777
but still i get the same 413 error on every devices.
I'm running the latest nextcloud using docker-compose of this link https://github.com/nextcloud/docker/tree/master/.examples/docker-compose/with-nginx-proxy/mariadb-cron-redis/fpm
Thanks for helping, and for everything (again)
Have a nice day!
The answer for those searching is to simply check the "pull request" section of this page.
maybe updating the docker-compose of the site according to the pull request would save a lot of time to many people.
In anyway many thanks for this docker-compose image ;)
For anyone else who run across this issue, in addition to setting upload size in the Nextcloud UI, I had to tweak my upstream Nginx proxy to allow bigger uploads.
client_max_body_size 10G;
client_body_buffer_size 400M;
@bhansley the above settings helped me solve the issue with a reverse proxy. Thanks.
@bhansley thank's for the tips ! Solved my issue with Jwilder Nginx Proxy in vhost.d/domain.tld
Most helpful comment
For anyone else who run across this issue, in addition to setting upload size in the Nextcloud UI, I had to tweak my upstream Nginx proxy to allow bigger uploads.