OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 17.7 Legacy Series »
  • [SOLVED] Data Graph in Dashboard not working
« previous next »
  • Print
Pages: [1]

Author Topic: [SOLVED] Data Graph in Dashboard not working  (Read 3265 times)

PotatoCarl

  • Full Member
  • ***
  • Posts: 127
  • Karma: 5
    • View Profile
[SOLVED] Data Graph in Dashboard not working
« on: August 07, 2017, 10:45:27 am »
Hi
this is not new to 17.7 but already in all 17 branch, I just did not consider this important. But any ideas why and how to solve that?
Regards
« Last Edit: August 07, 2017, 06:05:22 pm by franco »
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13637
  • Karma: 1174
    • View Profile
Re: Data Graph in Dashboard not working
« Reply #1 on: August 07, 2017, 11:02:16 am »
Hi,

Coincidentally, we just fixed this and will include it for 17.7.1.

https://github.com/opnsense/core/commit/ec58aadd94

The patch doesn't apply cleanly as it comes from the development version where two "bug fixes" were reverted after finding the root cause, but simply removing the setlocale() does the trick on 17.7 or switching to "English".


Cheers,
Franco
Logged

PotatoCarl

  • Full Member
  • ***
  • Posts: 127
  • Karma: 5
    • View Profile
Re: Data Graph in Dashboard not working
« Reply #2 on: August 07, 2017, 11:36:51 am »
Hi

Thank you for the quick reply.

Unfortunately I have none of those files:

/src does not exist
/etc/rc.initial.restore does not exist
/www does not exist.

So where can I find them?

Best regards
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13637
  • Karma: 1174
    • View Profile
Re: Data Graph in Dashboard not working
« Reply #3 on: August 07, 2017, 12:04:26 pm »
"src" is equivalent to "/usr/local", so look for removal of setlocale() in /usr/local/www/guiconfig.inc

No other files need to be edited as the changes weren't on 17.7.


Cheers,
Franco
Logged

PotatoCarl

  • Full Member
  • ***
  • Posts: 127
  • Karma: 5
    • View Profile
Re: [SOLVED] Data Graph in Dashboard not working
« Reply #4 on: August 07, 2017, 05:42:47 pm »
Okay, found it and it works. Thank you.
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13637
  • Karma: 1174
    • View Profile
Re: [SOLVED] Data Graph in Dashboard not working
« Reply #5 on: August 07, 2017, 06:05:30 pm »
Thanks for confirming! :)
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 17.7 Legacy Series »
  • [SOLVED] Data Graph in Dashboard not working
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2