MediaWiki Has Issues

Okay, I’m uploading files to a MediaWiki 1.10 installation. If I try to upload a JPEG image with the execute permission not set (i.e., its entry in ls -l begins with -rw-------) then I get an error message:

Error creating thumbnail: sh: line 1: /usr/local/bin/convert: No such file or directory

Uploading another copy of the file with different permissions doesn’t fix the problem.

Sigh. Some days I just hate computers.

3 thoughts on “MediaWiki Has Issues”

  1. I’m confused. You say the execute permission isn’t set, and then you show an example where it is. Anyway, I can’t see how anything would want execute permission on a JPEG. But my thought on seeing “-rwx——” is that only the file’s owner has permissions, and I’d expect that to be a problem if it wasn’t the file’s owner running /usr/local/bin/convert. I don’t know if it is or not; I’m just sayin’. I always do a “chmod 644” on files I want the world to read… “-rw-r–r–“.

  2. OK, I’m late in making note of this, but it turns out the permissions thing was a red herring, and the error actually happened when MediaWiki had to generate new versions of the image files (e.g., rescaling). ‘Twas a pathname issue.

Comments are closed.