Topic on Project:Support desk

New version of Image is not showing

4
SANtosito (talkcontribs)

I recently noticed that after I upload new version of image, still the old version appears in thumbnails until I do ?action=purge and clear cache . Even if first I clear cache and then do ?action=purge still old version is visible . Any idea what may cause this problem?

Ciencia Al Poder (talkcontribs)

Be sure the Manual:Job queue is functional. If there are pending jobs, the cache of the page may take a while to be cleared. Ideally you should set up a job runner service to automatically run jobs in background.

Dalehoop (talkcontribs)

I'm having a different flavor of this: new version of images not being displayed even after purge and clear cache.

When I view the image history the thumbnails are correct, and the thumbnail is correct on the page the image is used on. However clicking on the thumbnail on a page using the image, the previous version of the image is displayed. Clicking on the thumbnail for the latest version of the image in the file history is showing the right image, the latest copy.

Job queue is empty.

I've even tried Approving the latest image version to no avail.

I did notice that the file in question in the images sub-directory had permissions -rw-r--r-- while the others were -rwxr-xr-x. I issued chmod 755 -R images and the files are now all the same, -rwxr-xr-x.

This wiki was just recently migrated from 1.32 to 1.38.2, with the prior version of the file having been loaded on that older server, and the new image added after the migration.

Any ideas what may be causing this issue?


MediaWiki 1.38.2

PHP 7.4.30 (apache2handler)

MariaDB 5.5.68-MariaDB

ICU 50.2

Lua 5.1.5

Elasticsearch 6.5.0

Ciencia Al Poder (talkcontribs)

Please do not set the execute permissions to uploaded files! Only directories must have the executable bit, not regular files. Some servers may incorrectly attempt to execute a file when downloaded if it has the executable bit set, which may result in your server being compromised if someone uploaded a script file or executable binary.

Check if the problem is your browser cache, by viewing the page using incognito mode.

Reply to "New version of Image is not showing"