mirror of
https://github.com/amidaware/tacticalrmm.git
synced 2026-04-26 06:55:52 +03:00
[GH-ISSUE #550] Agents do not auto-update #2293
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#2293
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 @tedtms on GitHub (Jun 1, 2021).
Original GitHub issue: https://github.com/amidaware/tacticalrmm/issues/550
Server Info:
Installation Method:
Agent Info:
Describe the bug
Agents never automatically update. All have continuous pending actions to update the agent, which never execute. Due time comes around, nothing happens, then the due time advances. Additionally, nothing happens when executing a manual update via Agents > Update Agents
To Reproduce
Update the server installation and then check pending actions on the agents.
Expected behavior
Agents should auto-update when the due time occurs.
Additional context
RMM installation exists behind an nginx reverse proxy on another machine which is handling the certs and required me to set
TlsOffloadin the meshcentral configuration. I'm also using an external Postgres database.@wh1te909 commented on GitHub (Jun 1, 2021):
it's probably AV, please see https://github.com/wh1te909/tacticalrmm/issues/485 and follow instructions there
@tedtms commented on GitHub (Jun 3, 2021):
So, I confirmed that all exceptions are entered correctly, and for testing purposes I even disabled AV. However, auto-update still doesn't execute. Logs never appear under C:\Windows\Temp\tacticalrmmXXXX
Following the thread on #485, I ran the manual update command, resulting in the following log:
And the agent was successfully updated. I have another machine that I can test on with AV disabled... do you have any other ideas what might be causing the auto-updates to fail?
@silversword411 commented on GitHub (Jun 8, 2021):
We were troubleshooting some win7x32 agent upgrade issues last night. We:
Tactical RPCservice"C:\Program Files\TacticalAgent\tacticalrmm.exe" -m rpc -log debug -logto stdoutIn the command we found
Something was locking up the file, he's going to tweak the upgrade code to try and fix that. There was one that had 3 stuck agent upgrade's running in task manager. On the win7 I've seen MS Security Essentials not release file locks after scanning the file, not sure if that was it or not.
See if you find any other issues with that process.
@tedtms commented on GitHub (Jun 9, 2021):
@silversword411 On two machines, I disabled the service and ran tacticalrmm.exe in rpc mode with debug outputting to terminal using the command shown. However, when I manually update the agents in the RMM web interface, the debug output never provides anything. It's as if the agent is failing to receive the update command.
@silversword411 commented on GitHub (Jun 9, 2021):
That sounds like networking/offline agent. Does the agent show as online from the admin interface?
@tedtms commented on GitHub (Jun 9, 2021):
Yep, the agent is online. However, in testing, various features of the RMM are hit-or-miss. For example, I can't remotely reboot the client using the right click actions menu, but I can browse the filesystem and execute remote terminal commands.
@silversword411 commented on GitHub (Jun 9, 2021):
browse files system and remote terminal are mesh, not TRMM.
You tried the right-click menu of the individual agent | Agent Recovery and done # 2,3?
What are the dates of these?
@tedtms commented on GitHub (Jul 10, 2021):
Sorry for the delay on getting back to this -- I examined my system again and discovered that all of my mesh agents appear to be working but the RMM agents are not.
Unfortunately, I think Tactical (while a great project!) is not really a good fit for my environment anymore. But thanks for the help, and for building such a cool tool for the MSP community!