File image fails for 1.2mb PNG

Describe the issue / Steps to reproduce:
Attempting to upload a 1.2mb PNG file results in a generic error, nothing in logs
Reducing this file to 293k allows the upload to succeed; same filename with the addition of the word “.copy” to the end before the png extension

What was the error message/error log?
There isn’t one. The result is a popup that says the upload failed due to “Error”

System info:

BlueSpice version: 5.1.0 (build:20250603171540)

Free space: 77.5G free (of 98.2G)

Hello Mr. RSDancey,

the wiki generally has a maximum upload size.
You can see what size is stored for you on the special page: Special:UploadWindow .

grafik

You can adjust the upload size using the variables documented here: Manual:$wgMaxUploadSize - MediaWiki

Best

I did eventually manage to fix this issue. It was a configuration constraint in the NGINX server not the wiki. That server is installed inside a Docker container now so every person who has installed BlueSpice via the Docker system has this issue.

Fix: we set NGINX’s client_max_body_size via both a conf.d snippet and an env var in the proxy service.

Details:
• Added an init container that writes /etc/nginx/conf.d/01-client-max-body.conf with:
client_max_body_size ${UPLOAD_MAX_SIZE:-100m};
This is created at runtime into ${DATA_DIR}/proxy/conf.d and mounted into the proxy container.
• Set the proxy container environment variable:
CLIENT_MAX_BODY_SIZE=${UPLOAD_MAX_SIZE:-100m}
• Default limit is 100m, controllable by UPLOAD_MAX_SIZE.

Where:
• shared/docker-compose.proxy.yml and wiki-template/docker-compose.proxy.yml:
• proxy-permissions service creates 01-client-max-body.conf
• proxy service has CLIENT_MAX_BODY_SIZE and mounts ${DATA_DIR}/proxy/conf.d → /etc/nginx/conf.d