Logging in on punjabiwikimedia throws fatal error
Closed, ResolvedPublic

Description

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.

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

This is the error:

OATHUserRepository::findByUser		Table 'punjabiwikimedia.oathauth_users' doesn't exist (10.64.16.191)	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.Tue, Dec 4, 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.Tue, Dec 4, 5:22 PM
Reedy claimed this task.

\o/

root@db1075.eqiad.wmnet[punjabiwikimedia]> show tables like '%oathauth%';
+-----------------------------------------+
| Tables_in_punjabiwikimedia (%oathauth%) |
+-----------------------------------------+
| oathauth_users                          |
+-----------------------------------------+
1 row in set (0.00 sec)