Page MenuHomePhabricator
Paste P14443

(An Untitled Masterwork)
ActivePublic

Authored by Urbanecm on Feb 22 2021, 3:31 PM.
[urbanecm@mwmaint1002 ~]$ mwscript extensions/WikimediaMaintenance/addWiki.php --wiki=muswiki alt wikipedia altwiki alt.wikipedia.org
Deprecated: Premature access to service container [Called from Maintenance::finalSetup in /srv/mediawiki/php-1.36.0-wmf.31/maintenance/includes/Maintenance.php at line 1216] in /srv/mediawiki/php-1.36.0-wmf.31/includes/debug/MWDebug.php on line 376
Deprecated: Premature access to service 'HookContainer' [Called from MediaWiki\MediaWikiServices::getInstance in /srv/mediawiki/php-1.36.0-wmf.31/includes/MediaWikiServices.php at line 248] in /srv/mediawiki/php-1.36.0-wmf.31/includes/debug/MWDebug.php on line 376
Deprecated: Premature access to service 'ObjectFactory' [Called from Wikimedia\Services\ServiceContainer::{closure} in /srv/mediawiki/php-1.36.0-wmf.31/includes/ServiceWiring.php at line 516] in /srv/mediawiki/php-1.36.0-wmf.31/includes/debug/MWDebug.php on line 376
Creating database altwiki for alt.wikipedia (алтай тил)
Initialising tables
Initialising external storage cluster26...
Initialising external storage cluster27...
Writing main page to Тӧс_бӱк
Wikimedia\Assert\PreconditionException from line 58 of /srv/mediawiki/php-1.36.0-wmf.31/includes/dao/WikiAwareEntityTrait.php: Expected User to belong to 'altwiki', but it belongs to the local wiki
#0 /srv/mediawiki/php-1.36.0-wmf.31/includes/user/User.php(2089): User->assertWiki('altwiki')
#1 /srv/mediawiki/php-1.36.0-wmf.31/includes/Revision/RevisionStore.php(618): User->getUserId('altwiki')
#2 /srv/mediawiki/php-1.36.0-wmf.31/includes/Revision/RevisionStore.php(552): MediaWiki\Revision\RevisionStore->insertIpChangesRow(Object(Wikimedia\Rdbms\DatabaseMysqli), Object(User), Object(MediaWiki\Revision\MutableRevisionRecord), 1)
#3 /srv/mediawiki/php-1.36.0-wmf.31/includes/Revision/RevisionStore.php(451): MediaWiki\Revision\RevisionStore->insertRevisionInternal(Object(MediaWiki\Revision\MutableRevisionRecord), Object(Wikimedia\Rdbms\DatabaseMysqli), Object(User), Object(CommentStoreComment), Object(Title), 1, 0) #4 /srv/mediawiki/php-1.36.0-wmf.31/includes/libs/rdbms/database/Database.php(4500): MediaWiki\Revision\RevisionStore->MediaWiki\Revision\{closure}(Object(Wikimedia\Rdbms\DatabaseMysqli), 'MediaWiki\\Revis...') #5 /srv/mediawiki/php-1.36.0-wmf.31/includes/libs/rdbms/database/DBConnRef.php(68): Wikimedia\Rdbms\Database->doAtomicSection('MediaWiki\\Revis...', Object(Closure)) #6 /srv/mediawiki/php-1.36.0-wmf.31/includes/libs/rdbms/database/DBConnRef.php(641): Wikimedia\Rdbms\DBConnRef->__call('doAtomicSection', Array) #7 /srv/mediawiki/php-1.36.0-wmf.31/includes/Revision/RevisionStore.php(453): Wikimedia\Rdbms\DBConnRef->doAtomicSection('MediaWiki\\Revis...', Object(Closure)) #8 /srv/mediawiki/php-1.36.0-wmf.31/includes/Storage/PageUpdater.php(1236): MediaWiki\Revision\RevisionStore->insertRevisionOn(Object(MediaWiki\Revision\MutableRevisionRecord), Object(Wikimedia\Rdbms\DBConnRef))#9 /srv/mediawiki/php-1.36.0-wmf.31/includes/Storage/PageUpdater.php(803): MediaWiki\Storage\PageUpdater->doCreate(Object(CommentStoreComment), Object(User), 65)
#10 /srv/mediawiki/php-1.36.0-wmf.31/includes/page/WikiPage.php(2076): MediaWiki\Storage\PageUpdater->saveRevision(Object(CommentStoreComment), 65) #11 /srv/mediawiki/php-1.36.0-wmf.31/includes/page/WikiPage.php(1928): WikiPage->doUserEditContent(Object(WikitextContent), Object(User), Object(CommentStoreComment), 65, false, Array, 0) #12 /srv/mediawiki/php-1.36.0-wmf.31/extensions/WikimediaMaintenance/addWiki.php(165): WikiPage->doEditContent(Object(WikitextContent), '', 65) #13 /srv/mediawiki/php-1.36.0-wmf.31/maintenance/doMaintenance.php(106): AddWiki->execute() #14 /srv/mediawiki/php-1.36.0-wmf.31/extensions/WikimediaMaintenance/addWiki.php(450): require_once('/srv/mediawiki/...') #15 /srv/mediawiki/multiversion/MWScript.php(101): require_once('/srv/mediawiki/...') #16 {main}
[5838f2e9a8b97a8b137ebb77] [no req] Wikimedia\Rdbms\DBTransactionError: Explicit transaction still active. A caller may have caught an error. Open transactions: MediaWiki\Storage\PageUpdater::doCreate
Backtrace:
from /srv/mediawiki/php-1.36.0-wmf.31/includes/libs/rdbms/database/Database.php(1523)
#0 /srv/mediawiki/php-1.36.0-wmf.31/includes/libs/rdbms/loadbalancer/LoadBalancer.php(1728): Wikimedia\Rdbms\Database->assertNoOpenTransactions()
#1 /srv/mediawiki/php-1.36.0-wmf.31/includes/libs/rdbms/loadbalancer/LoadBalancer.php(2241): Wikimedia\Rdbms\LoadBalancer::Wikimedia\Rdbms\{closure}(Wikimedia\Rdbms\DatabaseMysqli)
#2 /srv/mediawiki/php-1.36.0-wmf.31/includes/libs/rdbms/loadbalancer/LoadBalancer.php(1747): Wikimedia\Rdbms\LoadBalancer->forEachOpenMasterConnection(Closure)
#3 /srv/mediawiki/php-1.36.0-wmf.31/includes/libs/rdbms/lbfactory/LBFactory.php(249): Wikimedia\Rdbms\LoadBalancer->approveMasterChanges(array, string, integer)
#4 /srv/mediawiki/php-1.36.0-wmf.31/includes/libs/rdbms/lbfactory/LBFactoryMulti.php(222): Wikimedia\Rdbms\LBFactory::Wikimedia\Rdbms\{closure}(Wikimedia\Rdbms\LoadBalancer, string, array)
#5 /srv/mediawiki/php-1.36.0-wmf.31/includes/libs/rdbms/lbfactory/LBFactory.php(251): Wikimedia\Rdbms\LBFactoryMulti->forEachLB(Closure, array)
#6 /srv/mediawiki/php-1.36.0-wmf.31/includes/libs/rdbms/lbfactory/LBFactory.php(310): Wikimedia\Rdbms\LBFactory->forEachLBCallMethod(string, array)
#7 /srv/mediawiki/php-1.36.0-wmf.31/maintenance/includes/Maintenance.php(1269): Wikimedia\Rdbms\LBFactory->commitMasterChanges(string)
#8 /srv/mediawiki/php-1.36.0-wmf.31/maintenance/doMaintenance.php(128): Maintenance->shutdown()
#9 /srv/mediawiki/php-1.36.0-wmf.31/extensions/WikimediaMaintenance/addWiki.php(450): require_once(string)
#10 /srv/mediawiki/multiversion/MWScript.php(101): require_once(string)
#11 {main}
[urbanecm@mwmaint1002 ~]$