mirror of
https://github.com/amidaware/tacticalrmm.git
synced 2026-04-26 06:55:52 +03:00
[GH-ISSUE #668] Script checks are not triggering Tasks to run #425
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#425
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 @technoicon on GitHub (Aug 29, 2021).
Original GitHub issue: https://github.com/amidaware/tacticalrmm/issues/668
Server Info (please complete the following information):
Installation Method:
Agent Info (please complete the following information):
Describe the bug
I have a few checks setup that trigger tasks if they fail. A few examples are:
Power shell version < 2 - Triggers powershell upgrade script.
Traylauncher installed - Triggers tray launcher install script.
AV installed check - Triggers AV installation.
I have checked a few machines for one client and it seems that the checks are failing but the tasks are not triggering. I can run them Manually and they work.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Expect the tasks to trigger or error.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
@dinger1986 commented on GitHub (Aug 30, 2021):
Has this been tested on supported os's? IE Ubuntu 20.04 and windows 10?
@silversword411 commented on GitHub (Aug 30, 2021):
What powershell <2 script are you using? If it's reliable, mind sharing so I can get it in the community script library?
@technoicon commented on GitHub (Aug 30, 2021):
yeah sure
check powershell Version:
Then if fails < 2.0
reliable... well yeah, i'll leave that up to you.
@technoicon commented on GitHub (Aug 30, 2021):
As far as i'm aware ubuntu 18.04 is supported, that's why I'm using it.
Yes, same problem with windows 10 machines.
see attached.



@silversword411 commented on GitHub (Aug 30, 2021):
Ok, that looks familiar. Already got it in the wip...but since it requires manual hosting of files it's not in official library yet.
I did add a bunch of other URL's to the comments for other versions. Probably could be enhanced to detect OS, and then download directly from Microsoft instead :)
@wh1te909 commented on GitHub (Sep 5, 2021):
confirmed bug, am able to reproduce. for now solution is to create the check/task on the agent level, not with automation manager, until we get this fixed.
@wh1te909 commented on GitHub (Sep 5, 2021):
fixed in
github.com/wh1te909/tacticalrmm@181891757etasks with schedule "run on check failure" were not being created at all when applied via a policy, so on next release you'll need to recreate them
@wh1te909 commented on GitHub (Sep 6, 2021):
fixed in release 0.8.3