Last modified: 2013-04-05 15:25:49 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T39882, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 37882 - Fatal error, undefined method "HistoryBlobStub::uncompress()" when running update.php
Fatal error, undefined method "HistoryBlobStub::uncompress()" when running up...
Status: RESOLVED WORKSFORME
Product: MediaWiki
Classification: Unclassified
Installer (Other open bugs)
1.19
All All
: Low major (vote)
: ---
Assigned To: Nobody - You can work on this!
aklapper-moreinfo
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-06-23 20:17 UTC by Steve
Modified: 2013-04-05 15:25 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Steve 2012-06-23 20:17:43 UTC
I'm upgrading from 1.18.4 to 1.19.1. When I run update.php, it quits out with this error:

...doing rev_id from 23401 to 23600
...doing rev_id from 23601 to 23800
...doing rev_id from 23801 to 24000
Fatal error: Call to undefined method HistoryBlobStub::uncompress() in /includes/HistoryBlob.php on line 255

Same thing happens if I re-run update.php.
Comment 1 Steve 2012-06-24 18:32:18 UTC
This is caused by some glitched revisions from running compressOld.php similar to these issues: http://www.gossamer-threads.com/lists/wiki/mediawiki/28425

"This indicates that a HistoryBlubStub has incorrectly referenced another
HistoryBlobStub as its source instead of a HistoryBlob."

Can some logic be added that checks for this scenario and does something other than just quit out? Spitting out the revision id's would help a lot. My personal solution was to delete these bad revisions and run the update script, but I had to jigger a way to identify all the bad revisions to delete.
Comment 2 Marcin Cieślak 2012-09-24 09:06:44 UTC
Can you drop example of the serialized data? (a database dump or something like that)
Comment 3 Andre Klapper 2012-12-19 17:25:00 UTC
Steve: Could you answer comment 2 please?
Comment 4 Andre Klapper 2013-04-05 15:25:49 UTC
Unfortunately closing this report as no further information has been provided.

Steve: Please feel free to reopen this report if you can provide the information asked for and if this still happens. Thanks!

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links