Page MenuHomeMiraheze

Can't dump the xml for Scruffy Wiki
Closed, ResolvedPublic

Description

I can dump all three on sdiywiki.miraheze.org without problem. On scruffy.miraheze.org I can dump images and managewiki okay, but the xml immediately fails with size 0 bytes.

Event Timeline

Dmehus triaged this task as Normal priority.Mar 28 2022, 02:24
Dmehus added projects: MediaWiki, MediaWiki (SRE).
Dmehus subscribed.

I can reproduce this. The XML dump failed again. Boldly triaging as normal, as at least two out of three dumps are available.

Dmehus added a project: DataDump.

Not sure if it's an issue with DataDump, or a MediaWiki configuration-related issue, so feel free to change the project tags

Dmehus moved this task from Backlog to Bugs on the MediaWiki board.

I'm still unable to backup the xml.

[fd7372ac531f805231341729] [no req]   Error: Call to undefined method HistoryBlobStub::uncompress()
Backtrace:
from /srv/mediawiki/w/includes/historyblob/HistoryBlobStub.php(137)
#0 /srv/mediawiki/w/includes/Storage/SqlBlobStore.php(602): HistoryBlobStub->getText()
#1 /srv/mediawiki/w/includes/Storage/SqlBlobStore.php(517): MediaWiki\Storage\SqlBlobStore->decompressData(string, array)
#2 /srv/mediawiki/w/includes/Storage/SqlBlobStore.php(426): MediaWiki\Storage\SqlBlobStore->expandBlob(string, array, string)
#3 /srv/mediawiki/w/includes/Storage/SqlBlobStore.php(281): MediaWiki\Storage\SqlBlobStore->fetchBlobs(array, integer)
#4 /srv/mediawiki/w/includes/libs/objectcache/wancache/WANObjectCache.php(1700): MediaWiki\Storage\SqlBlobStore->MediaWiki\Storage\{closure}(boolean, integer, array, NULL, array)
#5 /srv/mediawiki/w/includes/libs/objectcache/wancache/WANObjectCache.php(1532): WANObjectCache->fetchOrRegenerate(string, integer, Closure, array, array)
#6 /srv/mediawiki/w/includes/Storage/SqlBlobStore.php(286): WANObjectCache->getWithSetCallback(string, integer, Closure, array)
#7 /srv/mediawiki/w/includes/Revision/RevisionStore.php(1182): MediaWiki\Storage\SqlBlobStore->getBlob(string, integer)
#8 /srv/mediawiki/w/includes/Revision/RevisionStore.php(1456): MediaWiki\Revision\RevisionStore->loadSlotContent(MediaWiki\Revision\SlotRecord, NULL, NULL, NULL, integer)
#9 [internal function]: MediaWiki\Revision\RevisionStore->MediaWiki\Revision\{closure}(MediaWiki\Revision\SlotRecord)
#10 /srv/mediawiki/w/includes/Revision/SlotRecord.php(322): call_user_func(Closure, MediaWiki\Revision\SlotRecord)
#11 /srv/mediawiki/w/includes/export/XmlDumpWriter.php(496): MediaWiki\Revision\SlotRecord->getContent()
#12 /srv/mediawiki/w/includes/export/XmlDumpWriter.php(317): XmlDumpWriter::{closure}()
#13 /srv/mediawiki/w/includes/export/XmlDumpWriter.php(499): XmlDumpWriter->invokeLenient(Closure, string)
#14 /srv/mediawiki/w/includes/export/XmlDumpWriter.php(391): XmlDumpWriter->writeSlot(MediaWiki\Revision\SlotRecord, integer)
#15 /srv/mediawiki/w/includes/export/WikiExporter.php(544): XmlDumpWriter->writeRevision(stdClass, array)
#16 /srv/mediawiki/w/includes/export/WikiExporter.php(486): WikiExporter->outputPageStreamBatch(Wikimedia\Rdbms\MysqliResultWrapper, stdClass)
#17 /srv/mediawiki/w/includes/export/WikiExporter.php(307): WikiExporter->dumpPages(string, boolean)
#18 /srv/mediawiki/w/includes/export/WikiExporter.php(167): WikiExporter->dumpFrom(string)
#19 /srv/mediawiki/w/maintenance/includes/BackupDumper.php(320): WikiExporter->allPages()
#20 /srv/mediawiki/w/maintenance/dumpBackup.php(82): BackupDumper->dump(integer, integer)
#21 /srv/mediawiki/w/maintenance/doMaintenance.php(108): DumpBackup->execute()
#22 /srv/mediawiki/w/maintenance/dumpBackup.php(144): require_once(string)
#23 {main}

@Rob_Kam Once again, my apologies for the delay. Unfortunately, the only way that this can be fixed will be to manually delete some revisions (2439,2440,2441,2442,2443,2444,2445,2446,2447,2448,2449,2450,2451,2452,2453,2454,2455,2456,2457). Would you like us to do this to get the XML backups working again?

Thanks for working on this.
How do I view those revisions please?
If I'm the only editor in a page's history, the history is (as far as I recall) unimportant and can be wiped.

Thanks, I tried that. Those numbers just give me "Fatal exception of type "Error""

For Main page and Sandbox, to try and wipe where I guess those revisions might have been - I copied the contents of the edit source box, then deleted the page and created it again by pasting those contents back.

Rob_Kam claimed this task.

Fixed by deleting and recreating the page 'Synthesizer'. Thanks for helping me get there.

That's great, I'm glad we were able to help.