Thread:Project:Support desk/"Error creating thumbnail: Error code: 2"/reply (9)

Thank you, that was a helpful suggestion. I made the log file and this is the relevant portion of the log:

I then tried to run the command as you suggested:

Helpful! So I then changed the permsions of ~/images and all subdirectories so that then MediaWiki user www-data has drwxr-xr-x   I was then able to execute the code without an error and thumbnail file was correctly built as I can see when I downloaded it via ftp, but the MediaWiki still give me the same error code 2 and doesn't' produce thumbnails for the images (in say new files special page). I simplified the MediaWiki command to:

And I got:

So I suspect a permissions error, but I get the same error even when I set the ~/images/9 and ~/9/93 to drwxrwxr-x