mirror of
https://github.com/amidaware/tacticalrmm.git
synced 2026-04-26 15:05:57 +03:00
[GH-ISSUE #2160] MacOS Agents Failing Tasks They Don't Have #1337
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#1337
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 @conlan0 on GitHub (Mar 5, 2025).
Original GitHub issue: https://github.com/amidaware/tacticalrmm/issues/2160
Server Info (please complete the following information):
Installation Method:
--insecureflag at installAgent Info (please complete the following information):
Describe the bug
Right after updating multiple (10+) macos agents were reporting alerts for failed tasks
while they show no tasks assigned
Screenshots
Automation Policy Settings:
Failed Alert Image
Agent Task Tab
Additional Info:
The automation policy is enforced at the client level for all workstations.
@wh1te909 commented on GitHub (Mar 5, 2025):
haven't been able to reproduce based on the screenshots provided, but might be because it was an existing task. can you try disabling the policy and then re-enabling it, so the tasks are recreated and then see if same problem?
@conlan0 commented on GitHub (Mar 5, 2025):
i have disabled the policy and confirmed there were no checks or tasks listed on the agent but when the policy was recreated and I ran the task from the automation manager the same error alert was created for the agents
@conlan0 commented on GitHub (Mar 5, 2025):
@wh1te909 Here is the debug entry from the agent when i run the task from automation manager
============================================================================== 2025/03/05 16:21:35.761164 DEBUG RESTY ============================================================================== ~~~ REQUEST ~~~ GET /api/v3/19/REDACTED/taskrunner/ HTTP/1.1 HOST : api.REDACTED.com HEADERS: Accept: application/json Authorization: Token REDACTED Content-Type: application/json User-Agent: go-resty/2.13.1 (https://github.com/go-resty/resty) BODY : ***** NO CONTENT ***** ------------------------------------------------------------------------------ ~~~ RESPONSE ~~~ STATUS : 200 OK PROTO : HTTP/1.1 RECEIVED AT : 2025-03-05T16:21:35.761088-05:00 TIME DURATION: 27.968898ms HEADERS : Allow: GET, PATCH, HEAD, OPTIONS Content-Length: 161 Content-Type: application/json Date: Wed, 05 Mar 2025 21:21:35 GMT Server: nginx Vary: origin X-Content-Type-Options: nosniff BODY : { "id": 19, "continue_on_error": true, "enabled": true, "task_actions": [ { "type": "cmd", "command": "dism /online /cleanup-image /checkhealth", "shell": "cmd", "timeout": 30 } ] } ============================================================================== 2025/03/05 16:21:35.896811 DEBUG RESTY ============================================================================== ~~~ REQUEST ~~~ PATCH /api/v3/19/REDACTED/taskrunner/ HTTP/1.1 HOST : api.REDACTED.com HEADERS: Accept: application/json Authorization: Token REDACTED Content-Type: application/json User-Agent: go-resty/2.13.1 (https://github.com/go-resty/resty) BODY : { "stdout": "", "stderr": "", "retcode": -1, "execution_time": 0.000315133 } ------------------------------------------------------------------------------ ~~~ RESPONSE ~~~ STATUS : 200 OK PROTO : HTTP/1.1 RECEIVED AT : 2025-03-05T16:21:35.896726-05:00 TIME DURATION: 135.059012ms HEADERS : Allow: GET, PATCH, HEAD, OPTIONS Content-Length: 4 Content-Type: application/json Date: Wed, 05 Mar 2025 21:21:35 GMT Server: nginx Vary: origin X-Content-Type-Options: nosniff BODY : "ok" ==============================================================================