AI

Claude Code identifies Duplicati errors and Uptime Kuma outages

Claude Code acts as a homelab operations manager by performing automated log analysis and health checks. The tool successfully identified Duplicati backup failures on a DXP4800 GT NAS and discovered 33,481 failed Uptime Kuma checks that had gone unnoticed for four days.

Claude Code identifies Duplicati errors and Uptime Kuma outages

Automated maintenance finds Duplicati errors

I hire Claude Code to be my homelab operations manager because I run dozens of Docker containers and cannot manage them all alone. I set up a system where Claude Code performs automated checks and digs into logs without my intervention. It finds issues that I would have missed for months. A few months ago, I moved all my photos and videos from an iDX6011 Pro NAS to a DXP4800 GT NAS to consolidate my systems. I gave one NAS the job of being my media server and the other the job of being my files and backup server. The transfer worked, but the Duplicati backup job on the new NAS failed because it hit 403 errors with Google Drive. On some nights, the job hit these errors after five retries, while on other nights it required one or two retries before working. When I moved my media and backup files from an iDX6011 Pro NAS to a DXP4800 GT NAS to consolidate my systems, I forgot to move the health check script alongside the Duplicati installation. The script looked for something that was not there, and I would have missed it. Claude Code identified the cause of the failures, implemented a 30-second delay with exponential backoffs, and fixed the notification system that should have alerted me from day one.

Monitoring goes blind without network access

Uptime Kuma runs on a VPS outside my homelab and uses Tailscale to monitor local containers. This setup ensures I receive notifications even if my homelab goes down. However, Uptime Kuma failed silently for four days because it had no network routes. Docker reported the container as healthy, so I never saw a problem on the host. Claude Code caught the error during a routine morning scan. It found that Uptime Kuma logged 33,481 failed checks across my 18 monitors. Because the container lacked network access, the system could not send any notifications through my ntfy integration. I had paused the Claude Code scans as I was away for a bit, so it took four days to discover the outage. Claude Code saw that Uptime Kuma had been up for four days as a healthy container, despite having no network route. Once Claude Code recreated the container, every monitor came back online and everything was good from then on.

Component Specification
Old NAS iDX6011 Pro
New NAS DXP4800 GT
Failed Checks 33,481
Total Monitors 18
Uptime Kuma Status 4 days (healthy container, no network)

Reading logs instead of status badges

I maintain too much infrastructure to dig into the logs of every single container routinely. If a container shows a green status, I assume it works. Duplicati appeared fine on the surface, but Claude Code pulled the job database and read every individual run to find the failure. This was much deeper than I have time to dig. When I was just running two or three Docker containers, I maintained them myself and kept up with everything about them. These days I run dozens and dozens of containers and there is just no way for me to manage it all. However, having a proper operations manager in my homelab is nice. Claude Code handles container status, manages updates, and manages rollback plans with backups. I no longer worry about the status of my homelab because Claude Code manages it for me. I am giving it more access to things so it can manage them automatically for me, and I could not be happier.