Package Details: pi-hole-server 5.18.2-1

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: 1.44
First Submitted: 2016-01-13 12:50 (UTC)
Last Updated: 2024-04-01 18:11 (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 .. 71 72 73 74 75 76 77 78 79 80 Next › Last »

max.bra commented on 2016-02-18 12:30 (UTC)

... continued maybe you should force locale for that subliminal package... standard wins!!

max.bra commented on 2016-02-18 12:27 (UTC)

@tdkl for system wide locale changes you should apply a reboot problem is not your locale, but dnsmasq that seems not to honor it let's see what happens when you apply all your relevant locales to a standard en_US.UTF-8 and reboot your pogo...

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

@max.bra: Interestingly if I set LC_TIME to default LANG which is en_US.UTF-8: [tdkl@pogo system]$ locale LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 LC_TIME="en_US.UTF-8" LC_COLLATE=C LC_ALL= The default chronometer.sh still works: [tdkl@pogo system]$ /usr/bin/chronometer.sh -j {"domains_being_blocked":"145791","dns_queries_today":"4971","ads_blocked_today":"340","ads_percentage_today":"6.83"} But the admin website displays 0 again. If I add your change to display date with C in chronometer.sh, the website works. This is really odd because the JSON output clearly gives out the numbers, but website doesn't display them.

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

@max.bra: sweet, this displays the date with capital letter and DNS queries and blocked % is displayed again :] Thanks a lot. I don't imagine you'll set this to chronometer.sh for everyone though. Do you suggest I change the LC_TIME locale back to C, so I don't have to edit the chronometer.sh at each update ?

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