Package Details: adguardhome 1:0.107.50-1

Git Clone URL: https://aur.archlinux.org/adguardhome.git (read-only, click to copy)
Package Base: adguardhome
Description: Network-wide ads and trackers blocking DNS server
Upstream URL: https://github.com/AdguardTeam/AdGuardHome
Keywords: adblocker blocker dns
Licenses: GPL-2.0-only
Submitter: graysky
Maintainer: anonfunc
Last Packager: anonfunc
Votes: 20
Popularity: 0.004899
First Submitted: 2019-12-22 11:00 (UTC)
Last Updated: 2024-05-25 16:43 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 Next › Last »

bhedrich commented on 2022-11-07 15:35 (UTC)

@anonfunc: https://github.com/AdguardTeam/AdGuardHome/issues/5089#issuecomment-1305784765

I tried it with:

diff --git a/PKGBUILD b/PKGBUILD
index 421ac76..5815d20 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,32 +4,32 @@
 pkgname=adguardhome
 _pkgname=AdGuardHome
 pkgver=0.107.17
-pkgrel=1
+pkgrel=2
 epoch=1
 pkgdesc="Network-wide ads and trackers blocking DNS server"
 arch=(x86_64 aarch64 armv7h armv6h)
 url="https://github.com/AdguardTeam/AdGuardHome"
 license=('GPL')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/AdguardTeam/AdGuardHome/archive/v$pkgver.tar.gz"
+source=("$pkgname-$pkgver.tar.gz::https://github.com/AdguardTeam/AdGuardHome/archive/464fbf0b543e6bc52eba0d5fdb305658e5669b68.tar.gz"
         "$pkgname.service"
         "$pkgname.defaults"
 )
 makedepends=(go 'nodejs<17' npm yarn git)
 depends=(glibc)
 backup=('etc/default/adguardhome')
