YunoHost-Apps / grav_ynh

Grav, a flat-file CMS packaged for YunoHost
https://getgrav.org/
GNU General Public License v3.0
17 stars 13 forks source link

File upload limit too low #114

Closed Gofannon closed 1 year ago

Gofannon commented 2 years ago

Describe the bug

Cannot upload a zip file of 26Mb to Grav

Context

Steps to reproduce

Expected behavior

Zip should be uploaded with new content

Logs

In the nginx log, error about "upload size"

==> /var/log/nginx/website.fr-error.log <==
2022/07/24 22:29:35 [error] 307325#307325: *5659 FastCGI sent in stderr: "PHP message: PHP Warning:  POST Content-Length of 26689665 bytes exceeds the limit of 8388608 bytes in Unknown on line 0" while reading response header from upstream, client: 78.203.35.50, server: website.fr, request: "POST /grav/admin/tools/direct-install HTTP/2.0", upstream: "fastcgi://unix:/var/run/php/php7.4-fpm-grav.sock:", host: "website.fr", referrer: "https://website.fr/grav/admin/tools/direct-install"

8388608 bytes => 8,3 Mb