Page MenuHomePhabricator

LogicException UnusableEntitySource on fresh install of Wikibase from PropertyInfoTable.php(74): Wikibase\DataAccess\UnusableEntitySource->getDatabaseName()
Closed, ResolvedPublic

Description

Appears to occur when running install.php for a new wikibase on master...

LogicException from line 18 of /var/www/mediawiki/extensions/Wikibase/data-access/src/UnusableEntitySource.php: Wikibase\DataAccess\UnusableEntitySource should never be used
#0 /var/www/mediawiki/extensions/Wikibase/lib/includes/Store/Sql/PropertyInfoTable.php(74): Wikibase\DataAccess\UnusableEntitySource->getDatabaseName()
#1 /var/www/mediawiki/extensions/Wikibase/repo/includes/Store/Sql/DatabaseSchemaUpdater.php(221): Wikibase\Lib\Store\Sql\PropertyInfoTable->__construct(Object(Wikibase\DataModel\Services\EntityId\EntityIdComposer), Object(Wikibase\DataAccess\UnusableEntitySource), Object(Wikibase\DataAccess\DataAccessSettings))
#2 /var/www/mediawiki/includes/installer/DatabaseUpdater.php(490): Wikibase\Repo\Store\Sql\DatabaseSchemaUpdater::rebuildPropertyInfo(Object(MysqlUpdater))
#3 /var/www/mediawiki/includes/installer/DatabaseUpdater.php(458): DatabaseUpdater->runUpdates(Array, true)
#4 /var/www/mediawiki/maintenance/update.php(197): DatabaseUpdater->doUpdates(Array)
#5 /var/www/mediawiki/maintenance/doMaintenance.php(99): UpdateMediaWiki->execute()
#6 /var/www/mediawiki/maintenance/update.php(270): require_once('/var/www/mediaw...')
#7 {main}

Related Objects

StatusSubtypeAssignedTask
Declineddchen
OpenNone
OpenNone
DuplicateNone
OpenNone
OpenNone
DuplicateNone
OpenNone
OpenNone
OpenNone
ResolvedRamsey-WMF
ResolvedCparle
ResolvedJdforrester-WMF
ResolvedJdforrester-WMF
OpenNone
OpenNone
ResolvedWMDE-leszek
ResolvedAddshore
ResolvedAddshore

Event Timeline

Addshore created this task.Jan 28 2020, 2:58 PM
Restricted Application added a project: Wikidata. · View Herald TranscriptJan 28 2020, 2:58 PM
Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Change 567974 had a related patch set uploaded (by Addshore; owner: Addshore):
[mediawiki/extensions/Wikibase@master] Fix DatabaseSchemaUpdater::rebuildPropertyInfo for entitySources

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

Addshore claimed this task.Jan 28 2020, 3:41 PM
Restricted Application added a project: User-Addshore. · View Herald TranscriptJan 28 2020, 3:41 PM
Addshore triaged this task as High priority.Jan 28 2020, 3:41 PM

Change 567974 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] Fix DatabaseSchemaUpdater::rebuildPropertyInfo for entitySources

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