<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>DevSecOps – apt-upgrade.me – Homelab, Linux &amp; DevSecOps</title><link>https://www.apt-upgrade.me/category/devsecops/</link><description>One nerd's homelab: Linux, Kubernetes, security, and the occasional disaster.</description><language>en-GB</language><lastBuildDate>Wed, 02 Dec 2026 15:30:00 +0100</lastBuildDate><atom:link href="https://www.apt-upgrade.me/category/devsecops/index.xml" rel="self" type="application/rss+xml"/><item><title>Second opinion from Fable: what the strongest Claude model still found in my already reviewed code</title><link>https://www.apt-upgrade.me/2026/12/02/second-opinion-from-fable-what-the-strongest-claude-model-still-found/</link><pubDate>Wed, 02 Dec 2026 15:30:00 +0100</pubDate><guid>https://www.apt-upgrade.me/2026/12/02/second-opinion-from-fable-what-the-strongest-claude-model-still-found/</guid><description>&lt;p&gt;&lt;strong&gt;In short:&lt;/strong&gt; For months I have been working on making my Nextcloud servers and this blog more secure: SELinux with domains of its own, firewall, CIS benchmark, sandboxes for every service, one review after another. At some point you wonder whether there is anything left to find. That is exactly what I was curious about when I let Fable, Anthropic&amp;rsquo;s most capable generally available model, read the whole Ansible code once more. The answer: yes. Fable found bugs in the fixes I was about to roll out, among them one that would have taken down the production ingress, and a number of new gaps. Twice, though, it was wrong itself. Only the test server showed that.&lt;/p&gt;</description></item><item><title>A week of hardening: what a code review still found on my Nextclouds</title><link>https://www.apt-upgrade.me/2026/11/30/a-week-of-hardening-what-a-code-review-still-found-on-my-nextclouds/</link><pubDate>Mon, 30 Nov 2026 19:00:00 +0100</pubDate><guid>https://www.apt-upgrade.me/2026/11/30/a-week-of-hardening-what-a-code-review-still-found-on-my-nextclouds/</guid><description>&lt;p&gt;&lt;strong&gt;In short:&lt;/strong&gt; My Nextcloud servers counted as well hardened: SELinux in enforcing mode, a domain of its own for every service, a firewall, the CIS benchmark. Still, I had Claude do a thorough review, once of the Ansible code and once of the running servers. It found no open door, but a handful of places where an attacker who already has a foot in the door would get further too easily. For a week, every change first went to the test server, stayed there at least one night and only then reached the two production servers. There were a few surprises along the way.&lt;/p&gt;</description></item><item><title>AlmaLinux 10 on Trial: My Nextcloud Playbook, Nine Stumbling Blocks, and an AI That Works While I Am Out</title><link>https://www.apt-upgrade.me/2026/11/21/almalinux-10-test-nextcloud-playbook-claude-works-while-i-sleep/</link><pubDate>Sat, 21 Nov 2026 18:00:00 +0100</pubDate><guid>https://www.apt-upgrade.me/2026/11/21/almalinux-10-test-nextcloud-playbook-claude-works-while-i-sleep/</guid><description>&lt;p&gt;&lt;strong&gt;In short:&lt;/strong&gt; My Nextcloud servers run on AlmaLinux 9, and that will stay so for quite a while. Still, I wanted to know what my Ansible playbook needs for AlmaLinux 10. So I had a test server freshly installed with AlmaLinux 10.3 and handed the work to Claude. For part of the day I was out and followed the progress through the mails of the playbook runs. The result: nine stumbling blocks, nearly all of them in the hardening, not in Nextcloud. The two most interesting ones: kernel modules that moved to another package, and SELinux paths where &lt;code&gt;/run&lt;/code&gt; and &lt;code&gt;/var/run&lt;/code&gt; swapped roles. The code is in the branch &lt;a href="https://github.com/aptupgrademe/nextcloud_k3s/tree/el10-support" target="_blank" rel="noopener"&gt;&lt;code&gt;el10-support&lt;/code&gt;&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>Ten nginx vulnerabilities, an update that never came and release notes that were wrong</title><link>https://www.apt-upgrade.me/2026/11/20/nginx-vulnerabilities-and-the-update-that-never-came/</link><pubDate>Fri, 20 Nov 2026 20:00:00 +0100</pubDate><guid>https://www.apt-upgrade.me/2026/11/20/nginx-vulnerabilities-and-the-update-that-never-came/</guid><description>&lt;p&gt;&lt;strong&gt;In short:&lt;/strong&gt; On 18 November nginx fixed ten security vulnerabilities, among them memory corruption in HTTP/2 and a bug in HTTP/3. At that point my blog was still running the vulnerable version 1.31.8 – although dnf-automatic installs security updates every night. The reason: on my servers dnf-automatic only installs what a repository explicitly marks as a security update, and the nginx repository marks nothing at all. The same applied to Grafana, to a Rancher package and to MariaDB. Now a small nightly job fetches all updates from exactly these vendor repos. On the Nextclouds I switched HTTP/2 off for half a day and waited for a fixed ingress controller – which in truth had been there all along. Why I missed it is explained further down.&lt;/p&gt;</description></item><item><title>A Robot Opens a Word Document in My Nextcloud Twice a Day: End-to-End Tests with Playwright and Zabbix</title><link>https://www.apt-upgrade.me/2026/11/18/end-to-end-tests-with-playwright-and-zabbix/</link><pubDate>Wed, 18 Nov 2026 20:00:00 +0100</pubDate><guid>https://www.apt-upgrade.me/2026/11/18/end-to-end-tests-with-playwright-and-zabbix/</guid><description>&lt;p&gt;&lt;strong&gt;In short:&lt;/strong&gt; My monitoring checks whether services run. It does not check whether anyone can actually work with them. Now a real browser does that twice a day: it logs in to our two Nextclouds, opens a Word document in Collabora Online, waits until the document server has really rendered it, closes it and logs out. A third test searches my blog. The tests run with &lt;a href="https://playwright.dev/" target="_blank" rel="noopener"&gt;Playwright&lt;/a&gt; in a rootless Podman container, and the results go to &lt;a href="https://www.zabbix.com/" target="_blank" rel="noopener"&gt;Zabbix&lt;/a&gt;, which records the timings and raises the alarm. Scripts and instructions are public in a &lt;a href="https://github.com/aptupgrademe/e2e-browser-check" target="_blank" rel="noopener"&gt;GitHub repository&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>My Evening Off: A Leaky Thumbnail, a Noisy Cluster and a Header That Wouldn't Behave</title><link>https://www.apt-upgrade.me/2026/11/18/my-evening-off-a-leaky-thumbnail-a-noisy-cluster-and-a-header-that-wouldnt-behave/</link><pubDate>Wed, 18 Nov 2026 12:00:00 +0100</pubDate><guid>https://www.apt-upgrade.me/2026/11/18/my-evening-off-a-leaky-thumbnail-a-noisy-cluster-and-a-header-that-wouldnt-behave/</guid><description>&lt;p&gt;&lt;strong&gt;In short:&lt;/strong&gt; The plan for the evening was one line: update Hugo. What I got instead were seven small construction sites, one after the other. An image that gave away more than I wanted, a cluster that complained 137 times a day, a firewall log that only ever recorded the same noise, a header that took five attempts, a ventilation unit that set off my alarms, and two questions I should have asked myself much earlier. None of it was dramatic. All of it was worth knowing. I worked through the evening together with Claude Code, which did the digging while I did the deciding.&lt;/p&gt;</description></item><item><title>My Wife Beat My Monitoring: Zabbix in Containers Now Watches My Home Network</title><link>https://www.apt-upgrade.me/2026/11/13/zabbix-in-containers-watches-my-home-network/</link><pubDate>Fri, 13 Nov 2026 20:00:00 +0100</pubDate><guid>https://www.apt-upgrade.me/2026/11/13/zabbix-in-containers-watches-my-home-network/</guid><description>&lt;p&gt;&lt;strong&gt;In short:&lt;/strong&gt; A little over two weeks ago my wife came home and had no Wi-Fi. The access point on the ground floor did not even answer a ping. Power off, power on, and it has been fine ever since. Nobody had noticed apart from her, and that includes my monitoring. Now a &lt;a href="https://www.zabbix.com/" target="_blank" rel="noopener"&gt;Zabbix&lt;/a&gt; 7.0 LTS runs in four rootless Podman containers on my NAS server and sends a mail as soon as a component in the home network stops answering. This post covers the setup, what I had to configure on top, where things got stuck and where to find what in the web interface.&lt;/p&gt;</description></item><item><title>This Blog Now Runs on Hugo: No WordPress, No Kubernetes, and Stable HTTP/3</title><link>https://www.apt-upgrade.me/2026/11/06/this-blog-now-runs-on-hugo-no-wordpress-no-kubernetes-and-stable-http-3/</link><pubDate>Fri, 06 Nov 2026 20:00:00 +0100</pubDate><guid>https://www.apt-upgrade.me/2026/11/06/this-blog-now-runs-on-hugo-no-wordpress-no-kubernetes-and-stable-http-3/</guid><description>&lt;p&gt;&lt;strong&gt;In short:&lt;/strong&gt; This blog no longer runs on &lt;a href="https://wordpress.org/" target="_blank" rel="noopener"&gt;WordPress&lt;/a&gt; and &lt;a href="https://kubernetes.io/" target="_blank" rel="noopener"&gt;Kubernetes&lt;/a&gt;. It now consists of finished files that nginx serves from a hardened AlmaLinux 10. In the &lt;a href="https://www.apt-upgrade.me/2026/11/05/do-i-even-need-wordpress-and-kubernetes-for-this-blog-a-hugo-experiment-real-numbers-and-what-a-migration-would-take/"&gt;Hugo experiment&lt;/a&gt; a few days ago nothing was decided yet; on November 6, 2026 I made the switch. All posts in four languages keep their old addresses, Grafana and the hardening stayed, PHP, the database and the cluster are gone. And HTTP/3, which I &lt;a href="https://www.apt-upgrade.me/2026/11/03/http-3-for-my-blog-and-nextcloud-one-switch-two-hidden-brakes-and-what-the-measurements-show/"&gt;switched off&lt;/a&gt; only this week, is running again.&lt;/p&gt;</description></item><item><title>Do I Even Need WordPress and Kubernetes for This Blog? A Hugo Experiment, Real Numbers, and What a Migration Would Take</title><link>https://www.apt-upgrade.me/2026/11/05/do-i-even-need-wordpress-and-kubernetes-for-this-blog-a-hugo-experiment-real-numbers-and-what-a-migration-would-take/</link><pubDate>Thu, 05 Nov 2026 20:00:00 +0100</pubDate><guid>https://www.apt-upgrade.me/2026/11/05/do-i-even-need-wordpress-and-kubernetes-for-this-blog-a-hugo-experiment-real-numbers-and-what-a-migration-would-take/</guid><description>&lt;p&gt;&lt;strong&gt;Update of November 6, 2026:&lt;/strong&gt; It has since been decided and done: this blog now runs on &lt;a href="https://gohugo.io/" target="_blank" rel="noopener"&gt;Hugo&lt;/a&gt;. &lt;a href="https://www.apt-upgrade.me/2026/11/06/this-blog-now-runs-on-hugo-no-wordpress-no-kubernetes-and-stable-http-3/"&gt;What happened along the way is here.&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;In short:&lt;/strong&gt; This blog is mostly text and images, yet it runs on &lt;a href="https://kubernetes.io/" target="_blank" rel="noopener"&gt;Kubernetes&lt;/a&gt; with a database, a PHP pool, a cache and ten plugins. So I rebuilt a part of it as a static site with Hugo and compared the two. The result surprised me in both directions: for readers, the speed gain is smaller than expected. For maintenance, the gain is much larger. &lt;strong&gt;The decision is not made. This blog still runs on &lt;a href="https://wordpress.org/" target="_blank" rel="noopener"&gt;WordPress&lt;/a&gt;.&lt;/strong&gt;&lt;/p&gt;</description></item><item><title>HTTP/3 for My Blog and Nextcloud: One Switch, Two Hidden Brakes, and What the Measurements Show</title><link>https://www.apt-upgrade.me/2026/11/03/http-3-for-my-blog-and-nextcloud-one-switch-two-hidden-brakes-and-what-the-measurements-show/</link><pubDate>Tue, 03 Nov 2026 20:00:00 +0100</pubDate><guid>https://www.apt-upgrade.me/2026/11/03/http-3-for-my-blog-and-nextcloud-one-switch-two-hidden-brakes-and-what-the-measurements-show/</guid><description>&lt;p&gt;&lt;strong&gt;In short:&lt;/strong&gt; HTTP/3 runs over QUIC instead of TCP and is meant to help mobile users above all – but my goal was to switch it on only if it measurably helps. This post shows how I enabled and verified HTTP/3 for the blog and &lt;a href="https://nextcloud.com/" target="_blank" rel="noopener"&gt;Nextcloud&lt;/a&gt;, which two hidden brakes made it slower than HTTP/2 at first, and what the measurements and the first logs show.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Update of November 6, 2026:&lt;/strong&gt; HTTP/3 is back on here, with nginx mainline and &lt;code&gt;quic_bpf&lt;/code&gt;. &lt;a href="https://www.apt-upgrade.me/2026/11/06/this-blog-now-runs-on-hugo-no-wordpress-no-kubernetes-and-stable-http-3/"&gt;The story is in the migration post.&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Update Day: Nextcloud 35, a False Alarm, and Why Ansible Never Installs My Kernels</title><link>https://www.apt-upgrade.me/2026/11/03/update-day-nextcloud-35-a-false-alarm-and-why-ansible-never-installs-my-kernels/</link><pubDate>Tue, 03 Nov 2026 20:00:00 +0100</pubDate><guid>https://www.apt-upgrade.me/2026/11/03/update-day-nextcloud-35-a-false-alarm-and-why-ansible-never-installs-my-kernels/</guid><description>&lt;p&gt;&lt;strong&gt;In short:&lt;/strong&gt; An update afternoon after the Monday report: &lt;a href="https://nextcloud.com/" target="_blank" rel="noopener"&gt;Nextcloud&lt;/a&gt; 34 to 35 on both instances, &lt;a href="https://trivy.dev/" target="_blank" rel="noopener"&gt;Trivy&lt;/a&gt;, a supposedly rebuilt image and kernel packages on all hosts. In the end everything was current, no service broken and the drift check showed &lt;code&gt;changed=0&lt;/code&gt;. Along the way came a false alarm from my own checking script – and the answer to why &lt;a href="https://docs.ansible.com/" target="_blank" rel="noopener"&gt;Ansible&lt;/a&gt; does not install kernels here.&lt;/p&gt;&#10;&lt;p&gt;Every Monday a small script mails me a version report: which pinned versions are outdated, which images were rebuilt under the same tag, which packages are pending on the hosts? This time the list was long – including the jump from Nextcloud 34 to 35 on both instances. By the end of the afternoon everything was current, nothing was broken, and the drift check showed &lt;code&gt;changed=0&lt;/code&gt;.&lt;/p&gt;</description></item><item><title>Monitoring Till the Doctor Comes!</title><link>https://www.apt-upgrade.me/2026/10/27/monitoring-until-the-doctor-comes/</link><pubDate>Tue, 27 Oct 2026 20:00:00 +0100</pubDate><guid>https://www.apt-upgrade.me/2026/10/27/monitoring-until-the-doctor-comes/</guid><description>&lt;p&gt;&lt;strong&gt;In short:&lt;/strong&gt; Servers get sick like patients, and monitoring measures pulse, fever and blood pressure – but if you only take your own pulse, you will not notice your own cardiac arrest. My monitoring had exactly that gap: if a server failed completely, nobody raised the alarm. Now the server at home regularly checks from outside whether the blog and the Nextclouds are reachable, plus a look at &amp;ldquo;pressure&amp;rdquo; as the system&amp;rsquo;s blood pressure.&lt;/p&gt;</description></item><item><title>Release v3.6.0: From “It Is Configured” to “It Works” – and the Download That Stopped at 1 GB</title><link>https://www.apt-upgrade.me/2026/10/27/release-v3-6-0-from-it-is-configured-to-it-works-and-the-download-that-stopped-at-1-gb/</link><pubDate>Tue, 27 Oct 2026 20:00:00 +0100</pubDate><guid>https://www.apt-upgrade.me/2026/10/27/release-v3-6-0-from-it-is-configured-to-it-works-and-the-download-that-stopped-at-1-gb/</guid><description>&lt;p&gt;&lt;strong&gt;In short:&lt;/strong&gt; Release v3.6.0 of the Ansible code behind this blog and two Nextclouds is the last one with new features for a while. Its common thread: almost every bug of the past weeks slipped through because checks asked &amp;ldquo;is it set up?&amp;rdquo; instead of &amp;ldquo;does it work?&amp;rdquo;. Plus a download that broke off at 1 GB, tests that check the effect, heartbeats for the mail path and an error budget for logs.&lt;/p&gt;</description></item><item><title>The Ansible Tour, Part 4: Nextcloud – Collabora, Push, Host Database and occ, Role by Role</title><link>https://www.apt-upgrade.me/2026/10/19/ansible-tour-part-4-nextcloud/</link><pubDate>Mon, 19 Oct 2026 20:00:00 +0200</pubDate><guid>https://www.apt-upgrade.me/2026/10/19/ansible-tour-part-4-nextcloud/</guid><description>&lt;p&gt;&lt;em&gt;Part 4 of the &lt;a href="https://www.apt-upgrade.me/2026/10/14/ansible-tour-part-1-framework/"&gt;Ansible Tour&lt;/a&gt;. After the blog in &lt;a href="https://www.apt-upgrade.me/2026/10/16/ansible-tour-part-3-blog/"&gt;part 3&lt;/a&gt;, here comes the second application: &lt;a href="https://nextcloud.com/" target="_blank" rel="noopener"&gt;Nextcloud&lt;/a&gt;. The series describes release &lt;a href="https://github.com/aptupgrademe/www_k3s/tree/v3.3.0" target="_blank" rel="noopener"&gt;v3.3.0&lt;/a&gt;, with later changes added as addenda. What matches the blog is only mentioned briefly; the focus is on what is different.&lt;/em&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;In short:&lt;/strong&gt; Part 4 of the &lt;a href="https://docs.ansible.com/" target="_blank" rel="noopener"&gt;Ansible&lt;/a&gt; tour shows the second application: Nextcloud with &lt;a href="https://www.collaboraonline.com/" target="_blank" rel="noopener"&gt;Collabora&lt;/a&gt; and push, for two groups of very different size, from the same code. Database and Redis run on the host here, Nextcloud, Collabora and the push service as Kubernetes objects, and settings are read, compared and only set when needed – plus a careful update playbook.&lt;/p&gt;</description></item><item><title>The Ansible Tour, Part 5: IT Security – Firewall, SSH, fail2ban, Hardening, SELinux and Detection</title><link>https://www.apt-upgrade.me/2026/10/19/ansible-tour-part-5-security/</link><pubDate>Mon, 19 Oct 2026 20:00:00 +0200</pubDate><guid>https://www.apt-upgrade.me/2026/10/19/ansible-tour-part-5-security/</guid><description>&lt;p&gt;&lt;em&gt;Part 5 of the &lt;a href="https://www.apt-upgrade.me/2026/10/14/ansible-tour-part-1-framework/"&gt;Ansible Tour&lt;/a&gt;. After the platform, the blog and Nextcloud, this part gathers all security roles in one place, across both stacks. The series describes release &lt;a href="https://github.com/aptupgrademe/www_k3s/tree/v3.3.0" target="_blank" rel="noopener"&gt;v3.3.0&lt;/a&gt;, with later changes added as addenda.&lt;/em&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;In short:&lt;/strong&gt; Part 5 of the &lt;a href="https://docs.ansible.com/" target="_blank" rel="noopener"&gt;Ansible&lt;/a&gt; tour collects all security roles in one place. Security here comes from layers, each catching what the previous one missed: firewall, SSH, fail2ban, hardening along the CIS benchmark, SELinux and detection with auditd, AIDE, &lt;a href="https://rkhunter.sourceforge.net/" target="_blank" rel="noopener"&gt;rkhunter&lt;/a&gt; and &lt;a href="https://www.clamav.net/" target="_blank" rel="noopener"&gt;ClamAV&lt;/a&gt;. The code is public – protection has to come from keys, layers and alerts, not from secrecy.&lt;/p&gt;</description></item><item><title>The Ansible Tour, Part 6: Monitoring – Exporters, Prometheus, Grafana and a Monit Watchdog</title><link>https://www.apt-upgrade.me/2026/10/19/ansible-tour-part-6-monitoring/</link><pubDate>Mon, 19 Oct 2026 20:00:00 +0200</pubDate><guid>https://www.apt-upgrade.me/2026/10/19/ansible-tour-part-6-monitoring/</guid><description>&lt;p&gt;&lt;em&gt;Part 6 of the &lt;a href="https://www.apt-upgrade.me/2026/10/14/ansible-tour-part-1-framework/"&gt;Ansible Tour&lt;/a&gt;, and the last. After the platform, the applications and security, this part is about knowing what is going on. The series describes release &lt;a href="https://github.com/aptupgrademe/www_k3s/tree/v3.3.0" target="_blank" rel="noopener"&gt;v3.3.0&lt;/a&gt;, with later changes added as addenda.&lt;/em&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;In short:&lt;/strong&gt; Part 6, the last one of the &lt;a href="https://docs.ansible.com/" target="_blank" rel="noopener"&gt;Ansible&lt;/a&gt; tour: this is about knowing what is going on. The setup watches in four ways – metrics with &lt;a href="https://prometheus.io/" target="_blank" rel="noopener"&gt;Prometheus&lt;/a&gt; and &lt;a href="https://grafana.com/" target="_blank" rel="noopener"&gt;Grafana&lt;/a&gt;, states with Monit, logs with Loki and Alloy, heartbeats for rare jobs –, all silent while everything is healthy. And all of them fell for the same mistake: they stayed quiet for a while because they could not speak.&lt;/p&gt;</description></item><item><title>The Ansible Tour, Part 3: The Blog – WordPress, MariaDB and Redis on K3s, Role by Role</title><link>https://www.apt-upgrade.me/2026/10/16/ansible-tour-part-3-blog/</link><pubDate>Fri, 16 Oct 2026 20:00:00 +0200</pubDate><guid>https://www.apt-upgrade.me/2026/10/16/ansible-tour-part-3-blog/</guid><description>&lt;p&gt;&lt;em&gt;Part 3 of the &lt;a href="https://www.apt-upgrade.me/2026/10/14/ansible-tour-part-1-framework/"&gt;Ansible Tour&lt;/a&gt;. &lt;a href="https://www.apt-upgrade.me/2026/10/15/ansible-tour-part-2-platform/"&gt;Part 2&lt;/a&gt; built the platform; this part puts the blog on it. The series describes release &lt;a href="https://github.com/aptupgrademe/www_k3s/tree/v3.3.0" target="_blank" rel="noopener"&gt;v3.3.0&lt;/a&gt;, with later changes added as addenda.&lt;/em&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;em&gt;Addendum (28 November 2026): this part describes the blog as it ran until 6 November 2026. Since then the blog is a static Hugo site without WordPress, PHP, a database or K3s; the four blog roles and &lt;code&gt;blog-update.yml&lt;/code&gt; are gone.&lt;/em&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;In short:&lt;/strong&gt; Part 3 of the &lt;a href="https://docs.ansible.com/" target="_blank" rel="noopener"&gt;Ansible&lt;/a&gt; tour puts the blog on the platform: four roles take &lt;a href="https://wordpress.org/" target="_blank" rel="noopener"&gt;WordPress&lt;/a&gt; from an empty Kubernetes cluster to a running, configured and monitored website. The post shows the path of a request from the ingress via the page cache to PHP, &lt;a href="https://redis.io/" target="_blank" rel="noopener"&gt;Redis&lt;/a&gt; and MariaDB, configuration from the outside, anonymous visitor statistics, the final check and the routine update.&lt;/p&gt;</description></item><item><title>The Ansible Tour, Part 2: The Platform – From a Bare AlmaLinux to a Kubernetes Cluster</title><link>https://www.apt-upgrade.me/2026/10/15/ansible-tour-part-2-platform/</link><pubDate>Thu, 15 Oct 2026 20:00:00 +0200</pubDate><guid>https://www.apt-upgrade.me/2026/10/15/ansible-tour-part-2-platform/</guid><description>&lt;p&gt;&lt;em&gt;Part 2 of the &lt;a href="https://www.apt-upgrade.me/2026/10/14/ansible-tour-part-1-framework/"&gt;Ansible Tour&lt;/a&gt;. Part 1 explained how the repository is built; this part starts at the very bottom. The series describes release &lt;a href="https://github.com/aptupgrademe/www_k3s/tree/v3.3.0" target="_blank" rel="noopener"&gt;v3.3.0&lt;/a&gt;, with later changes added as addenda.&lt;/em&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;In short:&lt;/strong&gt; Part 2 of the &lt;a href="https://docs.ansible.com/" target="_blank" rel="noopener"&gt;Ansible&lt;/a&gt; tour starts at the very bottom: a bare &lt;a href="https://almalinux.org/" target="_blank" rel="noopener"&gt;AlmaLinux&lt;/a&gt; cloud image becomes a patched base system that sends mail, updates itself at night and rotates its logs – with a single-node &lt;a href="https://kubernetes.io/" target="_blank" rel="noopener"&gt;Kubernetes&lt;/a&gt; cluster on top, including Helm, Let&amp;rsquo;s Encrypt certificates and an ingress. That is the platform the blog and Nextcloud stand on, including a component that never did anything.&lt;/p&gt;</description></item><item><title>The Ansible Tour, Part 1: One Repository, Three Servers – How the Code Is Organised and What Happens During a Run</title><link>https://www.apt-upgrade.me/2026/10/14/ansible-tour-part-1-framework/</link><pubDate>Wed, 14 Oct 2026 20:00:00 +0200</pubDate><guid>https://www.apt-upgrade.me/2026/10/14/ansible-tour-part-1-framework/</guid><description>&lt;p&gt;&lt;em&gt;First part of a series about the &lt;a href="https://docs.ansible.com/" target="_blank" rel="noopener"&gt;Ansible&lt;/a&gt; code behind this blog and two Nextcloud servers. The code is public: &lt;a href="https://github.com/aptupgrademe/www_k3s" target="_blank" rel="noopener"&gt;github.com/aptupgrademe/www_k3s&lt;/a&gt;; the series describes release &lt;a href="https://github.com/aptupgrademe/www_k3s/tree/v3.3.0" target="_blank" rel="noopener"&gt;v3.3.0&lt;/a&gt;. Part 1 explains the structure and what happens during a run, parts 2 to 6 the roles, the deep dives the technology underneath.&lt;/em&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;In short:&lt;/strong&gt; Three servers, 34 roles, four playbooks, about 22,000 lines – part 1 of the Ansible tour explains what you should know before your first look into the repository. How one set of roles serves two very different applications, where every value comes from, why the order in the playbook is a chain of dependencies and what actually happens between &lt;code&gt;ansible-playbook&lt;/code&gt; and the final recap.&lt;/p&gt;</description></item><item><title>Defence in Depth: Nine Layers Between the Internet and My Servers</title><link>https://www.apt-upgrade.me/2026/10/13/defense-in-depth-nine-layers/</link><pubDate>Tue, 13 Oct 2026 20:00:00 +0200</pubDate><guid>https://www.apt-upgrade.me/2026/10/13/defense-in-depth-nine-layers/</guid><description>&lt;p&gt;&lt;strong&gt;In short:&lt;/strong&gt; A blog and two Nextclouds are not worth a targeted attack – which is exactly why scanners knock on them all the time. This post collects all nine defensive layers of my servers, from the network edge to the process, and then lets my AI co-admin think like an attacker: where would he start, and what did I change as a result?&lt;/p&gt;&#10;&lt;p&gt;A blog and two Nextcloud servers for local organisations: nothing on them is worth a targeted attack, and that is exactly why they get attacked. Not by someone who wants &lt;em&gt;my&lt;/em&gt; data, but by scanners that try every IP address on the internet, every hour, with the same handful of tricks. Most of them give up after the first locked door. The question is what happens with the ones that don&amp;rsquo;t.&lt;/p&gt;</description></item><item><title>Ten Points, One Branch: Taking My Ansible Code From “It Works” to “It Is Clean”</title><link>https://www.apt-upgrade.me/2026/10/12/ten-points-one-branch-ansible-code-quality/</link><pubDate>Mon, 12 Oct 2026 20:00:00 +0200</pubDate><guid>https://www.apt-upgrade.me/2026/10/12/ten-points-one-branch-ansible-code-quality/</guid><description>&lt;p&gt;&lt;strong&gt;In short:&lt;/strong&gt; Asking whether I am an advanced &lt;a href="https://docs.ansible.com/" target="_blank" rel="noopener"&gt;Ansible&lt;/a&gt; user got me an honest answer and ten improvements for my code. I said: do all ten, test them properly – on a separate branch, without touching production. This post shows the ten points, from kubernetes.core via idempotence tests to Renovate, and what only the real servers revealed during the rollout.&lt;/p&gt;&#10;&lt;p&gt;It started with a slightly vain question. My Ansible repository runs this blog and two Nextcloud servers: 34 roles, four playbooks, about 9,000 lines of YAML, almost 200 commits. I didn&amp;rsquo;t write most of those lines myself – my AI co-admin (Claude) did, while I decided, tested and ran the playbooks. So I asked it: &lt;em&gt;if I understand most of this code, am I an advanced Ansible user?&lt;/em&gt;&lt;/p&gt;</description></item><item><title>Five Posts and Nothing Else: Slimming Down My Front Page on Phones (and the Attribute WordPress Quietly Ate)</title><link>https://www.apt-upgrade.me/2026/10/08/slimming-down-front-page-on-phones/</link><pubDate>Thu, 08 Oct 2026 20:00:00 +0200</pubDate><guid>https://www.apt-upgrade.me/2026/10/08/slimming-down-front-page-on-phones/</guid><description>&lt;p&gt;&lt;strong&gt;In short:&lt;/strong&gt; On mobile, my home page showed the same few posts four times in a row before the actual list began – now it shows just the five newest. One media query with six selectors solved it. The twist: afterwards the page got slower, because &lt;a href="https://wordpress.org/" target="_blank" rel="noopener"&gt;WordPress&lt;/a&gt; silently swallowed an attribute for image priority. Plus the numbers, a locked-out admin and what happens when I switch themes.&lt;/p&gt;&#10;&lt;blockquote&gt;&#10;&lt;p&gt;☝️ &lt;strong&gt;For everyone who just reads this on their phone:&lt;/strong&gt; until this week, the start page showed you the same handful of articles four times in a row (a ticker, a slider, a tab box, a &amp;ldquo;trending&amp;rdquo; list, a &amp;ldquo;featured&amp;rdquo; grid) before the actual list began. Now you get the five newest posts, one after the other, and that&amp;rsquo;s it. The desktop view hasn&amp;rsquo;t changed. If you noticed nothing: perfect, that was the plan. 📱&lt;/p&gt;&#10;&lt;/blockquote&gt;</description></item><item><title>A+ on SSL Labs: What My Blog’s TLS Actually Speaks (and Where the Ansible Code Lives)</title><link>https://www.apt-upgrade.me/2026/10/06/ssl-labs-a-plus-tls-ansible/</link><pubDate>Tue, 06 Oct 2026 20:00:00 +0200</pubDate><guid>https://www.apt-upgrade.me/2026/10/06/ssl-labs-a-plus-tls-ansible/</guid><description>&lt;p&gt;&lt;strong&gt;In short:&lt;/strong&gt; My blog gets an A+ from Qualys SSL Labs for IPv4 and IPv6. But a grade alone says little – this post explains in plain words what the server actually speaks: TLS versions, ciphers, certificate and HSTS, three details more interesting than the grade, and exactly where in the &lt;a href="https://docs.ansible.com/" target="_blank" rel="noopener"&gt;Ansible&lt;/a&gt; code the A+ lives.&lt;/p&gt;&#10;&lt;blockquote&gt;&#10;&lt;p&gt;☝️ &lt;strong&gt;A quick word for everyone who just wanted to read a blog post:&lt;/strong&gt; TLS is the reason your browser shows that little padlock. Every time you open a page here, it travels to you &lt;em&gt;encrypted&lt;/em&gt;. Nobody in the same café Wi-Fi, at your internet provider or anywhere in between can read along or quietly swap a few words. And no, it is not called &amp;ldquo;SSL&amp;rdquo; any more, even if the test site below still insists on the old name. SSL was retired in 2015; we just never managed to retire the word. So when I brag about &amp;ldquo;TLS settings&amp;rdquo; below, I&amp;rsquo;m really bragging about how well the envelope around this very sentence is sealed. You&amp;rsquo;re welcome. 🤓&lt;/p&gt;&#10;&lt;/blockquote&gt;</description></item><item><title>Germany Only: Geo-Fencing SSH with nftables and Ansible (and What My Logs Said About Bots and Readers)</title><link>https://www.apt-upgrade.me/2026/10/01/geo-fencing-ssh-with-nftables-and-ansible/</link><pubDate>Thu, 01 Oct 2026 20:00:00 +0200</pubDate><guid>https://www.apt-upgrade.me/2026/10/01/geo-fencing-ssh-with-nftables-and-ansible/</guid><description>&lt;p&gt;&lt;strong&gt;In short:&lt;/strong&gt; I only ever connect from Germany – and still around 16 SSH connections per hour from all over the world knocked on the blog alone. Now nftables only lets SSH through from Germany, controlled by a single &lt;a href="https://docs.ansible.com/" target="_blank" rel="noopener"&gt;Ansible&lt;/a&gt; variable. The post shows before and after, where &amp;ldquo;Germany&amp;rdquo; comes from, how not to lock yourself out, and what the logs reveal about bots and readers along the way.&lt;/p&gt;&#10;&lt;p&gt;After moving two &lt;a href="https://nextcloud.com/" target="_blank" rel="noopener"&gt;Nextcloud&lt;/a&gt; instances to new servers this week, I asked a simple question: &lt;em&gt;do my three servers – this blog and the two Nextclouds – attract different kinds of attackers?&lt;/em&gt; The answer was mostly &amp;ldquo;no, it&amp;rsquo;s the same background noise everywhere&amp;rdquo;. Except for one line that bugged me: &lt;strong&gt;SSH&lt;/strong&gt;. It runs on a non-standard port, accepts keys only, and fail2ban watches it. And yet the blog alone logged around &lt;strong&gt;16 connection attempts per hour&lt;/strong&gt; to the SSH daemon, from all over the world.&lt;/p&gt;</description></item><item><title>Two Minutes Forty-Five: My First Nextcloud App Update via Ansible (and the Guard Rail I Added Just Before)</title><link>https://www.apt-upgrade.me/2026/09/30/two-minutes-forty-five-my-first-nextcloud-app-update-via-ansible-and-the-guard-rail-i-added-just-before/</link><pubDate>Wed, 30 Sep 2026 20:00:00 +0200</pubDate><guid>https://www.apt-upgrade.me/2026/09/30/two-minutes-forty-five-my-first-nextcloud-app-update-via-ansible-and-the-guard-rail-i-added-just-before/</guid><description>&lt;p&gt;&lt;strong&gt;In short:&lt;/strong&gt; My production Nextcloud had been running on K3s for a week, but I had never really run the update playbook – today I did. The run took 2 minutes 45 seconds; everything around it was the interesting part: why the apps need a playbook of their own, a line that would have targeted all Nextclouds at once, checks before and after the run, and why OPcache demands a second restart.&lt;/p&gt;</description></item><item><title>Bare Metal to K3s: A Nextcloud Migration Battle Log</title><link>https://www.apt-upgrade.me/2026/09/21/bare-metal-to-k3s-a-nextcloud-migration-battle-log/</link><pubDate>Mon, 21 Sep 2026 20:00:00 +0200</pubDate><guid>https://www.apt-upgrade.me/2026/09/21/bare-metal-to-k3s-a-nextcloud-migration-battle-log/</guid><description>&lt;p&gt;&lt;strong&gt;In short:&lt;/strong&gt; A production Nextcloud moved from a native bare-metal installation to K3s. On paper: back up, restore, switch DNS. In practice: major version jumps, an antivirus socket, Let&amp;rsquo;s Encrypt rate limits, a checkbox that lied and a database spring clean. Here is the battle log – including the honest comparison between native and container.&lt;/p&gt;&#10;&lt;p&gt;Today I moved a production &lt;a href="https://nextcloud.com/" target="_blank" rel="noopener"&gt;Nextcloud&lt;/a&gt; from a cosy &lt;strong&gt;native bare-metal install&lt;/strong&gt; to a shiny &lt;strong&gt;K3s/container&lt;/strong&gt; stack. On paper: pull a backup, restore it, flip DNS, done. In practice: a series of small landmines, each invisible until you step on it. Here&amp;rsquo;s the battle log. 🪖&lt;/p&gt;</description></item><item><title>Everybody Smile — We’re Taking a Snapshot! Moving From rdiff-backup to ZFS on the RAIDZ1 NAS</title><link>https://www.apt-upgrade.me/2026/09/11/everybody-smile-were-taking-a-snapshot-moving-from-rdiff-backup-to-zfs-on-the-raidz1-nas/</link><pubDate>Fri, 11 Sep 2026 20:00:00 +0200</pubDate><guid>https://www.apt-upgrade.me/2026/09/11/everybody-smile-were-taking-a-snapshot-moving-from-rdiff-backup-to-zfs-on-the-raidz1-nas/</guid><description>&lt;p&gt;&lt;strong&gt;In short:&lt;/strong&gt; For years rdiff-backup has answered the question of yesterday&amp;rsquo;s version of a file for me. With &lt;a href="https://openzfs.org/" target="_blank" rel="noopener"&gt;OpenZFS&lt;/a&gt; on the NAS a second answer was suddenly on the table: snapshots. This post shows how ZFS snapshots work, what they cost in time and space, where they shine against ransomware, where rdiff-backup still wins – and the script with a systemd timer, including a tested deletion path.&lt;/p&gt;&#10;&lt;p&gt;I&amp;rsquo;ve written twice about this NAS already — building it with &lt;a href="https://www.apt-upgrade.me/2026/09/01/building-a-raidz1-nas-on-debian-13-with-openzfs-datasets-compression-and-the-lies-dd-told-me/"&gt;RAIDZ1 on Debian 13&lt;/a&gt;, and then the &lt;a href="https://www.apt-upgrade.me/2026/09/02/raidz1-nas-addendum-how-scrub-and-trim-actually-get-scheduled-and-the-alert-that-wasnt/"&gt;addendum about how scrub and trim actually get scheduled&lt;/a&gt;, and the alert that wasn&amp;rsquo;t.&lt;/p&gt;</description></item><item><title>Moving a Nextcloud From Bare Metal to K3s: A Full Dress Rehearsal, and What It Cost Me in Commits</title><link>https://www.apt-upgrade.me/2026/09/11/moving-a-nextcloud-from-bare-metal-to-k3s-a-full-dress-rehearsal-and-what-it-cost-me-in-commits/</link><pubDate>Fri, 11 Sep 2026 20:00:00 +0200</pubDate><guid>https://www.apt-upgrade.me/2026/09/11/moving-a-nextcloud-from-bare-metal-to-k3s-a-full-dress-rehearsal-and-what-it-cost-me-in-commits/</guid><description>&lt;p&gt;&lt;strong&gt;In short:&lt;/strong&gt; Before a grown native Nextcloud moves to my K3s stack, I rehearsed the move once from start to finish. Almost everything failed by pretending to be something else – a jail without a file, a certificate never issued, a connection that simply stopped answering. The post shows what the dress rehearsal found and cost, what you should know before a maintenance window, and the pattern underneath.&lt;/p&gt;&#10;&lt;p&gt;There&amp;rsquo;s a migration coming up that I&amp;rsquo;ve been circling for a while. A &lt;a href="https://nextcloud.com/" target="_blank" rel="noopener"&gt;Nextcloud&lt;/a&gt; instance I administer still runs as a plain native installation — packages, webserver, PHP-FPM, all hand-managed on one box. It&amp;rsquo;s moving onto the &lt;a href="https://k3s.io/" target="_blank" rel="noopener"&gt;K3s&lt;/a&gt; stack I&amp;rsquo;ve been building out in Ansible.&lt;/p&gt;</description></item><item><title>Second Addendum: ZED Watches My Pool’s Health, Not Its Waistline</title><link>https://www.apt-upgrade.me/2026/09/11/second-addendum-zed-watches-my-pools-health-not-its-waistline/</link><pubDate>Fri, 11 Sep 2026 20:00:00 +0200</pubDate><guid>https://www.apt-upgrade.me/2026/09/11/second-addendum-zed-watches-my-pools-health-not-its-waistline/</guid><description>&lt;p&gt;&lt;strong&gt;In short:&lt;/strong&gt; Since the daily snapshots started, something on my NAS grows quietly by itself – yet ZED, the ZFS watchdog, only reports events such as failing disks, not a pool that slowly fills up. With five lines of script and a timer I now get a mail before space runs short. And because a warning system only counts if it provably warns, I triggered and tested it too.&lt;/p&gt;&#10;&lt;p&gt;Short one, and a direct consequence of the snapshot post. Adding daily snapshots introduced something that hadn&amp;rsquo;t existed on this NAS before: a thing that grows on its own, quietly, forever, without anybody asking it to.&#10;So I went looking for whatever would tell me when the pool started filling up. The answer was mildly embarrassing.&lt;/p&gt;</description></item><item><title>RAIDZ1 NAS Addendum: How Scrub and Trim Actually Get Scheduled — and the Alert That Wasn’t</title><link>https://www.apt-upgrade.me/2026/09/02/raidz1-nas-addendum-how-scrub-and-trim-actually-get-scheduled-and-the-alert-that-wasnt/</link><pubDate>Wed, 02 Sep 2026 20:00:00 +0200</pubDate><guid>https://www.apt-upgrade.me/2026/09/02/raidz1-nas-addendum-how-scrub-and-trim-actually-get-scheduled-and-the-alert-that-wasnt/</guid><description>&lt;p&gt;&lt;strong&gt;In short:&lt;/strong&gt; A follow-up to the RAIDZ1 NAS with two questions: does anything run scrub and trim for me regularly – and does the system tell me when a scrub finds something? The answers were more interesting than &amp;ldquo;yes, of course&amp;rdquo;: it was scheduled, but nobody would have reported anything. Now there is a working mail chain, and it is provably tested.&lt;/p&gt;&#10;&lt;p&gt;A short follow-up to the &lt;a href="https://www.apt-upgrade.me/2026/09/01/building-a-raidz1-nas-on-debian-13-with-openzfs-datasets-compression-and-the-lies-dd-told-me/"&gt;RAIDZ1 NAS build&lt;/a&gt;. The cheatsheet in that post gave you &lt;code&gt;zpool scrub storage&lt;/code&gt; as a command you &lt;em&gt;can&lt;/em&gt; run. What it didn&amp;rsquo;t answer is whether anything runs it &lt;em&gt;for&lt;/em&gt; you — and, since a scrub is only useful if you actually find out when it turns something up, whether the system tells you when it does. Both questions turned out to have more interesting answers than &amp;ldquo;yes, obviously.&amp;rdquo;&lt;/p&gt;</description></item><item><title>22,666 Requests, 74 Humans: Counting Real Visitors Without a Tracker</title><link>https://www.apt-upgrade.me/2026/07/30/22666-requests-74-humans-counting-real-visitors-without-a-tracker/</link><pubDate>Thu, 30 Jul 2026 20:00:00 +0200</pubDate><guid>https://www.apt-upgrade.me/2026/07/30/22666-requests-74-humans-counting-real-visitors-without-a-tracker/</guid><description>&lt;p&gt;&lt;strong&gt;In short:&lt;/strong&gt; Is anyone actually reading this? Instead of a tracker I let a small Python script loose on my nginx logs: of 22,666 requests in a week, 74 real humans were left, about 16 a day. The post shows why raw &amp;ldquo;unique IPs&amp;rdquo; lie, where the readers came from, how the script works without cookies and without data leaving the box, and what the numbers cannot tell.&lt;/p&gt;&#10;&lt;p&gt;Every blog owner eventually asks the same question: &lt;em&gt;does anybody actually read this thing?&lt;/em&gt; The honest answer on the modern web is uncomfortable — &lt;strong&gt;most of your &amp;ldquo;traffic&amp;rdquo; is robots&lt;/strong&gt;. So I did what any sensible sysadmin does instead of installing yet another JavaScript tracker: I wrote a little Python script, pointed it at my own nginx-ingress logs, and counted the humans by hand. Well, by regex. 🐍&lt;/p&gt;</description></item><item><title>Measure First, Optimise Second: Chasing a 1.5 MB Page (and Why the Database Was Innocent)</title><link>https://www.apt-upgrade.me/2026/07/29/measure-first-optimize-second-chasing-a-1-5-mb-page-and-why-the-database-was-innocent/</link><pubDate>Wed, 29 Jul 2026 20:00:00 +0200</pubDate><guid>https://www.apt-upgrade.me/2026/07/29/measure-first-optimize-second-chasing-a-1-5-mb-page-and-why-the-database-was-innocent/</guid><description>&lt;p&gt;&lt;strong&gt;In short:&lt;/strong&gt; My blog felt sluggish, the home page weighed 1.5 MB, and my first suspect was the database. This time I measured first – and the database was innocent: the server delivered in 0.17 seconds. The real levers were ECDSA instead of RSA for TLS, and AVIF images that are not only converted but actually served.&lt;/p&gt;&#10;&lt;p&gt;My blog felt heavy. The homepage weighed in around 1.5 MB and my first instinct&lt;/p&gt;</description></item><item><title>Teaching My Blog to Sniff Its Own Uploads: ClamAV on WordPress (and Proving It Actually Barks)</title><link>https://www.apt-upgrade.me/2026/07/28/teaching-my-blog-to-sniff-its-own-uploads-clamav-on-wordpress-and-proving-it-actually-barks/</link><pubDate>Tue, 28 Jul 2026 20:00:00 +0200</pubDate><guid>https://www.apt-upgrade.me/2026/07/28/teaching-my-blog-to-sniff-its-own-uploads-clamav-on-wordpress-and-proving-it-actually-barks/</guid><description>&lt;p&gt;&lt;strong&gt;In short:&lt;/strong&gt; The &lt;a href="https://wordpress.org/" target="_blank" rel="noopener"&gt;WordPress&lt;/a&gt; uploads folder is the most common place where attacker code ends up – writable, reachable from the web and forgotten by everyone. Now &lt;a href="https://www.clamav.net/" target="_blank" rel="noopener"&gt;ClamAV&lt;/a&gt; sniffs at it every night and mails me as soon as something smells. And because an untested smoke alarm is just ceiling decoration, I set it off on purpose with the EICAR test file.&lt;/p&gt;&#10;&lt;p&gt;A WordPress &lt;code&gt;uploads&lt;/code&gt; folder is supposed to hold your holiday photos&#10;and the occasional PDF. It is emphatically &lt;em&gt;not&lt;/em&gt; supposed to hold a PHP&#10;web shell — but &amp;ldquo;supposed to&amp;rdquo; is doing a lot of heavy lifting there. The&#10;uploads directory is the single most common place a compromised WordPress ends&#10;up executing attacker code, because it&amp;rsquo;s writable, web-reachable, and everyone&#10;forgets about it. So I gave mine a nose: a virus scanner that sniffs the upload&#10;folder every night and emails me the moment it smells something. 👃&#10;And because a smoke detector you&amp;rsquo;ve never tested is just ceiling jewellery, I&#10;also made it go off on purpose. More on that at the end.&lt;/p&gt;</description></item><item><title>Who Watches the Watchmen? Adding a Monit Watchdog After fail2ban Died Quietly for Two Days</title><link>https://www.apt-upgrade.me/2026/07/28/who-watches-the-watchmen-adding-a-monit-watchdog-after-fail2ban-died-quietly-for-two-days/</link><pubDate>Tue, 28 Jul 2026 20:00:00 +0200</pubDate><guid>https://www.apt-upgrade.me/2026/07/28/who-watches-the-watchmen-adding-a-monit-watchdog-after-fail2ban-died-quietly-for-two-days/</guid><description>&lt;p&gt;&lt;strong&gt;In short:&lt;/strong&gt; &lt;a href="https://github.com/fail2ban/fail2ban" target="_blank" rel="noopener"&gt;fail2ban&lt;/a&gt; had been dead on my server for two days because a config pointed to a log path that no longer existed – and nobody told me. The scary part is not the failure, it is the silence. Now Monit watches over the important services and sends a mail when one fails; plus an hour of fighting the mail configuration and an honest test.&lt;/p&gt;&#10;&lt;p&gt;Confession time. A while back I discovered that &lt;strong&gt;fail2ban had been dead&#10;on my server for two days&lt;/strong&gt; and I had no idea. A config file pointed at&#10;a log path that no longer existed, fail2ban refused to start, systemd shrugged,&#10;and the whole thing just... sat there. Not banning anyone. Silently. 🙈&#10;The scary part isn&amp;rsquo;t that a service died — services die. The scary part&#10;is that &lt;em&gt;nothing told me.&lt;/em&gt; A security control can fail open and you&amp;rsquo;d&#10;never know until you go looking. So I did the sensible thing and added a&#10;watchdog whose entire job is to notice when something is wrong and yell at me&#10;about it.&lt;/p&gt;</description></item><item><title>Your Graylog Monitoring Script Called — It Wants to Retire</title><link>https://www.apt-upgrade.me/2026/07/26/your_graylog_monitoring_script_called_it_wants_to_retire/</link><pubDate>Sun, 26 Jul 2026 20:00:00 +0200</pubDate><guid>https://www.apt-upgrade.me/2026/07/26/your_graylog_monitoring_script_called_it_wants_to_retire/</guid><description>&lt;p&gt;&lt;strong&gt;In short:&lt;/strong&gt; For work I needed monitoring plugins for &lt;a href="https://graylog.org/" target="_blank" rel="noopener"&gt;Graylog&lt;/a&gt;, for Icinga2 and &lt;a href="https://www.zabbix.com/" target="_blank" rel="noopener"&gt;Zabbix&lt;/a&gt; – but what Google and GitHub turned up was minimalist or ancient. So I built my own with an AI and noticed along the way where its trained knowledge ends and the real API documentation begins. The result is a check plugin that can send the old script into retirement.&lt;/p&gt;&#10;&lt;p&gt;🔍 Sometimes a side project starts with a work problem, not a homelab problem. This one did: I&amp;rsquo;m currently wrangling Graylog as a log management platform professionally, and needed proper monitoring check plugins for it — for both Icinga2 and Zabbix. Surely someone already solved this, right? Right?? 😅&lt;/p&gt;</description></item><item><title>Homelab Rebuild 2026: Wait and See – A Server Crash, a Dead-End Advisory, and My New Prime Suspect</title><link>https://www.apt-upgrade.me/2026/07/24/homelab-rebuild-2026-wait-and-see-a-server-crash-a-dead-end-advisory-and-my-new-prime-suspect/</link><pubDate>Fri, 24 Jul 2026 20:00:00 +0200</pubDate><guid>https://www.apt-upgrade.me/2026/07/24/homelab-rebuild-2026-wait-and-see-a-server-crash-a-dead-end-advisory-and-my-new-prime-suspect/</guid><description>&lt;p&gt;&lt;strong&gt;In short:&lt;/strong&gt; An iLO mail at 8:30 pm: a server has keeled over. I followed the crash down the rabbit hole – from the entry in the hardware log via an HPE advisory that fitted perfectly and was still a dead end, to my current prime suspect: an outdated management daemon that talks to exactly the chip that failed. Honest about what I do not know.&lt;/p&gt;&#10;&lt;p&gt;🚨 Nothing quite wakes you up like an iLO email at 20:30 telling you a server just fell over. This post is the story of chasing that crash down a rabbit hole — from a scary-looking hardware log entry, through a real HPE bug advisory that turned out to be a dead end, to what&amp;rsquo;s now my actual leading suspect: an out-of-date management daemon quietly talking to exactly the chip that failed.&lt;/p&gt;</description></item><item><title>Homelab Rebuild 2026 — GitLab, a Seed VM, and the Calm Before the Kubernetes Storm</title><link>https://www.apt-upgrade.me/2026/07/23/homelab-rebuild-2026-gitlab-a-seed-vm-and-the-calm-before-the-kubernetes-storm/</link><pubDate>Thu, 23 Jul 2026 20:00:00 +0200</pubDate><guid>https://www.apt-upgrade.me/2026/07/23/homelab-rebuild-2026-gitlab-a-seed-vm-and-the-calm-before-the-kubernetes-storm/</guid><description>&lt;p&gt;&lt;strong&gt;In short:&lt;/strong&gt; The calm before the Kubernetes storm: in this episode of the homelab rebuild, &lt;a href="https://about.gitlab.com/" target="_blank" rel="noopener"&gt;GitLab&lt;/a&gt; moves from a bare-metal box to a proper VM and becomes the single source of truth, plus a seed VM from which all changes are applied. Two boring VMs, each with exactly one job, both fully reproducible from code – and that is exactly why it matters more than it sounds.&lt;/p&gt;&#10;&lt;p&gt;😌 Fair warning: this installment is the calm before the storm. GitLab and the Seed VM turned out to be refreshingly easy — boring infrastructure, done boringly, on purpose. I&amp;rsquo;m mentioning that explicitly because the &lt;em&gt;next&lt;/em&gt; post is Kubernetes territory — FluxCD, GitOps reconciliation loops, and all the ways a cluster can look healthy right up until it very much isn&amp;rsquo;t — and that one was a considerably bigger fight. Consider this the deep breath before that dive. 🤿&#10;🦊 Every homelab reaches a point where &amp;ldquo;I&amp;rsquo;ll just SSH in and run the command by hand&amp;rdquo; stops being charming and starts being a liability. This post is about the moment this lab crossed that line: standing up GitLab as the single source of truth, and building a dedicated Seed VM so that &amp;ldquo;the tools to manage the infrastructure&amp;rdquo; stop living on whatever laptop I happen to be holding. 💻➡️🗄️&#10;Catch up on the earlier episode here: &lt;a href="https://www.apt-upgrade.me/2026/07/21/homelab-rebuild-2026-building-the-proxmox-cluster-and-provisioning-it-with-terraform/"&gt;Homelab Rebuild 2026 — Building the Proxmox Cluster and Provisioning It with Terraform&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>Homelab Rebuild 2026 — Active Directory, Pi-hole Laundering, and a Drive Letter That Refuses to Exist</title><link>https://www.apt-upgrade.me/2026/07/22/homelab-active-directory-muench-home-arpa-is-born/</link><pubDate>Wed, 22 Jul 2026 20:00:00 +0200</pubDate><guid>https://www.apt-upgrade.me/2026/07/22/homelab-active-directory-muench-home-arpa-is-born/</guid><description>&lt;p&gt;&lt;strong&gt;In short:&lt;/strong&gt; Milestone 2 of the homelab rebuild: Active Directory runs on two domain controllers, my desktop has joined the domain, and Pi-hole now sends its DNS queries via a real Windows Server. Plus a dedicated Samba VM for file storage, VS Code as a fancy SSH client – and drive Z:, which refuses to appear despite a correct group policy.&lt;/p&gt;&#10;&lt;p&gt;🖥️ Another milestone down in the homelab-to-mini-datacenter project: Active Directory is alive, my desktop has sworn fealty to a domain, and Pi-hole is now laundering DNS requests through a genuine Windows Server like it&amp;rsquo;s got a briefcase and a corporate lanyard. Let&amp;rsquo;s get into it. 🎩&#10;Previously on this series: I built the Proxmox cluster and rolled it out with &lt;a href="https://developer.hashicorp.com/terraform" target="_blank" rel="noopener"&gt;Terraform&lt;/a&gt; — &lt;a href="https://www.apt-upgrade.me/2026/07/21/homelab-rebuild-2026-building-the-proxmox-cluster-and-provisioning-it-with-terraform/"&gt;catch up here&lt;/a&gt; if you missed it.&lt;/p&gt;</description></item><item><title>Homelab Rebuild 2026 — Building the Proxmox Cluster and Provisioning It with Terraform</title><link>https://www.apt-upgrade.me/2026/07/21/homelab-rebuild-2026-building-the-proxmox-cluster-and-provisioning-it-with-terraform/</link><pubDate>Tue, 21 Jul 2026 20:00:00 +0200</pubDate><guid>https://www.apt-upgrade.me/2026/07/21/homelab-rebuild-2026-building-the-proxmox-cluster-and-provisioning-it-with-terraform/</guid><description>&lt;p&gt;&lt;strong&gt;In short:&lt;/strong&gt; Milestone 1 of the homelab rebuild is the foundation: three physical servers become one Proxmox VE cluster, and from now on a &lt;a href="https://developer.hashicorp.com/terraform" target="_blank" rel="noopener"&gt;Terraform&lt;/a&gt; module provisions every VM on it. The post shows hardware, installation, network, cluster formation and storage layout, the way from ClickOps to infrastructure as code – and a blind spot in memory ballooning under Windows.&lt;/p&gt;&#10;&lt;p&gt;In the &lt;a href="https://www.apt-upgrade.me/2026/07/17/homelab-rebuild-2026-from-homelab-to-a-mini-datacenter/"&gt;last post&lt;/a&gt; I laid out the plan for rebuilding my homelab as a small enterprise-style datacenter: five pillars, eight milestones, one blog post per milestone. Milestone 1 is the foundation everything else stands on — three physical boxes turned into a single Proxmox VE cluster, plus the Terraform module that provisions every VM on top of it from now on. This post covers both.&#10;&lt;em&gt;Fair warning: this whole project is very much a work in progress. Nothing here is &amp;ldquo;finished&amp;rdquo; or final — it&amp;rsquo;s beta at best, and it keeps changing as I go. Treat this post as a snapshot of where things stood when I wrote it, not a completed build.&lt;/em&gt;&lt;/p&gt;</description></item><item><title>Homelab Rebuild 2026 — From Homelab to a Mini Datacenter</title><link>https://www.apt-upgrade.me/2026/07/17/homelab-rebuild-2026-from-homelab-to-a-mini-datacenter/</link><pubDate>Fri, 17 Jul 2026 20:00:00 +0200</pubDate><guid>https://www.apt-upgrade.me/2026/07/17/homelab-rebuild-2026-from-homelab-to-a-mini-datacenter/</guid><description>&lt;p&gt;&lt;em&gt;Episode 0 — The project begins.&lt;/em&gt;&#10;&lt;strong&gt;In short:&lt;/strong&gt; Episode 0 of a big project: I am rebuilding my entire homelab into a small enterprise-style data center, GitOps first, with clean documentation and AI as a learning partner. The post describes the goal, the hardware, the consolidated architecture with VM and IP plan, the five pillars and a six-month roadmap with eight milestones – each getting a post of its own.&lt;/p&gt;</description></item><item><title>Replacing Cron Jobs with Jenkins for Nextcloud Backups 🚀</title><link>https://www.apt-upgrade.me/2026/06/05/replacing-cron-jobs-with-jenkins-for-nextcloud-backups-%F0%9F%9A%80/</link><pubDate>Fri, 05 Jun 2026 20:00:00 +0200</pubDate><guid>https://www.apt-upgrade.me/2026/06/05/replacing-cron-jobs-with-jenkins-for-nextcloud-backups-%F0%9F%9A%80/</guid><description>&lt;p&gt;&lt;strong&gt;In short:&lt;/strong&gt; Two cron jobs backed up my Nextclouds every night – reliably, but without any overview of whether a backup had failed three days or three weeks ago. Now &lt;a href="https://www.jenkins.io/" target="_blank" rel="noopener"&gt;Jenkins&lt;/a&gt; starts the two backup scripts and shows history, duration and output in a web interface. Plus a trick to save job configurations as XML.&lt;/p&gt;&#10;&lt;p&gt;Today I spent some time exploring &lt;strong&gt;Jenkins&lt;/strong&gt; in my homelab environment.&lt;/p&gt;&#10;&lt;p&gt;For those who somehow managed to avoid Jenkins during the last decade: Jenkins is one of the most widely used open-source automation servers available today. Originally released in 2011 as a fork of the Hudson project, Jenkins has become one of the cornerstones of modern DevOps workflows. It is primarily used for Continuous Integration (CI) and Continuous Delivery (CD), automating software builds, tests, deployments, and all kinds of recurring administrative tasks. If a process can be automated, Jenkins can probably handle it. 😎&lt;/p&gt;</description></item><item><title>One Year Later: I Finally Open-Sourced My Homelab K3s Stack</title><link>https://www.apt-upgrade.me/2026/05/17/one-year-later-i-finally-open-sourced-my-homelab-k3s-stack/</link><pubDate>Sun, 17 May 2026 20:00:00 +0200</pubDate><guid>https://www.apt-upgrade.me/2026/05/17/one-year-later-i-finally-open-sourced-my-homelab-k3s-stack/</guid><description>&lt;p&gt;&lt;strong&gt;In short:&lt;/strong&gt; A year after the start, my homelab K3s stack is finally open source – without accidentally publishing my entire infrastructure with it. The trick is two separate Git remotes: a private Gitea instance with secrets and inventory, a public repository without them. The post shows the stack, what a single playbook run does, how secrets are handled and everything that was harder than expected.&lt;/p&gt;&#10;&lt;p&gt;In a few of my recent posts I mentioned that I was trying to figure out how to publish my homelab automation code *without accidentally open-sourcing my entire infrastructure along with it* 😅&lt;/p&gt;</description></item><item><title>git log --since="1 year ago": One Year of apt-upgrade.me &amp;&amp; Publishing the Ansible Playbooks for Nextcloud on K3s</title><link>https://www.apt-upgrade.me/2026/05/15/git-log-since1-year-ago-one-year-of-apt-upgrade-me-publishing-the-ansible-playbooks-for-nextcloud-on-k3s/</link><pubDate>Fri, 15 May 2026 20:00:00 +0200</pubDate><guid>https://www.apt-upgrade.me/2026/05/15/git-log-since1-year-ago-one-year-of-apt-upgrade-me-publishing-the-ansible-playbooks-for-nextcloud-on-k3s/</guid><description>&lt;p&gt;&lt;strong&gt;In short:&lt;/strong&gt; One year of apt-upgrade.me, and a pile of Bash scripts and sticky notes has become infrastructure as code: I am publishing the &lt;a href="https://docs.ansible.com/" target="_blank" rel="noopener"&gt;Ansible&lt;/a&gt; playbooks I use to run Nextcloud and WordPress on a single-node &lt;a href="https://k3s.io/" target="_blank" rel="noopener"&gt;K3s&lt;/a&gt; cluster on AlmaLinux 9. The post presents the architecture, security, monitoring as well as backup and restore, and offers the complete repository for download.&lt;/p&gt;&#10;&lt;p&gt;There comes a point in every homelab journey where you look at your pile of&lt;/p&gt;</description></item><item><title>✅ Mission Accomplished: Migrated my Blog to a Hybrid K3s Setup!</title><link>https://www.apt-upgrade.me/2026/04/08/%E2%9C%85-mission-accomplished-migrated-my-blog-to-a-hybrid-k3s-setup/</link><pubDate>Wed, 08 Apr 2026 20:00:00 +0200</pubDate><guid>https://www.apt-upgrade.me/2026/04/08/%E2%9C%85-mission-accomplished-migrated-my-blog-to-a-hybrid-k3s-setup/</guid><description>&lt;p&gt;&lt;strong&gt;In short:&lt;/strong&gt; After a few evenings at the PC it is done: my blog now runs hybrid – some services natively on the VPS, WordPress itself in containers with &lt;a href="https://k3s.io/" target="_blank" rel="noopener"&gt;K3s&lt;/a&gt;. Everything runs stably, data and images moved cleanly. The way there was chaotic, and what comes next is at the end.&lt;/p&gt;&#10;&lt;p&gt;Alright — today was an absolute &lt;strong&gt;banger of a day&lt;/strong&gt;! 🔥&lt;/p&gt;&#10;&lt;h2 id="what-i-got-done"&gt;What I Got Done&lt;/h2&gt;&#10;&lt;p&gt;After grinding through the last few evenings on the PC, I finally pulled it off: I successfully migrated my blog to a &lt;strong&gt;hybrid architecture&lt;/strong&gt;.&lt;/p&gt;</description></item><item><title>WordPress on K3s — A Nerdy, Layered Update Strategy</title><link>https://www.apt-upgrade.me/2026/03/31/wordpress-on-k3s-a-nerdy-layered-update-strategy/</link><pubDate>Tue, 31 Mar 2026 20:00:00 +0200</pubDate><guid>https://www.apt-upgrade.me/2026/03/31/wordpress-on-k3s-a-nerdy-layered-update-strategy/</guid><description>&lt;p&gt;&lt;strong&gt;In short:&lt;/strong&gt; A &lt;a href="https://wordpress.org/" target="_blank" rel="noopener"&gt;WordPress&lt;/a&gt; stack on K3s has five layers that can be updated independently: operating system, K3s, Helm charts, container images, and WordPress core and plugins. This guide describes each layer like an onion and builds a clean, deterministic update pipeline with Ansible from them – and it doubles as my personal reference.&lt;/p&gt;&#10;&lt;p&gt;This article is a direct continuation of the previous guide. If you haven’t read it yet, start here: &lt;a href="https://www.apt-upgrade.me/2026/03/30/from-debian-to-almalinux-to-k3s-or-how-i-accidentally-built-a-mini-cloud-%f0%9f%9a%80/"&gt;Initial Setup: WordPress on K3s (Ansible-managed)&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>From Debian to AlmaLinux to K3s: Or How I Accidentally Built a Mini Cloud 🚀</title><link>https://www.apt-upgrade.me/2026/03/30/from-debian-to-almalinux-to-k3s-or-how-i-accidentally-built-a-mini-cloud-%F0%9F%9A%80/</link><pubDate>Mon, 30 Mar 2026 20:00:00 +0200</pubDate><guid>https://www.apt-upgrade.me/2026/03/30/from-debian-to-almalinux-to-k3s-or-how-i-accidentally-built-a-mini-cloud-%F0%9F%9A%80/</guid><description>&lt;p&gt;&lt;strong&gt;In short:&lt;/strong&gt; It started as a sensible idea: switch from &lt;a href="https://www.debian.org/" target="_blank" rel="noopener"&gt;Debian&lt;/a&gt; to &lt;a href="https://almalinux.org/" target="_blank" rel="noopener"&gt;AlmaLinux&lt;/a&gt; because of SELinux. Then Kubernetes was added, Ansible became an obsession, AI a pair-programming partner and monitoring a must – and suddenly there was a mini cloud. The post tells the story and then goes deep: infrastructure as code, architecture between K3s and host, playbook flow and layered security.&lt;/p&gt;&#10;&lt;p&gt;If you’ve stumbled across my previous post&lt;/p&gt;&#10;&lt;a href="https://www.apt-upgrade.me/2026/02/26/%f0%9f%a7%a0-operating-community-nextcloud-instances-with-ansible-almalinux-selinux-and-a-podman-based-collabora-stack/"&gt; &#10;&lt;p&gt;“Operating Community Nextcloud Instances with Ansible, AlmaLinux, SELinux and a Podman-based Collabora Stack”&lt;/p&gt;&#10;&lt;p&gt;&lt;/a&gt;</description></item><item><title>CKAD Reality Check: Yes, You Can (and Should) Use the Kubernetes Docs Like a Weapon</title><link>https://www.apt-upgrade.me/2026/03/20/ckad-reality-check-yes-you-can-and-should-use-the-kubernetes-docs-like-a-weapon/</link><pubDate>Fri, 20 Mar 2026 20:00:00 +0100</pubDate><guid>https://www.apt-upgrade.me/2026/03/20/ckad-reality-check-yes-you-can-and-should-use-the-kubernetes-docs-like-a-weapon/</guid><description>&lt;p&gt;&lt;strong&gt;In short:&lt;/strong&gt; I am thinking about taking the Linux Foundation&amp;rsquo;s CKAD exam to go from Kubernetes user to Kubernetes operator. The good news: you may use the official docs during the exam – you just have to find things fast enough. The post shows what the CKAD tests, how to use the docs and &lt;code&gt;kubectl explain&lt;/code&gt; as a weapon, and provides cheat sheets for minimal YAML and kubectl.&lt;/p&gt;&#10;&lt;p&gt;I’m currently considering taking the &lt;strong&gt;CKAD (Certified Kubernetes Application Developer)&lt;/strong&gt; exam from the Linux Foundation.&lt;/p&gt;</description></item><item><title>Installing Longhorn on a 3-Node Homelab Cluster</title><link>https://www.apt-upgrade.me/2026/03/13/installing-longhorn-on-a-3-node-homelab-cluster/</link><pubDate>Fri, 13 Mar 2026 20:00:00 +0100</pubDate><guid>https://www.apt-upgrade.me/2026/03/13/installing-longhorn-on-a-3-node-homelab-cluster/</guid><description>&lt;p&gt;&lt;strong&gt;In short:&lt;/strong&gt; If you want persistent storage with redundancy in a small Kubernetes homelab, Longhorn serves you well: distributed block storage that runs entirely inside Kubernetes and replicates volumes across several nodes. This guide shows the installation on three nodes via Helm step by step – from labelling the workers via your own &lt;code&gt;values.yaml&lt;/code&gt; to disk limits and upgrades.&lt;/p&gt;&#10;&lt;p&gt;If you’re running a small Kubernetes homelab and want &lt;strong&gt;persistent storage&lt;/strong&gt; with redundancy, &lt;strong&gt;Longhorn&lt;/strong&gt; is an excellent choice. 🚀&lt;/p&gt;</description></item><item><title>My First Kubernetes Cluster in the Homelab</title><link>https://www.apt-upgrade.me/2026/03/10/my-first-kubernetes-cluster-in-the-homelab/</link><pubDate>Tue, 10 Mar 2026 20:00:00 +0100</pubDate><guid>https://www.apt-upgrade.me/2026/03/10/my-first-kubernetes-cluster-in-the-homelab/</guid><description>&lt;p&gt;&lt;strong&gt;In short:&lt;/strong&gt; Today I set up my first Kubernetes cluster in the homelab – to test a Nextcloud in it and to prepare for the CKAD certification. The post briefly explains what Kubernetes is, shows my setup on Proxmox and the first stumbling blocks: too few CPU cores and an iptables that Ansible had installed only on the master.&lt;/p&gt;&#10;&lt;p&gt;Today I set up a &lt;strong&gt;Kubernetes&lt;/strong&gt; cluster in my homelab – abbreviated &lt;strong&gt;K8s&lt;/strong&gt; 😁.&lt;/p&gt;</description></item><item><title>🛡️🧙‍♂️ Deploying Nextcloud: My Ansible Quest for Ultimate Automation ⚔️☁️</title><link>https://www.apt-upgrade.me/2025/07/08/%F0%9F%9B%A1%EF%B8%8F%F0%9F%A7%99%E2%99%82%EF%B8%8F-deploying-nextcloud-my-ansible-quest-for-ultimate-automation-%E2%9A%94%EF%B8%8F%E2%98%81%EF%B8%8F/</link><pubDate>Tue, 08 Jul 2025 20:00:00 +0200</pubDate><guid>https://www.apt-upgrade.me/2025/07/08/%F0%9F%9B%A1%EF%B8%8F%F0%9F%A7%99%E2%99%82%EF%B8%8F-deploying-nextcloud-my-ansible-quest-for-ultimate-automation-%E2%9A%94%EF%B8%8F%E2%98%81%EF%B8%8F/</guid><description>&lt;p&gt;&lt;strong&gt;In short:&lt;/strong&gt; My quest for ultimate automation: rolling out &lt;a href="https://nextcloud.com/" target="_blank" rel="noopener"&gt;Nextcloud&lt;/a&gt; entirely with &lt;a href="https://docs.ansible.com/" target="_blank" rel="noopener"&gt;Ansible&lt;/a&gt;, including web server, database, Let&amp;rsquo;s Encrypt certificate and security features. The post briefly explains what Ansible is, presents the stack and celebrates the first milestone – it actually works. It is outdated by now and waiting for a revision.&lt;/p&gt;&#10;&lt;div style="border: 2px solid #ff4d4d; background-color: #fff0f0; color: #b30000; padding: 12px 16px; border-radius: 8px; margin: 1.5em 0; font-family: 'Courier New', monospace;"&gt;&lt;p&gt;&lt;strong&gt;⚠️ Heads-up, fellow human (or bot):&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;This post is currently &lt;em&gt;outdated&lt;/em&gt; and due for a proper rewrite.&lt;br/&gt;&#10;Some parts may no longer be accurate, complete, or aligned with the latest tech realities.&lt;br/&gt;&#10;A fully updated and more detailed version is on the way soon™.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;TL;DR:&lt;/strong&gt; Read at your own nerdy risk — no warranties, no guarantees, just vibes. 🤓&lt;/p&gt;&lt;/div&gt;</description></item></channel></rss>