-b2sums=('b18718cde5fb04417b752d492bcfb25238975a41ecc6a2898db5a75b94f6d059965bb3a9acd24056a7ad474275b66e3a4a32d6121be5e5b05e2daaf027dacd59'
+b2sums=('SKIP'
         'd55d1667916e291b201dde5bd0a5d2d6dd16c654ecec4ea47c4a3a54b898e7008ba0538c9d5a4c7572cc304cc625b39accd69692766c1618890efff88e96e5a0'
         'ec3a3cd8debae4dcb4a723ef2ba31960aa1f897e2f8c857fcf9861bc7959072b22fed3091c0d07084c280be0755d03bf6ca4fef5f2d08ae20397378e13cf9c9b')

 prepare() {
-  cd "$_pkgname-$pkgver"
+  cd "$_pkgname-464fbf0b543e6bc52eba0d5fdb305658e5669b68"
   npm --prefix client ci
   yarn --cwd client2 install
   go mod download
 }

 build() {
-  cd "$_pkgname-$pkgver"
+  cd "$_pkgname-464fbf0b543e6bc52eba0d5fdb305658e5669b68"
   npm --prefix client run build-prod
   yarn --cwd client2 build
   go build \
@@ -42,7 +42,7 @@ build() {
 }

 package() {
-  install -Dm755 "$_pkgname-$pkgver/$pkgname" "$pkgdir/usr/bin/$pkgname"
+  install -Dm755 "$_pkgname-464fbf0b543e6bc52eba0d5fdb305658e5669b68/$pkgname" "$pkgdir/usr/bin/$pkgname"
   install -Dm644 "$pkgname.service" "$pkgdir/usr/lib/systemd/system/$pkgname.service"
   install -Dm644 "$srcdir"/$pkgname.defaults "$pkgdir/etc/default/$pkgname"
 }

bhedrich commented on 2022-11-07 07:31 (UTC)

@anonfunc: Nothing changed. There are several people with different OS's (Windows etc.) who have the same issue.

https://github.com/AdguardTeam/AdGuardHome/issues/5089

anonfunc commented on 2022-11-04 11:40 (UTC)

@bhedrich Did you try e.g. sysctl -w net.core.rmem_max=2500000 to increase receive buffer size?

bhedrich commented on 2022-11-04 09:41 (UTC) (edited on 2022-11-04 09:56 (UTC) by bhedrich)

Archlinux Arm aarch64: 0.117.17 failed to start with

Nov 04 10:37:10 helium systemd[1]: Started AdGuard Home: Network-level blocker.
Nov 04 10:37:11 helium adguardhome[38110]: 2022/11/04 10:37:11.040763 [info] AdGuard Home, version v0.107.17
Nov 04 10:37:11 helium adguardhome[38110]: 2022/11/04 10:37:11.047137 [info] tls: using default ciphers
Nov 04 10:37:11 helium adguardhome[38110]: 2022/11/04 10:37:11.049646 [info] dhcp: loaded leases v4:22  v6:2  total-read:24 from DB
Nov 04 10:37:11 helium adguardhome[38110]: 2022/11/04 10:37:11.062757 [info] Initializing auth module: /var/lib/private/adguardhome/data/sessions.db
Nov 04 10:37:11 helium adguardhome[38110]: 2022/11/04 10:37:11.063106 [info] auth: initialized.  users:1  sessions:1
Nov 04 10:37:11 helium adguardhome[38110]: 2022/11/04 10:37:11.063162 [info] web: initializing
Nov 04 10:37:11 helium adguardhome[38110]: 2022/11/04 10:37:11.200275 [info] DNS cache is enabled
Nov 04 10:37:11 helium adguardhome[38110]: 2022/11/04 10:37:11.200329 [info] MaxGoroutines is set to 300
Nov 04 10:37:11 helium adguardhome[38110]: 2022/11/04 10:37:11.200663 [info] AdGuard Home is available at the following addresses:
Nov 04 10:37:11 helium adguardhome[38110]: 2022/11/04 10:37:11.200699 [info] Go to http://127.0.0.1:3000
Nov 04 10:37:12 helium adguardhome[38110]: 2022/11/04 10:37:12.603047 [info] Starting the DNS proxy server
Nov 04 10:37:12 helium adguardhome[38110]: 2022/11/04 10:37:12.603103 [info] Cache TTL override is enabled. Min=100, Max=10000
Nov 04 10:37:12 helium adguardhome[38110]: 2022/11/04 10:37:12.603116 [info] The server is configured to refuse ANY requests
Nov 04 10:37:12 helium adguardhome[38110]: 2022/11/04 10:37:12.603128 [info] DNS cache is enabled
Nov 04 10:37:12 helium adguardhome[38110]: 2022/11/04 10:37:12.603150 [info] MaxGoroutines is set to 300
Nov 04 10:37:12 helium adguardhome[38110]: 2022/11/04 10:37:12.603181 [info] Creating the UDP server socket
Nov 04 10:37:12 helium adguardhome[38110]: 2022/11/04 10:37:12.603400 [info] Listening to udp://10.0.0.2:53
Nov 04 10:37:12 helium adguardhome[38110]: 2022/11/04 10:37:12.603420 [info] Creating the UDP server socket
Nov 04 10:37:12 helium adguardhome[38110]: 2022/11/04 10:37:12.603507 [info] Listening to udp://[fd00::10:0:0:2]:53
Nov 04 10:37:12 helium adguardhome[38110]: 2022/11/04 10:37:12.603522 [info] Creating a TCP server socket
Nov 04 10:37:12 helium adguardhome[38110]: 2022/11/04 10:37:12.603592 [info] Listening to tcp://10.0.0.2:53
Nov 04 10:37:12 helium adguardhome[38110]: 2022/11/04 10:37:12.603606 [info] Creating a TCP server socket
Nov 04 10:37:12 helium adguardhome[38110]: 2022/11/04 10:37:12.603664 [info] Listening to tcp://[fd00::10:0:0:2]:53
Nov 04 10:37:12 helium adguardhome[38110]: 2022/11/04 10:37:12.603782 [info] Entering the UDP listener loop on [fd00::10:0:0:2]:53
Nov 04 10:37:12 helium adguardhome[38110]: 2022/11/04 10:37:12.603811 [info] Entering the tcp listener loop on 10.0.0.2:53
Nov 04 10:37:12 helium adguardhome[38110]: 2022/11/04 10:37:12.603913 [info] Entering the tcp listener loop on [fd00::10:0:0:2]:53
Nov 04 10:37:12 helium adguardhome[38110]: 2022/11/04 10:37:12.603940 [info] Entering the UDP listener loop on 10.0.0.2:53
Nov 04 10:37:12 helium adguardhome[38110]: 2022/11/04 10:37:12.651253 failed to sufficiently increase receive buffer size (was: 208 kiB, wanted: 2048 kiB, got: 416 kiB). See https://github.com/lucas-clemente/quic-go/wiki/U>
Nov 04 10:37:13 helium adguardhome[38110]: panic: runtime error: invalid memory address or nil pointer dereference
Nov 04 10:37:13 helium adguardhome[38110]: [signal SIGSEGV: segmentation violation code=0x1 addr=0x8 pc=0x55946a4080]
Nov 04 10:37:13 helium adguardhome[38110]: goroutine 266 [running]:
Nov 04 10:37:13 helium adguardhome[38110]: github.com/AdguardTeam/urlfilter.(*DNSEngine).MatchRequest(0x0, 0x400049d540)
Nov 04 10:37:13 helium adguardhome[38110]:         github.com/AdguardTeam/urlfilter@v0.16.0/dnsengine.go:131 +0x100
Nov 04 10:37:13 helium adguardhome[38110]: github.com/AdguardTeam/AdGuardHome/internal/aghnet.(*requestMatcher).MatchRequest(0x400030b880, 0x400049d540)
Nov 04 10:37:13 helium adguardhome[38110]:         github.com/AdguardTeam/AdGuardHome/internal/aghnet/hostscontainer.go:67 +0x144
Nov 04 10:37:13 helium adguardhome[38110]: github.com/AdguardTeam/AdGuardHome/internal/filtering.(*DNSFilter).matchSysHosts(0x4000337a00, {0x4001b458f0, 0x23}, 0x1, 0x4000230ea0)
Nov 04 10:37:13 helium adguardhome[38110]:         github.com/AdguardTeam/AdGuardHome/internal/filtering/filtering.go:513 +0xf0
Nov 04 10:37:13 helium adguardhome[38110]: github.com/AdguardTeam/AdGuardHome/internal/filtering.(*DNSFilter).CheckHost(0x4000337a00, {0x4001b458f0?, 0x400012e660?}, 0xda50?, 0x4000230ea0)
Nov 04 10:37:13 helium adguardhome[38110]:         github.com/AdguardTeam/AdGuardHome/internal/filtering/filtering.go:489 +0x244
Nov 04 10:37:13 helium adguardhome[38110]: github.com/AdguardTeam/AdGuardHome/internal/dnsforward.(*Server).filterDNSRequest(0x40000f8000, 0x400045c990)
Nov 04 10:37:13 helium adguardhome[38110]:         github.com/AdguardTeam/AdGuardHome/internal/dnsforward/filter.go:71 +0x120
Nov 04 10:37:13 helium adguardhome[38110]: github.com/AdguardTeam/AdGuardHome/internal/dnsforward.(*Server).processFilteringBeforeRequest(0x40000f8000?, 0x400045c990)
Nov 04 10:37:13 helium adguardhome[38110]:         github.com/AdguardTeam/AdGuardHome/internal/dnsforward/dns.go:597 +0xc8
Nov 04 10:37:13 helium adguardhome[38110]: github.com/AdguardTeam/AdGuardHome/internal/dnsforward.(*Server).handleDNSRequest(0x40000f8000, 0x6364dd49?, 0x4002010a00)
Nov 04 10:37:13 helium adguardhome[38110]:         github.com/AdguardTeam/AdGuardHome/internal/dnsforward/dns.go:115 +0x2a0
Nov 04 10:37:13 helium adguardhome[38110]: github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).handleDNSRequest(0x4000146380, 0x4002010a00)
Nov 04 10:37:13 helium adguardhome[38110]:         github.com/AdguardTeam/dnsproxy@v0.46.2/proxy/server.go:130 +0x364
Nov 04 10:37:13 helium adguardhome[38110]: github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).udpHandlePacket(0x4000146380, {0x400033e140, 0x35, 0x35}, {0x4001af0f24, 0x4, 0x4}, 0x4000690c90, 0x40000ba120)
Nov 04 10:37:13 helium adguardhome[38110]:         github.com/AdguardTeam/dnsproxy@v0.46.2/proxy/server_udp.go:109 +0x250
Nov 04 10:37:13 helium adguardhome[38110]: github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).udpPacketLoop.func1()
Nov 04 10:37:13 helium adguardhome[38110]:         github.com/AdguardTeam/dnsproxy@v0.46.2/proxy/server_udp.go:76 +0x50
Nov 04 10:37:13 helium adguardhome[38110]: created by github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).udpPacketLoop
Nov 04 10:37:13 helium adguardhome[38110]:         github.com/AdguardTeam/dnsproxy@v0.46.2/proxy/server_udp.go:75 +0x400
Nov 04 10:37:13 helium systemd[1]: adguardhome.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
Nov 04 10:37:13 helium systemd[1]: adguardhome.service: Failed with result 'exit-code'.
Nov 04 10:37:13 helium systemd[1]: adguardhome.service: Consumed 2.482s CPU time.

