User Tools

Site Tools


bock_upgrade_debian_10_-_11

This is an old revision of the document!


Upgrade Bock to Debian 11 (Bullseye)

SUMMARY: Upgrade Bock from Debian 10 (Buster) to Debian 11 (Bullseye)

Goal

During our recent discussions on the SysAdmin Mailing List, the decision was made to upgrade bock.sluug.org from Debian 10 (Buster) to Debian 11 (Bullseye). Both of these Debian versions support Mailman 2.x.

Out of Scope

Upgrading from Mailman 2 to Mailman 3 is out of scope for this task. Debian 11 (Bullseye) still supports Mailman 2.x. We can proceed with the upgrade to Debian 11 without making any major changes to mailman.

Once we are successfully migrated to Debian 11, a separate effort will be made to upgrade from Mailmain 2 to Mailman 3 (or switch to a different list manager altogether).

Bock-Specific PreUpgrade Concerns/Complications

This section describes issues raised on the mailing lists that may need to be researched or addressed prior to execution of the Plan.

This section will only list complications that are specific to Bock. The Upgrading from Debian 10 documentation describes many "general" steps to prepare the system for an upgrade. Things listed in the official documentation will not be duplicated here.

Firewall Woes

Way back in 2023, there was an attempt to use "ufw" to change ports, but it didn't seem to affect things. Probably because ports were previously configured with "firewalld". Also blocking some incoming connections with "fail2ban", which is unrelated to the ufw problem.

  firewalld = dynamically managed firewall with support for network zones
  ufw       = program for managing a Netfilter firewall
  fail2ban  = ban hosts that cause multiple authentication errors

Plan

This section describes our plan to upgrade Bock to Debian 11.

  1. Review documentation linked in the References section.
  2. Create a clone of Bock (Bock-Clone)
  3. Upgrade Bock-Clone by following the Upgrading from Debian 10 documentation.
    1. Document all actions taken in the Procedure section.
  4. (?) Simulate Upgrade failure on Bock-Clone to document Rollback Procedure
  5. Upgrade Bock by performing the steps listed in Procedure section.
  6. (If necessary) Rollback using Backout Plan.

Procedure

This section will contain all actions that need to be performed to execute the Plan.

Backout Plan

This section describes our plan for restoring Bock to a working Debian 10 state, if the upgrade goes poorly and needs to be reverted.

  1. (?) Rollback VM Snapshot
  2. (?) Restore VM from backup

Backout Procedure

This section will contain all actions that need to be performed to execute the Backout Plan.

References

bock_upgrade_debian_10_-_11.1704543423.txt.gz · Last modified: 2024/01/06 06:17 by SLUUG Administration