Navigation

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

    Ntopng - missing preferences menu

    Traffic Monitoring
    3
    7
    1774
    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.
    • A
      Andrew453 last edited by

      Hi.  I've searched but can't see this answered anywhere.

      I'm running 0.8.4_4 of ntopng.  There used to be a preferences menu on the settings pull down menu with various options.  That seems to have disappeared for some reason (so I only have "change password" and "export data").

      I'm logged in as admin in ntopng.

      Has anyone come across this and know how to get it back please?

      Thanks.

      1 Reply Last reply Reply Quote 0
      • A
        Andrew453 last edited by

        Ok.  It looks like for some reason the redis database becomes corrupted.

        The tell-tale sign is that if you click on admin at the bottom of the page in ntopng, it should show you logged in as admin, in the "administrator" group.  If it says "unknown" for the group, then you have a problem.

        A fix is to delete the redis database (though i'm assuming this will delete all your history).

        Stop the ntopng service in pfSense.

        Then open a shell and navigate to var/db/ntopng

        Then delete (unlink) ntopng.rdb

        Then restart ntopng.  That restored my preferences menu.

        1 Reply Last reply Reply Quote 0
        • C
          Cino last edited by

          Thanks for sharing your finding.

          If you make make any changes (from the pfSense ntopng menu) or reboot your box, it will go back to how it was. At least this is what I've noticed

          1 Reply Last reply Reply Quote 0
          • A
            Andrew453 last edited by

            Yes, I've noticed it on reboot and assumed it was due to my running tmp and var in RAM.  Are you also running those in RAM, or does this also affect non RAM disk installations?

            1 Reply Last reply Reply Quote 0
            • C
              Cino last edited by

              im running a full disk install

              1 Reply Last reply Reply Quote 0
              • D
                doktornotor Banned last edited by

                Much better fix:

                
                redis-cli SET ntopng.user.admin.group administrator
                redis-cli save
                
                

                https://redmine.pfsense.org/issues/6999. I'll submit a PR once someone unbreaks GitHub. The only thing I'm getting since yesterday is HTTP 500 Error.  >:( >:( >:(

                1 Reply Last reply Reply Quote 0
                • A
                  Andrew453 last edited by

                  Thank you. Much appreciated.

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post