Page MenuHomePhabricator

Misleading message on update when database is entirely missing: "Missing rc_timestamp field of recentchanges table"
Open, Needs TriagePublic

Description

When trying to upgrade a mediawiki from 1.27 to 1.33.1 i got the following error message:

MWException from line 463 of /var/www/mediawiki/code/includes/installer/MysqlUpdater.php: Missing rc_timestamp field of recentchanges table. Should not happen.

This is totally misleading. In my case the whole database was missing and I'd expect the updater to say so.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptOct 28 2019, 10:53 AM
Aklapper renamed this task from Misleadging message on update: MWException from line 463 of /var/www/mediawiki/code/includes/installer/MysqlUpdater.php: Missing rc_timestamp field of recentchanges table. Should not happen. to Misleading message on update when database is missing.Oct 28 2019, 2:11 PM
Aklapper added a project: MediaWiki-Installer.
Aklapper updated the task description. (Show Details)

Happened again today unfortunately a google search did not lead me here.

Aklapper renamed this task from Misleading message on update when database is missing to Misleading message on update when database is entirely missing: "Missing rc_timestamp field of recentchanges table".Mar 16 2020, 1:51 PM