alexandermarston/vnstat-dashboard

No data displayed with vnStat2.1

Opened this issue · 5 comments

The project works fine until some time after my system upgrade. I checked the upgrade history seems it could be caused by the big version upgrade. Since poor on logging (seems) I have no idea how to report this issue in detail but let you know my guess. (P.S. Now I tasted the pain of bleeding-edge as an Arch Linux user ....)

Based on a quick look, the implementation appears to be using the vnstat --json output but doesn't compare in any way the jsonversion field that is being provided. An upgrade of vnStat from versions 1.x to 2.x changes the json ouput slightly as there's more data available and jsonversion was also incremented from 1 to 2 as a result due to expected compatibility issues.

Any update for v2 could we expect? (or a new project?

See #25 but note that it breaks compatibility with 1.x versions.

#34 should fix the hours display

@nicholascw this should now be resolved - can you please confirm?