[AdGuard] AdGuard Home package for YunoHost

Hello,

I am just looking for people using AdGuard Home in their Yunohost server.
Is the package GitHub - YunoHost-Apps/adguard_ynh: AdGuard Home package for YunoHost currently working ?
How is the load of the server with such king of app ?

Unfortunately, I don’t have a “test Yunohost server” to make a trial :frowning:

Croulibri


Bonjour,

Je suis à la recherche de personnes utilisant le logiciel AdGuard Home sur leur serveur Yunohost.
Est-ce que l’application GitHub - YunoHost-Apps/adguard_ynh: AdGuard Home package for YunoHost fonctionne ? Quelle est la conséquence en terme de charge sur le serveur ?

Malheureusement je n’ai pas de “serveur Yunohost de test” pour faire des essais :frowning:

Merci d’avance pour vos retours !

Croulibri

Hi !

Since pihole isn’t maintained anymore, i just installed adguard on a neat subdomain on my server.

It works but… some stuff don’t work. As i stated before about pihole : nothing is logged, no client is detected, no stats at all are recorded anywhere. But blocking works… I wonder if there is a fix to this, let’s ping @ericg who maintains it, and i’ll open an issue on github too.

Anyone else having any issue with adguard ?

Sorry I can’t help you. I’m not maintaining Adguard (I’m just pushing fixes).

Damn, by any chance do you know who maintains it ?

No one in particular I guess… As for the statistics, I don’t know how long since you installed Adguard but the statistics may take a while to appear …

Well after some more testing it appears adguard does not work at all. The domains that appeared blocked in my tests were just coincidentally unreachable, nothing i do to my network seems to do the trick…

What i don’t understant is that adguard suggest to use some_local_ip:54 as DNS server IP but neither the router nor the network resolver on my laptop accepts :54 at the end of the DNS address, and DNS request seem to usually use port 53, not 54. Anyone can clarify anything ?

Same here… Just installed, but it binds to localhost indeed… I think it’s just better to keep a separate RPI for these things. How unfortunate.

I restored pihole which works out of the box, despite the logging and displaying problems that i stated here. It would be great if someone took back maintenance on pihole…

Hi!

I worked hard on the AdGuard Home package to improve it for DNS over HTTP/TLS/QUIC usage

It’s a major rework of the package, it has been tested many many times so it should be fine, but I’m aksing for testers!

If you’re using DNS over HTTP/TLS/QUIC, your testing will be precious for me!
And even if you’re not using DNS over HTTP/TLS/QUIC, your test is very welcome!

So if you want to help me to release it quickly and that you’re willing to take a risk, you can test the package using this command:

sudo yunohost app upgrade adguardhome -u https://github.com/YunoHost-Apps/adguardhome_ynh/tree/DoT

Please tell me if everything is working properly, if you’ve found a bug, if the documentation isn’t clear, etc!
Tell me also if everything is perfect! ^w^

Thanks!


Edit: if you want to downgrade after testing, just uninstall adguardhome and restore the pre-upgrade backup

hi oniri Corp. Thanks a lot for your work on this app :metal: :muscle: :pray: !!

Thanks for your call for testers too :wink:

I just did the upgrade a on a local instance running on an RPI4B not exposed to internet and not setup with DoH or DoT or else

it seems to be working just fine :slight_smile:

I shall continue more testing on servers with existing working configuration of DoH/DoT.

Hi, I have upgraded to 0.107.68~ynh1

and adguard service has not restarted because (log):

Oct 25 16:04:18 AdGuardHome[13375]: 2025/10/25 16:04:18.285150 [info] AdGuard Home, version v0.107.68
Oct 25 16:04:18 AdGuardHome[13375]: 2025/10/25 16:04:18.290682 [error] parsing configuration file: yaml: unmarshal errors:
Oct 25 16:04:18 AdGuardHome[13375]:   line 174: not an ip:port

in /var/www/adguardhome/AdGuardHome.yaml, line 174 is

address: 0 , in http section

http:
  address: 0
  pprof:
    enabled: false
    port: 6060
  session_ttl: 720h

looking into yaml file from ynh package it looks like it should be

http:
  pprof:
    port: 6060
    enabled: false
  address: 127.0.0.1:__PORT__
  session_ttl: 720h

but after restarting the service it returns a bad config for 127.0.0.1:__PORT__

I presume I should write an actual port number, 53?

I’m gonna restore previous version, but has anyone had this issue? thank you

what are default values? as I had not manually change it.

this is from backup

http:
  pprof:
    port: 6060
    enabled: false
  address: 127.0.0.1:32240
  session_ttl: 720h

thank you

Hey, I have the same issue here. Strangely the address is badly configured whereas the template just try to set the port.

http:
pprof:
port: 6060
enabled: false
address: 127.0.0.1:PORT
session_ttl: 720h

How can that generates address: 1 when the port settings value is 3001 ?

Moreover, I couldn’t find any of the nginx config file it should generate. Hence, even when fixing the yaml file, it won’t work.
Here is the yunopaste of the upgrade:

https://paste.yunohost.org/raw/ibuyopinec

It’s weird because the upgrade process doesn’t affect this part of the config file…
It looks like an upstream issue

You can retrieve the port number with this command:
grep -i port: /etc/yunohost/apps/adguardhome/settings.yml

Then use it like this:
address: 127.0.0.1:PORT
In the AdGuard home config file

I believe it’s upstream as well. Seeing the upgrade script, I don’t see how it can behave this way.
What’s more concerning is the lack of nginx config generation. Hence even when the yaml is corrected you can’t access the admin pages.

okay no, i was wrong, the update process does affect this part of the config file

can you try this update and tell me if it fixes your issue?
if not, please give me the logs!

yunohost app upgrade adguardhome -u https://github.com/YunoHost-Apps/adguardhome_ynh/tree/testing --force --debug

I did the upgrade, and still erroneous value for the address. And still no nginx configuration file created.

http:
  address: 1
  pprof:
    enabled: false
    port: 6060
    session_ttl: 720h

Here is the log:
https://paste.yunohost.org/raw/logarovobu

Hey,
I had your same problem with AdGuard and I fixed it by setting the address parameter to the value it had in the backup file: in your case, that would be 127.0.0.1:32240.

After that, the service could start correctly, although I had to set the admin password again via the Yunohost admin panel, as I was getting an authentication error when trying to access AdGuard’s control panel.

auth: retrieving user from request err="getting user from request: invalid username or password"

After that, everything seems to be working correctly again.

Hope this helps!

Thanks for the suggestion, and it did starts now.
However I still cannot see the admin page because nginx says :502 bad gateway.
This is not surprising as I couldn’t find the nginx config created for adguardhome.

So I’ll wait for a real fix and just support the unwanted adds until then!

You’re welcome :slightly_smiling_face:

Yeah, I read that and unfortunately I cannot help with that…and that’s why I was replying to @ghose :grimacing: Maybe I should have quoted his message, to make this a bit clearer.

Anyways, have you tried to get the nginx’s conf file from the backup archive for AdGuard?
In my case, the file’s there in its folder (apps/adguardhome/backup/etc/nginx/).
I guess that copying the folder containing it to your server and restarting nginx could do the trick.