Fix Edge Sync Not Working After Update - Pip Externally Managed Environment: What It Means and How to Fix-When to Use Secrets vs Environment Variables in Docker Compose

Final checklist
- Confirm that the same symptom is gone after a restart or refresh.
- Keep the smallest working change and undo temporary diagnostic settings.