Troubleshooting
Problems I've diagnosed and fixed in the homelab, each with its cause.
An encrypted server that wouldn't boot
The server stopped booting with an error that pointed at the hardware, but it never asked for the encryption passphrase, which showed the startup process had lost track of the encrypted main drive. Ruled out four hardware and firmware causes, unlocked the drive by hand, restored the missing line in crypttab, the disk-encryption configuration file, and rebuilt the startup image.
A deletion during a live cloud backup
A folder was deleted by accident while the daily cloud backup was running, which could have copied the deletion into the only offsite copy. Stopped the backup and its schedule first, confirmed the cloud copy was intact, and restored all 17 files with a method that can't delete anything.
VMs that lost internet when Docker arrived
After Docker was installed, the virtual machines lost internet access, because Docker, the firewall, and the virtual machine software each filter traffic separately, and one could block what another allowed. Traced the dropped traffic to two of the three and added a rule in each to let it back through.
A backup that would have deleted itself
A cloud backup job pointed at a drive location that no longer existed, so its next run would have treated the empty folder as correct and deleted the matching cloud backup. Caught it in a review before it ran, corrected the location, and added a check to every drive backup that skips the job when the drive isn't connected.
Containers that couldn't reach their own host
Apps in containers couldn't reach other services on the same server, and the same request worked from the server itself, which pointed to the server's UFW firewall blocking container traffic. Added firewall rules that let the containers' internal networks reach the server.
A service SELinux wouldn't let start
A background service on the Fedora laptop wouldn't start, because SELinux, Fedora's built-in security layer, doesn't let system services run programs stored in a home folder. Moved the program to /usr/local/bin, the standard location for installed software, where services may run it.
Security alerts that fired on clean scans
The ClamAV malware scanner reports a crashed scan and a skipped oversized file with the same error code, so failure alerts fired on scans that had finished. Changed the alerts to check for the summary the scanner writes only when a scan completes.
GPU hangs that hard-locked the workstation
The laptop's built-in graphics chip kept crashing and freezing the whole machine. Stopped the freezes with the amdgpu.sg_display=0 kernel setting, after testing another that reproduced the same lockup.