Closed mkrogh closed 4 years ago
Thanks for opening your first issue here! Be sure to follow the issue template!
Just ran into this too as it was blocking the install page from working, effectively making the image unusable by default. For others who run into this, a fix for now is to manually edit /path/to/appdata/config/php/php-local.ini
(/path/to/appdata/config
being the path on the host mounted to /config
in the container) and modify the lines that look like:
upload_max_filesize = 100MB
post_max_size = 100MB
to instead read:
upload_max_filesize = 100M
post_max_size = 100M
and then restart the container. Posting forms (including the install form) should then work.
This was my bad. I'll fix it shortly
In
root/etc/cont-init.d/50-config
it creates a default php-local.ini which specifies filesizes inMB
notM
which php uses. This means php-fpm thinks it is limited to 100 bytes.It also causes dokuwiki to show the wrong allowed file size on the media upload page.
From nginx error log: