Pull Request Opened
PR #29 opened: fix: scheduler supervisor command fails with permission denied
Summary
Fixes #27 - The scheduler supervisor program was silently failing with permission denied errors, preventing any scheduled jobs from running.
Problem
The scheduler command in DockerGenerator.php used shell redirection:
>> /dev/stdout 2>&1
When running as www-data user, the shell cannot redirect to /dev/stdout in certain container configurations, causing:
/bin/sh: 1: cannot create /dev/stdout: Permission denied
Fix
Remove the redundant redirect. Supervisor already captures stdout/stderr via:
stdout_logfile=/dev/stdout
stderr_logfile=/dev/stderr
Impact
Any application using laravel-coolify with the scheduler enabled had a completely broken scheduler - jobs would never run. The container appeared healthy but the actual command failed silently every minute.
Test plan
- All 220 tests passing
- Deploy to test environment and verify scheduler runs
Stu Mason + AI [email protected]
+1
additions
-1
deletions
1
files changed