Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    ntopng update to v0.8.13_4 crashes

    Scheduled Pinned Locked Moved Traffic Monitoring
    11 Posts 4 Posters 1.3k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      revengineer
      last edited by revengineer

      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
      
      
      1 Reply Last reply Reply Quote 0
      • R
        revengineer
        last edited by

        Uninstall and reinstall does not work either, gives same error.

        1 Reply Last reply Reply Quote 0
        • T
          T-Monster
          last edited by T-Monster

          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? :)

          R 1 Reply Last reply Reply Quote 0
          • R
            revengineer @T-Monster
            last edited by revengineer

            @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!

            1 Reply Last reply Reply Quote 0
            • viktor_gV
              viktor_g Netgate
              last edited by

              wait a minute gentlemen

              1 Reply Last reply Reply Quote 1
              • T
                T-Monster
                last edited by

                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

                1 Reply Last reply Reply Quote 0
                • D
                  dalraf
                  last edited by

                  Maybe related to this commit:

                  https://github.com/pfsense/FreeBSD-ports/commit/85cdc14f502d6f24fb3db797b8aa0453cb615fd6#diff-e5919fae5516fb0e52c4cfef76e364a1

                  1 Reply Last reply Reply Quote 0
                  • R
                    revengineer
                    last edited by

                    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.

                    1 Reply Last reply Reply Quote 0
                    • T
                      T-Monster
                      last edited by

                      @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 ;)

                      1 Reply Last reply Reply Quote 1
                      • R
                        revengineer
                        last edited by

                        v0.8.13_5 fixes the issue. Thanks for the prompt response!!!

                        1 Reply Last reply Reply Quote 0
                        • T
                          T-Monster
                          last edited by

                          Confirmed working here too.

                          Thanks @viktor_g

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post
                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.