[GH-ISSUE #1775] Pending Actions not clearing after scheduling reboot #3046

Open
opened 2026-03-14 06:21:32 +03:00 by kerem · 6 comments
Owner

Originally created by @SIDrumm on GitHub (Feb 27, 2024).
Original GitHub issue: https://github.com/amidaware/tacticalrmm/issues/1775

Server Info (please complete the following information):

  • OS: Ubuntu 22.04.4 LTS
  • Browser: Chrome Version 121.0.6167.189
  • RMM Version (as shown in top left of web UI): v0.17.5

Installation Method:

  • Standard
  • Docker

Agent Info (please complete the following information):

  • Agent version (as shown in the 'Summary' tab of the agent from web UI): Agent v2.6.2
  • Agent OS: Windows Server 2022 Datacenter, 64 bit v21H2 (build 20348.2322)

Describe the bug
When you schedule a reboot via the built-in reboot functionality, the pending action doesn't clear following the completion of the reboot. As of writing, it's been at least four days since the actions were completed and they're still not cleared.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Agent'
  2. Click on 'Reboot'
  3. Scroll down to 'Later'
  4. Set reboot for that night, to find pending action does not clear the following morning.

Expected behavior
For the pending actions to clear shortly after the action is complete.

Additional context
This is happening across all versions of Windows server, from the one listed, all the way down to Windows Server 2012 R2. We also noticed that a handful didn't reboot despite the action completing and the scheduled task being found in Windows. However, we're not certain this is the fault of Tactical RMM.

I've found that pruning DB tables and clearing cache can sometimes help, along with putting server agents in maintenance mode and regularly trying to clear the cache and reloading the RMM. Doing this managed to clear the pending actions of two servers, however it's not known exactly what cleared them and the same steps haven't worked on the others.

Originally created by @SIDrumm on GitHub (Feb 27, 2024). Original GitHub issue: https://github.com/amidaware/tacticalrmm/issues/1775 **Server Info (please complete the following information):** - OS: Ubuntu 22.04.4 LTS - Browser: Chrome Version 121.0.6167.189 - RMM Version (as shown in top left of web UI): v0.17.5 **Installation Method:** - [X] Standard - [ ] Docker **Agent Info (please complete the following information):** - Agent version (as shown in the 'Summary' tab of the agent from web UI): Agent v2.6.2 - Agent OS: Windows Server 2022 Datacenter, 64 bit v21H2 (build 20348.2322) **Describe the bug** When you schedule a reboot via the built-in reboot functionality, the pending action doesn't clear following the completion of the reboot. As of writing, it's been at least four days since the actions were completed and they're still not cleared. **To Reproduce** Steps to reproduce the behavior: 1. Go to 'Agent' 2. Click on 'Reboot' 3. Scroll down to 'Later' 4. Set reboot for that night, to find pending action does not clear the following morning. **Expected behavior** For the pending actions to clear shortly after the action is complete. **Additional context** This is happening across all versions of Windows server, from the one listed, all the way down to Windows Server 2012 R2. We also noticed that a handful didn't reboot despite the action completing and the scheduled task being found in Windows. However, we're not certain this is the fault of Tactical RMM. I've found that pruning DB tables and clearing cache can sometimes help, along with putting server agents in maintenance mode and regularly trying to clear the cache and reloading the RMM. Doing this managed to clear the pending actions of two servers, however it's not known exactly what cleared them and the same steps haven't worked on the others.
Author
Owner

@P6g9YHK6 commented on GitHub (Apr 9, 2024):

i have the same behavoir.

<!-- gh-comment-id:2044269960 --> @P6g9YHK6 commented on GitHub (Apr 9, 2024): i have the same behavoir.
Author
Owner

@silversword411 commented on GitHub (Apr 11, 2024):

Check pending actions 60mins after it completes.

Still showing as pending?

There was a pending actions bug...I think it was fixed, but the task that's moving from pending to finished is more of a turtle update than a hare update.

<!-- gh-comment-id:2048709745 --> @silversword411 commented on GitHub (Apr 11, 2024): Check pending actions 60mins after it completes. Still showing as pending? There was a pending actions bug...I think it was fixed, but the task that's moving from pending to finished is more of a turtle update than a hare update.
Author
Owner

@P6g9YHK6 commented on GitHub (Apr 13, 2024):

Yep its more a question of days/weeks than minutes

<!-- gh-comment-id:2053667657 --> @P6g9YHK6 commented on GitHub (Apr 13, 2024): Yep its more a question of days/weeks than minutes
Author
Owner

@P6g9YHK6 commented on GitHub (Apr 22, 2024):

now months :/

<!-- gh-comment-id:2069098417 --> @P6g9YHK6 commented on GitHub (Apr 22, 2024): now months :/
Author
Owner

@pierreparre commented on GitHub (Apr 2, 2025):

Bump. I do have the same problem,
Docker install, latest version (1.0.0).
Doesn't clear for a few hours

<!-- gh-comment-id:2772429974 --> @pierreparre commented on GitHub (Apr 2, 2025): Bump. I do have the same problem, Docker install, latest version (1.0.0). Doesn't clear for a few hours
Author
Owner

@insanity67 commented on GitHub (Jun 10, 2025):

Same problem here, pending tasks icon never disappears, even after several days. Manually fiddling with clearing cache, running background tasks etc helps, but only for one host at a time.

<!-- gh-comment-id:2959526545 --> @insanity67 commented on GitHub (Jun 10, 2025): Same problem here, pending tasks icon never disappears, even after several days. Manually fiddling with clearing cache, running background tasks etc helps, but only for one host at a time.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/tacticalrmm#3046
No description provided.