What's new

dn-vnstat "no data to display" in "Data usage" and "compare usage"

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Yes those errors. Symlinks fixed the issue. I did had big entware upgrade before.
I removed symlinks and implemented sugested solution. Works now! Thanks a lot!
 
@Jack Yaz - may i report a small issue here?
I upgraded to the latest version of the vnstat and some days after - to 386.4
I noticed that web gui doesn't show latest daily stats, last day was dec 12th.
I went to cli and did manual stats update. 3 libs were missing. I worked around the issue by creating symlinks to the existing lib versions.
These 3:
Code:
libwebpdecoder.so.4.1.1 -> libwebpdecoder.so.3.1.2
libwebp.so.8.1.1 -> libwebp.so.7.1.2
libwebpdemux.so.2.7.0 -> libwebpdemux.so.2.0.8
On the left is version vnstat was looking for, on the right - actual lib version in the system.
I have the same issue and even the same date. The stats I get emailed every night are correct and up to date.
 
I also had the problem of "No Data to Display" in the "Date Usage" and "Compare Usage" panes. I run dn-vnstat v2.0.4 on an RT-AX88U running 388.1. When I ran option 1 to update the stats, I noticed a number of instances of this error.

Code:
SQLite header and source version mismatch
2020-08-14 13:23:32 fca8dc8b578f215a969cd899336378966156154710873e68b3d9ac5881b0ff3f
2022-11-16 12:10:08 89c459e766ea7e9165d0beeb124708b955a4950d0f4792f457465d71b158d318

Removing the entware version of the sqlite3 command (opkg remove sqlite3-cli) solved the problem. I am not sure if some other addon or custom script depended on the entware sqlite3-cli, but since the entware version was (at least for me) not working, removing it caused no extra harm.
 

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top