Running ynh on a rpi4, all updated. I am trying to upload a 100GB file but it failed twice. It seems to have a lower limit? How to upgrade the limit or remove it?
Aparently it’s here:
/etc/php/8.2/fpm/pool.d/nextcloud.conf
Upload using sftp then run occ scan. Webdav is not as reliable as sftp
there was this limit of 10GB inside the config file here: /etc/php/8.2/fpm/pool.d/nextcloud.conf
changed to 180GB and now it’s working from the nextcloud-desktop program. I let you know when it finishes uploading if all went good.
Did you increase the timeout?
No, I increased those two lines:
php_value[upload_max_filesize] = xxxG
php_value[post_max_size] = xxxG
Timeout was already 1 day aparently:
request_terminate_timeout = 1d
An interesting thing, yesterday I slept and by accident closed the latop before going to bed in the middle of a 100GB file upload via nextcloud-desktop program, this morning it resumed from where it was.
It failed after “finishing” . I will just do old good sftp as you suggested. Thanks.
Yes, it uploads the files by parts. When it finds some parts are already available it just continues
What was the error message
I wasn’t able to see it, can I find it somewhere in the logs? Before upgrading the limit it would not even start uploading.
In nextcloud administration, at the bottom : logging.
``413 Request Entity Too Largeresponse: <html> <head><title>413 Request Entity Too Large</title><script type="text/javascript" src="/ynh_portal.js"></script><l (truncated...)
Also after highering the files limits, I got this waring, but not sure for how much should I upgrade this value, any thoughts?
The PHP OPcache module is not properly configured. The OPcache interned strings buffer is nearly full. To assure that repeating strings can be effectively cached, it is recommended to apply "opcache.interned_strings_buffer" to your PHP configuration with a value higher than "32"
Install this app in a custom webapp
It helped me adapt some php settings
This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.