-
-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
component: servicesAn issue relating to a Python Discord service (e.g. Bot, Site, Lancebot)An issue relating to a Python Discord service (e.g. Bot, Site, Lancebot)data-migration-needed: postgresqlThis service deployment needs a data migration of PostgreSQLThis service deployment needs a data migration of PostgreSQLgroup: ansibleIssues and pull requests related to the Ansible setupIssues and pull requests related to the Ansible setupstatus: approved
Description
This issue tracks upgrading our beloved lovelace pet server to Debian 13.
Pre-upgrade checklist
- System
- Update to latest point release (minimum Debian 12.12 to fix SSH bug)
- Ensure
/bootis at least 768 MB big: yes, is 974 MB - Ensure
/boothas about 300 MB free: yes, has 819 MB free - Ensure no configuration is in
/etc/sysctl.conf - Ensure all sysctl conf snippets are in
/etc/sysctl.d/*.conf - Notes
- Prepare to update any references to old network interface names
- Users
- Ensure nobody uses DSA keys
- Software
- Dovecot
- See https://doc.dovecot.org/main/installation/upgrade/2.3-to-2.4.html
- The
doveconftool can be used to validate the configuration file - Upgrade to latest 2.3 release
- Provision new configuration locally
- Download remote configuration from lovelace
- Install
doveconfof version 2.3 locally - Ensure
doveconf2.3 validates the existing configuration file - Install
doveconfof version 2.4 locally - Apply required configuration changes to the configuration tree
- Ensure
doveconf2.4 validates the updated configuration file
- Prepare locally tested changes for review in Ansible
- Check for any important "removed packages" in a
apt full-upgrade --dry-runwith the new trixie sources
- Dovecot
- Meta
- Once all above is said and done:
- Schedule upgrade as meeting with DevOps team
- Announce downtime to the Python Discord Committee For Changes
Post-upgrade checklist
- System
- SSH works
- Software
- PostgreSQL
- Upgrade the database cluster to version 17
- Dovecot
- No sieve errors can be found on mail delivery to mailboxes
- No IMAP errors can be seen for regular client usage
- No failed units are seen in
systemctl list-units --failed - Agents works
- PostgreSQL
Possible later tasks
- Software
- Postfix
- Update the compatibility level
- Postfix
Metadata
Metadata
Assignees
Labels
component: servicesAn issue relating to a Python Discord service (e.g. Bot, Site, Lancebot)An issue relating to a Python Discord service (e.g. Bot, Site, Lancebot)data-migration-needed: postgresqlThis service deployment needs a data migration of PostgreSQLThis service deployment needs a data migration of PostgreSQLgroup: ansibleIssues and pull requests related to the Ansible setupIssues and pull requests related to the Ansible setupstatus: approved
Type
Projects
Status
Up next