Package Details: pi-hole-core 6.0.6-1

Git Clone URL: https://aur.archlinux.org/pi-hole-core.git (read-only, click to copy)
Package Base: pi-hole-core
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
Licenses: EUPL-1.2
Conflicts: pi-hole-server, pi-hole-standalone
Provides: pi-hole-server, pi-hole-standalone
Submitter: max.bra
Maintainer: max.bra (graysky)
Last Packager: max.bra
Votes: 119
Popularity: 1.93
First Submitted: 2025-02-21 17:31 (UTC)
Last Updated: 2025-03-30 17:07 (UTC)

Pinned Comments

max.bra commented on 2025-02-21 21:44 (UTC)

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 2025-02-21 17:56 (UTC)

to update to pi-hole 6, please use pi-hole-core pi-hole-ftl and pi-hole-web packages.

Latest Comments

« First ‹ Previous 1 .. 36 37 38 39 40 41 42 43 44 45 46 .. 87 Next › Last »

beedaddy commented on 2020-02-25 08:00 (UTC)

My guess is that DanSman experienced the same problem I did (see my comment from 2019-12-03 07:52). The solution was to downgrade from php 7.4 to 7.3.

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?