Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
unable to connect admin admin to server ntopng v 5.6-r&
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
hktonky
n00b
n00b


Joined: 23 Apr 2022
Posts: 15

PostPosted: Thu Apr 20, 2023 9:21 pm    Post subject: unable to connect admin admin to server ntopng v 5.6-r& Reply with quote

I couldn't connect to ntopng server version 5.6-r1 (latest). It seems that this problem is known since it reports a warning in the ebuild. Going back to version 5.2-r1 it works perfectly. Is there a solution to solve this problem to revert to the most recent version ?
Thanks in advance
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21518

PostPosted: Thu Apr 20, 2023 10:23 pm    Post subject: Reply with quote

What warning is this? The only message I see in the ebuild is a recap of the default credentials, but it makes no mention of known issues. Generally, if an issue is known and a solution is available, it would be documented in the ebuild, or result in a package mask if the issue was severe.
Back to top
View user's profile Send private message
hktonky
n00b
n00b


Joined: 23 Apr 2022
Posts: 15

PostPosted: Fri Apr 21, 2023 7:58 am    Post subject: unable to connect admin admin to server ntopng v 5.6-r& Reply with quote

In the ebuild :
"See bug #894152 and https://github.com/ntop/ntopng/issues/7203"

See also here :
https://github.com/ntop/ntopng/issues/4835
Back to top
View user's profile Send private message
sam_
Developer
Developer


Joined: 14 Aug 2020
Posts: 1670

PostPosted: Fri Apr 21, 2023 12:49 pm    Post subject: Reply with quote

Yes, but that note is there to explain why assets are handled that way. It doesn't mean it's a known issue in the sense of "it should still be broken".

Please file a new bug if it's still not working.
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21518

PostPosted: Fri Apr 21, 2023 3:35 pm    Post subject: Reply with quote

To me, a warning typically means text that the ebuild prints to the user when the ebuild is used in a standard way. Comments in the ebuild are not warnings unless they very explicitly state that they are warnings. As sam_ says, this is just advice to anyone who works on the ebuild.
Back to top
View user's profile Send private message
hktonky
n00b
n00b


Joined: 23 Apr 2022
Posts: 15

PostPosted: Fri Apr 21, 2023 5:51 pm    Post subject: unable to connect admin admin to server ntopng v 5.6-r& Reply with quote

I solved my problem badly, but it works and confirms that the ebuild is badly built.
I compiled directly the version available on the github repository.
The origin of the problem comes from the fact that the httpdocs has been moved from version 5.4.
The autogen.sh script from the git repository manages it. Not the ebuild.
then simply launch the service with the --httpdocs-[root of ntopng]/httpdocs option.
I don't know how to write ebuilds (I haven't tried) but it shouldn't be difficult to make this operational for the next version.
Problem solved for me.
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21518

PostPosted: Fri Apr 21, 2023 6:23 pm    Post subject: Reply with quote

In what Gentoo bug is this reported?
Back to top
View user's profile Send private message
hktonky
n00b
n00b


Joined: 23 Apr 2022
Posts: 15

PostPosted: Fri Apr 21, 2023 7:40 pm    Post subject: unable to connect admin admin to server ntopng v 5.6-r& Reply with quote

Bug 894152 (resolved) is exactly that. But I'm sorry I have strictly the same bug with the updated ntopng-5.6-r1.ebuild.
Obviously the commit added a link to +SRC_URI+=" https://github.com/ntop/ntopng-dist/archive/${NTOPNG_DIST_COMMIT}.tar.gz -> ${P}-web-${NTOPNG_DIST_COMMIT}. tar.gz"
Are we sure that this github repository is still active?
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21518

PostPosted: Fri Apr 21, 2023 7:59 pm    Post subject: Reply with quote

That bug is from back in February. sam_ told you to file a new bug if this is not working. I wanted to know the number of the new bug that you filed since it is not working for you and you said the ebuild is written badly.

Whether the repository is active or not does not matter. What matters is that the archive fetched by that SRC_URI yields valid files, or not. The archive must have fetched something, because the ebuild did not fail. Whether it fetched the correct things is an open question. What is the output of equery files net-analyzer/ntopng?
Back to top
View user's profile Send private message
hktonky
n00b
n00b


Joined: 23 Apr 2022
Posts: 15

PostPosted: Fri Apr 21, 2023 9:18 pm    Post subject: unable to connect admin admin to server ntopng v 5.6-r& Reply with quote

I create the bug 904755.
Thank's
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum