Project 03 · Home lab
Three-application upgrade with rollback plans
Brought photo management, the CMS and file sync current, including seven major versions of file sync, one hop at a time.
- Docker Compose
- PostgreSQL
- MariaDB
- WP-CLI
- Bash
- nginx
Problem
File sync sat seven major versions back and out of vendor support.
Approach
Backups and tagged rollback images first, then one service and one major version at a time.
Result
All three current; every public endpoint returned 200.
- Back uptag rollback image
- Upgrade oneservice at a time
- Dump + hop7 majors in sequence
- Verifyevery endpoint 200
The problem
Photo management, the CMS and file sync had fallen behind. The file-sync platform sat seven major versions back and out of vendor support.
The approach
Backed up each application and tagged rollback images before touching it, then upgraded one service at a time. File sync cannot skip major versions, so a guarded script ran seven upgrades in sequence, with a database dump before each hop and a check that no app was disabled. Fixed what surfaced along the way: a database container that had silently jumped a major version without upgrading its system tables, a stale credential in a compose file that would have taken the site down on its next recreate, and a vendor ACL attribute blocking writes on 2,189 files.
The result
Immich v2.7.5 to v3.2.4, WordPress 7.0 to 7.1.2 with checksums verified, and Nextcloud 28 to 35, now supported through September 2027. Downtime ran from seconds to a few minutes per service, and every public endpoint returned 200 at the end. Added HSTS and security headers, brute-force protection and a pinned database image.
- 7major versions, in sequence
- 3hidden faults found and fixed
- Sep 2027supported through