mirror of
https://github.com/amidaware/tacticalrmm.git
synced 2026-04-26 06:55:52 +03:00
[GH-ISSUE #485] Bug: Agents do not update on Windows domain controllers #2244
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#2244
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 @tnewton1 on GitHub (May 7, 2021).
Original GitHub issue: https://github.com/amidaware/tacticalrmm/issues/485
Server Info (please complete the following information):
Installation Method:
Agent Info (please complete the following information):
Describe the bug
Agents that are installed on Windows domain controllers do not automatically update. The upgrade task shows as a pending task indefinitely until the agent is manually updated.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The agent should update automatically.
Screenshots


Additional context
This is only observed on Windows servers acting as a domain controller. The following events are observed during an update attempt:
1013 Program C:\Program Files\TacticalAgent\tacticalrmm.exe for service tacticalrpc exited with return code 0.
1023 Killing process tree of process 4320 for service tacticalrpc with exit code 0
1027 Killing PID 4320 in process tree of PID 4320 because service tacticalrpc is stopping.
1023 Killing process tree of process 4948 for service tacticalrpc with exit code 0
1027 Killing PID 4948 in process tree of PID 4320 because service tacticalrpc is stopping.
1014 Service tacticalrpc action for exit code 0 is Restart. Attempting to restart C:\Program Files\TacticalAgent\tacticalrmm.exe.
1034 Service tacticalrpc ran for less than 1500 milliseconds. Restart will be delayed by 5000 milliseconds.
1008 Started C:\Program Files\TacticalAgent\tacticalrmm.exe -m rpc for service tacticalrpc in C:\Program Files\TacticalAgent.
This will then continue in an hour when the agent attempts to update again.
@wh1te909 commented on GitHub (May 7, 2021):
hmm, DC not the issue cuz i have around 30 DC's ranging from server 2008 r2 to server 2019 and all of them auto update fine
plz run agent update with logging and then paste output of the log file
https://wh1te909.github.io/tacticalrmm/update_agents/#manually-updating-from-the-command-line-on-the-agent
@tnewton1 commented on GitHub (May 8, 2021):
Here you go:
@wh1te909 commented on GitHub (May 8, 2021):
Thanks, looks good to me. The command you ran manually is the same exact command the agent does for self update.
On an agent that's failing to auto update, please check in
c:\windows\temp\tacticalrmmXXXXXwhere XXX are random numbers for a text file. That folder is where the agent saves the/LOG=xxxx.txtfile, it's randomly generated every agent update and overwritten but it will always be the last self update attempt log. Anyway that folder should contain a text file with a log similar to the out you posted above, curious to see what the difference is, can you please post the contents of the text file inc:\windows\temp\tacticalrmmXXXXX?@tnewton1 commented on GitHub (May 10, 2021):
I'll have to wait until the next release as I don't have anything in that directory right now.
@wh1te909 commented on GitHub (May 12, 2021):
new release it out please update and lmk
@tnewton1 commented on GitHub (May 13, 2021):
Hi, I've updated my Tactical RMM server and I have been monitoring the
C:\Windows\Temp\tacticalrmmXXXXXdirectories on my servers but I have not seen any log files appear in there. Do you have any suggestions I can try to get the logs to populate? Should I try completely uninstalling the client and then reinstalling?@wh1te909 commented on GitHub (May 13, 2021):
if the log file is not being created that means something is blocking the updater from running
i've seen this exact behavior before due to antivirus blocking it so make sure to add exclusions to your AV, checks the agent installation docs for what to exclude
@tnewton1 commented on GitHub (May 13, 2021):
Thanks - that was it. For some reason on these 3 servers, the installer didn't set the exclusions automatically. I checked my other servers and the installer did properly set the exclusions.