Vnstat2 symlinks and DB issue
-
upgarding an alix from 2.1.5 to 2.2 went smooth but the vnstat2 package doesnt seem to work, on further analysis seems some symlink issue which causes the package to use its default config with the wrong path to the DB, manually changing path seems to cause it to work. i created a bug report
-
temp fix
https://forum.pfsense.org/index.php?topic=85304.msg468491#msg468491
-
well an easier fix would be to edit the conf file with the proper path and everything would be fine but its better to fix the package and i started this thread so the maintainer would be made aware of it
-
well i found another redmine ticket for it here
https://redmine.pfsense.org/issues/4282#change-16882the below patch fixes it
https://github.com/pfsense/pfsense-packages/pull/794/files -
The bug report is the way to go… last i knew there was no real maintainer for vnstat2.. Its been worked on by different people.. I was going going to fix the paths this morning but someone beat me to it :-) Other packages have the same issue with the paths being wrong