Closed JGPorteous closed 5 years ago
The current version of Master branch is only compatible with vnstat >= 2.0 I think (see #25)
Use a commit befor the merge of that PR and it should work (should be dc2a299a76382c50cbc92fb2e2ac150c8e0b2b3c)
Thank you so much, upgraded vnstat to 2.2 and it's working.
Good day,
I've setup vnstat-dashboard and I'm not getting any data on the WEB UI.
vnstat is collecting data, vnstat version 1.15 I'm not using Docker, installed to apache2 /var/www/html/vnstat
Errors found in /var/log/apache2/errors.log :
Config:
vnstat --json -i eth0 :
{"vnstatversion":"1.15","jsonversion":"1","interfaces":[{"id":"eth0","nick":"eth0","created":{"date":{"year":2019,"month":6,"day":15}},"updated":{"date":{"year":2019,"month":6,"day":15},"time":{"hour":10,"minutes":5}},"traffic":{"total":{"rx":14955,"tx":74990},"days":[{"id":0,"date":{"year":2019,"month":6,"day":15},"rx":14955,"tx":74990}],"months":[{"id":0,"date":{"year":2019,"month":6},"rx":14955,"tx":74990}],"tops":[],"hours":[{"id":8,"date":{"year":2019,"month":6,"day":15},"rx":8147,"tx":14558},{"id":9,"date":{"year":2019,"month":6,"day":15},"rx":6659,"tx":57536},{"id":10,"date":{"year":2019,"month":6,"day":15},"rx":149,"tx":2896}]}}]}