dokploy icon indicating copy to clipboard operation
dokploy copied to clipboard

Deployment stuck in “Created” after port changes (5060 + 10000-20000 UDP)

Open President opened this issue 8 months ago • 0 comments

To Reproduce

Hi Dockploy team,

After pushing a commit that updated the docker-compose.yml to expose additional ports in one of the services:

ports:
  - "5060:5060/tcp"
  - "5060:5060/udp"
  - "10000-20000:10000-20000/udp"

the deployment got stuck — even after I commented out this change and tried re-deploying.

Here’s what I observe:

  • On the General tab, Deploy and Reload buttons keep spinning indefinitely, as if something is in progress.

  • On the Deployments tab, there are two deployments stuck in Running status:

    • One shows logs like "some services Started, one is Starting" — and it never finishes.
    • The other shows that some services are Started, but not all.
  • On the Logs tab:

    • Some services are Running, one is Created (stuck),
    • Some others have already Exited.

What I’ve tried:

  • Restarted the host machine
  • Upgraded Dockploy
  • Rolled back the port changes in docker-compose (but this deployment is not started)

…but the problem persists, and no new deployment completes.

Until yesterday everything worked fine. It seems the new ports section triggered something unexpected — possibly due to UDP range binding?

Please advise what I can do to unblock this. Happy to share docker-compose.yml privately if needed.

Thanks in advance!

Current vs. Expected behavior

Current Behavior:

Deployment gets stuck — some services are Running, one stays in Created. Deploy and Reload keep spinning. Reverting the change doesn't fix it.

Expected Behavior:

Deployment should complete normally or fail clearly. All services should either run or show meaningful errors.

Provide environment information


### Operating System:
- **OS:** Ubuntu 24.04.2 LTS  
- **Arch:** arm64

### Dockploy version:
- `0.22.4` (latest)

### VPS Provider:
- Hetzner

### What applications/services are you trying to deploy?
- Golang backend app using Docker Compose
- One of the services exposes SIP ports for VoIP:
  
  ports:
    - "5060:5060/tcp"
    - "5060:5060/udp"
    - "10000-20000:10000-20000/udp"

Which area(s) are affected? (Select all that apply)

Docker Compose

Are you deploying the applications where Dokploy is installed or on a remote server?

Same server where Dokploy is installed

Additional context

No response

Will you send a PR to fix it?

No

President avatar May 12 '25 18:05 President