Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
18.7 Legacy Series
»
ntopng data directory migration notice since last update
« previous
next »
Print
Pages: [
1
]
Author
Topic: ntopng data directory migration notice since last update (Read 7282 times)
sol
Newbie
Posts: 36
Karma: 3
ntopng data directory migration notice since last update
«
on:
January 08, 2019, 06:50:40 pm »
Hi there,
with the recent update ntopng wants a data migration
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.
Logged
mimugmail
Hero Member
Posts: 6767
Karma: 494
Re: ntopng data directory migration notice since last update
«
Reply #1 on:
January 08, 2019, 07:26:39 pm »
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 ..
Logged
WWW:
www.routerperformance.net
Support plans:
https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German):
https://opnsense.max-it.de/
sol
Newbie
Posts: 36
Karma: 3
Re: ntopng data directory migration notice since last update
«
Reply #2 on:
January 08, 2019, 07:28:49 pm »
So I can just ignore the notice in ntopng and it will keep working like before?
Logged
mimugmail
Hero Member
Posts: 6767
Karma: 494
Re: ntopng data directory migration notice since last update
«
Reply #3 on:
January 09, 2019, 05:42:02 am »
Thats what the author writes in your link
Logged
WWW:
www.routerperformance.net
Support plans:
https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German):
https://opnsense.max-it.de/
bunchofreeds
Full Member
Posts: 203
Karma: 11
Re: ntopng data directory migration notice since last update
«
Reply #4 on:
January 11, 2019, 02:50:25 am »
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.
Logged
franco
Administrator
Hero Member
Posts: 17668
Karma: 1611
Re: ntopng data directory migration notice since last update
«
Reply #5 on:
January 11, 2019, 06:17:57 pm »
The warning message is from FreeBSD ports. We do not intend to change it.
Cheers,
Franco
Logged
bunchofreeds
Full Member
Posts: 203
Karma: 11
Re: ntopng data directory migration notice since last update
«
Reply #6 on:
January 24, 2019, 03:52:42 am »
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.
Logged
guest15389
Guest
Re: ntopng data directory migration notice since last update
«
Reply #7 on:
January 31, 2019, 03:58:38 pm »
Is there a recommended way to get the message to go away? My OCD can't handle a red banner there forever...
Logged
mimugmail
Hero Member
Posts: 6767
Karma: 494
Re: ntopng data directory migration notice since last update
«
Reply #8 on:
January 31, 2019, 07:36:53 pm »
I'll so this next week ...
Logged
WWW:
www.routerperformance.net
Support plans:
https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German):
https://opnsense.max-it.de/
guest15389
Guest
Re: ntopng data directory migration notice since last update
«
Reply #9 on:
January 31, 2019, 07:38:00 pm »
Awesome. Thanks!
Logged
bunchofreeds
Full Member
Posts: 203
Karma: 11
Re: ntopng data directory migration notice since last update
«
Reply #10 on:
January 31, 2019, 08:51:44 pm »
That would be great! Thanks
Logged
mimugmail
Hero Member
Posts: 6767
Karma: 494
Re: ntopng data directory migration notice since last update
«
Reply #11 on:
February 10, 2019, 07:42:34 pm »
I added a fix .. will be in 19.1.2 or .3 ...
Logged
WWW:
www.routerperformance.net
Support plans:
https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German):
https://opnsense.max-it.de/
franco
Administrator
Hero Member
Posts: 17668
Karma: 1611
Re: ntopng data directory migration notice since last update
«
Reply #12 on:
February 11, 2019, 08:49:10 am »
19.1.2
Logged
mimugmail
Hero Member
Posts: 6767
Karma: 494
Re: ntopng data directory migration notice since last update
«
Reply #13 on:
February 11, 2019, 10:15:29 am »
Logged
WWW:
www.routerperformance.net
Support plans:
https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German):
https://opnsense.max-it.de/
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
18.7 Legacy Series
»
ntopng data directory migration notice since last update