Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

meza deploy monolith errors with actor migration on demo site #12

Open
freephile opened this issue Jun 30, 2020 · 0 comments
Open

meza deploy monolith errors with actor migration on demo site #12

freephile opened this issue Jun 30, 2020 · 0 comments

Comments

@freephile
Copy link
Owner

Error: 1146 Table 'wiki_demo.smw_di_wikipage' doesn't exist

STDERR:

Wikimedia\Rdbms\DBQueryError from line 1603 of /opt/htdocs/mediawiki/includes/libs/rdbms/database/Database.php: A database query error has occurred. Did you forget to run your application's database schema updater after upgrading? 
Query: SELECT p.smw_title AS prop, o_id AS id0, o0.smw_title AS v0, o0.smw_namespace AS v1, o0.smw_iw AS v2, o0.smw_sortkey AS v3, o0.smw_subobject AS v4, o0.smw_sort AS v5 FROM `smw_di_wikipage` INNER JOIN `smw_object_ids` AS p ON p_id=p.smw_id INNER JOIN `smw_object_ids` AS o0 ON o_id=o0.smw_id WHERE (s_id='29') AND (p.smw_iw!=':smw') AND (p.smw_iw!=':smw-delete')
Function: SMW\SQLStore\EntityStore\SemanticDataLookup::fetchSemanticDataFromTable
Error: 1146 Table 'wiki_demo.smw_di_wikipage' doesn't exist (localhost)

