Thread:Project:Support desk/Error in thumbnail creation using MW 1.23.3/reply (2)

Thanks, that made GD working in the frontend but not in thumb.php and not with IM.

Error creating thumbnail: Invalid thumbnail parameters
 * thumb.php with GD:

[caches] main: MemcachedPhpBagOStuff, message: MemcachedPhpBagOStuff, parser: MemcachedPhpBagOStuff [caches] LocalisationCache: using store LCStoreDB Unstubbing $wgParser on call of $wgParser::setHook from ExtDynamicPageList::setupDPL Parser: using preprocessor: Preprocessor_DOM Connected to database 0 at localhost Fully initialised Pulling file metadata from cache key mysite23:file:41518f1e8ef482452b16542795d79c5d MimeMagic::__construct: loading mime types from /var/www/vhosts/mysite.com/test.mysite.com/wiki/includes/mime.types MimeMagic::__construct: loading mime info from /var/www/vhosts/mysite.com/test.mysite.com/wiki/includes/mime.info FileBackendStore::getFileStat: File mwstore://local-backend/local-thumb/4/41/Test_image.jpg/204px-Test_image.jpg does not exist. IP: ... User: got user 1 from cache User: loading options for user 1 from override cache. User: logged in from session File::transform: Doing stat for mwstore://local-backend/local-thumb/4/41/Test_image.jpg/204px-Test_image.jpg Unstubbing $wgLang on call of $wgLang::getCode from MessageCache::getMessageFromFallbackChain User: loading options for user 1 from override cache. MessageCache::load: Loading en... got from global cache

Error creating thumbnail: Error code: -1
 * thumb.php with IM:

[caches] main: MemcachedPhpBagOStuff, message: MemcachedPhpBagOStuff, parser: MemcachedPhpBagOStuff [caches] LocalisationCache: using store LCStoreDB Unstubbing $wgParser on call of $wgParser::setHook from ExtDynamicPageList::setupDPL Parser: using preprocessor: Preprocessor_DOM Connected to database 0 at localhost Fully initialised Pulling file metadata from cache key mysite23:file:41518f1e8ef482452b16542795d79c5d MimeMagic::__construct: loading mime types from /var/www/vhosts/mysite.com/test.mysite.com/wiki/includes/mime.types MimeMagic::__construct: loading mime info from /var/www/vhosts/mysite.com/test.mysite.com/wiki/includes/mime.info FileBackendStore::getFileStat: File mwstore://local-backend/local-thumb/4/41/Test_image.jpg/300px-Test_image.jpg does not exist. IP: ... User: got user 1 from cache User: loading options for user 1 from override cache. User: logged in from session File::transform: Doing stat for mwstore://local-backend/local-thumb/4/41/Test_image.jpg/300px-Test_image.jpg BitmapHandler::doTransform: creating 300x300 thumbnail at /tmp/transform_a5f66f9d0695-1.jpg using scaler im BitmapHandler::doTransform: called wfMkdirParents(/tmp) BitmapHandler::transformImageMagick: running ImageMagick: '/usr/bin/convert' '-quality' '80' '-background' 'white' '-define' 'jpeg:size=300x300' '/var/www/vhosts/mysite.com/test.mysite.com/wiki/images/4/41/Test_image.jpg' '-thumbnail' '300x300!' '-set' 'comment' 'File source: http://test.mysite.com/wiki/index.php?title=File:Test_image.jpg' '-depth' '8' '-sharpen' '0x0.5' '-rotate' '-0' '/tmp/transform_a5f66f9d0695-1.jpg' wfShellExec: /bin/bash '/var/www/vhosts/mysite.com/test.mysite.com/wiki/includes/limit.sh' 'OMP_NUM_THREADS='\1'\ '\/usr/bin/convert'\ '\-quality'\ '\80'\ '\-background'\ '\white'\ '\-define'\ '\jpeg:size=300x300'\ '\/var/www/vhosts/mysite.com/test.mysite.com/wiki/images/4/41/Test_image.jpg'\ '\-thumbnail'\ '\300x300!'\ '\-set'\ '\comment'\ '\File source: http://test.mysite.com/wiki/index.php?title=File:Test_image.jpg'\ '\-depth'\ '\8'\ '\-sharpen'\ '\0x0.5'\ '\-rotate'\ '\-0'\ '\/tmp/transform_a5f66f9d0695-1.jpg'\ 'MW_INCLUDE_STDERR=1;MW_CPU_LIMIT=180; MW_CGROUP='\\; MW_MEM_LIMIT=307200; MW_FILE_SIZE_LIMIT=102400; MW_WALL_CLOCK_LIMIT=180; MW_USE_LOG_PIPE=yes' [thumbnail] thumbnail failed on rs210432: error -1 "" from "'/usr/bin/convert' '-quality' '80' '-background' 'white' '-define' 'jpeg:size=300x300' '/var/www/vhosts/mysite.com/test.mysite.com/wiki/images/4/41/Test_image.jpg' '-thumbnail' '300x300!' '-set' 'comment' 'File source: http://test.mysite.com/wiki/index.php?title=File:Test_image.jpg' '-depth' '8' '-sharpen' '0x0.5' '-rotate' '-0' '/tmp/transform_a5f66f9d0695-1.jpg'" Unstubbing $wgLang on call of $wgLang::getCode from MessageCache::getMessageFromFallbackChain User: loading options for user 1 from override cache. MessageCache::load: Loading en... got from global cache [thumbnail] Removing bad 13629-byte thumbnail "/tmp/transform_a5f66f9d0695-1.jpg". unlink succeeded

The only wrong thing I see is FileBackendStore::getFileStat: File mwstore://local-backend/local-thumb/4/41/Test_image.jpg/300px-Test_image.jpg does not exist.

doesn't help much.

CHMOD: /images is 755, /thumb and /temp inside are 775. 777 didn't help either.