Project:Wiki/Updates/1.30.1
From Gentoo Wiki
< Project:Wiki | Updates
Jump to:navigation
Jump to:search
Testing
- Use wikitest site as staging area.
- Update PHP to latest stable release.
- Update base to MediaWiki 1.30.1.
Update 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 and move it to the new database cluster.
- Backup current htdocs, copy wiki images to wikitest, then copy wikitest htdocs to wiki.
- Bring puppet and wiki repositories up to latest revisions.
- Update plugins via composer:
- Run composer update --no-dev
- Run php maintenance/update.php to update the schema
- Manual plugin updates:
Page forms (formerly Semantic forms)The old [[Has default form::form-name]] Syntax has been replaced by {{#default_form:Organization}}. The following pages need updated by hand:- Done! (Brian Evans (grknight) )
- When satisfied, release read-only or do a rollback.
Post update checklist
Upon success update:
- Reevaluate Login and Notifications on small screens (bug #615260).
- Flow extension seems fragile.
- Evaluate if Flow can be enabled on more pages after experimenting more with Flow extension updates.
- Flow has a nasty habit of hard-encoding the wiki id (which defaults to "DBSchema-DBPrefix") into its data. This means changes to the schema name or prefix is not possible if Flow data is to be preserved.
Merge wiki accounts that have been on the todo list.- Done! (Brian Evans (grknight) )
Rollback checklist
In the event of issues with the update, 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 infra-status site with details.
- Resume edits.