OPNsense Forum

English Forums => 24.7, 24.10 Series => Topic started by: lignumaqua on October 25, 2024, 10:59:21 PM

Title: Health data no longer updating after 24.7.7
Post by: lignumaqua on October 25, 2024, 10:59:21 PM
I updated to 24.7.7 this morning and since then the graphs under Reporting/Health do not update. They are frozen at the time I performed the update, 09:43 this morning. A reboot does not fix this.

All other graphs under 'Reporting' are fine, it's just the 'Health' ones that are broken.

Grateful for any suggestions on how to get this running again. I'm tracking this data as I've been getting a lot of loss from Spectrum cable, so I really don't want to lose the historical data.
Title: Re: Health data no longer updating after 24.7.7
Post by: hgkdd on October 26, 2024, 10:57:51 AM
Same here.
Title: Re: Health data no longer updating after 24.7.7
Post by: lignumaqua on October 26, 2024, 05:48:39 PM
In the end I tried disabling then re-enabling the 'RRD graphing backend' in Reporting/Settings. I've lost 3 years of data, which is very frustrating but the graphs have started up again.

@hgkdd - try that. Disable RRD graphing backend, click 'Save', then re-enable it and click 'Save' again.

Looks like this might be the problem reported here: https://github.com/opnsense/core/issues/7753  where the RRD routines fail. Was supposed to be fixed but it appears it isn't.
Title: Re: Health data no longer updating after 24.7.7
Post by: franco on October 27, 2024, 09:09:11 PM
I had a hunch and it was quicky confirmed:

https://github.com/opnsense/core/commit/528a6349

The workaround is alright but I think going back to the historic check is better for the time being.


Cheers,
Franco
Title: Re: Health data no longer updating after 24.7.7
Post by: lignumaqua on October 27, 2024, 10:50:45 PM
Thanks Franco! :) Glad to know it wasn't just me doing something stupid for once.
Title: Re: Health data no longer updating after 24.7.7
Post by: rocra on November 01, 2024, 06:21:11 PM
Is there a date planned to release the fix?

Quote from: franco on October 27, 2024, 09:09:11 PM
I had a hunch and it was quicky confirmed:

https://github.com/opnsense/core/commit/528a6349

The workaround is alright but I think going back to the historic check is better for the time being.


Cheers,
Franco
Title: Re: Health data no longer updating after 24.7.7
Post by: franco on November 04, 2024, 02:13:59 PM
24.7.8 should arrive until Wednesday this week.


Cheers,
Franco
Title: Re: Health data no longer updating after 24.7.7
Post by: rfox on December 18, 2024, 09:39:00 AM
Sorry if posting in wrong thread - wanted to avoid starting a new one if possible.  I have a 24.7.11 updated instance and for some reason, no matter what I do (like resetting RRD & Netflow) - also deinstalled Redis plugin and reinstalled - I can't get data under Reporting/Health - Says "no data available" - but Insight works like a charm  . . . Looked through logs, but not sure what I'm looking for ?!?

Any help appreciated!
Title: Re: Health data no longer updating after 24.7.7
Post by: franco on December 18, 2024, 09:52:39 AM
I think this was found and fixed by https://github.com/opnsense/core/commit/6145b7f0d

# opnsense-patch 6145b7f0d

Will push a hotfix out in a few minutes.


Cheers,
Franco
Title: Re: Health data no longer updating after 24.7.7
Post by: rfox on December 18, 2024, 09:58:58 AM
Quote from: franco on December 18, 2024, 09:52:39 AMI think this was found and fixed by https://github.com/opnsense/core/commit/6145b7f0d

# opnsense-patch 6145b7f0d

Will push a hotfix out in a few minutes.


Cheers,
Franco


Thanks Franco !  So apparently it wasn't fixed - or the patch got lost somewhere ?!?  Looking forward to the hotfix!
Title: Re: Health data no longer updating after 24.7.7
Post by: franco on December 18, 2024, 10:06:53 AM
No this was a different problem introduced in 24.7.11 by a security-related sanitisation of URL handling, namely https://github.com/opnsense/core/commit/61c9d2f5b1


Cheers,
Franco
Title: Re: Health data no longer updating after 24.7.7
Post by: rfox on December 18, 2024, 10:13:49 AM
Quote from: franco on December 18, 2024, 10:06:53 AMNo this was a different problem introduced in 24.7.10 by a security-related sanitisation of URL handling, namely https://github.com/opnsense/core/commit/61c9d2f5b1


Cheers,
Franco

Happy to report - problem resolved!!  Many Thanks and Happy Holidays in advance!
Title: Re: Health data no longer updating after 24.7.7
Post by: franco on December 18, 2024, 10:14:40 AM
Splendid, thanks :)
Title: Re: Health data no longer updating after 24.7.7
Post by: OPNenthu on December 18, 2024, 10:43:35 AM
Hi @franco, I updated from 24.7.9_1 to 24.7.11 a few hours ago and now Health graphs are coming up empty. Should I have to reset RRD data?

Thanks!
Title: Re: Health data no longer updating after 24.7.7
Post by: franco on December 18, 2024, 10:49:11 AM
No, just update to 24.7.11_2. Already explained it.
Title: Re: Health data no longer updating after 24.7.7
Post by: OPNenthu on December 18, 2024, 10:58:58 AM
Ah, had missed that.

Fixed now.  Thanks!