Package Details: pi-hole-server 5.18.3-4

Git Clone URL: https://aur.archlinux.org/pi-hole-server.git (read-only, click to copy)
Package Base: pi-hole-server
Description: The Pi-hole is an advertising-aware DNS/Web server. Arch adaptation for lan wide DNS server.
Upstream URL: https://github.com/pi-hole/pi-hole
Keywords: ad block pi-hole
Licenses: EUPL-1.2
Conflicts: pi-hole-standalone
Submitter: max.bra
Maintainer: max.bra (graysky)
Last Packager: max.bra
Votes: 112
Popularity: 0.126624
First Submitted: 2016-01-13 12:50 (UTC)
Last Updated: 2024-08-10 12:32 (UTC)

Dependencies (18)

Required by (2)

Sources (15)

Pinned Comments

max.bra commented on 2018-02-09 16:45 (UTC) (edited on 2019-10-18 23:14 (UTC) by max.bra)

ArchLinux Pi-hole is not officially supported by Pi-hole project. In case of bugs and malfunctions please DO NOT file a report upstream.

First of all check if the wiki (https://wiki.archlinux.org/index.php/Pi-hole) can help then ask here for assistance and tips.
When it will be excluded that the problem does not depend on ArchLinux we will file a bug upstream.

Latest Comments

« First ‹ Previous 1 .. 73 74 75 76 77 78 79 80 81 82 Next › Last »

max.bra commented on 2016-02-18 11:38 (UTC)

done. @tdkl can you try this? .... piLog="/run/log/pihole.log" gravity="/etc/pihole/gravity.list" today=$(LC_TIME=C date "+%b %e") ....

tdkl commented on 2016-02-18 11:01 (UTC)

@max.bra : it seems the main issue is that in my locale: [tdkl@pogo ~]$ date "+%b %e" feb 18 Gives out month name started with a non-capital letter. While the ones in pihole.log are started with the capital letter for the short name of the month : Feb 18 11:59:43 dnsmasq[239]: cached pool.ntp.org is 46.54.225.12 So I'd have to change the date output somehow to put out the capital letter to avoid changing the date locale. Linux ¯\_(ツ)_/¯

tdkl commented on 2016-02-18 10:56 (UTC)

@max.bra : bingo, I think you've found the issue. [tdkl@pogo log]$ cat "/run/log/pihole.log" | grep "$today" | awk '/query/ {print $6}' | wc -l Although I derped and forgot to change the variable for $today to an actual value when testing in terminal, just as for pihole.log, this didn't result in 0 value. But if I use the date on my machine : [tdkl@pogo ~]$ date "+%b %e" feb 18 Which is a result of my locale. I changed locales a bit when setting up subliminal package, so I guess I need to change the date one back to UTF8.en. Thanks for the time and the tip :]

max.bra commented on 2016-02-18 10:49 (UTC)

@tdkl (second-last) given this: > [tdkl@pogo log]$ cat "/run/log/pihole.log" | grep "$today" | awk '/query/ {print $6}' | wc -l > 4000 it is definitely a bc rounding problem, but why? your locale/locale conf?

max.bra commented on 2016-02-18 10:41 (UTC)

@tdkl (last one) I saw an excessive filtration and was considering removing the latest updates of the list; given the reporting and the commits I do it as soon as possible.

tdkl commented on 2016-02-18 10:32 (UTC)

@max.bra: Wanted to report this separately, there were 2 commits who remove 2 default lists. One of them is empty, but one of them breaks sites. I was wondering why http://feedly.com was suddenly down for couple days, but didn't thought it could be the pihole blocking it. After removing the site, I could access it again. So IMHO those two commits should be pushed as an update. Empty list: https://github.com/pi-hole/pi-hole/commit/c4fc2e089d78daef76a10fb60eb10f568013b956 Blocks extra content: https://github.com/pi-hole/pi-hole/commit/f8897942f3e7e13335247af7a7ada666349a000f

tdkl commented on 2016-02-18 10:31 (UTC)

@max.bra : Nope, queries are logged fine to /run/log/pihole.log [tdkl@pogo log]$ tail -n5 pihole.log Feb 18 11:12:00 dnsmasq[239]: query[A] vortex-win.data.microsoft.com from 192.168.1.20 Feb 18 11:12:00 dnsmasq[239]: /etc/pihole/gravity.list vortex-win.data.microsoft.com is 192.168.1.2 Feb 18 11:12:02 dnsmasq[239]: query[A] pool.ntp.org from 192.168.1.50 Feb 18 11:12:02 dnsmasq[239]: cached pool.ntp.org is 93.103.22.152 Feb 18 11:12:02 dnsmasq[239]: cached pool.ntp.org is 46.54.225.12 Also nothing changed regarding dnsmasq.conf. I use an additional .conf for pihole, so I've added this at the end of dnsmasq.conf: # Include another lot of configuration options. conf-dir=/etc/dnsmasq.d Then have a special pihole.conf there: [tdkl@pogo log]$ cat /etc/dnsmasq.d/pihole.conf addn-hosts=/etc/pihole/gravity.list cache-size=10000 log-queries log-facility=/run/log/pihole.log log-async So no clue. I've checked the chronometer.sh and piLog var is set to /run/log/pihole.log. Running the part of the function CalcQueriesToday() manually gives out proper result: [tdkl@pogo log]$ cat "/run/log/pihole.log" | grep "$today" | awk '/query/ {print $6}' | wc -l 4000 Function CalcPercentBlockedToday() gives out 0, because apparently $queriesToday calculated in upper function is 0. But running the chronometer.sh gives out 0: [tdkl@pogo ~]$ /usr/bin/chronometer.sh -j {"domains_being_blocked":"145787","dns_queries_today":"0","ads_blocked_today":"240","ads_percentage_today":"0"} Shouldn't also be a read permission issue for pihole.log: -rw-r--r-- 1 dnsmasq root 1061770 feb 18 11:25 pihole.log

max.bra commented on 2016-02-17 21:41 (UTC)

weird... does your dnsmasq log queries to /run/log/pihole.log? maybe an unintentional overwriting/modification of main .conf or include part?

tdkl commented on 2016-02-17 15:01 (UTC)

@max.bra : even after one day, those numbers are at zero, while the ads blocked indicator increments. Not a big deal though, will see how it behaves in the future.

max.bra commented on 2016-02-16 21:30 (UTC)

@tdkl: no, admin website regular here... maybe your log was truncated at that precise moment?