Page MenuHomePhabricator

Max upload size on k8s is 2M
Closed, ResolvedPublic

Description

Wikis running on k8s only have a 2MB file size upload limit

[20:05] <urbanecm> Reedy: shell.php in k8s says that `ini_get('upload_max_filesize')` evals to `2M`, while in non-k8s it evals to 100m

Event Timeline

Change 938027 had a related patch set uploaded (by Giuseppe Lavagetto; author: Giuseppe Lavagetto):

[operations/docker-images/production-images@master] Fix max upload size in php-fpm

https://gerrit.wikimedia.org/r/938027

Change 938027 merged by Giuseppe Lavagetto:

[operations/docker-images/production-images@master] Fix max upload size in php-fpm

https://gerrit.wikimedia.org/r/938027

Change 938030 had a related patch set uploaded (by Giuseppe Lavagetto; author: Giuseppe Lavagetto):

[operations/deployment-charts@master] mw-debug: add ini values dumper

https://gerrit.wikimedia.org/r/938030

Change 938030 merged by jenkins-bot:

[operations/deployment-charts@master] mw-debug: add ini values dumper

https://gerrit.wikimedia.org/r/938030

Joe subscribed.

Please note this is now working as intended on mw-debug (just select 'k8s-experimental' from the wikimedia-debug extension, then visit https://en.wikipedia.org/w/debug/ini_get.php?value=<desired ini value? to verify. The REPL will still report 2M but that's because it uses a different php.ini.

I'll resolve the task once I've deployed to all of k8s later.

Reedy changed the task status from Open to In Progress.Jul 14 2023, 11:34 AM
Joe moved this task from Incoming 🐫 to Doing 😎 on the serviceops board.