Page MenuHomePhabricator

Logging in on punjabiwikimedia throws fatal error
Closed, ResolvedPublic


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

Urbanecm created this task.Dec 4 2018, 2:15 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptDec 4 2018, 2:15 PM

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)
Reedy added a comment.Dec 4 2018, 5:19 PM

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 closed this task as Resolved.Dec 4 2018, 5:22 PM
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)
Restricted Application added a project: User-Urbanecm. · View Herald TranscriptJan 18 2019, 4:29 AM