ntopng update to v0.8.13_4 crashes
-
Updating ntopng to v0.8.13_4 crashes and results in ntopng no longer working. Log below, please fix.
>>> Upgrading pfSense-pkg-ntopng... Updating pfSense-core repository catalogue... pfSense-core repository is up to date. Updating pfSense repository catalogue... pfSense repository is up to date. All repositories are up to date. Checking integrity... done (0 conflicting) The following 1 package(s) will be affected (of 0 checked): Installed packages to be REINSTALLED: pfSense-pkg-ntopng-0.8.13_4 [pfSense] Number of packages to be reinstalled: 1 [1/1] Reinstalling pfSense-pkg-ntopng-0.8.13_4... [1/1] Extracting pfSense-pkg-ntopng-0.8.13_4: ......... done Removing ntopng components... Menu items... done. Services... done. Loading package instructions... Deinstall commands... done. Saving updated package information... overwrite! Loading package configuration... done. Configuring package components... Loading package instructions... Custom commands... Executing custom_php_install_command()... Fatal error: Uncaught ArgumentCountError: Too few arguments to function ntopng_update_geoip(), 0 passed in /etc/inc/pkg-utils.inc(770) : eval()'d code on line 2 and exactly 1 expected in /usr/local/pkg/ntopng.inc:241 Stack trace: #0 /etc/inc/pkg-utils.inc(770) : eval()'d code(2): ntopng_update_geoip() #1 /etc/inc/pkg-utils.inc(770): eval() #2 /etc/inc/pkg-utils.inc(858): eval_once('ntopng_php_inst...') #3 /etc/rc.packages(74): install_package_xml('ntopng') #4 {main} thrown in /usr/local/pkg/ntopng.inc on line 241 PHP ERROR: Type: 1, File: /usr/local/pkg/ntopng.inc, Line: 241, Message: Uncaught ArgumentCountError: Too few arguments to function ntopng_update_geoip(), 0 passed in /etc/inc/pkg-utils.inc(770) : eval()'d code on line 2 and exactly 1 expected in /usr/local/pkg/ntopng.inc:241 Stack trace: #0 /etc/inc/pkg-utils.inc(770) : eval()'d code(2): ntopng_update_geoip() #1 /etc/inc/pkg-utils.inc(770): eval() #2 /etc/inc/pkg-utils.inc(858): eval_once('ntopng_php_inst...') #3 /etc/rc.packages(74): install_package_xml('ntopng') #4 {main} thrownpkg-static: POST-INSTALL script failed >>> Cleaning up cache... done. Success
-
Uninstall and reinstall does not work either, gives same error.
-
Yeah, seeing the same thing.
Now, I did mess about with it a while back to try to get the Map thing working... modifying files, etc...
Did you do that too?
Maybe it's our own fault? :)
-
@T-Monster said in ntopng update to v0.8.13_4 crashes:
Yeah, seeing the same thing.
Now, I did mess about with it a while back to try to get the Map thing working... modifying files, etc...
Did you do that too?
Maybe it's our own fault? :)
Nope, mine is pretty vanilla. No changes outside the GUI!
-
wait a minute gentlemen
-
OK, well, that's a slight relief to me... but doesn't help...
I'll hang on in case there's a flock of "me too's", before doing any more investigation
-
Maybe related to this commit:
https://github.com/pfsense/FreeBSD-ports/commit/85cdc14f502d6f24fb3db797b8aa0453cb615fd6#diff-e5919fae5516fb0e52c4cfef76e364a1
-
Seems to be a problem with bootstrapping. The script will not work without maxmind key but I cannot enter the key without the package installing properly.
-
@viktor_g is working on this right now over here: https://redmine.pfsense.org/issues/9211#note-20
I'll just go an do something more useful and give him some time ;)
-
v0.8.13_5 fixes the issue. Thanks for the prompt response!!!
-
Confirmed working here too.
Thanks @viktor_g