Removing an image from library => Unexpected Error, please contact support

It looks like your previous revision itself has two “parents” - this shouldn’t happen and might be the cause of the issue. Would it be possible to capture the output and reply with it here?

SELECT parentmedia.mediaid FROM media parentmedia WHERE parentmedia.editedmediaid = 92;

If you need help running a SQL command in Docker there is a FAQ for that here: How can I run a SQL command when using a Docker Install?