mirror of
https://github.com/amidaware/tacticalrmm.git
synced 2026-04-26 15:05:57 +03:00
[GH-ISSUE #2262] New Scheduled Tasks Stuck at "Waiting for task creation on agent" — Existing Tasks Still Working Normally #3350
Labels
No labels
In Process
bug
bug
dev-triage
documentation
duplicate
enhancement
fixed
good first issue
help wanted
integration
invalid
pull-request
question
requires agent update
security
ui tweak
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tacticalrmm#3350
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Cereal-Killa on GitHub (Jul 18, 2025).
Original GitHub issue: https://github.com/amidaware/tacticalrmm/issues/2262
Server Info (please complete the following information):
Installation Method:
--insecureflag at installAgent Info (please complete the following information):
Describe the bug
I have a server that appears fully online and functional in Tactical RMM. I can remote into it, view status updates, and previously created scheduled tasks continue to work and report correctly.
However, I recently created two new scheduled tasks this week. They’ve been stuck for over 3 days with the message:
"Waiting for task creation on agent"
Existing tasks continue to function. Only the new ones are affected. The agent is responsive and shows no signs of failure.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
New tasks should be created and registered on the agent, just like existing ones that are still functioning.
Screenshots
Additional context
Is there a known issue with agent task queues or task sync mechanisms that could cause this?
Let me know if you'd like a version with logs attached or to help investigate possible causes.
@wh1te909 commented on GitHub (Jul 18, 2025):
sounds like this https://docs.tacticalrmm.com/troubleshooting/#celery-queue-stuck
@Cereal-Killa commented on GitHub (Jul 18, 2025):
That fixed it, thank you. What causes this issue, and what measures can be taken to prevent it?
@second2falcon commented on GitHub (Mar 5, 2026):
@wh1te909 is there a fix implemented in trying to prevent this? I am seeing a similar issue (in my case approximately half the tasks update to "synced with agent" after a few days, but even for online agents, the task was never executed).
Edit: I just checked my queue and it was at 0.
@wh1te909 commented on GitHub (Mar 5, 2026):
@second2falcon windows tasks are being reworked atm and the concept of "sync status" will not exist anymore (tasks will be scheduled on the server, not agent, using the same scheduler currently present for linux/mac) so this problem will be going away.
@Cereal-Killa cause is race condition, no way to reliably reproduce, so the best way to deal with it is by using https://docs.tacticalrmm.com/tipsntricks/#monitor-your-trmm-instance-via-the-built-in-monitoring-endpoint to alert you if the queue length gets too high so you can take action (can be easily automated as well)