Page MenuHomePhabricator

Outdated thumbnails for djvu file on Commons cannot be purged and do not update
Open, Needs TriagePublic

Description

Yesterday, during upload of this file:
https://commons.wikimedia.org/wiki/File:PL_Jean_de_La_Fontaine_-_Bajki.djvu
I have got "system under maintanance" error message. After that (as a result of the error?) some thumbnails of pages from this file were not updated. Especially, one of them:
https://upload.wikimedia.org/wikipedia/commons/thumb/d/d8/PL_Jean_de_La_Fontaine_-_Bajki.djvu/page657-1024px-PL_Jean_de_La_Fontaine_-_Bajki.djvu.jpg
is critical for Polish Wikisource.

Please advice, how can we update it, or clear it manually in the cache.

Event Timeline

Another outdated thumbnail is
https://upload.wikimedia.org/wikipedia/commons/thumb/d/d8/PL_Jean_de_La_Fontaine_-_Bajki.djvu/page657-3669px-PL_Jean_de_La_Fontaine_-_Bajki.djvu.jpg
(but this one is not critical for us).
The page=657 was the only page modified in the recent revision of the file.

Please also point out, if there is a standard procedure that can be applied in such cases before reporting here.

Aklapper renamed this task from Please, remove outdated thumbnail from cache or update it to Outdated thumbnail for djvu file on Commons cannot be purged and does not update.Oct 4 2018, 6:52 AM

It's the purge that's malfunctioning and not purging the thumbnails for that file at all.

GET parameters get filtered out, that's why they're not allowing you to bypass the cache, but this trick works: https://upload.wikimedia.org/wikipedia/commons/thumb/d/d8/PL_Jean_de_La_Fontaine_-_Bajki.djvu/page657-1024px-PL_Jean_de_La_Fontaine_-_Bajkifoo.djvu.jpg

Other DJVus purge fine. Since you mention that there was an error an upload time, maybe try to reupload the latest version of the file? It's possible that you hit a read-only phase for some of the upload process which left some of the data in a semi-broken state.

Other DJVus purge fine. Since you mention that there was an error an upload time, maybe try to reupload the latest version of the file? It's possible that you hit a read-only phase for some of the upload process which left some of the data in a semi-broken state.

@Gilles Reuploaded and no effect. Successfull upload this time, no error message. Previously uploaded file deleted to avoid SHA1 conflicts that prevent reupload.

It seems to me that some relation between file and its cache entries has been broken.
What else can be done here?

The thumbnails seem to be OK already.
@Gilles can it be closed? Or there is something more to do here?

Gilles claimed this task.

No, I think it's impossible to reproduce the exact conditions that happened during upload and caused this. It seems like the various expiry mechanisms ultimately rectified that thumbnail, thanks for the update.

Just FYI: currently, we are replacing ProofreadPage generated images with images of different pixel size altering the page content using MediaWiki:Common.js (for affected pages). But any suggestion of less ugly workaround is welcome.

Ankry renamed this task from Outdated thumbnail for djvu file on Commons cannot be purged and does not update to Outdated thumbnails for djvu file on Commons cannot be purged and do not update.Sat, Jun 19, 5:58 PM