nextcloud_ynh
nextcloud_ynh copied to clipboard
Upload size limited by Nginx configuration for shared links
I opened this issue on the Nextcloud Server repository: https://github.com/nextcloud/server/issues/25043
- log-in
- create a directory
- Upload a big file (more than authorized by Nginx, like 5Go) -> it should work
- share this directory via sharing link with upload right
- open this link in a private browser session or another browser
- Upload the same file -> it doesn't work with "unknown error" as Nextcloud notification
The answer came 2 days ago, sayig it is a setup issue. So I assume it comes from nextcloud_ynh installation script?
Hi!
Upload a big file (more than authorized by Nginx, like 5Go) -> it should work
Just for your information, the max is 10Go
Do you have an error during your second upload (not in the console, but in the web page, like "Error 504" or something)?
You can try to follow this: https://docs.nextcloud.com/server/20/admin_manual/configuration_files/big_file_upload_configuration.html, in the file /etc/php/7.3/fpm/pool.d/nextcloud.conf
add at the end:
php_value[max_input_time] = 3600
php_value[max_execution_time] = 3600
then restart php-fpm:
systemctl restart php7.3-fpm
Hi @Kay0u. There is no second upload: one upload, 2 downloads. The problem is to download the file as connected or not connected user. Thank you.