I couldn't connect to ntopng server version 5.6-r1 (latest). in /usr/share/ntopng/httpdocs the subdirectory dist not exist. I solved the problem temporarily by directly compiling the source available on the github ntopng repository. The autogen.sh script works perfectly and the git clone creates a dist subdirectory. Generated app works perfectly, admin/admin authentication works. the code generated directly from the github repository works perfectly as a service. /usr/share/ntopng/httpdocs : (ebuild (5.6-r1) 0a1b701f5563c2288281.ttf 95ce97b96124cddcc6ff.png d86d12736d91b3cc9934.png img third-party.css 15d98c18221c8bcb2334.ttf a0d12b5793f7a819cf4a.png dark-mode.css inc third-party.js 2bd53024cba1f2355d53.png b18a220ea3ed601ec968.png dark-mode.js login.js third-party.js.LICENSE.txt 3d503f89ccaf1b224aa5.woff2 bdacea417c235e289149.png f77bcc98bb7468c8b15a.woff2 misc tmp 4896d4b04430cc3dfb06.woff2 css favicon.ico ntopng.css white-mode.css 52eba2c567c521b8d58a.ttf custom-theme.css geoip ntopng.js white-mode.js 73879eafee8fd84e7c13.png custom-theme.js images other 79da213423ac0def2058.ttf d68ae9f02541036a991d.png images.css ssl 8dbb811c120eea1560c8.png d79c2ec96ab9ff1161a2.woff2 images.js templates dist subdirectory doesn't exist. All files are in root httpdocs The web interface is not the same and connect is not possible (invalid user/password). /opt/ntopng/httpdocs ; (version from github clone) css dist favicon.ico geoip img inc misc other ssl templates dist subdirectory exist and no file are presents except favicon.ico The web interface is correct and connect is possible. I tried creating the dist directory by hand and moving the files into it like the github clone. In this case the manual launch of /usr/bin/ntopng allows authentication and correct operation. Nevertheless I could not start the service by rc-service in this case.
Please attach the output of 'equery f net-analyzer/ntopng'.
Created attachment 860521 [details] result of equery f net-analyzer/ntopng As you requested, here is the output of command equery f net-analyzer /ntopng Do not hesitate to come back to me if necessary.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4456cdbebd00b2c9308df8b430ea5f07393584c0 commit 4456cdbebd00b2c9308df8b430ea5f07393584c0 Author: Sam James <sam@gentoo.org> AuthorDate: 2023-04-23 06:42:05 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-04-23 06:43:13 +0000 net-analyzer/ntopng: install web assets to correct path Closes: https://bugs.gentoo.org/904755 Bug: https://bugs.gentoo.org/894152 Signed-off-by: Sam James <sam@gentoo.org> net-analyzer/ntopng/{ntopng-5.6-r1.ebuild => ntopng-5.6-r2.ebuild} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Thank you. Please let me know if there's further issues. The structure looks a lot better now and the filediff w/ working 5.2.1 is more sensible too.
hello i just installed new ebuild ntopng-5.6-r2 with your modification. I confirm that everything is now working perfectly. If you agree you will be able to publish a new official version very soon. Thank you for your speed and efficiency.
(In reply to hktonky from comment #5) > hello i just installed new ebuild ntopng-5.6-r2 with your modification. I Thanks for quickly confirming. > confirm that everything is now working perfectly. If you agree you will be > able to publish a new official version very soon. Thank you for your speed > and efficiency. You're welcome! I'm not sure what you mean by publishing a new official version, but it's fixed in Gentoo with the latest ebuild.