AdguardTeam / AdGuardHome

Network-wide ads & trackers blocking DNS server
https://adguard.com/adguard-home/overview.html
GNU General Public License v3.0
25.55k stars 1.83k forks source link

I'm sorry to help, after updating the system, AGH stopped working. #5329

Closed fizsef closed 7 months ago

fizsef commented 1 year ago

Prerequisites

Description

Xiaomi Redmi Router AC2100 router. OpenWrt 22.03.3. Version AGH 107.21 Previously, on OpenWRT version 21.02.1, everything worked with the same settings. Installed a new version of OpenWRT, installed AGH, copied the AdGuard Home file.yaml and does not work. More precisely, the web interface loads, but AGH does not work. 1

Here are the settings 2 3

Contents of the log 2023/01/05 23:53:18.826228 [info] home: language is set to ru 2023/01/05 23:20:24.776644 [info] home: language is set to ru 2023/01/05 23:19:20.220074 [info] Entering the tcp listener loop on [::]:1745 2023/01/05 23:19:20.209109 [info] Entering the UDP listener loop on [::]:1745 2023/01/05 23:19:20.192496 [info] Listening to tcp://[::]:1745 2023/01/05 23:19:20.192134 [info] Creating a TCP server socket 2023/01/05 23:19:20.190394 [info] Listening to udp://[::]:1745 2023/01/05 23:19:20.160153 [info] Creating the UDP server socket 2023/01/05 23:19:20.156970 [info] MaxGoroutines is set to 300 2023/01/05 23:19:20.156778 [info] dnsproxy: cache: enabled, size 4194304 b 2023/01/05 23:19:20.154678 [info] Starting the DNS proxy server 2023/01/05 23:19:15.298624 [info] Received signal "hangup" 2023/01/05 23:19:11.509264 [info] Go to http://192.168.0.1:3000 2023/01/05 23:19:11.509033 [info] AdGuard Home is available at the following addresses: 2023/01/05 23:19:11.461080 [info] MaxGoroutines is set to 300 2023/01/05 23:19:11.459137 [info] dnsproxy: cache: enabled, size 4096 b 2023/01/05 23:18:36.771129 [info] web: initializing 2023/01/05 23:18:36.766135 [info] auth: initialized. users:1 sessions:1 2023/01/05 23:18:36.721732 [info] Initializing auth module: /usr/bin/AdGuardHome/data/sessions.db 2023/01/05 23:18:36.329429 [info] tls: using default ciphers 2023/01/05 23:18:36.123469 [info] AdGuard Home, version v0.107.21

Please help me fix it.

fizsef commented 1 year ago

I managed somehow , and it began to work . Added the line "list server '127.0.0.1#1745'" to the /etc/config/dhcp file. But, All requests shows as from Localhost (127.0.0.1) . How do I make sure that each client is displayed separately in statistics and in the log ?

1

ghost commented 7 months ago

Hi there, thanks for raising this. Are you still experiencing it?