Jump to content

Topic on Project:Support desk

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

4
JohnStanton (talkcontribs)
  • MediaWiki 1.12.0
  • PHP 5.2.17 (cgi-fcgi)
  • MySQL 5.0.91-log

I just moved FortWiki.com from 1and1 to Godaddy and all went well except that I get

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

I can successfully upload and thumbnail about two images a day and then it will no longer thumbnail images until the next day. See :

Bad Image Thumbnail

LocalSettings.php

$wgEnableUploads  = true;
$wgUseImageMagick = true;
$wgImageMagickConvertCommand = "/usr/local/bin/convert";

I've checked the paths for ImageMagick and they return version numbers for both the 5.x and the 6.x versions so the paths and convert actually exist and they do work initially.

Any help appreciated... Two images a day just won't hack it.

Emufarmers (talkcontribs)
JohnStanton (talkcontribs)

Didn't help. The symptoms are perplexing I uploaded an image tonight at http://fortwiki.com/Image:Fort_Yuma_California_1875.jpg and nothing I could do would make the thumbnail display but I can almost guarantee that the first time I access it in the morning it will work. Could this be a memory problem and which memory setting would impact ImageMagick thumbnails in this manner?

Sephirothindra (talkcontribs)

Hi... I have another error too. When i upload .svg files, it said "Error creating thumbnail: env: python: No such file or directory". What error is it? Is the error because python problem? Thank you.

Reply to "Error creating thumbnail: sh: /usr/local/bin/convert: No such file or directory"