Yes, everything is empty. I already did the export and check for every possible script.
The strange thing is that the configuration of all my routers is very similar and this only happens in one of them. And I don't understand what the "from winbox" refers to. It's really strange.
Since it looks like there’s no solution for this, anyone knows how to filter these errors in the log? Right now they are popping each 10 seconds, so they render my log files almost useless, it’s very difficult to look for information in them. And, of course, I don’t want to disable the “error” category.
19:13:29 fetch,info Download from api.telegram.org FINISHED
19:13:35 certificate,debug start CRL update
19:13:36 system,info,account user me logged in from 192.168.88.254 via ssh
When script has error and it wasn’t run from Terminal (or other CLI) it produces error log in format: “executing script [script_name] from <run_source> failed, please check it manually”
Where script_name is optional, it will be value of script name if script is run from saved script in /system/script and run_source can be one of values:
winbox - when script is manually run from Winbox
www - when script is manually run from Webfig (maybe also from REST API - didn’t test it)
scheduler - when script is run by scheduled event
netwatch - when script is run by netwatch event
dhcpclient - when script is run by DHCP Client event
[…] - some other name of source, like events for OVPN, DHCP Server, etc. didn’t test error for all ROS events…
If you didn’t run script from Windox and you have log with its source could be that device is hacked, examine if you have some job running in /system/script/job, it should be empty if there is no active CLI sessions and no running scripts/events.
I would recommend netinstall and configure device from scratch or export (not backup).
I checked all that and there was no job running nor any active CLI sessions/running scripts.
BUT
It gave me the idea about checking if a external “source” is causing the problem. So I checked my Dude setup and, after a lot of testing, I found that I had a function for checking the number of capsman clients that was using a call for the previous version of capsman. I adapted it for the new version, and there is no error anymore
I think Mikrotik should implement a more verbose error info, since finding these errors is very time-consuming.
Thanks for your help
Btw, netinstall and configuring again would have been of no use here. In fact, it never has been of any help for me…
So I checked my Dude setup and, after a lot of testing, I found that I had a function for checking the number of capsman clients that was using a call for the previous version of capsman.
If I understand this correctly, then it’s not a script, configured in ROS device (with name, etc.), but rather an in-line code being executed … much like a command executed in CLI (so the wording “script from winbox” is a bit misleading, it comes to understanding the word “script” and my first thought is not this either).
Never the less, script execition could point at offending part if/when it dails.
I don’t agree at all. This error was related to an in-line code inside a function, do you think it’s feasible to document every inline code? It doesn’t make any sense. Using such generic error logs is absurd.
Exactly, it’s that. And it’s completely misleading, even if a function is a “kind of” script, or if it’s executed via a winbox connection. I found the error after a lot of trial and error, there’s no way I’d had thought the error was related to the Dude server. Just by naming part of the offending code in the log line, this would have been way way easier to diagnose.