1.6 KiB
1.6 KiB
Plan: Fix LiteFS Configuration and Process Management (fix_litefs_config)
Phase 1: Configuration and Image Structure [ ]
- Task: Update
litefs.ymlto include theexecblock (396dfeb) - Task: Update
Dockerfileto use LiteFS as the supervisor (ENTRYPOINT ["litefs", "mount"]) (ef91b8e) - Task: Update
navidrome-litefs-v2.nomadwith corrected storage paths (ND_DATAFOLDER,ND_CACHEFOLDER,ND_BACKUP_PATH) (5cbb657) - Task: Conductor - User Manual Verification 'Phase 1: Configuration and Image Structure' (Protocol in workflow.md)
Phase 2: Entrypoint and Registration Logic [ ]
- Task: Refactor
entrypoint.shto handle leadership-aware process management- Integrate Consul registration logic (from
register.sh) - Implement loop to start/stop Navidrome based on
/data/.primaryexistence - Ensure proper signal handling for Navidrome shutdown
- Integrate Consul registration logic (from
- Task: Clean up redundant scripts (e.g.,
register.shif 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_statusscript - 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)