Extension talk:SwiftCloudFiles

HP Cloud Storage Error
Moved into Topic Jwestyp (talk) 13:11, 14 July 2012 (UTC)

has anyone got this to work? there dose not seam to be any documentation for this ( i have tried installing this to get it to work with hp cloud storage (OpenSwift) and i cant seam to figure it out no matter was i set i keep getting the same error
 * in apache error_log
 * on mediawiki

im sure its something im just missing but i cant seem to figure it out


 * my config


 * Aditaa, to begin, can you tell me what version of MediaWiki you are using. The SwiftCloudFiles extension is compatible with MediaWiki 1.2.0+. Edit to 1.2.0 instead of 2.0
 * In your config, you do not need the container name in the url.
 * You should also change the wikiId field to represent the ID of your specific wiki installation.
 * You are using a CDN through HP, so swiftUseCDN should be set to true
 * Your CDN URLs entered here may have been changed with the Wiki Text. It also appears that you are using an auth URL to access the CDN. Is that a requirement with your CDN provider? With Rackspace, a CDN URL would look like http://c12345678.r61.cf2.rackcdn.com. Based on the HP Cloud API Documenation, your URL should look like http://h1dbbb5c59541c721905ae1a7a433b50c.cdn.hpcloudsvc.com.
 * Jwestyp (talk) 13:36, 14 July 2012 (UTC)
 * Jwestyp, Ok so how do I go about getting MediaWiki 2.0+? I was using 1.19 (Also tried 1.20)
 * I really need to use Swift (with out it the project is mute... (its a prof of concept))
 * Aditaa, I made a mistake this morning and left out the 1. in front of the 2.0. Swift does in fact work and works well. I have several iterations operational right now. The version we are on is: MediaWiki 1.20alpha (11b67f0). We are working from a GIT from early June. Using 1.2.0, try to make the changes I mentioned above. Note, I am also using a git of the SwiftCloudFiles extension. Let me know if you still have problems after you attempt this. I can attempt a vanilla installation based on your config and try it myself to see if a something in the current branch is causing the issue. Jwestyp (talk) 19:00, 14 July 2012 (UTC)
 * Jwestyp, ok so after working with 1.20, from the git in June. i stoped getting the stacktrace & php errors. now when i try to upload i just get this error
 * Aditaa, you have actually made good progress. The problem with the error is that you are getting a generic error. Try adding a line of $wgDebugLogGroups['SwiftBackend'] = "/path/to/logfile"; to your LocalSettings.php file and point to a log file of your choice. You can also add $wgDebugLogFile = "/path/to/wiki/logfile"; to see a detailed logging of your wiki. Also, post your config again so I can take a look. Jwestyp (talk) 00:41, 16 July 2012 (UTC)
 * Jwestyp, ok so did a fresh install of wiki 1.20wmf7 (1b363e0) and SwiftCloudFiles (Version 1.7.10-wmf) 	(979d131) and still getting the same error on the upload page but getting errors in others (note: using the exact config you posted)
 * *apache error log:
 * *wgDebugLogGroups file:
 * *wgDebugLogFile file
 * *wgDebugLogGroups file:
 * *wgDebugLogFile file
 * *wgDebugLogFile file
 * *wgDebugLogFile file