Fix Nginx Config Test: Cannot Open Error Log File - Resolve Docker Port Conflict When Port Appears Free-Troubleshooting Gradle Build Failures Post-Upgrade

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