Page MenuHomeMiraheze

Echo email icons broken
Closed, ResolvedPublic

Description

Icons used in emails sent by echo are broken.

The images are retrieved by making URL calls such as https://meta.miraheze.org/w/load.php?modules=ext.echo.emailicons&image=global&lang=en&format=rasterized

This says image generation failed

This could possibly be an RSVG related issue?

Event Timeline

MacFan4000 triaged this task as Normal priority.Feb 17 2024, 18:43
MacFan4000 created this task.

@MacFan4000 is there something at Graylog being logged that we can look at?

@MacFan4000 is there something at Graylog being logged that we can look at?

Nothing that I could find.

I did that to try and figure this out but yeah it doesn't seen to be logging anything...

https://github.com/wikimedia/mediawiki/blob/19f444618d2b4b7053a1ca30921534e938a6d3ec/includes/ResourceLoader/Image.php#L429 is the issue, we use /usr/local/bin/mediawiki-firejail-rsvg-convert, copying that to /usr/local/bin/rsvg-convert on mwtask181 and proxying and this works