Skip to content

Upgrade lovelace to Debian 13 #608

@jchristgit

Description

@jchristgit

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 /boot is at least 768 MB big: yes, is 974 MB
    • Ensure /boot has 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 doveconf tool can be used to validate the configuration file
      • Upgrade to latest 2.3 release
      • Provision new configuration locally
        • Download remote configuration from lovelace
        • Install doveconf of version 2.3 locally
        • Ensure doveconf 2.3 validates the existing configuration file
        • Install doveconf of version 2.4 locally
        • Apply required configuration changes to the configuration tree
        • Ensure doveconf 2.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-run with the new trixie sources
  • 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

Possible later tasks

  • Software
    • Postfix
      • Update the compatibility level

Metadata

Metadata

Assignees

No one assigned

    Labels

    component: servicesAn issue relating to a Python Discord service (e.g. Bot, Site, Lancebot)data-migration-needed: postgresqlThis service deployment needs a data migration of PostgreSQLgroup: ansibleIssues and pull requests related to the Ansible setupstatus: approved

    Type

    No type

    Projects

    Status

    Up next

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions