We have tickets in queue, which we cannot see, and cannot remove
Hi, could you please help us in sutiation. We have such screen, even for admin user. Some tasks in queue, but nobody couldn't see them, and thus couldn't remove them and clean build queue.
As far as I understand we came this with following: we created build configuration with some task. And them added schedule trigger to it, after it triggered and added some tasks to build queue, we deleted this build configuration, and now have those tasks like "zombies" in queue. And I have no clue how to delete them.
When I connected to database with psql, I found 'build_queue' table, and can see those tasks there, but if I delete them with 'DELETE FROM build_queue', task counter doesn't go to 0, and they re-appear in 'build_queue' table after short time.

Please sign in to leave a comment.
Hello Stas,
I have tried to reproduce this issue with a few different approaches, and still was not able to - either build configuration could not be removed when there is a build running, or a build is still allowed to finish and leave the queue regardless of its build configuration being removed. Could you please confirm how exactly was schedule trigger configured (i.e. the frequence, cron expression if any) and how did you remove the configuration in question? What version of TeamCity are you using?
In regards to cleaning up the queue, as per the code those should be cleared up on startup - therefore, I would suggest to restart the server and check again.
Thanks, restart helped to clean build queue