Package Details: ntopng 6.0-2

Git Clone URL: (read-only, click to copy)
Package Base: ntopng
Description: The next generation version of the original ntop, a network traffic probe that shows the network usage
Upstream URL:
Keywords: monitoring networking ntop top
Licenses: GPL-3.0-only
Submitter: crt
Maintainer: pht (johnnybash)
Last Packager: johnnybash
Votes: 28
Popularity: 0.184689
First Submitted: 2015-09-22 08:31 (UTC)
Last Updated: 2024-02-09 19:35 (UTC)

Latest Comments

1 2 3 4 5 6 .. 9 Next › Last »

johnnybash commented on 2024-02-09 19:34 (UTC)

following upstream more closely seems reasonably.

alou-S commented on 2024-02-05 12:44 (UTC) (edited on 2024-02-05 12:46 (UTC) by alou-S)

I had issues with the CSS not compiling properly, simply changing npm run build to npm run build:dev fixed it for me. Would suggest changing the lines for the CSS/JS compilation to match

pnpm install -D @babel/core
jq -c '.devDependencies' package.json | jq -r -M | grep ':' | sed 's/:/@/' | sed 's|[", ^]||g' | xargs pnpm install -D
pnpm run build:dev

I have personally made some changes such as using pnpm instead of npm since its much faster. I also removed the xargs -L1 argument because it calls npm install one by one for every single dependency which seems unnecessary.

JohnRobson commented on 2023-05-20 16:13 (UTC)

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/us/.npm/_logs/2023-05-20T16_09_26_552Z-debug-0.log
==> ERROR: A failure occurred in build().
 -> error making: ntopng-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
ntopng - exit status 4

johnnybash commented on 2023-05-03 18:47 (UTC)

fixed, thanks @vianney Login works again!

vianney commented on 2023-05-03 11:55 (UTC) (edited on 2023-05-03 14:08 (UTC) by vianney)

Hi @luigibu, just had the same thing and found the following related issue :

Javascript related assets are not built, the following is missing in the build step :

npm install
npm run build

edit: You have to add it after the second ./configure of the build() step in the PKGBUILD

luigibu commented on 2023-04-15 17:46 (UTC)

Hi! I installed without issue, however, is it imposible to login into the web ui. admin->admin just dont work for me. I tried already the workaround in the docs with no luck. Any got this same issue? thanks

ryant0000 commented on 2022-09-29 01:25 (UTC)

Looks like this is broken again in a similar way, looking at the config.log that stdout points too I see the following:

gcc: error: unrecognized command-line option '-V' gcc: fatal error: no input files compilation terminated.

Seems like the gcc options may have changed to break this

johnnybash commented on 2022-02-04 08:02 (UTC)

new release yesterday (5.2.1) which builds again :)

lubosz commented on 2022-02-04 01:53 (UTC) (edited on 2022-02-04 01:59 (UTC) by lubosz)

configure: error: C preprocessor "/lib/cpp" fails sanity check

is caused by CPPFLAGS="-D_FORTIFY_SOURCE=2" from makepkg.conf.

This issue only occurs in the nDPI build, not ntopng itself.

You can fix the PKGBUILD by adding unset CPPFLAGS before nDPIs call to

There was an upstream issue, but it got closed:

From 2a0a65472b908efaeb96889f6cb95a32173c4dd8 Mon Sep 17 00:00:00 2001
From: Lubosz Sarnecki <>
Date: Fri, 4 Feb 2022 02:51:59 +0100
Subject: [PATCH] unset CPPFLAGS.

nDPI configure produces following error when -D_FORTIFY_SOURCE=2 is
set on the CPPFLAGS, which is the default in makepkg.conf:

configure: error: C preprocessor "/lib/cpp" fails sanity check
 1 file changed, 1 insertion(+)

diff --git a/PKGBUILD b/PKGBUILD
index 4581bc8..8bd2b32 100644
@@ -30,6 +30,7 @@ sha512sums=('e157430d9c98871d0136d2f51af6c7fed3a95fa21f8d3a9447ee69ac2aaee3752b6

 build() {
   cd $srcdir/nDPI-$_ndpiver
+  unset CPPFLAGS

cmonty14 commented on 2021-12-13 07:52 (UTC)

Build error...

checking dependency style of g++... gcc3
checking how to run the C preprocessor... /lib/cpp
configure: error: in `/home/thomas/.config/trizen/sources/ntopng/src/nDPI-46ebd7128fd38f3eac5289ba281f3f25bad1d899':
configure: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details
==> FEHLER: Ein Fehler geschah in build().
    Breche ab...
:: Unable to build ntopng - makepkg exited with code: 4

Here's what I found in config.log:

configure:17084: $? = 0
configure:17073: g++ -v >&5
Using built-in specs.
Target: x86_64-pc-linux-gnu
Configured with: /build/gcc/src/gcc/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl= --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++,d --with-isl --with-linker-hash-style=gnu --with-system-zlib --enable-__cxa_atexit --enable-cet=auto --enable-checking=release --enable-clocale=gnu --enable-default-pie --enable-default-ssp --enable-gnu-indirect-function --enable-gnu-unique-object --enable-install-libiberty --enable-linker-build-id --enable-lto --enable-multilib --enable-plugin --enable-shared --enable-threads=posix --disable-libssp --disable-libstdcxx-pch --disable-libunwind-exceptions --disable-werror gdc_include_dir=/usr/include/dlang/gdc
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 11.1.0 (GCC) 
configure:17084: $? = 0
configure:17073: g++ -V >&5
g++: error: unrecognized command-line option '-V'
g++: fatal error: no input files
compilation terminated.
configure:17084: $? = 1
configure:17073: g++ -qversion >&5
g++: error: unrecognized command-line option '-qversion'; did you mean '--version'?
g++: fatal error: no input files
compilation terminated.