Last modified: 2013-10-23 18:17:31 UTC
Using: mediawiki-1.18.1 on CentOS 6 (fresh install), with sqlite. Trying to upload on a live instance gives you the message : "Upload directory (public) is not writable by the webserver" Upon searching, I found that this "little intervention" is needed: http://www.mediawiki.org/wiki/Project:Support_desk/Archives/Uploading/001#.28RESOLVED.29_Upload_directory_.28public.29_is_not_writable_by_the_webserver basically, "chown apache:apache images". ----- SOLUTION PROPOSAL #1 While you're installing, the installer currently guides you to manually setup the "data" folder. Looks like the same - so guiding to manually setup 'images' - should be done here. Make this a part of the setup process. SOLUTION PROPOSAL #2 The error is non-descriptive. There should be a solution given/hinted for the error message in any case, something like: """ Are you sure the upload folder (/images in your installation directory) has read/write privileges? Does your webserver have read/write privileges? Try running "chmod 755 images" & "chown apache:apache images" """ ----- Just another hint: I didn't know where to look for the "upload" folder. Found out it was called "images"...
One of those installer usability fixes one never gets enough.
Removing from tarball blocker -- we can target 1.20 for this.
"Are you sure the upload folder (/images in your installation directory) has read/write privileges? Does your webserver have read/write privileges?" sounds good. "Try running "chmod 755 images" & "chown apache:apache images"" could be tied to the platforms on which it is appropriate, rather than left as a general instruction. For example, on my playground Windows version, I have to ensure the folder is not read-only via folder preferences. Do we have an OS detector in the installer?