Page MenuHomeDevCentral

Serve archived wikis to SaaS MediaWiki correctly
Open, NormalPublic

Description

During T2174, we discovered wikis still in 1.39.
T2172 is a strong hint the wikis never were fully onboarded on web-001 / MediaWiki SaaS, they were still running from Ysul.

MediaWiki doesn't allow anymore to upgrade so much version in one step.

A temporary transition installation running 1.43 should be created to upgrade the database. Once done, the mw upgrade script can then be run to upgrade from 1.43 to current code.

Plan:

  • upgrade from 1.39 to 1.43 (LTS legacy to LTS current)
    • create salt-node-<your machine> vault policy to get credentials access
    • deploy webserver-core, webserver-alkane and saas-mediawiki roles on a temporary VM or jail
    • from /srv/mediawiki, checkout 1.43.5 tag
    • from /srv/mediawiki/{skins, extensions} checkout the last 1.43 version with ls -1 | grep -v README | xargs -I {} sh "cd {} && git checkout 1.43.5"
    • run mw upgrade on every archived wiki (see Instances.php for the full list)
  • upgrade on web-001 from 1.43 to git HEAD (currently 1.46 has just been started)
  • update DNS records to point a CNAME to saas-mediawiki.nasqueron.org.

Event Timeline

dereckson triaged this task as Normal priority.Thu, Nov 6, 20:37
dereckson created this task.
dereckson updated the task description. (Show Details)
dereckson updated the task description. (Show Details)
dereckson added a project: DNS.
dereckson moved this task from Backlog to DNS records on the DNS board.