Page MenuHomePhabricator

"A non-identical file already exists" - Cannot undelete [[File:Hawkmoth (Meganoton nyctiphanes) (8688240817).jpg]]
Closed, ResolvedPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

Try to undelete https://commons.wikimedia.org/w/index.php?title=File:Hawkmoth_(Meganoton_nyctiphanes)_(8688240817).jpg

What happens?:

A non-identical file already exists at "mwstore://local-swift-eqiad/local-public/e/e7/Hawkmoth_(Meganoton_nyctiphanes)_(8688240817).jpg".

Event Timeline

That's a different issue, as the file was deleted/undeleted in 2021. Presumably some SRE needs to manually delete the lingering file from Swift, as they did in T382694#10421396

Aklapper renamed this task from Unable to undelete File:Hawkmoth (Meganoton nyctiphanes) (8688240817).jpg to "A non-identical file already exists" - Cannot undelete [[File:Hawkmoth (Meganoton nyctiphanes) (8688240817).jpg]].Apr 26 2025, 3:33 PM

This image exists in both swift clusters, dating back to 2021 - 30 June 2021 in eqiad, 5 January 2021 in codfw.

So, the deleted image:

sql commonswiki -- -N -e "select fa_name, fa_storage_key from filearchive where fa_name = 'Hawkmoth_(Meganoton_nyctiphanes)_(8688240817).jpg' ;"

finds me ozoa25nc95924ublijp8x9mik1qw92o.jpg, which likewise exists in both clusters, 5 January 2021 in both clusters. It's a larger image.

The undeleted image (i.e. the one currently in e/e7/) is identical to https://commons.wikimedia.org/wiki/File:Hawkmoth_(Meganoton_nyctiphanes)_(8688240817)_(2).jpg which makes sense given the history; the deleted image is a different, larger, image of what looks to my eye to be the same moth.

If a commons admin wants to instruct me to delete the existing objects in e/e7 so that the currently-deleted version could be undeleted, I could do that.

[to be clear I won't delete things from swift without a commons admin asking me to do so]

Hi Matthew, I am a commons admin. Please delete it from swift so that I can do further cleanup in Commons.

https://commons.wikimedia.org/wiki/Special:UserRights/Sreejithk2000

Mentioned in SAL (#wikimedia-operations) [2025-05-08T09:26:25Z] <Emperor> swift delete wikipedia-commons-local-public.e7 'e/e7/Hawkmoth_(Meganoton_nyctiphanes)_(8688240817).jpg' ms-fe1009 and ms-fe2009 T392658

@Sreejithk2000 done (apologies for the delay, I had some annual leave earlier this week).

Thanks for the help. File undeleted.

Pppery assigned this task to MatthewVernon.