A broken Immich install on an old TrueNAS box fixed by Claude Code
After months switched off, an old TrueNAS SCALE server's Immich app would not deploy; Claude Code, given SSH access, restructured folders and upgraded Postgres.
The full story
An old PC running TrueNAS SCALE 24.10 (a second-generation i3, 16GB of DDR3 and two 1TB drives in RAID 1) was switched on after four or five months and wouldn't connect to the network. After several reboots Docker was down; reloading the pool brought the apps back, but Immich failed to deploy because it needed a migration to a new folder structure and a Postgres 15 to 18 upgrade.
The owner ran Claude Code on a laptop, enabled SSH on the server and gave it full access, reading each command it ran and hoping it wouldn't delete any media files. A few hours later the folders were restructured, the Postgres error was fixed and Immich was running again.
How it was done
Tools
Themes
Loading themes…
Sources
From a short post by the maker, so the details are as they tell them.
- Reddit: Rate my homelab setup
The maker's post on r/homelab.
The poster has deleted it, but the original is still readable (it can take a few seconds to load): archived copy of Reddit: Rate my homelab setup (opens in a new tab)