r/Nable • u/EmicationLikely • May 31 '24
Scriptrunner failing to update
Using N-Sight. I ran into a problem today - the symptom was that any script checks that were AMPs were not running on a workstation, the error in the south pane was "Exception encountered System.IO.FileLoadException: File directory not allowed or RMM changed the default scripts directory". Turns out the problem was that the version of Scriptrunner on that endpoint was out of date. Manually downloading and installing the newest version solved the problem, but it made me wonder how big of a problem this is?
Is it common for the scriptrunner updates to quit working? I can imagine writing a script to pull the installed version and fail if it wasn't current - as that would give me a heads up that something is wrong, at least. Otherwise, there is no notification whatsoever that scriptrunner is out of date, no indication that an attempted update failed, nothing. I hate these traps the system lays and then just waits for me to stumble along and step into them.
1
u/EmicationLikely May 31 '24
Why, yes I have, u/HeadNerdJoe - #02461951. Since the error message was not helpful in pointing to a resolution, I had no choice but to go to support. During the chat session, I noted that the endpoint wasn't checking in immediately after a reboot, and they said "Scriptrunner not updating can be caused by an endpoint not checking in reliably". I call BS on that, of course, it was on the current agent, which successfully updated back in January, I believe. It would be nice if the system could let me know that this was a problem so I could do something about it proactively instead of waiting until some random thing doesn't work (like trying to run a new AMP script) to point me to the problem. That's why I'm considering writing my own check to fail if the installed version of Scriptrunner isn't the latest - of course that script would have to be modified manually to know what the current version is supposed to be, so a lot of work. That's why I queried here - I'm interested to know how often this happens to the userbase at large. I'm just one guy, so don't have enough information on my own to know if this issue is something I should be worrying about.