Package Details: pi-hole-server 5.18.3-4

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.146054
First Submitted: 2016-01-13 12:50 (UTC)
Last Updated: 2024-08-10 12:32 (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 .. 31 32 33 34 35 36 37 38 39 40 41 .. 82 Next › Last »

max.bra commented on 2020-02-25 07:13 (UTC)

Hi DanSman, are you in a fresh install scenario?
Are logs saying something usefull?

The last 3 updates deal only with internal installation procedures which we do not actually use. It is therefore (nearly) impossible that the last package could have caused you such problems.

Did you follow the wiki in the web interface section, especially the one about PHP openbasedir (if you use it)?

beedaddy commented on 2019-12-03 07:52 (UTC) (edited on 2019-12-04 14:20 (UTC) by beedaddy)

I have a problem with a fresh installation on AArch64 using nginx as web server. The status on the admin page is "unknown" and it is not possible to save changes in settings. I set it up step by step according to the pi-hole Arch Wiki page.

The pihole-FTL service starts without problems. Also, the http user is fine (not in expired state).

The only error I noticed in journal log is:

[error] 448#448: *2498 FastCGI sent in stderr: "PHP message: PHP Notice  Trying to access array offset on value of type null /srv/http/pihole/admin/settings.php on line 23PHP message: PHP Notice:  Trying to access array offset on value of type null in /srv/http/pihole/admin/settings.php on line 23" while reading upstream, client: 192.168.178.202, server: _, request: "GET /admin/settings.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "myhost.local.net", referrer: "http://myhost.local.net/admin/"

Perhaps it's a problem with php 7.4?

EDIT: Indeed, downgrading to php 7.3 resolves the issue.

max.bra commented on 2019-11-19 10:06 (UTC)

so, assuming you have also done this (https://wiki.archlinux.org/index.php/Pi-hole#Set-up_PHP) and this (https://wiki.archlinux.org/index.php/Pi-hole#Set-up_lighttpd) you should only need to restart lighttpd...

DNAblue2112 commented on 2019-11-19 10:01 (UTC) (edited on 2019-11-19 10:03 (UTC) by DNAblue2112)

yes, I have installed and reinstalled them both in my troubleshooting efforts

EDIT: it seems to have started working, I was just restarting services and something must have reloaded its config or something because its all working fine now.

max.bra commented on 2019-11-19 09:50 (UTC)

mmm, are sqlite AND php-sqlite installed?

DNAblue2112 commented on 2019-11-19 09:44 (UTC) (edited on 2019-11-19 09:48 (UTC) by DNAblue2112)

I checked the permissions, they all look good.

It seems that it is an SQLite issue, I have followed the guide at https://wiki.archlinux.org/index.php/PHP#Sqlite yet I still found this error

Nov 19 20:11:36 server lighttpd-angel[268]: 2019-11-19 20:11:36: (mod_fastcgi.c.421) FastCGI-stderr: PHP Fatal error: Uncaught Error: Class 'SQLite3' not found in /srv/http/pihole/admin/api_db.php:71

Nov 19 20:11:36 server lighttpd-angel[268]: 2019-11-19 20:11:36: (mod_fastcgi.c.421) FastCGI-stderr: Stack trace:

Nov 19 20:11:36 server lighttpd-angel[268]: 2019-11-19 20:11:36: (mod_fastcgi.c.421) FastCGI-stderr: #0 /srv/http/pihole/admin/api_db.php(86): SQLite3_connect(true)

Nov 19 20:11:36 server lighttpd-angel[268]: 2019-11-19 20:11:36: (mod_fastcgi.c.421) FastCGI-stderr: #1 {main}

Nov 19 20:11:36 server lighttpd-angel[268]: 2019-11-19 20:11:36: (mod_fastcgi.c.421) FastCGI-stderr: thrown in /srv/http/pihole/admin/api_db.php on line 71

max.bra commented on 2019-11-19 09:38 (UTC) (edited on 2019-11-19 09:38 (UTC) by max.bra)

hi DNAblue2112, seems a permission problem. check /etc/pihole/* for files that are not owned by pihole user.
'journalctl -b' should provide any useful information.

DNAblue2112 commented on 2019-11-19 09:27 (UTC)

I receive an error whenever I attempt to access the networks tab or the long term data query log. Both errors are because of a 500 response from api_db.php In chrome console the error is as follows: api_db.php?network&_=1574155379457:1 Failed to load resource: the server responded with a status of 500 (Internal Server Error) I have made sure that SQLite is installed and enabled in PHP. Most functionality works so its not a massive problem but it would be nice to be able to use all of the features. What other error logs can I provide to help resolve this?

denisse commented on 2019-10-16 21:57 (UTC)

Thank you so much @Prakkie and @max.bra, the problem is solved now!