[Bug]: Docker Compose deployment stuck at "No logs yet" while ServerFilesFromServerJob floods Horizon queue
Description and Error Message
A Docker Compose deployment stays In Progress with No logs yet. The deployment helper container is not started and the actual ApplicationDeploymentJob does not begin promptly.
During the incident, all four Horizon workers remain active and accumulate significant CPU time. In a 15-minute window, Coolify logged:
318 App\Jobs\ServerFilesFromServerJob
31 App\Jobs\ServerManagerJob
31 App\Jobs\ScheduledJobManager
8 App\Jobs\CleanupInstanceStuffsJob
2 App\Jobs\ApplicationDeploymentJobThe four horizon:work processes had each accumulated approximately 4m48s CPU time after about 10–11 minutes elapsed.
Clearing the queues showed a substantial backlog:
INFO Cleared 167 jobs from the [high] queue.
INFO Cleared 206 jobs from the [default] queue.After php artisan horizon:terminate, four fresh workers were created and the next deployment was processed. However, the same backlog and No logs yet behavior returned on a subsequent deployment.
No mux_client_request_session, ControlSocket, session open refused, or SSH multiplexing errors were present in the Coolify container logs, so this does not appear to be the same root cause as #2282.
Expected Behavior
The deployment job should be picked up promptly, start its helper container, and stream deployment logs without flooding the Horizon high queue. Repeated deployments should not require manually clearing Horizon queues.
Steps to Reproduce
- Configure a Docker Compose application from a private GitHub monorepo.
- Deploy it to a remote standalone Docker server with Sentinel enabled.
- Open the deployment page.
- Observe that the deployment remains
In ProgresswithNo logs yet. - Inspect Horizon workers and Coolify job logs.
- Observe a large number of
ServerFilesFromServerJobexecutions and all Horizon workers consuming CPU. - Clear the
highanddefaultqueues and terminate Horizon. - Retry the deployment: it may run once, but the problem returns on a later deployment.
Example Repository URL
No response
Coolify Version
v4.1.2
Are you using Coolify Cloud?
No (self-hosted)
Operating System and Version (self-hosted)
Control plane: Ubuntu 25.04, kernel 6.14.0-37-generic, 4 CPU cores, 7.6 GiB RAM. Remote deployment server: Ubuntu 26.04 LTS, x86_64, 6 CPU cores, 11.4 GB RAM, Sentinel enabled and in sync.
Screenshots / Visuals
No response
Additional Information
- Private repository; cannot share publicly. It is a Node.js monorepo with several Docker Compose services built from targets in one multi-stage Dockerfile.
- Coolify, Redis, PostgreSQL, realtime, and Sentinel containers were healthy.
- The remote server was reachable and validated.
- Disk usage was 13% and inode usage was 3%.
- Docker and Docker Compose validation passed.
ServerFilesFromServerJobis dispatched to thehighqueue and callsgetFilesFromServer(isInit: true).- Temporary workaround:
docker exec coolify php artisan horizon:clear --queue=high --force
docker exec coolify php artisan horizon:clear --queue=default --force
docker exec coolify php artisan horizon:terminateThe workaround is temporary; the queue floods again after another deployment.
Source: coollabsio/coolify