Package Details: pi-hole-server 4.0-9

Git Clone URL: https://aur.archlinux.org/pi-hole-server.git (read-only)
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.1
Conflicts: pi-hole-standalone
Submitter: max.bra
Maintainer: max.bra (graysky)
Last Packager: max.bra
Votes: 43
Popularity: 4.366973
First Submitted: 2016-01-13 12:50
Last Updated: 2018-09-22 07:59

Pinned Comments

max.bra commented on 2018-02-09 16:45

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

1 2 3 4 5 6 ... Next › Last »

j1simon commented on 2018-09-18 12:47

About the previous error I have commented: Error message: file_put_contents(/etc/pihole/regex.list): failed to open stream: Permission denied

I think the problem is that /etc/pihole/regex.list isn't created by the AUR package when it is installed. I see the other list files are created empty.

EDIT: In any case, It's solved by adding it with the command pihole (on console).

max.bra commented on 2018-09-18 07:24

@tsago updated without version bump. thanks for reporting.

tsago commented on 2018-09-17 20:38

Hi there! On my raspi, the default lighttpd config for pi-hole fails to start (just re-installed from scratch), systemctl logs:
Sep 17 21:53:13 alarmpi lighttpd-angel[270]: 2018-09-17 21:53:13: (configfile.c.1451) pclose "cat external.conf 2>/dev/null"failed: Success
Sep 17 21:53:13 alarmpi lighttpd-angel[270]: 2018-09-17 21:53:13: (configfile.c.1289) source: /etc/lighttpd/lighttpd.conf line: 90 pos: 1 parser failed somehow near here: (EOL)
Sep 17 21:53:13 alarmpi lighttpd-angel[270]: lighttpd-angel.c.148: child (pid=273) exited normally with exitcode: 255

Works after I comment out the last line on the config file (include_shell "cat external.conf 2>/dev/null").
Not sure if it's a general issue, or just my system. (don't have another box to re-test)

j1simon commented on 2018-09-17 14:23

@max.bra I think you've misunderstood me and that's not the point.
This is the AUR package page of a project developed for another people. The comments section of this page is very limited in terms of features (this is not a support forum nor a bugtracker).
Errors and doubts about the AUR package should be reported here, but not about the project itself.
Is there any developer of the Pi-hole project involved in this package? The answer is no (https://discourse.pi-hole.net/t/a-few-arch-linux-specific-questions-issues/6396/3). If I detect an error in this program and report it in the Pi-hole bugtracker they will tell me that this distro is not supported. And if I report it here, it won't do any good because there is no project developer here.
I don't understand Pi-hole's refusal to support a distro like Arch Linux since they know about the existence of this package and if someone from Arch asks in their forum/bugtracker they direct to this page.
That's why I ask its developers to check this AUR package and support this distro. And I put that comment with the URL to the feature request here because I think it's relevant and if anyone wants to support it.

max.bra commented on 2018-09-17 13:22

if someone is not happy with this page support there is another solution:

wipe hdd/sd/ssd/whatever, install raspbian/debian/ubuntu/fedora/centos and install official Pi-hole by

curl -sSL <https://install.pi-hole.net> | bash

j1simon commented on 2018-09-17 12:56

I've opened a feature request in Pi-hole forum to request official support for this AUR package and distro: https://discourse.pi-hole.net/t/support-for-arch-linux-and-derivatives/12949

j1simon commented on 2018-09-16 13:55

I'm trying to add a domain (with wildcard) to black list (from web interface) but it shows this error:

Failure! Something went wrong.
Unable to add regex "(^|\.)netflix\.com$" to /etc/pihole/regex.list
Error message: file_put_contents(/etc/pihole/regex.list): failed to open stream: Permission denied

This is the content of that folder:

total 12M
-rw-r--r-- 1 root   root    381 sep 15 14:24 adlists.list
-rw-r--r-- 1 root   root      0 sep 15 15:16 black.list
-rw-r--r-- 1 root   root      0 sep 15 14:24 blacklist.txt
-rw-r--r-- 1 root   root    457 sep 16 15:09 dhcp.leases
-rw-r--r-- 1 root   root   2,9M sep 15 15:16 gravity.list
-rw------- 1 root   root   1,7M sep 15 15:16 list.0.raw.githubusercontent.com.domains
-rw------- 1 root   root   581K sep 15 14:24 list.1.mirror1.malwaredomains.com.domains
-rw------- 1 root   root   624K sep 15 14:24 list.2.sysctl.org.domains
-rw------- 1 root   root   7,1K sep 15 14:24 list.3.zeustracker.abuse.ch.domains
-rw------- 1 root   root    613 sep 15 14:24 list.4.s3.amazonaws.com.domains
-rw------- 1 root   root    43K sep 15 14:24 list.5.s3.amazonaws.com.domains
-rw------- 1 root   root   1,7M sep 15 14:24 list.6.hosts-file.net.domains
-rw-r--r-- 1 root   root   2,9M sep 15 15:16 list.preEventHorizon
-rw-r--r-- 1 root   root     42 sep 15 15:16 local.list
-rw-r--r-- 1 root   root    240 sep 15 14:24 logrotate
-rw-r--r-- 1 root   root   2,5K sep 15 15:29 pihole-FTL.conf
-rw-r--r-- 1 nobody nobody 1,4M sep 16 15:30 pihole-FTL.db
-rw-r--r-- 1 root   root    422 sep 15 15:31 setupVars.conf
-rw-r--r-- 1 root   root      0 sep 15 14:24 whitelist.txt

max.bra commented on 2018-09-07 10:09

api.php want to exec:

exec('sudo pihole disable');
exec("sudo pihole disable ".$disable."s");

exec('sudo pihole enable');

footer.js performs accordingly and respectively:

piholeChange("disable","0");
piholeChange("disable","10");
piholeChange("disable","30");
piholeChange("disable","300");

piholeChange("enable","");

everything is terminal executed correctly.

there is no reason why something should not work. ideas?

max.bra commented on 2018-09-06 10:08

@graysky mmm, true. for me disable option is working but re-enable not, until FTL manual restart.

graysky commented on 2018-09-05 20:35

@max.bra - Does the "disable for 5 min" option work for you? It does not for me.