Closed nijave closed 3 months ago
The InterfaceField type always lists the alias, imho a hit on save or reboot should be sufficient. For historical migration its a really rare edge case and not easy to implement. Maybe a good place to put your guide in the documentation?
It'd be good if the vnstat page showed errors. It looks like when an error comes back from the api, the page just fails to load and stays empty.
You saved my day, thanks for the sql update fix ;)
This issue has been automatically timed-out (after 180 days of inactivity).
For more information about the policies for this repository, please read https://github.com/opnsense/plugins/blob/master/CONTRIBUTING.md for further details.
If someone wants to step up and work on this issue, just let us know, so we can reopen the issue and assign an owner to it.
Important notices Before you add a new report, we ask you kindly to acknowledge the following:
Describe the bug vnstat data doesn't load when the WAN interface is changed from
em0
toigc0
To Reproduce Steps to reproduce the behavior:
Expected behavior vnstat database is updated when the WAN interface alias changes or the settings page displays NICs instead of aliases (it seems misleading to show alias as the selectable options when it doesn't handle alias changes)
Screenshots If applicable, add screenshots to help explain your problem.
Relevant log files
Additional context I changed the hardware opnsense was running on. vnstat pages stopped loading. In the console I tried:
Then I switch from
WAN
toWAN,LAN
in the GUI, save, then switch back toWAN
and it's working again with historical data before the hardware change.Environment OPNsense 23.7.6-amd64 although I think I was on 23.1 when I switched hardware