https://bugzilla.wikimedia.org/show_bug.cgi?id=17560
Summary: Half-broken deletion moved image files to deletion
archive without updating DB
Product: MediaWiki
Version: unspecified
Platform: All
URL: http://commons.wikimedia.org/wiki/File:Nawras_pasha_Al-
_Hiraki_With_Sultan.jpg
OS/Version: All
Status: NEW
Severity: major
Priority: Normal
Component: File/Repo
AssignedTo: [email protected]
ReportedBy: [email protected]
Got a report that this image file was missing:
http://commons.wikimedia.org/wiki/File:Nawras_pasha_Al-_Hiraki_With_Sultan.jpg
Confirmed that the file was gone while page and DB entries were intact. Checked
the file deletion archive on the file server and found it there:
-rw-r--r-- 1 apache apache 26100 Feb 16 18:24
5cwnvlx4dbx3pzhi7religjue3noolu.jpg
I was able to copy the files back into place, restoring the image.
(One current and one old version, both with the same file hash.)
It looks like someone attempted to delete the image and it was moved into the
deletion archive and removed from the regular directories, but the database
updates did not complete:
* image entry remained
* oldimage entry remained
* page/revision entries remained
* no page deletion info
* no file deletion info
* no logs
This is bad -- we need to ensure that failure scenarios leave the file intact
if the DB can't be successfully updated.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l