#11062·coolify

[Bug]: Docker Compose deployment stuck at "No logs yet" while ServerFilesFromServerJob floods Horizon queue

Author: florianduportCreated Jul 27, 2026Updated Sep 28, 2026
Labels🔍 Triage

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\ApplicationDeploymentJob

The 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

  1. Configure a Docker Compose application from a private GitHub monorepo.
  2. Deploy it to a remote standalone Docker server with Sentinel enabled.
  3. Open the deployment page.
  4. Observe that the deployment remains In Progress with No logs yet.
  5. Inspect Horizon workers and Coolify job logs.
  6. Observe a large number of ServerFilesFromServerJob executions and all Horizon workers consuming CPU.
  7. Clear the high and default queues and terminate Horizon.
  8. 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.
  • ServerFilesFromServerJob is dispatched to the high queue and calls getFilesFromServer(isInit: true).
  • Temporary workaround:
bash
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:terminate

The workaround is temporary; the queue floods again after another deployment.