YunoHost-Apps / adguardhome_ynh

AdGuard Home package for YunoHost: Network-wide ads & trackers blocking DNS server
https://adguard.com/adguard-home.html
GNU General Public License v3.0
15 stars 15 forks source link

AGH uses port 54 because port 53 already used #155

Closed gwlegion closed 9 months ago

gwlegion commented 10 months ago

hi.

i got ynh on a rpi 3B+ everithing upated with the last update, i've got a bug ... with high CPU usage and high upload usage. got to reinstall adguard, but it's configured on port 54 instead of 53 ... and i don't know how to configure it

OniriCorpe commented 10 months ago

For the high CPU and upload consumption, I don't know

But the port 53 config will be supported when I'll finish my work on #154 No ETA for now, it's a non trivial modification of the package :/

edit: the port 53 will be hardcoded in the package since it's a mandatory port number for classic DNS and this will prevent yunohost from giving a port other than 53 to AGH, which would render it useless what will be supported is the ability to configure whether or not to expose port 53 on the Internet, in order to give choice to users

OniriCorpe commented 10 months ago

You can fix manually this bug using:

yunohost app setting adguardhome port_adguard To validate that the current configured port in the package is the 54

Then yunohost app setting adguardhome port_adguard --value 53 To set it to 53

And finally yunohost app upgrade adguardhome --force To properly regenerate the config file

gwlegion commented 10 months ago

instant full cpu and upload usage when i config to port 53 . maybe some conflict with dnsmasq ?

OniriCorpe commented 10 months ago

maybe some conflict with dnsmasq ?

it should not, see: https://github.com/YunoHost-Apps/adguardhome_ynh/issues/113#issuecomment-1869907129 😕

what says your AGH log file?

which process hugely uses your CPU?

Splarkszter commented 10 months ago

You can fix manually this bug using:

Thanks this finally solved my issue.

No device will change ports for seeking DNS queries so this is a very critical issue.

OniriCorpe commented 10 months ago

No device will change ports for seeking DNS queries so this is a very critical issue.

Yes I know I do my best

Splarkszter commented 10 months ago

Yes I know I do my best

Thanks. I'm sorry if i sounded too harsh, I need to remember myself this is all voluntary work and I thank you a lot for this. I'm sorry I present some harshness because I'm constantly fighting against the dystopia, I need to touch my hearth more often.

Thank you a lot for the work you do, thank you for making the world a better place :)

gwlegion commented 10 months ago

i've uninstalled adguard home ... still have warning about port 53 not reachable from internet ... think i got two bad un installations on my system ... may you help me ?

Splarkszter commented 10 months ago

still have warning about port 53 not reachable from internet

If you only use yunohost for hosting on your local home network only you don't have to wory about that.

gwlegion commented 10 months ago

the problem is that AGH doesn't uninstall correctly ...

OniriCorpe commented 10 months ago

It will be fixed when I'll finish my work on https://github.com/YunoHost-Apps/adguardhome_ynh/pull/154 please be patient

OniriCorpe commented 9 months ago

should be fied with 0.107.44~ynh2