Thanks for reporting this. For future reference, please follow https://www.mediawiki.org/wiki/How_to_report_a_bug and provide text as text, so text can be found by text search.
Thank you for your suggestion and apologise for the inconvenience. I will provide text and follow the steps next time.
I think this is so similar (or even exactly?) to T244567: Some files cannot be deleted "Error deleting file: An unknown error occurred in storage backend "local-multiwrite". "