-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update ntopng to version 6.2 #6216
Conversation
@th0ma7 I would like to fix the patches for ntopng 4.2 first (working on it). |
@th0ma7 to bypass the need of patching for rw_locks_supported, I modified the ntopng 4.2 cross Makefile like this: But since the 6.2 build succeeds, the rw_locks_supported patches seem not to be required anymore... For your PR here, my proposal is limitted to:
both the qoriq and comcerto2k-7.1 build failures seem to have the same cause. |
In parallel I was looking at options to provide necessary privileges to ntopng, I tried the following:
It ends-up blocked at installation time as needing root privileges... not sure there's any way around that besides possibly a wiki info to set that up manually post install, such as
EDIT: This one-liner above allowed ntopng to start! 🚀 - now having an issue with password at first login 🤷 synology documentation: https://help.synology.com/developer-guide/privilege/privilege_config.html |
I have the same issue with password at first login, but I suppose it is an issue with the webserver/web app or the browser. Then I modified version 4.2 for DSM 7 (adjusting the paths in start-stop-service script and config file, installing config file into var instead of etc folder, and defining package user in privileges) The working login dialog of ntpng 4.2 looks like this (default login admin/admin works and password must be changed before login succeeds): But with ntopng 6.2 it looks like this (and default login admin/admin does not work I guess that something is wrong with the ntopng web ui.
Same error on DSM 6 and DSM 7 |
with ntopng 6.2 build of this PR, the
edit: |
Well this is really good news in a sense that this is heading is a right direction, and most importantly, it buils (at least from my perspective). I would propose the following:
On a side note, we can then rebase this PR and pursue the work later on. Feel free to push commits as you see fit while I try to solve the python issue by then? Thoughts? |
This is not as easy as it seems, I first have to find a more actual commit first, that works with ntopng 4.2 on DSM 7. |
@th0ma7 for the ntopng 2.4 branch I have two options, but only debian 11 spksrc image successfully builds. |
@hgy59 have a look at the 6.2 Makefile I revised, I believe the solution may be somewhat close to that. I do the following at the end:
Basically it :
Hopefully this helps, worst case, create a PR and I can have a look at it. If I recall corectly, he reason is that it messes around with local libraries instead of only using the ones from our install prefix. |
fa5398d
to
26cf9d5
Compare
@hgy59 if that is of interest, I did a quick rebase of my changes. I got it to build for the following:
|
closed. superseeded with #6220 |
Description
Update ntopng to version 6.2
Relates to #6210
Checklist
all-supported
completed successfullyType of change