Thread:Project:Support desk/After upgrading two wikis to 1.20, can't upload on one but can on the other

I am upgrading several wikis (all running on the same virtual server) from 1.15/1.16 to 1.20. After the upgrade, I can no longer upload files to one of the sites, but can to the other.

On the site I am unable to upload, I get the following message:

Could not create directory "mwstore://local-backend/local-public/archive/b/b4".

Both upgraded wikis have the images directory (and all subdirectories) owned by apache and all are world-writable (777).

Both upgraded wikis have the same settings in their LocalSettings.php for uploads: $wgEnableUploads      = true; $wgUseImageResize     = true; $wgUseImageMagick = true; $wgImageMagickConvertCommand = "/usr/bin/convert"; $wgUploadDirectory = "$IP/images"; $wgUploadPath = "$wgScriptPath/images";

I also note that the directory it references as being unable to create is actually created (I tested this by removing it, then running the upload again). However, it is created with an owner:group of webusername:psacln and a permissions of 755 (it's a Plesk-based system, and "webusername:psacln" is the owner of the all the other files on the wiki.) This seems to be consistent with what was done in previous versions.

The original ("unupgraded") versions of both wikis (Wiki A at 1.15 and Wiki B at 1.16) can also both upload documents with no problems. (I upgraded the wikis by creating new versions of each by creating a new directory populated with MW 1.20 code and the images directory of the original wiki, restoring the original wiki's SQL data to a new database, then running the upgrade procedure.)

Software versions: MW 1.20.2; PHP 5.3.3; MySQL 5.1.61 on a CentOS 6 virtual server.

Any ideas or suggestions would be most appreciated.

Michael mgreis@comcast.net