From 006468e868a86146d504d9cea680880b308f4028 Mon Sep 17 00:00:00 2001 From: Alex Selimov Date: Mon, 14 Jul 2025 00:37:13 +0000 Subject: [PATCH] Debian upgrade post --- posts/debian_upgrade.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 posts/debian_upgrade.md diff --git a/posts/debian_upgrade.md b/posts/debian_upgrade.md new file mode 100644 index 0000000..5a27a6c --- /dev/null +++ b/posts/debian_upgrade.md @@ -0,0 +1,21 @@ +--- +title: "The folly of Debian major version upgrades"" +date: 2025-07-13T20:35:50-05:00 +topics: ['git', 'matrix', 'self-host'] + +--- + +I recently realized that my web server was still on Debian Buster, **2 whole major versions behind** the latest Debian version. Normally this kind of thing wouldn't matter to me except that my matrix-synapse server was unable to federate with matrix synapse servers running newer versions. I normally run rolling release distributions on my local machines (I use Void btw) and it had been a long time since I tried this kind of upgrade. I went in hopeful that it would be straightforward. + + **This is a reminder to backup consistently.** + +Of course after thinking everything went fine, I tried to install a new package and libcrypt ends up getting removed leaving me unable to login to my server. Luckily I had backed up before this which saved all of my bespoke configurations. I'm sure no one noticed the down time but I did use this as an opportunity to make the followjng changes: + +- matrix-synapse upgrade to dendrite for better performance. +- Gitea to forgejo just to try something different. +- Properly set up actions to auto build and deploy site on push. +- Rework website and swap to the [terminal hugo theme](https://forge.alexselimov.com/aselimov/Terminal-Hugo-Theme) + +So far, I have positive opinions of all of my changes and highly recommend dendrite and forgejo. + +**Note to self: Never consider it upgrading Debian version. Always structure it as a migration to newer Debian version to avoid downtime** \ No newline at end of file