Thread:Project:Support desk/Error in the creation of thumbnails./reply (8)

Your file system temp directory is different than the temp directory that is a subdirectory of the mediawiki images directory. Thumbnails get generated in the system temp directory first, and then moved to the thumbs directory.

The debug log you posted is consistent with your temp directory not being writable by mediawiki (It determines it needs to make the thumbnail, it does stat calls, determine that thumb does not exist, bails before trying to render the file. The two causes of that that I am aware of is either temp directory unwritable, or filerepo is configured to be read only. The latter is not something that can really happen by accident).

Specificly, the following part: File::transform: Doing stat for mwstore://local-backend/local-thumb/0/0c/Slimak1.png/120px-Slimak1.png FileBackendStore::getFileStat: File mwstore://local-backend/local-thumb/0/0c/Slimak1.png/120px-Slimak1.png does not exist. File::transform: Doing stat for mwstore://local-backend/local-thumb/archive/0/0c/20131108161614!Slimak1.png/120px-Slimak1.png

Indicates mediawiki knows it needs to create a thumbnail, but gave up before trying to do so, and moved on to the next thumbnail it needed. If it actually got further than the is temp directory writable step, there would be stuff about rendering the thumbnails between the stat related debug lines.

tl;dr Set $wgTmpDirectory to somewhere writable by the webserver. (Ideally somewhere not web accessible, but probably not the end of the world if it is).

It is possible to disable thumbnailing, and use browser scaling. You can do this by setting. I don't really know anyone who does this, so not sure how well it works. I would recommend trying to get the temp directory to work first, and disable scaling as a last resort.