AdGuardHome
AdGuardHome copied to clipboard
V0.107.62 update failed
Prerequisites
-
[x] I have checked the Wiki and Discussions and found no answer
-
[x] I have searched other issues and found no duplicates
-
[x] I want to report a bug and not ask a question or ask for help
-
[x] I have set up AdGuard Home correctly and configured clients to use it. (Use the Discussions for help with installing and configuring clients.)
Platform (OS and CPU architecture)
Linux, AMD64 (aka x86_64)
Installation
Docker
Setup
On one machine
AdGuard Home version
V0.107.62
Action
I updated from V0.107.61 to V0.107.62 via docker pull command. Usually, it works perfectly fine but not this time
adguardhome | 2025/05/31 23:02:55.989284 [info] AdGuard Home, version v0.107.62
adguardhome | 2025/05/31 23:02:56.009015 [info] tls_manager: using default ciphers
adguardhome | 2025/05/31 23:02:56.023864 [info] Initializing auth module: /opt/adguardhome/work/data/sessions.db
adguardhome | 2025/05/31 23:02:56.024232 [info] auth: initialized. users:1 sessions:0
adguardhome | 2025/05/31 23:02:56.024337 [info] webapi: initializing
adguardhome | 2025/05/31 23:02:56.194808 [error] closing query log: flushing log buffer: nothing to write to a file
adguardhome | 2025/05/31 23:02:56.194847 [fatal] newServerConfig: constructing tls config: parsing tls key pair: tls: failed to find any PEM data in certificate input
adguardhome exited with code 0
Below, my tls section
tls:
enabled: true
server_name: ""
force_https: false
port_https: 443
port_dns_over_tls: 853
port_dns_over_quic: 853
port_dnscrypt: 14443
dnscrypt_config_file: /opt/adguardhome/conf/dnscrypt.yaml
allow_unencrypted_doh: false
certificate_chain: ""
private_key: ""
certificate_path: ""
private_key_path: ""
strict_sni_check: false
I do not use DoH, only DNSCrypt. According to the documentation, there is nothing more to add. https://github.com/AdguardTeam/Adguardhome/wiki/DNSCrypt
Expected result
V0.107.62 to work like previous working version
Actual result
No errors at start-up
Additional information and/or screenshots
This issue looks very similar to https://github.com/AdguardTeam/AdGuardHome/issues/7773
As a work around, I have set
allow_unencrypted_doh: true
V0.107.62 is now starting correctly. What bother me, I do not use DoH and this setting was not used previously.
Thanks I agree that's a duplicate of https://github.com/AdguardTeam/AdGuardHome/issues/7773
Apologies, I see that issue is closed and you've been asked to open a new ticket.
No worries.
It looks slightly different as I do not use DoH at all, only DNSCrypt
Yesterday, on 23 Jun I also faced the same issue on V0.107.62. After I updated the version from V0.107.61 Its worked fine for 2-3 days. Suddenly it stopped working showing "Update checked failed, Please check your internet connection" Only WhatsApp is working for sending messages. I checked My internet is working fine. It is installed on raspberry pi 3B+, internet is working fine on raspberry pi as i was able ping and update, only the issue is with adguard. If there is an easy fix I would really like to know.
This happened to me after updating my Proxmox LXC adguard container, which has been working fine for almost 7 months. I got the same error message after updating to .72, and switching that flag to true is working again.
I've never touched the config manually before, only editing settings through the UI.
My config, after manually turning allow_unencrypted_doh to true, no other changes:
tls:
enabled: true
server_name: adguard.<mydomain>
force_https: false
port_https: 443
port_dns_over_tls: 853
port_dns_over_quic: 853
port_dnscrypt: 0
dnscrypt_config_file: ""
allow_unencrypted_doh: true
certificate_chain: ""
private_key: ""
certificate_path: ""
private_key_path: ""
strict_sni_check: false
It didn't work, then i tried v0.108.0-b.71 and still the same issue. Downgrading to v0.107.61 is also not working.
At last I was exhausted and not able to find the right solution. All New versions AFTER V0.107.61 is not working as well as beta versions. Only shows, "Update checked failed, Please check your internet connection". I tried uninstalling and installing V0.107.61 then the page won't open up its just say refuse to connect. At last, after trying everything within my knowledge, nothing seems to be working. Then I uninstall the Adguard then installed docker and install the Adguard V0.107.61 container in it. Now everything is working smoothly. I adore Adguard very much but I guess I will have to wait till Adguard have its stable release 😁
@schzhn, the TLS configuration logic should be modified to check the DSNCrypt configuration as well before reading the certificate for the main protocols.
Fixed in the edge release (binary for your platform).
@schzhn
Thanks for the fix. I just tried latest edge version and everything is running as expected
No need anymore to set
allow_unencrypted_doh: true
when using DNSCrypt only