Package Details: pi-hole-server 5.18.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.2
Conflicts: pi-hole-standalone
Submitter: max.bra
Maintainer: max.bra (graysky)
Last Packager: max.bra
Votes: 115
Popularity: 1.68
First Submitted: 2016-01-13 12:50 (UTC)
Last Updated: 2025-01-16 11:35 (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 .. 20 21 22 23 24 25 26 27 28 29 30 .. 83 Next › Last »

ALoTron commented on 2020-09-10 15:30 (UTC)

@PS0 It seems like changing the path fixed it. Thanks for the help.

In addition to changing given path from /sys/class/thermal/thermal_zone0/temp to /sys/class/thermal Pi-Hole showed the same error message for /var/log/apache2/error.log. This path is not mentioned in the open_basedir section in the ArchWiki. Maybe it should be added to the rest?

ArchPCK commented on 2020-09-10 15:09 (UTC) (edited on 2020-09-10 15:16 (UTC) by ArchPCK)

@max.bra Yes I am using the config file provided by the package. I will try to find out more now

Edit: Ok I am so sorry, my setup script somehow failed to edit /etc/php/php.ini and did not uncomment the three modules... Sorry for wasting your time... And thanks for your support. Do you have a way I can donate to you?

max.bra commented on 2020-09-10 14:58 (UTC) (edited on 2020-09-10 14:58 (UTC) by max.bra)

@ArchPCK - seems only the php configuration in your lighttpd remains to be checked... followed pi-hole arch wiki? do you use lighttpd conf file provided with this package?

or better, is php functional in your web server? (your screenshot fail on first php content...)

ArchPCK commented on 2020-09-10 13:20 (UTC) (edited on 2020-09-10 13:22 (UTC) by ArchPCK)

@max.bra: yeah it shows the following:

[user@repolinux ~]$ sqlite3 /etc/pihole/gravity.db 'VACUUM;'
Error: attempt to write a readonly database

with sudo it shows no error, and I can rebuild it without any problems.

PS0 commented on 2020-09-10 09:18 (UTC)

@ALoTron I guess open_basedir doesn't deal with non-existing directories. Try changing it to the first existing parent directory (e.g. /sys/class/thermal/).

max.bra commented on 2020-09-10 07:44 (UTC) (edited on 2020-09-10 07:45 (UTC) by max.bra)

# sqlite3 /etc/pihole/gravity.db 'VACUUM;'

ArchPCK commented on 2020-09-10 00:11 (UTC) (edited on 2020-09-10 00:50 (UTC) by ArchPCK)

@max.bra: my pihole.log: https://pastebin.pl/view/cf2650ab

some screenshots: https://postimg.cc/gallery/zh2KzpH

No idea how to vacuum the gravity.db. I cant find anything in settings. Could you maybe give me an idea how to do it?

Updating the adlists in pihole web admin (update gravity) works just fine and it shows the output too.

Thanks for your time and work.

EDIT: it looks like its a lighttpd server error: https://postimg.cc/K4Lhtymn But logs are emtpy. I will try to find out more after taking a nap.

ALoTron commented on 2020-09-09 20:19 (UTC)

@PS0 Nope, there is nothing at the given path, no symlink or file.

PS0 commented on 2020-09-09 14:10 (UTC)

@ALoTron: You have to put the real path(s) in open_basedir (without symlinks). The path /sys/class/thermal/thermal_zone0 is a symlink.

ALoTron commented on 2020-09-08 01:43 (UTC)

I have a problem with the open_basedir restriction. I added the paths given by the Archwiki but the web interface generates the following error message:

There was a problem applying your settings.
Debugging information:
PHP error (2): file_exists(): open_basedir restriction in effect. File(/sys/class/thermal/thermal_zone0/temp) is not within the allowed path(s): (/srv/http/pihole/:/run/pihole-ftl/pihole-FTL.port:/run/log/pihole/pihole.log:/run/log/pihole-ftl/pihole-FTL.log:/etc/pihole:/etc/hosts:/etc/hostname:/etc/dnsmasq.d/02-pihole-dhcp.conf:/etc/dnsmasq.d/03-pihole-wildcard.conf:/etc/dnsmasq.d/04-pihole-static-dhcp.conf:/proc/meminfo:/proc/cpuinfo:/sys/class/thermal/thermal_zone0/temp:/tmp:/sys/class/hwmon/hwmon0/temp1_input) in /srv/http/pihole/admin/scripts/pi-hole/php/header.php:25

For some reason it claims a path is missing, but in the same error message it shows this path in the open_basedir entry.