0.107.16 works fine. https://github.com/AdguardTeam/AdGuardHome/issues/5089

micjo commented on 2022-09-01 10:54 (UTC) (edited on 2022-09-01 10:55 (UTC) by micjo)

i have problems with the service launching at boot on an arch-based LXC. Changing the line:

After=syslog.target network-online.target

To

After=syslog.target network.target

Fixes the issue.

anonfunc commented on 2022-03-22 14:03 (UTC) (edited on 2022-08-21 18:07 (UTC) by anonfunc)

If you come from ≤0.107.5-1: systemd service has been renamed from AdGuardHome to adguardhome. You need to re-enable it after the update.

systemctl disable AdGuardHome && systemctl enable adguardhome

Flat commented on 2021-12-26 18:43 (UTC)

@anonfunc That does build without issues.

xyzabc123 commented on 2021-12-26 18:39 (UTC) (edited on 2021-12-26 22:31 (UTC) by xyzabc123)

@anonfunc: You are correct. I didn't notice the problem because I depend on nodejs-lts-gallium on my current setup.

@Flat @gleb.zhulik: Please consider filing a bug upstream https://github.com/AdguardTeam/AdGuardHome/issues/new/choose

@all: Merry Christmas Everyone

anonfunc commented on 2021-12-26 17:10 (UTC)

@Flat Try building with nodejs-lts-gallium.

Flat commented on 2021-12-26 16:47 (UTC) (edited on 2021-12-26 16:49 (UTC) by Flat)

This version doesn't build for me as well, in a clean chroot. Same 58 errors.

https://gist.github.com/Flat/14c07b2363f8959a95fc68202fba4736