Hi there,
with the recent update ntopng wants a data migration
https://www.ntop.org/support/faq/migrate-the-data-directory-in-ntopng/ (https://www.ntop.org/support/faq/migrate-the-data-directory-in-ntopng/)
How can this guide from ntop be used the change the settings on opnsense via console / ssh?
Thank you.
I wouldn't recommend it.
You can login via SSH and execute the commands like in the blog post, but this is only relevant when your ntop instance is worldwide accessible ..
So I can just ignore the notice in ntopng and it will keep working like before?
Thats what the author writes in your link
I'm receiving this warning also after the last update including an updated NTOPNG.
Its annoying as I cannot find a way to remove the warning message?
Currently it is quite an obvious pink banner across the top of 'every' window within NTOPNG.
This is a home setup so I'm not overly impacted by it
I have tried following the article without any change to the warning message.
The warning message is from FreeBSD ports. We do not intend to change it.
Cheers,
Franco
Found a fix but it does not survive an OPNsense reboot
Stop the ntopng Service through the OPNsense GUI
Move contents of ntopng data directory to new location
# mv /var/tmp/ntopng/* /var/db/ntopng/
Apply the correct access to the new directory
# chown -R ntopng:ntopng /var/db/ntopng
Apply this notpng CLI command which points ntopng to the new data directory
# ntopng --data-dir /var/db/ntopng
Start ntopng service through the OPNsense GUI
Have tried applying the ntopng CLI command for updating the data directory
--data-dir=/var/db/ntopng
To the file
/usr/local/etc/ntopng.conf
This works but does not survive a reboot of OPNsense.
There is another instance of the config file located at
/usr/local/opnsense/service/templates/OPNsense/Ntopng/ntopng.conf
But I have not attempted to update this file as I am not sure which location of the config to correctly update.
Is there a recommended way to get the message to go away? My OCD can't handle a red banner there forever...
I'll so this next week ...
Awesome. Thanks!
That would be great! Thanks
I added a fix .. will be in 19.1.2 or .3 ...
19.1.2
:-*