- new wikis use 1.39
- existing wikis have been migrated to 1.39 successfully
Description
Description
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | Evelien_WMDE | T327646 🔷 Upgrade Wikibase Cloud Mediawiki Version to 1.39 | |||
Resolved | Evelien_WMDE | T333290 🔵 Update staging to use MediaWiki 1.39 |
Event Timeline
Comment Actions
The original wbaas-deploy/pull/820 was reverted by wbaas-deploy/pull/827 due to T333824 breaking the migration.
Comment Actions
Generating the batch of wikis:
kubectl exec -it deployment/api-app-backend -- php artisan tinker --execute 'Wiki::whereRelation("wikiDb", "version", "=", "mw1.38-wbs1")->get()->pluck("domain")->each(function ($i, $k) { echo $i.PHP_EOL; })'
Batch 1 (wbaas-deploy/pull/839):
coffeebase.wikibase.dev andrew.wikibase.dev
Batch 2 (wbaas-deploy/pull/840):
deerbase.wikibase.dev potatobase.wikibase.dev potato.wikibase.dev dev-test-wbaas-custom-deer.duckdns.org mw138test.wikibase.dev biomarker.wikibase.dev testa.wikibase.dev carrotwiki.wikibase.dev sweetcornbase.wikibase.dev mywayordatway.wikibase.dev redbull.wikibase.dev asdfg.wikibase.dev asfasfasfasfasf.wikibase.dev wbdev.ledeniz.de
Batch 3 (wbaas-deploy/pull/841):
goathub.wikibase.dev somethingwitty.wikibase.dev goat-136.wikibase.dev candy-collection.wikibase.dev asjhfkjsahdkjahs.wikibase.dev feddypropswiki.wikibase.dev addshore-alpha.wikibase.dev faketestdomain.hopto.org wikibasehost.ddns.net addshore-fake-cusstom-domain-wikibase.duckdns.org deerstack.wikibase.dev cacti.wikibase.dev rose-collection.wikibase.dev migratetestbase.ddns.net biodiversity.wikibase.dev toms-test-wikibase.duckdns.org potatowiki3.wikibase.dev charlie-test-1.wikibase.dev deerdeerdeer.wikibase.dev blob-wiki.wikibase.dev test-lm-02.wikibase.dev testwikibase-jan.wikibase.dev aflex.wikibase.dev bh20subset1.wikibase.dev
Setting all wikis in a batch to read only:
for wiki_domain in $(cat domains.txt); do kubectl exec -it deployment/api-app-backend -- bash -c "php artisan wbs-wiki:setSetting domain $wiki_domain wgReadOnly migrate-to-139" done
Updating all wikis in a batch:
for wiki_domain in $(cat domains.txt); do kubectl exec -it deployments/api-scheduler -- bash -c "php artisan job:dispatchNow MediawikiUpdate wikis.domain $wiki_domain mw1.38-wbs1 mw1.39-wbs1 mediawiki-139" kubectl exec -it deployment/api-app-backend -- bash -c "php artisan wbs-wiki:setSetting domain $wiki_domain wgReadOnly" done
see T332298#8715053 and T332298#8715124
Comment Actions
The update script took about 30min for biodiversity.wikibase.dev with a lot of this happening:
... "\tAdded or updated the \"unexpectedUnconnectedPage\" page property for 1000 pages, up to page ID 575021 (inclusive).","\tAdded or updated the \"unexpectedUnconnectedPage\" page property for 1000 pages, up to page ID 576021 (inclusive).","\tAdded or updated the \"unexpectedUnconnectedPage\" page property for 1000 pages, up to page ID 577021 (inclusive).","\tAdded or updated the \"unexpectedUnconnectedPage\" page property for 1000 pages, up to page ID 578021 (inclusive).","\tAdded or updated the \"unexpectedUnconnectedPage\" page property for 977 pages, up to page ID 1578021 (inclusive).","\tDone!" ...