DicoAdo (https://fr.dicoado.org/) is an independent project that was created from an independent amazing community. Unfortunately the server of DicoAdo in December 2022 will end the service but, as solution, Wikimedia CH will offer them hosting in a virtual private server in the WMCH-Infrastructure, to keep the project online and to help the community to focus on DicoAdo itself. DicoAdo will remain independent from Wikimedia CH.
This is an umbrella ticket covering the migration.
If you have any question feel free to contact one of the involved users:
- @DSwissK · founder of DicoAdo
- @Raphoraph · sysadmin of DicoAdo
- @valerio.bozzolan · sysadmin for WMCH-Infrastructure in charge of the migration
- Ilario Valdelli · migration tech supervisor for WMCH-Infrastructure
Thank you so much again to DicoAdo! Details will follow in the coming days as sub-Tasks.
Calendar
(This is a bit scattered since we invested very few time budget in short bursts and in the meanwhile the project evolved a bit)
- 2022-03-28 upgrade from Debian buster (oldstable) to bullseye (stable)
- 2022-04 SSH authorization from wmch-dicoado1 to legacy dicoado.org (83.166.138.13)
- 2022-04 setup virtualhost with PHP-FPM
- 2022-05-05 first raw import of DB and filesystem
- 2022-05-18 basic features operationals
- 2022-05-19 check extensions
- 2022-05-24 end tests
- 2022- proposed final switch
2023 August Final Preparation
- 2023-09-01 reduce DNS TTL to few minutes
- 2023-09-01 understand why the original website had broken images:
- now our fault: Commons was not reachable from our area for some minutes O.o
- 2023-09-01 set the legacy MediaWiki in wgReadOnly
- 2023-09-01 grant to Valerio permissions legacy service provider
- 2023-09-01 fix the small /var disk partition, migrate data to /home, bind, update fstab
- 2023-09-01 fix last minute things: 1 hour
- 2023-09-01 fixed Cargo extension not correctly imported
- 2023-09-01 restore the legacy MediaWiki in wgReadOnly
- 2023-09-01 review pull.sh to import Cargo as well
2023 September Final Migration
Scheduled at:
2023-09-07 · 14:00 CEST
- create commodity record infomaniak.dicoado.* pointing to 83.166.138.13
- for dicoado.org and sub-domains
- for dicoado.ch and sub-domains
- for dicoado.com and sub-domains
- 14:00 import Let's Encrypt certificates from legacy server
- 14:10 set again the legacy MediaWiki in wgReadOnly, pointing to this Task
- 14:00 start transferring images
- 14:11 re-exporting databases from legacy server
- 14:11 transferring databases to new production
- 14:11 stop webserver in new production
- 14:12 start import databases in new production
- 14:30 end import databases in new production
- 14:30 end start transferring images
- 14:30 test basic things poisoning /etc/hosts with 89.207.237.145
- no white screen of death
- MediaWiki homepage works
- static homepage still works
- single article works
- edit single article form works
- 14:32 turn the DNS from 83.166.138.13 to 89.207.237.145 and drop AAAA (2001:1600:4:13:1a66:daff:fe5c:a57b)
- for dicoado.org and sub-domains
- for dicoado.ch and sub-domains
- for dicoado.com and sub-domains
- wait (coffee time)
- these pages have lot of happy green checks:
- https://www.whatsmydns.net/#A/fr.dicoado.org/89.207.237.145 (propagated after 2 weeks because of bugs in the Anycast of the service provider)
- 14:55 https://www.whatsmydns.net/#A/fr.dicoado.ch/89.207.237.145
- 14:50 https://www.whatsmydns.net/#A/fr.dicoado.com/89.207.237.145
- re-issue with Let's Encrypt in new server
- all virtualhosts of dicoado.org
- all virtualhosts of dicoado.ch
- all virtualhosts of dicoado.com
- test all redirects from dicoado.ch to homepage
- test all redirects from dicoado.ch to FR edition
- test all redirects from dicoado.com to homepage
- test all redirects from dicoado.com to FR edition
- test the homepage of the .org
- test the FR edition of the .org
- drop legacy certificates from new server
- wait (tea time)
- test things (see sub-tasks)
- restore DNS TTL
-
eventually rollback everything from backups - hard party
Not to be done today:
- upgrade MediaWiki via MediaWiki-Debian package
Test URL
Production URL
https://fr.dicoado.org/dico/Dico:Accueil
Migration script
/home/www-dicoado/pull.sh