https://bugzilla.wikimedia.org/show_bug.cgi?id=40932

       Web browser: ---
             Bug #: 40932
           Summary: File upload using SwiftCloudFiles returns 'Could not
                    create directory "mwstore://localSwift/public".'
           Product: MediaWiki extensions
           Version: master
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Unprioritized
         Component: [other]
        AssignedTo: [email protected]
        ReportedBy: [email protected]
    Classification: Unclassified
   Mobile Platform: ---


Created attachment 11178
  --> https://bugzilla.wikimedia.org/attachment.cgi?id=11178
Sanitized swift config block

When trying to upload via swiftCloudFiles the user receives 'Could not create
directory "mwstore://localSwift/public".'

This error was mentioned on this talk page:
http://www.mediawiki.org/wiki/Extension_talk:SwiftCloudFiles  however I did not
see a resolution.  

Following the debug request on the talk page I generated the following log
using '$wgDebugLogGroups['SwiftBackend'] = "/tmp/swift.log";':
[root@wiki-node2 ~]# cat /tmp/swift.log
2012-10-10 18:16:25 198.61.220.81 wiki1: InvalidResponseException in
'SwiftFileBackend::doPrepareInternal' (given
'{"dir":"mwstore:\/\/localSwift\/public"}'): Unexpected response ():

And the following message is in the Apache error logs:
[Wed Oct 10 18:16:25 2012] [error] [client ip.ip.228.100] PHP Warning: 
SwiftFileBackend::doPrepareInternal: Unexpected response ():  in
/var/www/html/includes/filebackend/SwiftFileBackend.php on line 1439, referer:
http://ip.ip.220.81/index.php/Special:Upload

Both MediaWiki and SwiftCloudFiles are snapshots of today's git master.
MediaWiki: core-HEAD-41d3072: 1.21alpha
SwiftCloudFiles: SwiftCloudFiles-MW1.19-110689: Version 1.7.10-wmf


Swift config block from LocalSettings.php is attached.

Let me know what next steps need to be taken, thanks.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to