Page MenuHomePhabricator

Logging in on punjabiwikimedia throws fatal error
Closed, ResolvedPublicPRODUCTION ERROR


MediaWiki internal error.

Original exception: [XAaK6gpAMFsAAGMTiIEAAABS] 2018-12-04 14:10:51: Fatal exception of type "Wikimedia\Rdbms\DBQueryError"

Exception caught inside exception handler.

Set $wgShowExceptionDetails = true; at the bottom of LocalSettings.php to show detailed debugging information.

The wiki is new.

Event Timeline

This is the error:

OATHUserRepository::findByUser		Table 'punjabiwikimedia.oathauth_users' doesn't exist (	SELECT  *  FROM `oathauth_users`    WHERE id = '1'  LIMIT 1

That table isn't present on any of the production servers, example of the master

root@db1075.eqiad.wmnet[punjabiwikimedia]> show tables like '%oathauth%';
Empty set (0.00 sec)

Easy to fix...

I'm guessing it's probably related to the breakages in addWiki.php during creating the wikis, and then the subsequent hacking out of the script

Mentioned in SAL (#wikimedia-operations) [2018-12-04T17:22:19Z] <Reedy> created oathauth tables on punjabiwikimedia T211110

Reedy claimed this task.


root@db1075.eqiad.wmnet[punjabiwikimedia]> show tables like '%oathauth%';
| Tables_in_punjabiwikimedia (%oathauth%) |
| oathauth_users                          |
1 row in set (0.00 sec)
mmodell changed the subtype of this task from "Task" to "Production Error".Aug 28 2019, 11:07 PM