# Goal
In order to upgrade all our MediaWiki clusters to Debian Bookworm, we need to upgrade the current Debian Bullseye installation to use ICU 72.
We will perform the upgrade on **Monday, 20th April**.
We will update the `categorylinks` table sortkeys in place (**not** using the new process, per T419049#11796113). This will take a few days to run on larger wikis, and up to a week on enwiki. Until the script is finished, there will be some weirdness in category lists sorting.
# Runbook
- [x] Prepare packages + base images: T419058
- [x] Notify communities with MoveComms help
- [x] prepare dblists for use with `updateCollation.php` with [[ https://gitlab.wikimedia.org/repos/sre/serviceops-kitchensink/-/blob/main/misc/find_collations.py | find_collations.py ]]
- [ ] Migration Day
- [ ] merge [[ https://gitlab.wikimedia.org/repos/releng/release/-/merge_requests/239 | MW image change ]] & wait for build
- [ ] during MW infra window so nobody else deploys: `scap sync-world --k8s-only --pause-after-testserver-sync -D full_image_build:true`, then hope that nothing explodes on the canaries, then deploy everywhere
- [ ] start `updateCollation.php` scripts:
- [ ] `mwscript-k8s --comment 'migrate collation data to ICU72 -- T422544' --local_dblist ./icu-s1.dblist --follow -- updateCollation.php --force`
- [ ] `mwscript-k8s --comment 'migrate collation data to ICU72 -- T422544' --local_dblist ./icu-s2.dblist --follow -- updateCollation.php --force`
- [ ] `mwscript-k8s --comment 'migrate collation data to ICU72 -- T422544' --local_dblist ./icu-s3.dblist --follow -- updateCollation.php --force`
- [ ] `mwscript-k8s --comment 'migrate collation data to ICU72 -- T422544' --local_dblist ./icu-s5.dblist --follow -- updateCollation.php --force`
- [ ] `mwscript-k8s --comment 'migrate collation data to ICU72 -- T422544' --local_dblist ./icu-s6.dblist --follow -- updateCollation.php --force`
- [ ] `mwscript-k8s --comment 'migrate collation data to ICU72 -- T422544' --local_dblist ./icu-s7.dblist --follow -- updateCollation.php --force`
- [ ] Include the icu72 upgrade into the general php images
# Out of scope
- Upgrading ICU on deployment hosts: tracked separately in T422964.
- Upgrading ICU on Beta.