Package Details: ntopng 6.2-1

Git Clone URL: https://aur.archlinux.org/ntopng.git (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: http://www.ntop.org/
Keywords: monitoring networking ntop top
Licenses: GPL-3.0-only
Submitter: crt
Maintainer: pht (johnnybash)
Last Packager: johnnybash
Votes: 28
Popularity: 0.010689
First Submitted: 2015-09-22 08:31 (UTC)
Last Updated: 2024-08-13 21:05 (UTC)

Latest Comments

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

cacoro2 commented on 2024-07-29 01:31 (UTC)

I also had issues with the CSS not compiling. Just needed to add the following dependencies:


npm install terser

pacman -S python-setuptools python-mysqlclient

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 https://github.com/ntop/ntopng/blob/dev/doc/README.compilation

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().
    Aborting...
 -> 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 :

https://github.com/ntop/ntopng/issues/7203

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 autogen.sh.

There was an upstream issue, but it got closed: https://github.com/ntop/nDPI/issues/1115

From 2a0a65472b908efaeb96889f6cb95a32173c4dd8 Mon Sep 17 00:00:00 2001
From: Lubosz Sarnecki <lubosz@gmail.com>
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
---
 PKGBUILD | 1 +
 1 file changed, 1 insertion(+)

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

 build() {
   cd $srcdir/nDPI-$_ndpiver
+  unset CPPFLAGS
   ./autogen.sh
   ./configure
   make
-- 
2.35.1