Steps to replicate the issue (include links if applicable):
Login to Beta Clustera and try to add a new wiki.
mwscript extensions/WikimediaMaintenance/addWiki.php --wiki=aawiki en wikipedia test2wiki test2.wikipedia.beta.wmcloud.org
What happens?:
System fails with an error
pmiazga@deployment-deploy03:~$ mwscript extensions/WikimediaMaintenance/addWiki.php --wiki=aawiki en wikipedia test2wiki test2.wikipedia.beta.wmcloud.org Creating database test2wiki for en.wikipedia (English) Initialising tables RuntimeException from line 2739 of /srv/mediawiki-staging/php-master/includes/libs/rdbms/database/Database.php: Could not open "/srv/mediawiki-staging/php-master/extensions/Math/sql/mysql/mathoid.sql" #0 /srv/mediawiki-staging/php-master/includes/libs/rdbms/database/DBConnRef.php(119): Wikimedia\Rdbms\Database->sourceFile('/srv/mediawiki-...') #1 /srv/mediawiki-staging/php-master/includes/libs/rdbms/database/DBConnRef.php(810): Wikimedia\Rdbms\DBConnRef->__call('sourceFile', Array) #2 /srv/mediawiki-staging/php-master/extensions/WikimediaMaintenance/addWiki.php(310): Wikimedia\Rdbms\DBConnRef->sourceFile('/srv/mediawiki-...') #3 /srv/mediawiki-staging/php-master/extensions/WikimediaMaintenance/addWiki.php(128): AddWiki->createMainClusterSchema(Object(Wikimedia\Rdbms\DBConnRef), 'test2wiki', 'wikipedia') #4 /srv/mediawiki-staging/php-master/maintenance/includes/MaintenanceRunner.php(698): AddWiki->execute() #5 /srv/mediawiki-staging/php-master/maintenance/run.php(51): MediaWiki\Maintenance\MaintenanceRunner->run() #6 /srv/mediawiki-staging/multiversion/MWScript.php(158): require_once('/srv/mediawiki-...') #7 {main}
What should have happened instead?:
Wiki should be created.
Other information (browser name/version, screenshots, etc.):
System fails due to not being able to find a mathoid.sql file to initialize a new DB. This file was removed in T349442 -- Patch Remove explicit DB access.
I don't know if this is only a Math extension issue or is it problem with AddWiki scripts.