Hello,
I apologize for posting this as I did post it earlier, but I am at a total loss as to what the problem may be, so I am pleading for help.
I upgraded from 1.16 to 1.21 and then 1.21.1. Ever since upgrading from 1.16, I can no longer upload files.
It is not a permission or ownership issue, as all directories/sub-directories/files all the way down through and including each parent directory "/var/www/html/wiki/images" have root as owner and group and everything is set for 777.
Installed software Product
Version
MediaWikihttps://www.mediawiki.org/
1.21.1
5.3.8 (apache2handler)
5.1.60
Entry point URLs Entry point
URL
Article pathhttps://www.mediawiki.org/wiki/Manual:$wgArticlePath
/wiki/index.php/$1http://192.168.56.63/wiki/index.php/$1
Script pathhttps://www.mediawiki.org/wiki/Manual:$wgScriptPath
/wikihttp://192.168.56.63/wiki
index.phphttps://www.mediawiki.org/wiki/Manual:index.php
/wiki/index.phphttp://192.168.56.63/wiki/index.php
api.phphttps://www.mediawiki.org/wiki/Manual:api.php
/wiki/api.phphttp://192.168.56.63/wiki/api.php
load.phphttps://www.mediawiki.org/wiki/Manual:load.php
/wiki/load.phphttp://192.168.56.63/wiki/load.php
I either get "Could not create directory "mwstore://local-backend/local-public/5/54" or
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
[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.
Hello,
I apologize for posting this as I did post it earlier, but I am at a total loss as to what the problem may be, so I am pleading for help.
I upgraded from 1.16 to 1.21 and then 1.21.1. Ever since upgrading from 1.16, I can no longer upload files.
I get "Could not create directory "mwstore://local-backend/local-public/5/54" every time I attempt to upload a file. The files I am trying to upload are small jpeg files (50K). These are the same files I uploaded in the past.
It is not a permission or ownership issue, as all directories/sub-directories/files all the way down through and including each parent directory "/var/www/html/wiki/images" have root as owner and group and everything is set for 777.
I also noticed that when attempting to upload a file, I see a temporary file get created in "/tmp" that is owned/group by apache. It then goes away.
So, I changed the ownership/group with "chown -R apache /var/www" and "chgrp -R apache /var/www", but I still have the same issues uploading files.
Any ideas will be most welcomed. Thanks, Phil
Installed software Product
Version
MediaWikihttps://www.mediawiki.org/
1.21.1
5.3.8 (apache2handler)
5.1.60
Entry point URLs Entry point
URL
Article pathhttps://www.mediawiki.org/wiki/Manual:$wgArticlePath
/wiki/index.php/$1http://192.168.56.63/wiki/index.php/$1
Script pathhttps://www.mediawiki.org/wiki/Manual:$wgScriptPath
/wikihttp://192.168.56.63/wiki
index.phphttps://www.mediawiki.org/wiki/Manual:index.php
/wiki/index.phphttp://192.168.56.63/wiki/index.php
api.phphttps://www.mediawiki.org/wiki/Manual:api.php
/wiki/api.phphttp://192.168.56.63/wiki/api.php
load.phphttps://www.mediawiki.org/wiki/Manual:load.php
/wiki/load.phphttp://192.168.56.63/wiki/load.php
[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.
On 07/22/2013 03:40 PM, Philip Bellino wrote:
I apologize for posting this as I did post it earlier, but I am at a total loss as to what the problem may be
PHP may be giving errors that you haven't noticed. Have you checked your log files?
Add the following lines to the end of your LocalSettings.php:
error_reporting( -1 ); ini_set( 'display_errors', 1 ); $wgDebugLogFile = "/tmp/mwdebug.log";
After that try uploading again. Are any errors displayed? Maybe there is something in /tmp/mwdebug.log now that would give you a hint.
More information on debugging: https://www.mediawiki.org/wiki/Manual:How_to_debug
HTH,
Mark.
mediawiki-l@lists.wikimedia.org