So weird. Never seen that before. Need to think about what data to collect for this. Anyone else seeing this?
reinstalled Unbound from scratch and the GUI Tab is non existent. Also does not survive a reboot. This is with AC86U and 386.2
When this happens next time, can you grab and post the file:Looks like unbound had some fun with the firmware update and I figured I would share the weird behavior.
The stats are easily fixed by pressing the “Update stats” button.View attachment 32788
Yeah it’s repeated data. I just cated that file and it looks like I have the same arrays defined at least twice for monthly and weekly data.When this happens next time, can you grab and post the file:
/tmp/var/wwwext/unbound_stats.sh/unboundchpstats.js
Seems to be a lot of repetition, or the ordering of the data is wrong...
Are you running the updated unbound? perhaps the logs changed, I haven't had time to upgrade yet...
I have the same set up and similar issue. The tab is there but is blank unless I uninstall graphical GUI and reinstall. But goes blank again after I log out and back in.reinstalled Unbound from scratch and the GUI Tab is non existent. Also does not survive a reboot. This is with AC86U and 386.2
Yeah it’s repeated data. I just cated that file and it looks like I have the same arrays defined at least twice for monthly and weekly data.
reinstalled Unbound from scratch and the GUI Tab is non existent. Also does not survive a reboot. This is with AC86U and 386.2
(Don't feel like I'm following you everywhere...)Hello Joe, you seem to be able to reproduce this fairly easy. Can you try this for me?
in /jffs/scripts/post-mount file can you change the line:
/jffs/addons/unbound/unbound_stats.sh startup # Unbound_Stats.sh
to
/jffs/addons/unbound/unbound_stats.sh startup & # Unbound_Stats.sh
[ -f "${1}/entware/sbin/unbound" ] && /jffs/addons/unbound/unbound_stats.sh startup & # Unbound_Stats.sh
Hello Joe, you seem to be able to reproduce this fairly easy. Can you try this for me?
in /jffs/scripts/post-mount file can you change the line:
/jffs/addons/unbound/unbound_stats.sh startup # Unbound_Stats.sh
to
/jffs/addons/unbound/unbound_stats.sh startup & # Unbound_Stats.sh
(Don't feel like I'm following you everywhere...)
What's the expected script behavior if a user has 2 USB drives plugged in and post-mount gets called twice (once for each drive)? What about a check like this to prevent startup being called if a non-entware drive is mounted?
Bash:[ -f "${1}/entware/sbin/unbound" ] && /jffs/addons/unbound/unbound_stats.sh startup & # Unbound_Stats.sh
Good point about multiple starts, but at worst it does initialize twice at boot, I will add in that check and avoid the double start.
My belief right now is that during post-mount I realized I am not starting the stats "startup" script in background mode, meaning I am holding up the remaining scripts for 15 seconds (as that is how i am waiting for unbound to launch).
In my test adding the background thread helped, but left me with empty stats, but let me incorporate the other changes and see if it helps Joe.
BTW when choosing to install option 6 Install Graphical Statistics GUI Add-on TAB - it goes through its install procedure installing verion 1.4.0 however option 6 still shows green <install Graphical Statistics GUI Add-on TAB> after the install - in other words as if it didnt install the TAB. In the advanced Menu SGUI goes through install but fails to install the TAB even though pressing ? in the advanced menu shows [✔] Router Graphical GUI statistics TAB installed
I made some updates as suggested and pushed v1.4.1. Could you try the sgui command again? it should show install 1.4.1.
On my router config I have reported a few times now and the tabs Unbound and scMerlin are consistently there... so appreciate if you can help test with your config.
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!