Page MenuHomePhabricator

populateContentTables.php fails multiple times
Closed, ResolvedPublic

Description

I'm trying to upgrade from 1.25 to 1.35 and update.php fails.

I was told to run populateContentTables.php and it fails every time. I was told to report this here.

... revision processed up to revision id 2938367 of 2938367 (0 rows in 58.083928108215 seconds)
Done populating revision table. Processed 0 rows in 58.083951950073 seconds
Populating archive...
... archive processed up to revision id 501 of 2937910 (0 rows in 0.00063204765319824 seconds)
... archive processed up to revision id 1001 of 2937910 (0 rows in 0.00086402893066406 seconds)
... archive processed up to revision id 1501 of 2937910 (0 rows in 0.0010199546813965 seconds)
... archive processed up to revision id 2001 of 2937910 (0 rows in 0.001154899597168 seconds)
Failed to populate content table archive row batch starting at 2002 due to exception: MediaWiki\Storage\BlobAccessException: Unable to fetch blob at tt:2275 in /.../includes/Storage/SqlBlobStore.php:295
Stack trace:
#0 /.../maintenance/populateContentTables.php(374): MediaWiki\Storage\SqlBlobStore->getBlob('tt:2275')
#1 /.../maintenance/populateContentTables.php(276): PopulateContentTables->fillMissingFields(Object(stdClass), 'wikitext', 'tt:2275')
#2 /.../maintenance/populateContentTables.php(230): PopulateContentTables->populateContentTablesForRowBatch(Object(Wikimedia\Rdbms\ResultWrapper), 2002, 'archive')
#3 /.../maintenance/populateContentTables.php(97): PopulateContentTables->populateTable('archive')
#4 /.../maintenance/doMaintenance.php(107): PopulateContentTables->execute()
#5 /.../maintenance/populateContentTables.php(388): require_once('/var/www/vhosts...')
#6 {main}

Related support desk thread: https://www.mediawiki.org/wiki/Topic:Vx24eca9xu10ixj6

Event Timeline

Change 641332 had a related patch set uploaded (by Ammarpad; owner: Ammarpad):
[mediawiki/core@master] Handle BlobAccessException exception

https://gerrit.wikimedia.org/r/641332

Change 641332 merged by jenkins-bot:
[mediawiki/core@master] Handle BlobAccessException exception

https://gerrit.wikimedia.org/r/641332

Ammarpad claimed this task.

Change 734919 had a related patch set uploaded (by Cicalese; author: Ammarpad):

[mediawiki/core@REL1_35] DNM: Handle BlobAccessException exception

https://gerrit.wikimedia.org/r/734919

Change 735090 had a related patch set uploaded (by Cicalese; author: Cicalese):

[mediawiki/core@REL1_35] DNM: Allow populateContentTables to continue when there are bad blobs

https://gerrit.wikimedia.org/r/735090

Change 734919 abandoned by Cicalese:

[mediawiki/core@REL1_35] DNM: Handle BlobAccessException exception

Reason:

replaced by I582eac2befec152cb48d898644bc024a5ade2260

https://gerrit.wikimedia.org/r/734919

Change 734920 had a related patch set uploaded (by Cicalese; author: Cicalese):

[mediawiki/core@REL1_34] DNM: Allow populateContentTables to continue when there are bad blobs

https://gerrit.wikimedia.org/r/734920

Change 734921 had a related patch set uploaded (by Cicalese; author: Cicalese):

[mediawiki/core@REL1_33] DNM: Allow populateContentTables to continue when there are bad blobs

https://gerrit.wikimedia.org/r/734921

Change 734925 had a related patch set uploaded (by Cicalese; author: Cicalese):

[mediawiki/core@REL1_32] DNM: Allow populateContentTables to continue when there are bad blobs

https://gerrit.wikimedia.org/r/734925

Change 734925 abandoned by Cicalese:

[mediawiki/core@REL1_32] Allow populateContentTables to continue when there are bad blobs

Reason:

don't need to support upgrade to obsolete version

https://gerrit.wikimedia.org/r/734925

Change 734921 abandoned by Cicalese:

[mediawiki/core@REL1_33] Allow populateContentTables to continue when there are bad blobs

Reason:

don't need to support upgrade to obsolete version

https://gerrit.wikimedia.org/r/734921

Change 734920 abandoned by Cicalese:

[mediawiki/core@REL1_34] Allow populateContentTables to continue when there are bad blobs

Reason:

don't need to support upgrade to obsolete version

https://gerrit.wikimedia.org/r/734920

Change 735090 merged by jenkins-bot:

[mediawiki/core@REL1_35] Allow populateContentTables to continue when there are bad blobs

https://gerrit.wikimedia.org/r/735090