Worflows queue seems to be stuck
I have old workflows stuck in "running" but not doing anything, and one stuck in the queue.
Is there a way to interrupt the hanging ones?
for context:
init opportunity stage is manually triggered for a single record.
Update relation from opportunity is triggered by an opportunity update, and updates the fiels of the relevant company (to "client" for example)
I noticed on the 17th that not all companies were up to date according to the opportunities.
Today I launched a new workflow, update opportunities name, manually triggered on bulk, onto half a dozen opportunities, and noticed it was enqueued and never running.
That's when I went to see which runs were not finished, list in image attached.

7 Replies
CC: @thomast
I went into the database and switched the running jobs to fail, to see if it would clear the queue, but the enqueued jobs didn't start
I upgraded from 1.10.2 to 1.11.2 before creating the enqueued workflow
I have to manually
docker exec -it twenty-server-1 node dist/src/queue-worker/queue-worker.js for the queue to empty
even after docker compose down then up, I have to manually start the queue worker
the worker was stuck in a CREATED state, i deleted the container and restarted it and it seems to work
maybe an error during upgrade from v1.10 to v1.11Glad you've managed it out!
hi @Rémi - I have a similar situation where my job not starting, can you tell me how you restarted your container?
Is it just :
docker restart twenty-server ?In my case jobs are not started if they are originated from "Record change" or "Schedule" but works fine when triggered manually. Any chance you can tell me what you did?

Is there a way to interrupt the hanging ones?Will soon be possible
Well you don't have the same issue as I had then.
I did a docker rm to remove the container and then docker compose up