#0 /opt/htdocs/mediawiki/includes/libs/rdbms/database/Database.php(1574): Wikimedia\Rdbms\Database->getQueryExceptionAndLog('Table 'wiki_dem...', 1146, 'SELECT p.smw_ti...', 'SMW\\SQLStore\\En...')
#1 /opt/htdocs/mediawiki/includes/libs/rdbms/database/Database.php(1152): Wikimedia\Rdbms\Database->reportQueryError('Table 'wiki_dem...', 1146, 'SELECT p.smw_ti...', 'SMW\\SQLStore\\En...', false)
#2 /opt/htdocs/mediawiki/includes/libs/rdbms/database/DBConnRef.php(68): Wikimedia\Rdbms\Database->query('SELECT p.smw_ti...', 'SMW\\SQLStore\\En...', 0)
#3 /opt/htdocs/mediawiki/includes/libs/rdbms/database/DBConnRef.php(292): Wikimedia\Rdbms\DBConnRef->__call('query', Array)
#4 /opt/htdocs/mediawiki/extensions/SemanticMediaWiki/src/MediaWiki/Connection/Database.php(366): Wikimedia\Rdbms\DBConnRef->query('SELECT p.smw_ti...', 'SMW\\SQLStore\\En...', false)
#5 /opt/htdocs/mediawiki/extensions/SemanticMediaWiki/src/SQLStore/EntityStore/SemanticDataLookup.php(525): SMW\MediaWiki\Connection\Database->query('SELECT p.smw_ti...', 'SMW\\SQLStore\\En...')
#6 /opt/htdocs/mediawiki/extensions/SemanticMediaWiki/src/SQLStore/EntityStore/SemanticDataLookup.php(387): SMW\SQLStore\EntityStore\SemanticDataLookup->fetchFromTable(Object(SMW\MediaWiki\Connection\Query), Object(SMW\SQLStore\PropertyTableDefinition), true, Object(SMW\RequestOptions))
#7 /opt/htdocs/mediawiki/extensions/SemanticMediaWiki/src/SQLStore/EntityStore/CachingSemanticDataLookup.php(310): SMW\SQLStore\EntityStore\SemanticDataLookup->fetchSemanticDataFromTable(29, Object(SMW\DIWikiPage), Object(SMW\SQLStore\PropertyTableDefinition))
#8 /opt/htdocs/mediawiki/extensions/SemanticMediaWiki/src/SQLStore/EntityStore/CachingSemanticDataLookup.php(279): SMW\SQLStore\EntityStore\CachingSemanticDataLookup->fetchFromCache(29, Object(SMW\DIWikiPage), Object(SMW\SQLStore\PropertyTableDefinition))
#9 /opt/htdocs/mediawiki/extensions/SemanticMediaWiki/src/SQLStore/EntityStore/EntityLookup.php(296): SMW\SQLStore\EntityStore\CachingSemanticDataLookup->getSemanticData(29, Object(SMW\DIWikiPage), Object(SMW\SQLStore\PropertyTableDefinition), NULL)
#10 /opt/htdocs/mediawiki/extensions/SemanticMediaWiki/src/SQLStore/SQLStore.php(225): SMW\SQLStore\EntityStore\EntityLookup->getPropertyValues(Object(SMW\DIWikiPage), Object(SMW\DIProperty), NULL)
#11 /opt/htdocs/mediawiki/extensions/SemanticMediaWiki/src/Property/SpecificationLookup.php(116): SMW\SQLStore\SQLStore->getPropertyValues(Object(SMW\DIWikiPage), Object(SMW\DIProperty))
#12 /opt/htdocs/mediawiki/extensions/SemanticMediaWiki/src/Schema/SchemaFinder.php(68): SMW\Property\SpecificationLookup->getSpecification(Object(SMW\DIProperty), Object(SMW\DIProperty))
#13 /opt/htdocs/mediawiki/extensions/SemanticMediaWiki/src/DataModel/SequenceMap.php(41): SMW\Schema\SchemaFinder->newSchemaList(Object(SMW\DIProperty), Object(SMW\DIProperty))
#14 /opt/htdocs/mediawiki/extensions/SemanticMediaWiki/includes/SemanticData.php(473): SMW\DataModel\SequenceMap::canMap(Object(SMW\DIProperty))
#15 /opt/htdocs/mediawiki/extensions/SemanticMediaWiki/src/Property/Annotators/PredefinedPropertyAnnotator.php(74): SMW\SemanticData->addPropertyObjectValue(Object(SMW\DIProperty), Object(SMWDITime))
#16 /opt/htdocs/mediawiki/extensions/SemanticMediaWiki/src/Property/Annotators/PropertyAnnotatorDecorator.php(61): SMW\Property\Annotators\PredefinedPropertyAnnotator->addPropertyValues()
#17 /opt/htdocs/mediawiki/extensions/SemanticMediaWiki/src/Property/Annotators/PropertyAnnotatorDecorator.php(60): SMW\Property\Annotators\PropertyAnnotatorDecorator->addAnnotation()
#18 /opt/htdocs/mediawiki/extensions/SemanticMediaWiki/src/MediaWiki/Hooks/NewRevisionFromEditComplete.php(142): SMW\Property\Annotators\PropertyAnnotatorDecorator->addAnnotation()
#19 /opt/htdocs/mediawiki/extensions/SemanticMediaWiki/src/MediaWiki/Hooks/NewRevisionFromEditComplete.php(102): SMW\MediaWiki\Hooks\NewRevisionFromEditComplete->addPredefinedPropertyAnnotation(Object(SMW\Services\ServicesFactory), Object(SMW\ParserData), NULL)
#20 /opt/htdocs/mediawiki/extensions/SemanticMediaWiki/src/MediaWiki/Hooks.php(592): SMW\MediaWiki\Hooks\NewRevisionFromEditComplete->process()
#21 /opt/htdocs/mediawiki/includes/Hooks.php(174): SMW\MediaWiki\Hooks->onNewRevisionFromEditComplete(Object(WikiPage), Object(Revision), false, Object(User), Array)
#22 /opt/htdocs/mediawiki/includes/Hooks.php(202): Hooks::callHook('NewRevisionFrom...', Array, Array, NULL)
#23 /opt/htdocs/mediawiki/includes/Storage/PageUpdater.php(1134): Hooks::run('NewRevisionFrom...', Array)
#24 /opt/htdocs/mediawiki/includes/Storage/PageUpdater.php(758): MediaWiki\Storage\PageUpdater->doCreate(Object(CommentStoreComment), Object(User), 9)
#25 /opt/htdocs/mediawiki/maintenance/populateArchiveRevId.php(250): MediaWiki\Storage\PageUpdater->saveRevision(Object(CommentStoreComment), 9)
#26 /opt/htdocs/mediawiki/maintenance/populateArchiveRevId.php(116): PopulateArchiveRevId::makeDummyRevisionRow(Object(Wikimedia\Rdbms\MaintainableDBConnRef))
#27 /opt/htdocs/mediawiki/maintenance/populateArchiveRevId.php(62): PopulateArchiveRevId::checkMysqlAutoIncrementBug(Object(Wikimedia\Rdbms\MaintainableDBConnRef))
#28 /opt/htdocs/mediawiki/maintenance/Maintenance.php(1746): PopulateArchiveRevId->doDBUpdates()
#29 /opt/htdocs/mediawiki/includes/installer/DatabaseUpdater.php(1352): LoggedUpdateMaintenance->execute()
#30 /opt/htdocs/mediawiki/includes/installer/DatabaseUpdater.php(490): DatabaseUpdater->populateArchiveRevId()
#31 /opt/htdocs/mediawiki/includes/installer/DatabaseUpdater.php(454): DatabaseUpdater->runUpdates(Array, false)
#32 /opt/htdocs/mediawiki/maintenance/update.php(205): DatabaseUpdater->doUpdates(Array)
#33 /opt/htdocs/mediawiki/maintenance/doMaintenance.php(99): UpdateMediaWiki->execute()
#34 /opt/htdocs/mediawiki/maintenance/update.php(277): require_once('/opt/htdocs/med...')
#35 {main}
[f15bf6b7f7354ec7cba8269b] [no req]   Wikimedia\Rdbms\DBTransactionError from line 1438 of /opt/htdocs/mediawiki/includes/libs/rdbms/database/Database.php: Explicit transaction still active. A caller may have caught an error. Open transactions: MediaWiki\Storage\PageUpdater::doCreate
Backtrace:
#0 /opt/htdocs/mediawiki/includes/libs/rdbms/loadbalancer/LoadBalancer.php(1602): Wikimedia\Rdbms\Database->assertNoOpenTransactions()
#1 /opt/htdocs/mediawiki/includes/libs/rdbms/loadbalancer/LoadBalancer.php(2109): Wikimedia\Rdbms\LoadBalancer->Wikimedia\Rdbms\{closure}(Wikimedia\Rdbms\DatabaseMysqli)
#2 /opt/htdocs/mediawiki/includes/libs/rdbms/loadbalancer/LoadBalancer.php(1621): Wikimedia\Rdbms\LoadBalancer->forEachOpenMasterConnection(Closure)
#3 /opt/htdocs/mediawiki/includes/libs/rdbms/lbfactory/LBFactory.php(208): Wikimedia\Rdbms\LoadBalancer->approveMasterChanges(array, string, integer)
#4 /opt/htdocs/mediawiki/includes/libs/rdbms/lbfactory/LBFactorySimple.php(134): Wikimedia\Rdbms\LBFactory->Wikimedia\Rdbms\{closure}(Wikimedia\Rdbms\LoadBalancer, string, array)
#5 /opt/htdocs/mediawiki/includes/libs/rdbms/lbfactory/LBFactory.php(210): Wikimedia\Rdbms\LBFactorySimple->forEachLB(Closure, array)
#6 /opt/htdocs/mediawiki/includes/libs/rdbms/lbfactory/LBFactory.php(269): Wikimedia\Rdbms\LBFactory->forEachLBCallMethod(string, array)
#7 /opt/htdocs/mediawiki/maintenance/doMaintenance.php(127): Wikimedia\Rdbms\LBFactory->commitMasterChanges(string)
#8 /opt/htdocs/mediawiki/maintenance/update.php(277): require_once(string)
#9 {main}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant