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 .. 32 33 34 35 36 37 38 39 40 41 42 .. 83 Next › Last »

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!

max.bra commented on 2019-10-16 15:32 (UTC)

hi alephZer0, please check the first pinned comment on this page.

If it's not your case, can you pastebin (or any other service) this?

    ls -l /etc/pihole