Project:Wiki/Updates/1.31.1

Testing

 * Use wikitest.g.o site as staging area.
 * Update PHP to latest stable release.
 * Update MediaWiki base to v1.31.1.

High-level checklist

 * 1) Commit notification of planned downtime to infra-status site.
 * 2) * Add planned outage details under "Maintenance and outage notices" section of infra-status.
 * 3) Mark wiki as read-only during data migration and upgrade.
 * 4) Take a data snapshot of the current wiki on the database cluster. See the infrawiki's runbook for more details here.
 * 5) Backup current htdocs, copy wiki images to wikitest, then copy wikitest htdocs to updated.
 * 6) Bring puppet and wiki repositories up to latest revisions.
 * 7) Update plugins and extensions via composer:
 * 8) * Run
 * 9) * Run to update the schema(s).
 * 10) Manual plugin updates:
 * 11) * Research updates from upstream locations.
 * 12) *#* Potentially upgrade Tyrian's embedded Bootstrap to latest release (v4.x).
 * 13) Other manual updates:
 * 14) * Update copyright year to latest year.
 * 15) Once satisfied, release read-only or do a rollback.

Post update checklist
Upon success update:


 * 1) Pending...

Rollback checklist
In the event of update issues, here are procedures to follow:


 * 1) Halt edits via marking thee database read-only.
 * 2) Move target back to old database.
 * 3) Move old script files back.
 * 4) Revert puppet changes and wiki repository checkouts.
 * 5) Update/modify infra-status site with details as necessary.
 * 6) * Remove notification.
 * 7) Unlock read-only status on wiki.