Project:Wiki/Updates/1.31.1
From Gentoo Wiki
< Project:Wiki | Updates
Jump to:navigation
Jump to:search
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
- Commit notification of planned downtime to infra-status site.
- Add planned outage details under "Maintenance and outage notices" section of infra-status.
- Mark wiki as read-only during data migration and upgrade.
- Take a data snapshot of the current wiki on the database cluster. See the infrawiki's runbook for more details here.
- Backup current htdocs, copy wiki images to wikitest, then copy wikitest htdocs to updated.
- Bring puppet and wiki repositories up to latest revisions.
- Update plugins and extensions via composer:
- Run composer update --no-dev
- Run php maintenance/update.php to update the schema(s).
- Manual plugin updates:
- Research updates from upstream locations.
- Potentially upgrade Tyrian's embedded Bootstrap to latest release (v4.x).
- Research updates from upstream locations.
- Other manual updates:
- Update copyright year to latest year.
- Once satisfied, release read-only or do a rollback.
Post update checklist
Upon success update:
- Pending...
Rollback checklist
In the event of update issues, here are procedures to follow:
- Halt edits via marking thee database read-only.
- Move target back to old database.
- Move old script files back.
- Revert puppet changes and wiki repository checkouts.
- Update/modify infra-status site with details as necessary.
- Remove notification.
- Unlock read-only status on wiki.