@ALoTron - mmh, /sys/class/thermal
seems to be a little bit generic, opening the entire sensors subsystem. maybe is better to replace the symlinked path /sys/class/thermal/thermal_zone0/temp
by /sys/devices/virtual/thermal/thermal_zone0/temp
Search Criteria
Package Details: pi-hole-server 5.18.3-4
Package Actions
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.134716 |
First Submitted: | 2016-01-13 12:50 (UTC) |
Last Updated: | 2024-08-10 12:32 (UTC) |
Dependencies (18)
- bc (bc-ghAUR)
- bind-tools (bind-developmentAUR, bind-gitAUR, bind)
- inetutils (inetutils-gitAUR, busybox-coreutilsAUR)
- iproute2 (iproute2-gitAUR, busybox-coreutilsAUR, iproute2-selinuxAUR)
- jq (jq-gitAUR)
- logrotate (logrotate-gitAUR, logrotate-selinuxAUR)
- lsof (lsof-gitAUR)
- netcat (nmap-netcatAUR, openbsd-netcat-gitAUR, gnu-netcat-svnAUR, gnu-netcat, openbsd-netcat)
- perl (perl-gitAUR)
- pi-hole-ftlAUR
- procps-ng (procps-ng-gitAUR, busybox-coreutilsAUR)
- sudo (fake-sudoAUR, polkit-fakesudoAUR, sudo-gitAUR, doas-sudo-shimAUR, doas-sudo-shim-minimalAUR, sudo-hgAUR, sudo-selinuxAUR, fudo-gitAUR)
- git (git-gitAUR, git-glAUR) (make)
- lighttpd (optional) – a secure, fast, compliant and very flexible web-server
- nginx-mainline (nginx-quic-openssl-hgAUR, nginx-quic-libresslAUR) (optional) – lightweight http server
- php-cgi (optional) – CGI and FCGI SAPI for PHP needed only for lighttpd
- php-fpm (optional) – FastCGI process manager for php needed for nginx
- php-sqlite (optional) – sqlite db access for nginx
Required by (2)
- padd-git
- pi-hole-whitelist-git (optional)
Sources (15)
- 01-pihole.conf
- https://raw.githubusercontent.com/max72bra/pi-hole-server-archlinux-customization/master/arch-server-admin-5.21-4.patch
- https://raw.githubusercontent.com/max72bra/pi-hole-server-archlinux-customization/master/arch-server-core-5.18.3-4.patch
- lighttpd.pi-hole.conf
- mimic_basic-install.sh
- mimic_setupVars.conf.sh
- nginx.pi-hole.conf
- pi-hole-gravity.service
- pi-hole-gravity.timer
- pi-hole-logtruncate.service
- pi-hole-logtruncate.timer
- pi-hole-server-admin-5.21.tar.gz
- pi-hole-server-core-5.18.3.tar.gz
- pi-hole.tmpfile
- piholeDebug.sh
Latest Comments
« First ‹ Previous 1 .. 19 20 21 22 23 24 25 26 27 28 29 .. 82 Next › Last »
max.bra commented on 2020-09-10 15:44 (UTC) (edited on 2020-09-10 15:48 (UTC) by max.bra)
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.
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.