Page 1 of 1

Upload limitation in the File Manager

Posted: Mon 26. Jul 2021, 12:20
by heridon
Hello, can anybody help me with the Upload limitation in the File Manager? Default on is (Maximum file size: 64.00 MB / Total: 70.00 MB,) but I need more. I changed >_PHP (In Edit User), and put some bigger numbers (post_max_size & upload_max_filesize to 512M), but in File manager still have same limitation:(
I try also to put these values in Additional PHP settings (post_max_size = 512M & memory_limit = 512M), but still no luck.
Any ideas?
Thank you!

Re: Upload limitation in the File Manager

Posted: Mon 26. Jul 2021, 12:38
by Alexander
Hello,

some background information: The file manager is run by the system user "keyhelp". Changing the limits of a user account, as you have done, does not affect the file manager, but only the domains that the particular user owns.

What you have to do is:
-> log into your server
-> open the file: "/etc/php/<PHP-VERSION>/fpm/pool.d/keyhelp.conf"
-> update the values: "post_max_size" and "upload_max_filesize", you will also have to increase the "memory_limit" value.
-> save it
-> reload the PHP-FPM, "service php<PHP-VERSION>-fpm"

(You will have to replace <PHP-VERSION> with the default PHP version on your system)

Re: Upload limitation in the File Manager

Posted: Mon 26. Jul 2021, 17:22
by heridon
Hello Alexander, Thank you for your prompt response. Ok, this works. I managed to increase the upload limit but still can't upload files bigger than cca 256MB (even I put a limit to 512MB), but that's probably a problem with timeouts.
One suggestion for a future version. Some progress bar or counter will be helpful as information regarding upload progress.
Thank you!

Re: Upload limitation in the File Manager

Posted: Mon 26. Jul 2021, 19:44
by Tobi
@Alexander

Would it be possible to switch to jQuery Upload by blueimp?
https://github.com/blueimp/jQuery-File-Upload