Page MenuHomePhabricator

out of captcha images; cannot create accounts
Closed, ResolvedPublic

Description

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}


Version: unspecified
Severity: major

Details

Reference
bz41121

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 12:55 AM
bzimport set Reference to bz41121.
bzimport added a subscriber: Unknown Object (MLST).

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.

I have created the /data/upload7 directory and move private/captcha from upload6 to that.

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.

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 :-]

I no longer get an error there.

It is now working (and I did no change other than editing a file and undoing the edit). I suspect it was cached somewhere.

It might because the configuration cache is only invalidated when InitialiseSettings.php is touched. We should probably fix that :)

I had changed a different one. Well, we should keep an eye if this late-noticing happens again on the future.