Page MenuHomePhabricator

Flow dumps are broken on all wikis due to MediaWIki update
Closed, ResolvedPublicBUG REPORT


Stack trace:

2022-03-21 13:54:16: ptwikibooks Checksumming ptwikibooks-20220320-pages-logging.xml.gz via sha1
Fatal error: Class 'BackupDumper' not found in /srv/mediawiki/php-1.38.0-wmf.26/extensions/Flow/maintenance/dumpBackup.php on line 14
Fatal error: Class 'BackupDumper' not found in /srv/mediawiki/php-1.38.0-wmf.26/extensions/Flow/maintenance/dumpBackup.php on line 14
Fatal error: Class 'BackupDumper' not found in /srv/mediawiki/php-1.38.0-wmf.26/extensions/Flow/maintenance/dumpBackup.php on line 14

Event Timeline

This is caused by
I verfied this in testing in deployment-prep: as dumpsgen user on deployment-dnapshot03, run

/usr/bin/php7.2 /srv/mediawiki/multiversion/MWScript.php extensions/Flow/maintenance/dumpBackup.php --wiki=ruwiki --output=file:/tmp/junk.txt

and get same failure; copy in old dumpBackup.php into the mediawiki dir on deployment-snapshot03 and run again, works as expected.

Change 772414 had a related patch set uploaded (by Reedy; author: Reedy):

[mediawiki/extensions/Flow@master] dumpBackup: Re-ad require_once for BackupDumper.php

Change 772414 abandoned by Reedy:

[mediawiki/extensions/Flow@master] dumpBackup: Re-add require_once for BackupDumper.php


Mentioned in SAL (#wikimedia-operations) [2022-03-21T15:43:48Z] <reedy@deploy1002> Synchronized php-1.39.0-wmf.1/extensions/Flow/maintenance: T304318 (duration: 00m 51s)

Mentioned in SAL (#wikimedia-operations) [2022-03-21T15:44:49Z] <reedy@deploy1002> Synchronized php-1.38.0-wmf.26/extensions/Flow/maintenance: T304318 (duration: 00m 49s)

The cherry pick for the third branch (.2) will go when the train for .2 runs, as that branch is not yet staged, deployment is not possible or needed.

The other two branches have the fix deployed, thanks Reedy for the help. Leaving this task open until wee see the flow dump jobs start to run to completion.

ArielGlenn triaged this task as Medium priority.Mar 21 2022, 3:49 PM

Setting this to medium priority now (did I not set it to ubn initially? Oh well), since it is likely fixed.

ArielGlenn claimed this task.

Everything ran to completion, so this is fixed. Thanks for the help, folks!