Package Details: pi-hole-server 4.4-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.1
Conflicts: pi-hole-standalone
Submitter: max.bra
Maintainer: max.bra (graysky)
Last Packager: max.bra
Votes: 59
Popularity: 0.53
First Submitted: 2016-01-13 12:50
Last Updated: 2020-02-26 10:58

Pinned Comments

max.bra commented on 2019-10-16 15:28

Since switching to pihole user for pihole-FTL - long term data is not retained on my machine.

sir_randomuser said: For some reason account http has expired, which was the root cause. Seems to be due to a recent systemd change: https://bugs.archlinux.org/task/63704
Checking /etc/shadow, the user http had a trailing 1:

$ sudo cat /etc/shadow | grep http
http:!!:18174::::::1:

Removing the expiration date has resolved it:

$ sudo chage --expiredate -1 http

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.

max.bra commented on 2016-03-01 10:08

@tdkl @bolorino
yep yep. for me, i have no other web servers on my pi and my open_basedir is not set allowing all (following pihole setup)
can be improved...

tdkl commented on 2016-03-01 09:49

Just to chime in: I'm using the default lighttpd server and the admin panel didn't work until I added :/etc/pihole/:/run/log/ to open_basedir.

max.bra commented on 2016-03-01 09:33

@bolorino
reverting open_basedir can you try this?

http://pastebin.com/kSBMp7U9

p.s.: to be refined and improved

bolorino commented on 2016-02-29 23:42

@max.bra:
The problem was the open_basedir directive of PHP in /etc/php/php.ini

> mar 01 00:05:44 helicon nginx[1244]: PHP message: PHP Warning: file(/etc/pihole/gravity.list): failed to open stream: Operation not permitted in /srv/http/pihole/admin/data.php on line 144

The panel works fine after adding /etc/pihole/ and /run/log to open_basedir.

Using other “web apps” that store the configs needed in /etc/webapps/{app_name} (dokuwiki for example), but I don't know if this is good practise. I have no experience with AUR packaging.

To me it seems better having a single, unified path outside the webserver (/etc/webapps/ for instance) if needed, or even better, having none.

Anyway if the files needed for the panel to work are outside of the web server path (/srv/http for instance), you are going to need to give PHP access to them.

Sorry for any typos or mistakes. English is not my language. And thanks again :-)

max.bra commented on 2016-02-29 22:21

i never used nginx but seems not too difficult to integrate pi-hole in it.
if you agree, i'm available to insert an nginx include conf file, if feasible.
keep me posted.

bolorino commented on 2016-02-29 21:28

Well. More likely to be me using nginx along with lighttpd, which should not be neccesary in my setup. Will check.
Edit one word.

bolorino commented on 2016-02-29 21:23

@max.bra: Wow! Fast. Thank you :-)

There are some problems with the panel not showing the information and empty widgets.

It seems to be related to open_basedir restrictions.
The paths are:
/etc/pihole/gravity.list
/run/log/pihole.log

I will check my PHP config and the lighthttp one.

max.bra commented on 2016-02-29 21:05

aaargh! i was really fall behind with php interface!!
thanks for reporting.
updated: let me know if something is not working.

bolorino commented on 2016-02-29 19:02

There is a nice update for the Admin panel (AdminLTE), 1.0.1:
https://pi-hole.net/pi-hole-2-5-3-released/

Would it be possible to include it with the pi-hole v2.5.3?

Thanks!

max.bra commented on 2016-02-18 12:49

> But I guess it's better to leave LC_TIME to en_US.UTF-8 to avoid problems shown today with the capital letter for the month.
sure!

> Regarding the subliminal package, it's a python package that requires some other python packages, which some failed to compile because I didn't have the proper locale set at the time.
if they are so squeamish you can apply the LC_*DUMMY*=C %command% trick to configure and or make commands of their PKGBUILDs