Unbound DNS reporting is not functioning after the 25.1-RC2 upgrade.

Started by sammy, January 25, 2025, 05:21:35 PM

Previous topic - Next topic
The Overview tab of Unbound reporting is not displaying any statistics after the upgrade.


Cannot confirm, everything looks good here on RC2, both Overview and Details tabs, logarithmic or not.

Is unbound running ? Did you try rebooting post RC2 ?

If everything appears to work correctly go to Reporting-Settings and reset DNS data

I've tried your suggestions, but it's still not working. Just to clarify, only the Overview tab is not working for me—everything in the Details tab is fine

Are you using the official themes ? Any errors in the browser console ? Tried different browsers ? Any extension that may be causing this ?

I upgraded my home install to RC2 from 24.7.12. I am seeing similar behavior to OP, though the totals on top and the top domains eventually fill in if I stay on the page long enough. Details page shows plenty of lookups in the last hour, so the summary graphs should populate. Unbound is upstream from AdGuard Home.

I am using the default theme and I see the same behavior in Chrome and Safari (both on Mac). I am seeing the errors below in the browser console:

[Error] Failed to load resource: the server responded with a status of 404 () (chartjs-plugin-colorschemes.js, line 0)
[Error] Failed to load resource: the server responded with a status of 404 () (chartjs-plugin-streaming.min.js, line 0)
[Error] Failed to load resource: the server responded with a status of 404 () (chart.min.js, line 0)
[Error] Refused to execute https://opn.XXXXX.com/ui/js/chart.min.js?v=8dd00b38b7b41ad5 as script because "X-Content-Type-Options: nosniff" was given and its Content-Type is not a script MIME type.
[Error] Refused to execute https://opn.XXXXX.com/ui/js/chartjs-plugin-streaming.min.js?v=8dd00b38b7b41ad5 as script because "X-Content-Type-Options: nosniff" was given and its Content-Type is not a script MIME type.
[Error] Refused to execute https://opn.XXXXX.com/ui/js/chartjs-plugin-colorschemes.js?v=8dd00b38b7b41ad5 as script because "X-Content-Type-Options: nosniff" was given and its Content-Type is not a script MIME type.
[Error] Failed to load resource: the server responded with a status of 404 () (chartjs-adapter-moment.js, line 0)
[Error] Refused to execute https://opn.XXXXX.com/ui/js/chartjs-adapter-moment.js?v=8dd00b38b7b41ad5 as script because "X-Content-Type-Options: nosniff" was given and its Content-Type is not a script MIME type.
[Error] ReferenceError: Can't find variable: Chart
create_chart (overview:1543)
(anonymous function) (overview:1891)
complete (opnsense.js:298)
c (jquery-3.5.1.min.js:2:28300)
fireWith (jquery-3.5.1.min.js:2:29041)
l (jquery-3.5.1.min.js:2:79937)
(anonymous function) (jquery-3.5.1.min.js:2:82256)
[Error] ReferenceError: Can't find variable: Chart
formatClientData (overview:1728)
(anonymous function) (overview:1767)
complete (opnsense.js:298)
c (jquery-3.5.1.min.js:2:28300)
fireWith (jquery-3.5.1.min.js:2:29041)
l (jquery-3.5.1.min.js:2:79937)
(anonymous function) (jquery-3.5.1.min.js:2:82256)
[Error] TypeError: null is not an object (evaluating 'g_queryChart.config')
(anonymous function) (overview:1747)
complete (opnsense.js:298)
c (jquery-3.5.1.min.js:2:28300)
fireWith (jquery-3.5.1.min.js:2:29041)
l (jquery-3.5.1.min.js:2:79937)
(anonymous function) (jquery-3.5.1.min.js:2:82256)
[Error] Failed to load resource: the server responded with a status of 404 () (bootstrap-dialog.css.map, line 0)




I'm using the official OpenSense-Dark theme and have tested it on Chrome, Brave, and Safari, all with the same result. There were no issues before the RC2 upgrade.

Note this is not RC2, this is the development version of RC2 ;)

# opnsense-patch https://github.com/opnsense/core/commit/c9a3a841275

Thanks for the report!


Cheers,
Franco

Thanks Franco! The patch fixed it and the Unbound graphs are being generated correctly.

Yes, development version of RC2. I will keep that straight next time.

Thank you both for the update!

Quote from: franco on January 27, 2025, 11:26:03 AMNote this is not RC2, this is the development version of RC2 ;)

# opnsense-patch https://github.com/opnsense/core/commit/c9a3a841275

Thanks for the report!


Cheers,
Franco

Hi Franco, I built for arm64, does this command works for me?

I also noticed mine shows 25.1.r1_2X (not at home, can't remember if _20 or _22) and I checked out git for 25.1.r2 :)

thanks,

none
"We will call you Cygnus,
the God of balance you shall be."

opnsense-patch works almost always... we only patch script files