@saison2023 and
@JB_1366 before I go to the wider snbforums add-on users for others feedback, what are your thoughts if I provided a one line curl script (e.g. curl -LSs
https://raw.githubusercontent.com/kstamand/ModSyslogUI/xxx/debug.sh | sh) that would download a script that automatically collects information related to my add-on and then uploads to a site like ix.io for my debugging purposes (
it would only run when you initiate it) -
would you NOT want this type of automated troubleshooting information collection or would you prefer to only provide what I request as needed and you posting it in the associated snbforums thread?
Background
My thoughts are, instead of me asking you to issue certain commands, which may be different depending on the issue, I have a single script that automatically collects ALL relevant and dependent information for my addon. Additionally, I would have a "scrubber" function to remove any potential sensitive information related to your environment (MAC address or Public IP Address), even though my collection script would not gather any of that info.
Reference
For reference purposes, here' is what the script would collect into a single upload file:
- ls -l /jffs/addons/modsyslogui (this directory contains everything related to my add one)
- ls -l /www/user/modsyslogui (this directory contains a symlink to your personalized presets file)
- cat /jffs/addons/modsysloguit/modsyslogui (this captures the version of my addon that is currently running on your router)
- cat /jfss/addons/modsyslogui/preset.conf (this captures what the list of your personalize presets you may have saved)
- cat /jffs/addons/modsyslogui/Main_LogStatus_Content.asp (this file contains all the logic of what is presented on the "System Log Page" UI, including my addons "filtering" customization of your router and how it calls the backend "handlers" in the lines above
- cat /jffs/scripts/ service-event (this contains the command line inserted by my addon to process whatever addon changes you request)
- cat /jffs/scripts/services-start (this contains the line to automatically ruin my addon everything the router reboots, to add in the customized filtering options on the "System Log" page UI
**That combination of information will let me known what version of my addon script is running, if it was successfully inserted into the default "System Log Page" for the router, and whether the automiation pieces were added correctly (e.g., when router reboots or whenever an install/update runs)