Update auf Debian 12
!! Zugangsdaten für VM besorgen (Richi?), Snapshot machen, Alerts ausschalten !!
- Alerts ausschalten:
icinga2 feature disable notification && systemctl restart icinga2
sed -i 's/bullseye/bookworm/g' /etc/apt/sources.list
mv /etc/apt/sources.list.d/debian-testing.list /etc/apt/sources.list.d/debian-testing.list.save
apt update && apt upgrade -y
- Postgresql-Update von 13 auf 15:
pg_dropcluster 15 main --stop
pg_upgradecluster 13 main
apt remove postgresql-13 postgresql-client-13
- mit aptitude veraltete pakete entfernen und restliche Aktualisierungen durchführen
- IcingaWeb2-Datenbank-Updates durchführen:
PGPASSWORD=<PASSWORT> /usr/bin/psql -h localhost -U icingaweb2 -d icingaweb2 -f /usr/share/icingaweb2/schema/pgsql-upgrades/<DER REIHE NACH ALLE UPDATES>
PGPASSWORD=<PASSWORT> /usr/bin/psql -h localhost -U icingaweb2 -d icingaweb2 -f /usr/share/icingaweb2/schema/pgsql.schema.sql
- Ansible mit "debian12"-Branch drüberlaufen lassen
- "debian12"-Branch mergen
- Alerts einschalten:
icinga2 feature enable notification && systemctl restart icinga2
- Nach ein paar Wochen: Snapshot löschen
Edited by Citronalco