Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 894152 - net-analyzer/ntopng css and js files from dist directory missing
Summary: net-analyzer/ntopng css and js files from dist directory missing
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-13 09:27 UTC by Jochen Kirchner
Modified: 2023-04-23 06:43 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Screenshot of missing css and js files (ntopng-screenshot.jpg,420.49 KB, image/jpeg)
2023-02-13 09:29 UTC, Jochen Kirchner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jochen Kirchner 2023-02-13 09:27:51 UTC
Currently ntopng 5.4 and 5.6 are missing the css and js files from the dist directory. It's a seperate repo now.

https://github.com/ntop/ntopng-dist/tree/b380f9f628893e6092c1895ca4fa96b3b5101d2e

Without these files the login page is broken.
I attached a screenshot of ntopng with the missing files.

Version 5.2.1-r1 in Gentoo is installing the css and js files.

If you need more information please let me know.



Reproducible: Always

Steps to Reproduce:
1.install ntopng 5.4 or 5.6
2.start ntopng
3.open the login page
Actual Results:  
Without these files the login page is broken.

Expected Results:  
The login page should be working and show a logo.
Comment 1 Jochen Kirchner 2023-02-13 09:29:16 UTC
Created attachment 850666 [details]
Screenshot of missing css and js files
Comment 2 Jochen Kirchner 2023-02-13 09:31:58 UTC
There is also an upstream bug report:

https://github.com/ntop/ntopng/issues/7203
Comment 3 Larry the Git Cow gentoo-dev 2023-03-13 23:27:17 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e9dc95ce5410b428cb837dcdd06410cad9d2214

commit 6e9dc95ce5410b428cb837dcdd06410cad9d2214
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-03-13 23:18:46 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-03-13 23:27:01 +0000

    net-analyzer/ntopng: add HTML, CSS, JS assets
    
    Closes: https://bugs.gentoo.org/894152
    Signed-off-by: Sam James <sam@gentoo.org>

 net-analyzer/ntopng/Manifest                                    | 1 +
 net-analyzer/ntopng/{ntopng-5.6.ebuild => ntopng-5.6-r1.ebuild} | 7 +++++++
 2 files changed, 8 insertions(+)
Comment 4 Larry the Git Cow gentoo-dev 2023-04-23 06:43:22 UTC
The bug has been referenced in 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(-)