Topic on Project:Support desk

Jump to navigation Jump to search

Error when uploading files: Could not open lock file for "mwstore://local-backend/local-public/2/2d/Smart.jpg

Summary by Bawolff

Windows user group/permissions issue

Teslatradeup (talkcontribs)

Hi there,

I have recently moved a wikimedia installation from one server to another. Both servers (old/new) are running on IIS.

Everything seems to be working on the new server... however, I'm getting an error when uploading files:


Action failed

Could not open lock file for "mwstore://local-backend/local-public/2/2d/Smart.jpg".

Return to Main Page.


I found some help topics already posted on this forum, however, all of the solutions are related to permissions in Unix. No solutions exist for Windows or IIS.

Any help would be appreciated... I'm thinking I didn't setup something on the new server that was setup on the old one...


Bawolff (talkcontribs)

Check permissions of the images directory and subdirectories. Windows does not have unix style permissions, but do have ACLs which control who can write in what directory. Make sure the webserver is allowed to write to images directory.

Teslatradeup (talkcontribs)

Thank you Bawolff - your post made me concentrate my efforts on permissions. I compared all of the folder permissions one by one with the old server and found the issue. All works now.

I had to add the app pool local account for mediawiki to the IIS_USRS group. :) Thanks!

Teslatradeup (talkcontribs)