Last modified: 2012-10-18 17:55:29 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T43121, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 41121 - out of captcha images; cannot create accounts
out of captcha images; cannot create accounts
Status: RESOLVED FIXED
Product: Wikimedia Labs
Classification: Unclassified
deployment-prep (beta) (Other open bugs)
unspecified
All All
: Unprioritized major
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-10-17 17:53 UTC by Chris McMahon
Modified: 2012-10-18 17:55 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Chris McMahon 2012-10-17 17:53:38 UTC
Attempt to create an account at http://en.wikipedia.beta.wmflabs.org/wiki/Main_Page

Result:  
Internal error
Jump to: navigation, search

Ran out of captcha images

Backtrace:

#0 /data/project/apache/common-local/php-master/extensions/ConfirmEdit/Captcha.php(116): FancyCaptcha->getForm()
#1 /data/project/apache/common-local/php-master/extensions/ConfirmEdit/ConfirmEditHooks.php(31): SimpleCaptcha->injectUserCreate(Object(UsercreateTemplate))
#2 [internal function]: ConfirmEditHooks::injectUserCreate(Object(UsercreateTemplate))
#3 /data/project/apache/common-local/php-master/includes/Hooks.php(253): call_user_func_array('ConfirmEditHook...', Array)
#4 /data/project/apache/common-local/php-master/includes/GlobalFunctions.php(3811): Hooks::run('UserCreateForm', Array)
#5 /data/project/apache/common-local/php-master/includes/specials/SpecialUserlogin.php(1147): wfRunHooks('UserCreateForm', Array)
#6 /data/project/apache/common-local/php-master/includes/specials/SpecialUserlogin.php(188): LoginForm->mainLoginForm('')
#7 /data/project/apache/common-local/php-master/includes/SpecialPage.php(599): LoginForm->execute(NULL)
#8 /data/project/apache/common-local/php-master/includes/SpecialPageFactory.php(497): SpecialPage->run(NULL)
#9 /data/project/apache/common-local/php-master/includes/Wiki.php(291): SpecialPageFactory::executePath(Object(Title), Object(RequestContext))
#10 /data/project/apache/common-local/php-master/includes/Wiki.php(554): MediaWiki->performRequest()
#11 /data/project/apache/common-local/php-master/includes/Wiki.php(447): MediaWiki->main()
#12 /data/project/apache/common-local/php-master/index.php(59): MediaWiki->run()
#13 /data/project/apache/common-local/live-1.5/index.php(3): require('/data/project/a...')
#14 {main}
Comment 1 Platonides 2012-10-17 18:44:33 UTC
The problem is http://gerrit.wikimedia.org/r/27159 which moved from /mnt/upload6 to /mnt/upload7 We use the same config in labs, but don't have /mnt/upload7

https://gerrit.wikimedia.org/r/28391 fixes it.
Comment 2 Antoine "hashar" Musso (WMF) 2012-10-17 20:11:00 UTC
I have created the /data/upload7 directory and move private/captcha from upload6 to that.
Comment 3 Antoine "hashar" Musso (WMF) 2012-10-17 20:45:20 UTC
Ignore comment 2. So production simply renamed upload6 to upload7. Did the same in /data/project and the setup has been updated by Gerrit change #27159 and Gerrit change #28391.

I also add to manually apply the puppet class nfs::upload::labs to the apaches instances. Probably need to be done on other instances too.
Comment 4 Antoine "hashar" Musso (WMF) 2012-10-17 20:52:19 UTC
So that should have fixed the issue but http://en.wikipedia.beta.wmflabs.org/w/index.php?title=Special:UserLogin still throw out an exception :-(
Comment 5 Antoine "hashar" Musso (WMF) 2012-10-17 21:04:35 UTC
Giving up for tonight.  Would need to add some debugging statement or enhance the stupid error message which is not at all helpful to track down the root cause :-]
Comment 6 Platonides 2012-10-17 21:06:33 UTC
I no longer get an error there.
Comment 7 Antoine "hashar" Musso (WMF) 2012-10-18 12:56:30 UTC
Issue is still around.
Comment 8 Platonides 2012-10-18 15:11:35 UTC
It is now working (and I did no change other than editing a file and undoing the edit). I suspect it was cached somewhere.
Comment 9 Antoine "hashar" Musso (WMF) 2012-10-18 17:51:16 UTC
It might because the configuration cache is only invalidated when InitialiseSettings.php is touched. We should probably fix that :)
Comment 10 Platonides 2012-10-18 17:55:29 UTC
I had changed a different one. Well, we should keep an eye if this late-noticing happens again on the future.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links