Hi, After upgrading to version 1.24 I'm having problems uploading files. I think it may be a permissions problem but I'm pretty stumped at this point.
The error I get is:
[eb13d6c9] 2015-05-26 09:24:11: Fatal exception of type MWException
And with $wgShowExceptionDetails = true;
[68c9f863] /index.php/Special:Upload Exception from line 1871 of /usr/share/webapps/mediawiki/includes/filerepo/file/LocalFile.php: Could not acquire lock for '4eair9X.jpg.' Backtrace: #0 /usr/share/webapps/mediawiki/includes/filerepo/file/LocalFile.php(1174): LocalFile->lock() #1 /usr/share/webapps/mediawiki/includes/upload/UploadBase.php(738): LocalFile->upload(string, string, string, integer, array, boolean, User) #2 /usr/share/webapps/mediawiki/includes/specials/SpecialUpload.php(467): UploadBase->performUpload(string, string, boolean, User) #3 /usr/share/webapps/mediawiki/includes/specials/SpecialUpload.php(186): SpecialUpload->processUpload() #4 /usr/share/webapps/mediawiki/includes/specialpage/SpecialPage.php(363): SpecialUpload->execute(NULL) #5 /usr/share/webapps/mediawiki/includes/specialpage/SpecialPageFactory.php(584): SpecialPage->run(NULL) #6 /usr/share/webapps/mediawiki/includes/MediaWiki.php(275): SpecialPageFactory::executePath(Title, RequestContext) #7 /usr/share/webapps/mediawiki/includes/MediaWiki.php(584): MediaWiki->performRequest() #8 /usr/share/webapps/mediawiki/includes/MediaWiki.php(435): MediaWiki->main() #9 /usr/share/webapps/mediawiki/index.php(46): MediaWiki->run() #10 {main}
I then tried changing 'lockManager' => 'fsLockManager' to 'lockManager' => 'nullLockManager' in FileBackendGroup.php and got the following:
Could not create directory "mwstore://local-backend/local-public/2/29".
The /images directory is owned by Apache and the permissions are 755 and I tried 777 with the same result.
The server is running Arch Linux, Mediawiki 1.24.2, PHP 5.6.9 and MariaDB 5.5.5-10.0.18-MariaDB-log. I'm sure this will be something pretty straightforward and I appreciate any help! Thanks