Hello,
I upgraded from 1.16 to 1.21 and now 1.21.1 I am running the latest MW(see below).
Installed software Product Version MediaWiki 1.21.1 PHP 5.3.8 (apache2handler) MySQL 5.1.60 Entry point URLs Entry point URL Article path /mediawiki-1.21.1/index.php/$1 Script path /mediawiki-1.21.1 index.php /mediawiki-1.21.1/index.php api.php /mediawiki-1.21.1/api.php load.php /mediawiki-1.21.1/load.php
After the upgrade from 1.16, if I attempt to upload a file, I get the error:
Could not create directory "mwstore://local-backend/local-public/5/54".
In LocalSettings.php: $wgEnabledUploads = true;
I have changed persmissions to 777 all the way down to "/var/www/html/wiki/images". I have also changed owner/group to root, apache, and both users to no avail.
Has anyone had this problem and have it not be a permissions/ownership issue(s)? Any help would be most appreciated.
Thanks, Phil
[E-Banner]
The contents of this message, together with any attachments, are intended only for the use of the person(s) to whom they are addressed and may contain confidential and/or privileged information. If you are not the intended recipient, immediately advise the sender, delete this message and any attachments and note that any distribution, or copying of this message, or any attachment, is prohibited.
It sounds like you should have set permissions all the way down -from- /var/www/html/wiki/images. If the directory 'images/5' is not writeable (it can be unwriteable even if 'images' is writeable) then you can't create 'images/5/54'.
Alex Monk
On Mon, Jun 17, 2013 at 8:35 PM, Philip Bellino pbellino@mrv.com wrote:
Could not create directory "mwstore://local-backend/local-public/5/54".
In LocalSettings.php: $wgEnabledUploads = true;
I have changed persmissions to 777 all the way down to "/var/www/html/wiki/images". I have also changed owner/group to root, apache, and both users to no avail.
Oh, and if that's not it, make sure you have the image directory setup to point to the right place (which it should by default), and make sure any mandatory access control (apparmor/selinux) is configured to allow access too. On Jun 18, 2013 7:54 AM, "Alex Monk" krenair@gmail.com wrote:
It sounds like you should have set permissions all the way down -from- /var/www/html/wiki/images. If the directory 'images/5' is not writeable (it can be unwriteable even if 'images' is writeable) then you can't create 'images/5/54'.
Alex Monk
On Mon, Jun 17, 2013 at 8:35 PM, Philip Bellino pbellino@mrv.com wrote:
Could not create directory "mwstore://local-backend/local-public/5/54".
In LocalSettings.php: $wgEnabledUploads = true;
I have changed persmissions to 777 all the way down to "/var/www/html/wiki/images". I have also changed owner/group to root, apache, and both users to no avail.
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Hello, I am also getting this internal error when trying to upload files.
Internal error Jump to: navigation, search
Error storing file in '/tmp/php78T3qA': Could not create directory "mwstore://local-backend/local-temp/4/4a".
Backtrace:
#0 /var/www/html/wiki/includes/upload/UploadBase.php(836): UploadStash->stashFile('/tmp/php78T3qA', 'file') #1 /var/www/html/wiki/includes/upload/UploadBase.php(849): UploadBase->stashFile() #2 /var/www/html/wiki/includes/upload/UploadBase.php(858): UploadBase->stashFileGetKey() #3 /var/www/html/wiki/includes/specials/SpecialUpload.php(332): UploadBase->stashSession() #4 /var/www/html/wiki/includes/specials/SpecialUpload.php(425): SpecialUpload->showUploadWarning(Array) #5 /var/www/html/wiki/includes/specials/SpecialUpload.php(172): SpecialUpload->processUpload() #6 /var/www/html/wiki/includes/SpecialPage.php(613): SpecialUpload->execute(NULL) #7 /var/www/html/wiki/includes/SpecialPageFactory.php(487): SpecialPage->run(NULL) #8 /var/www/html/wiki/includes/Wiki.php(291): SpecialPageFactory::executePath(Object(Title), Object(RequestContext)) #9 /var/www/html/wiki/includes/Wiki.php(565): MediaWiki->performRequest() #10 /var/www/html/wiki/includes/Wiki.php(458): MediaWiki->main() #11 /var/www/html/wiki/index.php(59): MediaWiki->run() #12 {main}
Can anyone help me out here? Thanks, Phil
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Chris Steipp Sent: Tuesday, June 18, 2013 11:38 AM To: MediaWiki-l Subject: Re: [MediaWiki-l] Upload files issues in 1.21.1 mw
Oh, and if that's not it, make sure you have the image directory setup to point to the right place (which it should by default), and make sure any mandatory access control (apparmor/selinux) is configured to allow access too. On Jun 18, 2013 7:54 AM, "Alex Monk" krenair@gmail.com wrote:
It sounds like you should have set permissions all the way down -from- /var/www/html/wiki/images. If the directory 'images/5' is not writeable (it can be unwriteable even if 'images' is writeable) then you can't create 'images/5/54'.
Alex Monk
On Mon, Jun 17, 2013 at 8:35 PM, Philip Bellino pbellino@mrv.com wrote:
Could not create directory "mwstore://local-backend/local-public/5/54".
In LocalSettings.php: $wgEnabledUploads = true;
I have changed persmissions to 777 all the way down to "/var/www/html/wiki/images". I have also changed owner/group to root, apache, and both users to no avail.
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
_______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l [E-Banner]
The contents of this message, together with any attachments, are intended only for the use of the person(s) to whom they are addressed and may contain confidential and/or privileged information. If you are not the intended recipient, immediately advise the sender, delete this message and any attachments and note that any distribution, or copying of this message, or any attachment, is prohibited.
mediawiki-l@lists.wikimedia.org