Per our discussion in WMDE weekly meeting. We need it to test Cognate extension.
- Mentioned In
- T150834: Beta update.php broken since Nov 15th 19:20
- Mentioned Here
- T150897: Env vars being overwritten
P4457 addWiki working
T150763: Parameters are sometimes(?) being rearranged randomly instead of following the expected order, defined in TemplateData
T150834: Beta update.php broken since Nov 15th 19:20
P4445 (An Untitled Masterwork)
There are instructions for adding new wikis: https://wikitech.wikimedia.org/wiki/Nova_Resource:Deployment-prep/Add_a_wiki .
There are at least two issues I see right now:
- The TLS certificate (P4445)
- The External Store table (it doesn't exist so edits fail)
It doesn't look like addWiki.php handles 1, but it does 2. I'll go through and try to finish this setup now.
All the steps are done, except:
- Merge the last two changes above (Parsoid and RESTBase, they are automatically deployed)
- After https://gerrit.wikimedia.org/r/321810 is reviewed, we need to drop the dewiktionary database and re-run addWiki.php to do all the steps (including re-creating that database, and also the External Store issue)
So this happened:
[ERROR] Slave SQL: Error 'Can't drop database 'dewiktionary'; database doesn't exist' on query. Default database: 'dewiktionary'. Query: 'drop database dewiktionary', Gtid 0-172234526-802746, Internal MariaDB error code: 1008
[ERROR] Error running query, slave SQL thread aborted. Fix the problem, and restart the slave SQL thread with "SLAVE START". We stopped at log 'deployment-db03-bin.000009' position 592967822
That has been caused by the addition of the German Wiktionary ( T150764 ). The MySQL master/slave replication got broken because the dewiktionary database was not created on the slave and "drop database dewiktionary;" failed to replicate.
I have manually created the database on the slave, issued START SLAVE and replication caught up from there.
update.php works now! https://integration.wikimedia.org/ci/job/beta-update-databases-eqiad/12839/console
And the job fails:
$ mwscript update.php --wiki=dewiktionary --quick #!/usr/bin/env php MediaWiki 1.29.0-alpha Updater Your composer.lock file is up to date with current dependencies!
dewiktionary is not on the master database. So gotta remove it from the dblist. Eg I am going to revert the change.
I'm just wondering how that happened (only creating dewiktionary on the master), and in general how the tables were created before (because it was apparently not addWiki.php).
I'll follow up later today.
Actually it was https://gerrit.wikimedia.org/r/#/c/322033/ .
It still doesn't work, but Petr told me Parsoid is known to not be working on Beta (probably T150897).
I get the same error on en.wikipedia Beta as well.