dumpsgen@snapshot1001:/srv/deployment/dumps/dumps/xmldumps-backup$ /usr/bin/php5 /srv/mediawiki/multiversion/MWScript.php dumpBackup.php --wiki=gnwikibooks /srv/mediawiki/php-1.31.0-wmf.15 --plugin=AbstractFilter:/srv/mediawiki/php-1.31.0-wmf.15/extensions/ActiveAbstract/AbstractFilter.php --current --report=1000 --output=file:/tmp/abstractsjunk.gz --filter=namespace:NS_MAIN --filter=noredirect --filter=abstract --skip-footer --start=1 --end=1 Fatal error: Class 'NoredirectFilter' not found in /srv/mediawiki/php-1.31.0-wmf.15/maintenance/backup.inc on line 212
Description
Details
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | Release | thcipriani | T180749 1.31.0-wmf.16 deployment blockers | ||
Resolved | ArielGlenn | T184177 Abstract dumps broken by MW deploy |
Event Timeline
https://gerrit.wikimedia.org/r/#/c/398629/ and https://gerrit.wikimedia.org/r/#/c/400397/ I guess are the combo that did it.
Change 402062 had a related patch set uploaded (by Chad; owner: Chad):
[mediawiki/extensions/ActiveAbstract@wmf/1.31.0-wmf.15] Revert "Move classes to own files"
Change 402063 had a related patch set uploaded (by Chad; owner: Chad):
[mediawiki/extensions/ActiveAbstract@wmf/1.31.0-wmf.15] Revert "Simplify use of --plugin argument of BackupDumper"
Change 402062 merged by Chad:
[mediawiki/extensions/ActiveAbstract@wmf/1.31.0-wmf.15] Revert "Move classes to own files"
Change 402063 merged by Chad:
[mediawiki/extensions/ActiveAbstract@wmf/1.31.0-wmf.15] Revert "Simplify use of --plugin argument of BackupDumper"
Mentioned in SAL (#wikimedia-operations) [2018-01-04T15:31:34Z] <demon@tin> Synchronized php-1.31.0-wmf.15/extensions/ActiveAbstract/: unbreak, T184177 (duration: 01m 02s)
Takes care of the immediate issue. Guess we need the long term fix now. Reducing priority to 'normal'.
[4b4bf3ab3e838973feecfa64] [no req] Error from line 212 of /srv/mediawiki/php-master/maintenance/backup.inc: Class 'NoredirectFilter' not found
Now on my beta snapshot instance, because not fixed yet in master. Blocks T184258.
I believe there is no autoloader set up for NoredirectFilter class because the extension is not being loaded -- only the individual AbstractFilter.php class was loaded via the --plugin invocation, whereas the autoloader is set up by the extension.json.
In isolation, it seems happier if I add wfLoadExtension('ActiveAbstract') to my LocalSettings.php -- could it be the extension isn't loaded in production either, and was relying on loading the individual plugin files via the invocation config?
Change 403114 had a related patch set uploaded (by ArielGlenn; owner: ArielGlenn):
[operations/mediawiki-config@master] load ActiveAbtract extension explicitly so class autoloading works
Change 403114 merged by 20after4:
[operations/mediawiki-config@master] load ActiveAbtract extension explicitly so class autoloading works