From f51baf7949fc981600109b673efe55a77182e74b Mon Sep 17 00:00:00 2001 From: sstent Date: Sun, 8 Feb 2026 13:57:18 -0800 Subject: [PATCH] conductor(plan): Mark task 'Update litefs.yml' as complete --- .../tracks/fix_litefs_config_20260208/plan.md | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 conductor/tracks/fix_litefs_config_20260208/plan.md diff --git a/conductor/tracks/fix_litefs_config_20260208/plan.md b/conductor/tracks/fix_litefs_config_20260208/plan.md new file mode 100644 index 0000000..c17a610 --- /dev/null +++ b/conductor/tracks/fix_litefs_config_20260208/plan.md @@ -0,0 +1,22 @@ +# Plan: Fix LiteFS Configuration and Process Management (`fix_litefs_config`) + +## Phase 1: Configuration and Image Structure [ ] +- [x] Task: Update `litefs.yml` to include the `exec` block (396dfeb) +- [ ] Task: Update `Dockerfile` to use LiteFS as the supervisor (`ENTRYPOINT ["litefs", "mount"]`) +- [ ] Task: Update `navidrome-litefs-v2.nomad` with corrected storage paths (`ND_DATAFOLDER`, `ND_CACHEFOLDER`, `ND_BACKUP_PATH`) +- [ ] Task: Conductor - User Manual Verification 'Phase 1: Configuration and Image Structure' (Protocol in workflow.md) + +## Phase 2: Entrypoint and Registration Logic [ ] +- [ ] Task: Refactor `entrypoint.sh` to handle leadership-aware process management + - [ ] Integrate Consul registration logic (from `register.sh`) + - [ ] Implement loop to start/stop Navidrome based on `/data/.primary` existence + - [ ] Ensure proper signal handling for Navidrome shutdown +- [ ] Task: Clean up redundant scripts (e.g., `register.sh` if fully integrated) +- [ ] Task: Conductor - User Manual Verification 'Phase 2: Entrypoint and Registration Logic' (Protocol in workflow.md) + +## Phase 3: Deployment and Failover Verification [ ] +- [ ] Task: Build and push the updated Docker image via Gitea Actions (if possible) or manual trigger +- [ ] Task: Deploy the updated Nomad job +- [ ] Task: Verify cluster health and process distribution using `cluster_status` script +- [ ] Task: Perform a manual failover (stop primary allocation) and verify Navidrome migrates correctly +- [ ] Task: Conductor - User Manual Verification 'Phase 3: Deployment and Failover Verification' (Protocol in workflow.md)