Hey guys,
updating my instance from 4.2.4 to 4.5 I get this error:
-------------------------------------------------------- Import task(s) — Importing from smw.vocab.json … … MediaWiki:Smw import schema …[2024-11-26T17:23:09.823172+01:00] exception.ERROR: [bc7a8df58af1e31e9d1f5531] [no req] Wikimedia\Rdbms\DBUnexpectedError: Cannot execute Wikimedia\Rdbms\Database::runOnTransactionIdleCallbacks critical section while session state is out of sync. A critical section from Wikimedia\Rdbms\Database::runOnTransactionIdleCallbacks has failed #0 /var/www/extdata/html/bluespice/w/vendor/wikimedia/request-timeout/src/CriticalSectionScope.php(44): Wikimedia\Rdbms\Database->Wikimedia\Rdbms{closure}() #1 /var/www/extdata/html/bluespice/w/includes/libs/rdbms/database/Database.php(2412): Wikimedia\RequestTimeout\CriticalSectionScope->__destruct() #2 /var/www/extdata/html/bluespice/w/includes/libs/rdbms/database/DBConnRef.php(103): Wikimedia\Rdbms\Database->onTransactionCommitOrIdle() #3 /var/www/extdata/html/bluespice/w/includes/libs/rdbms/database/DBConnRef.php(628): Wikimedia\Rdbms\DBConnRef->__call() #4 /var/www/extdata/html/bluespice/w/extensions/SemanticMediaWiki/src/MediaWiki/Connection/Database.php(784): Wikimedia\Rdbms\DBConnRef->onTransactionCommitOrIdle() #5 /var/www/extdata/html/bluespice/w/extensions/SemanticMediaWiki/src/Importer/ContentCreators/TextContentCreator.php(143): SMW\MediaWiki\Connection\Database->onTransactionCommitOrIdle() #6 /var/www/extdata/html/bluespice/w/extensions/SemanticMediaWiki/src/Importer/ContentCreators/DispatchingContentCreator.php(75): SMW\Importer\ContentCreators\TextContentCreator->create() #7 /var/www/extdata/html/bluespice/w/extensions/SemanticMediaWiki/src/Importer/Importer.php(142): SMW\Importer\ContentCreators\DispatchingContentCreator->create() #8 /var/www/extdata/html/bluespice/w/extensions/SemanticMediaWiki/src/Importer/Importer.php(120): SMW\Importer\Importer->doImport() #9 /var/www/extdata/html/bluespice/w/extensions/SemanticMediaWiki/src/MediaWiki/Hooks.php(1510): SMW\Importer\Importer->runImport() #10 /var/www/extdata/html/bluespice/w/includes/HookContainer/HookContainer.php(338): SMW\MediaWiki\Hooks->onAfterCreateTablesComplete() #11 /var/www/extdata/html/bluespice/w/includes/HookContainer/HookContainer.php(137): MediaWiki\HookContainer\HookContainer->callLegacyHook() #12 /var/www/extdata/html/bluespice/w/extensions/SemanticMediaWiki/src/MediaWiki/HookDispatcher.php(308): MediaWiki\HookContainer\HookContainer->run() #13 /var/www/extdata/html/bluespice/w/extensions/SemanticMediaWiki/src/SQLStore/Installer.php(279): SMW\MediaWiki\HookDispatcher->onInstallerAfterCreateTablesComplete() #14 /var/www/extdata/html/bluespice/w/extensions/SemanticMediaWiki/src/SQLStore/SQLStore.php(456): SMW\SQLStore\Installer->install() #15 /var/www/extdata/html/bluespice/w/extensions/SemanticMediaWiki/src/Store.php(490): SMW\SQLStore\SQLStore->setup() #16 /var/www/extdata/html/bluespice/w/includes/installer/DatabaseUpdater.php(547): SMW\Store::setupStore() #17 /var/www/extdata/html/bluespice/w/includes/installer/DatabaseUpdater.php(515): DatabaseUpdater->runUpdates() #18 /var/www/extdata/html/bluespice/w/maintenance/update.php(209): DatabaseUpdater->doUpdates() #19 /var/www/extdata/html/bluespice/w/maintenance/includes/MaintenanceRunner.php(309): UpdateMediaWiki->execute() #20 /var/www/extdata/html/bluespice/w/maintenance/doMaintenance.php(85): MediaWiki\Maintenance\MaintenanceRunner->run() #21 /var/www/extdata/html/bluespice/w/maintenance/update.php(319): require_once(‘…’) #22 {main} {“exception”:“[object] (Wikimedia\Rdbms\DBUnexpectedError(code: 0): Cannot execute Wikimedia\Rdbms\Database::runOnTransactionIdleCallbacks critical section while session state is out of sync.\n\nA critical section from Wikimedia\Rdbms\Database::runOnTransactionIdleCallbacks has failed\n#0 /var/www/extdata/html/bluespice/w/vendor/wikimedia/request-timeout/src/CriticalSectionScope.php(44): Wikimedia\Rdbms\Database->Wikimedia\Rdbms\{closure}()\n#1 /var/www/extdata/html/bluespice/w/includes/libs/rdbms/database/Database.php(2412): Wikimedia\RequestTimeout\CriticalSectionScope->__destruct()\n#2 /var/www/extdata/html/bluespice/w/includes/libs/rdbms/database/DBConnRef.php(103): Wikimedia\Rdbms\Database->onTransactionCommitOrIdle()\n#3 /var/www/extdata/html/bluespice/w/includes/libs/rdbms/database/DBConnRef.php(628): Wikimedia\Rdbms\DBConnRef->__call()\n#4 /var/www/extdata/html/bluespice/w/extensions/SemanticMediaWiki/src/MediaWiki/Connection/Database.php(784): Wikimedia\Rdbms\DBConnRef->onTransactionCommitOrIdle()\n#5 /var/www/extdata/html/bluespice/w/extensions/SemanticMediaWiki/src/Importer/ContentCreators/TextContentCreator.php(143): SMW\MediaWiki\Connection\Database->onTransactionCommitOrIdle()\n#6 /var/www/extdata/html/bluespice/w/extensions/SemanticMediaWiki/src/Importer/ContentCreators/DispatchingContentCreator.php(75): SMW\Importer\ContentCreators\TextContentCreator->create()\n#7 /var/www/extdata/html/bluespice/w/extensions/SemanticMediaWiki/src/Importer/Importer.php(142): SMW\Importer\ContentCreators\DispatchingContentCreator->create()\n#8 /var/www/extdata/html/bluespice/w/extensions/SemanticMediaWiki/src/Importer/Importer.php(120): SMW\Importer\Importer->doImport()\n#9 /var/www/extdata/html/bluespice/w/extensions/SemanticMediaWiki/src/MediaWiki/Hooks.php(1510): SMW\Importer\Importer->runImport()\n#10 /var/www/extdata/html/bluespice/w/includes/HookContainer/HookContainer.php(338): SMW\MediaWiki\Hooks->onAfterCreateTablesComplete()\n#11 /var/www/extdata/html/bluespice/w/includes/HookContainer/HookContainer.php(137): MediaWiki\HookContainer\HookContainer->callLegacyHook()\n#12 /var/www/extdata/html/bluespice/w/extensions/SemanticMediaWiki/src/MediaWiki/HookDispatcher.php(308): MediaWiki\HookContainer\HookContainer->run()\n#13 /var/www/extdata/html/bluespice/w/extensions/SemanticMediaWiki/src/SQLStore/Installer.php(279): SMW\MediaWiki\HookDispatcher->onInstallerAfterCreateTablesComplete()\n#14 /var/www/extdata/html/bluespice/w/extensions/SemanticMediaWiki/src/SQLStore/SQLStore.php(456): SMW\SQLStore\Installer->install()\n#15 /var/www/extdata/html/bluespice/w/extensions/SemanticMediaWiki/src/Store.php(490): SMW\SQLStore\SQLStore->setup()\n#16 /var/www/extdata/html/bluespice/w/includes/installer/DatabaseUpdater.php(547): SMW\Store::setupStore()\n#17 /var/www/extdata/html/bluespice/w/includes/installer/DatabaseUpdater.php(515): DatabaseUpdater->runUpdates()\n#18 /var/www/extdata/html/bluespice/w/maintenance/update.php(209): DatabaseUpdater->doUpdates()\n#19 /var/www/extdata/html/bluespice/w/maintenance/includes/MaintenanceRunner.php(309): UpdateMediaWiki->execute()\n#20 /var/www/extdata/html/bluespice/w/maintenance/doMaintenance.php(85): MediaWiki\Maintenance\MaintenanceRunner->run()\n#21 /var/www/extdata/html/bluespice/w/maintenance/update.php(319): require_once(‘…’)\n#22 {main} at /var/www/extdata/html/bluespice/w/includes/libs/rdbms/database/Database.php:3622)”,“exception_url”:“[no req]”,“reqId”:“bc7a8df58af1e31e9d1f5531”,“caught_by”:“mwe_handler”} {“host”:“srvcsirtappt0006”,“wiki”:“wdbprod”,“mwversion”:“1.39.8”,“reqId”:“bc7a8df58af1e31e9d1f5531”,“cli_argv”:“maintenance/update.php”}
I am on Ubuntu 22 with php 8.0
Can someone help me with this?
regards
Daniel