Thanks Marcin, this pointed me in the right direction.
I had originally used FTP to recursively set the permissions on /images but this had not
taken on some folders.
I don't know why -- they all have the same owner. So after your note I "su chmod
-R 0777 images" and this worked ok.
Sometimes I think there are background controls in one-click PaaS environments that are
Happy New Year!
On Sat, 2 Jan 2016 02:55:03 +0000 (UTC) Marcin Cieslak wrote:
Date: Sat, 2 Jan 2016 02:55:03 +0000 (UTC)
From: Marcin Cieslak <saper(a)saper.info>
Subject: Re: [MediaWiki-l] file uoloads cannot create directory
On 2015-12-30, David Shaw <david.shaw.x23(a)gmail.com> wrote:
I thought it might be somehow a change in permissions so I sudo chmod
I have $wgShowExceptionDetails = true;
but at the moment I'm not getting any details, just this error message:
Could not create directory "mwstore://local-backend/local-public/4/44".
Can you check the owner/group/permissions on your "4" directory under
(or wherever your $wgUploadDirectory points to)?
I've had cases where the "images" directory had correct settings but some
of the subdirectories were not.
You can check all the directories using:
find $wgUploadDirectory -type d -ls
(where $wgUploadDirectory is the actual path your $wgUploadDirectory MediaWiki
variable points to).