coollabsio / coolify

An open-source & self-hostable Heroku / Netlify / Vercel alternative.
https://coolify.io
Apache License 2.0
32.08k stars 1.66k forks source link

[Bug]: Queued deployments can't be deleted #1717

Closed aruator closed 7 months ago

aruator commented 7 months ago

Description

I have 2 Servers in my setup. One is running coolify, the second one is manged by the first. Some days ago i tryed to deploy a pocketbase instance from Dockerfile (i have already runnig multiple instances deployed the same way). The deployement was exited with the following errror:

Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: can't get final child's PID from pipe: EOF: unknown

Now i cant't deploy anything on the managed server, where this error occured. Any deployment exits instantly and is shown as "Queued" in the dashboard. If i click on the Queued deployment, nothing happens. I already restarted the docker-engine and the server, but this doesn't help.

coolify

i was able to cancel some of these by clicking on them, but for the remaining ones it's not possible.

is there any other way to cancel the Deployment Queue?

Minimal Reproduction (if possible, example repository)

don't know how to reproduce this. I have deployed the same dockerfile multiple times before for other projects without any problems

Exception or Error

No response

Version

v4.0.0-beta.209

andrasbacsai commented 7 months ago

I will add a button in the next release to cancel these deployments from the dashboard as well.

Until then, please execute the following on the server where Coolify is running: docker exec coolify bash -c 'php artisan app:init'

Let me know if this does not solve your issue.

aruator commented 7 months ago

I will add a button in the next release to cancel these deployments from the dashboard as well.

Until then, please execute the following on the server where Coolify is running: docker exec coolify bash -c 'php artisan app:init'

Let me know if this does not solve your issue.

i have execute the command, got the following output: root@v71900:~# docker exec coolify bash -c 'php artisan app:init' Skipping alive as do_not_track is enabled Running queue cleanup...

But still have 15 deployments in the Dashboard with status In Progress