@max.bra: Wow! Fast. Thank you :-)
There are some problems with the panel not showing the information and empty widgets.
It seems to be related to open_basedir restrictions.
The paths are:
/etc/pihole/gravity.list
/run/log/pihole.log
I will check my PHP config and the lighthttp one.
Search Criteria
Package Details: pi-hole-core 6.0.4-1
Package Actions
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: | 118 |
Popularity: | 5.95 |
First Submitted: | 2025-02-21 17:31 (UTC) |
Last Updated: | 2025-02-23 16:50 (UTC) |
Dependencies (11)
- bind (bind-gitAUR)
- git (git-gitAUR, git-glAUR)
- inetutils (inetutils-gitAUR, busybox-coreutilsAUR)
- iproute2 (iproute2-gitAUR, busybox-coreutilsAUR, iproute2-selinuxAUR)
- jq (jq-gitAUR, jaq-binAUR)
- logrotate (logrotate-gitAUR, logrotate-selinuxAUR)
- lsof (lsof-gitAUR)
- netcat (nmap-netcatAUR, openbsd-netcat-gitAUR, gnu-netcat-svnAUR, gnu-netcat, openbsd-netcat)
- pi-hole-ftlAUR
- procps-ng (busybox-coreutilsAUR, procps-ng-gitAUR)
- sudo (fake-sudoAUR, polkit-fakesudoAUR, sudo-gitAUR, doas-sudo-shimAUR, doas-sudo-shim-minimalAUR, sudo-hgAUR, fudo-gitAUR, sudo-selinuxAUR)
Required by (3)
- padd-git (requires pi-hole-server)
- pi-hole-whitelist-git (requires pi-hole-server) (optional)
- pi-hole-whitelist-git (requires pi-hole-standalone) (optional)
Sources (10)
- https://raw.githubusercontent.com/max72bra/pi-hole-core-archlinux-customization/main/arch-core-6.0.4-1.patch
- mimic_basic-install.sh
- mimic_setupVars.conf.sh
- pi-hole-core-6.0.4.tar.gz
- pi-hole-gravity.service
- pi-hole-gravity.timer
- pi-hole-logtruncate.service
- pi-hole-logtruncate.timer
- pi-hole.tmpfile
- piholeDebug.sh
Latest Comments
« First ‹ Previous 1 .. 76 77 78 79 80 81 82 83 84 85 86 Next › Last »
bolorino commented on 2016-02-29 21:23 (UTC)
max.bra commented on 2016-02-29 21:05 (UTC)
aaargh! i was really fall behind with php interface!!
thanks for reporting.
updated: let me know if something is not working.
bolorino commented on 2016-02-29 19:02 (UTC)
There is a nice update for the Admin panel (AdminLTE), 1.0.1:
https://pi-hole.net/pi-hole-2-5-3-released/
Would it be possible to include it with the pi-hole v2.5.3?
Thanks!
max.bra commented on 2016-02-18 12:49 (UTC)
> But I guess it's better to leave LC_TIME to en_US.UTF-8 to avoid problems shown today with the capital letter for the month.
sure!
> Regarding the subliminal package, it's a python package that requires some other python packages, which some failed to compile because I didn't have the proper locale set at the time.
if they are so squeamish you can apply the LC_*DUMMY*=C %command% trick to configure and or make commands of their PKGBUILDs
tdkl commented on 2016-02-18 12:41 (UTC)
@max.bra: good news, the reboot seems to have worked, now also the admin site displays the numbers. Guess the good ol' reboot saves the day. Thanks again !
Regarding the subliminal package, it's a python package that requires some other python packages, which some failed to compile because I didn't have the proper locale set at the time.
So when I looked into setting the locale, I changed them mostly to my country UTF-8 locale, only LC_COLLATE was left at C.
But I guess it's better to leave LC_TIME to en_US.UTF-8 to avoid problems shown today with the capital letter for the month.
max.bra commented on 2016-02-18 12:30 (UTC)
... continued
maybe you should force locale for that subliminal package...
standard wins!!
max.bra commented on 2016-02-18 12:27 (UTC)
@tdkl
for system wide locale changes you should apply a reboot
problem is not your locale, but dnsmasq that seems not to honor it
let's see what happens when you apply all your relevant locales to a standard en_US.UTF-8 and reboot your pogo...
tdkl commented on 2016-02-18 12:11 (UTC)
@max.bra: Interestingly if I set LC_TIME to default LANG which is en_US.UTF-8:
[tdkl@pogo system]$ locale
LANG=en_US.UTF-8
LC_CTYPE=en_US.UTF-8
LC_TIME="en_US.UTF-8"
LC_COLLATE=C
LC_ALL=
The default chronometer.sh still works:
[tdkl@pogo system]$ /usr/bin/chronometer.sh -j
{"domains_being_blocked":"145791","dns_queries_today":"4971","ads_blocked_today":"340","ads_percentage_today":"6.83"}
But the admin website displays 0 again.
If I add your change to display date with C in chronometer.sh, the website works. This is really odd because the JSON output clearly gives out the numbers, but website doesn't display them.
tdkl commented on 2016-02-18 11:47 (UTC)
@max.bra: sweet, this displays the date with capital letter and DNS queries and blocked % is displayed again :] Thanks a lot.
I don't imagine you'll set this to chronometer.sh for everyone though. Do you suggest I change the LC_TIME locale back to C, so I don't have to edit the chronometer.sh at each update ?
max.bra commented on 2016-02-18 11:38 (UTC)
done.
@tdkl
can you try this?
....
piLog="/run/log/pihole.log"
gravity="/etc/pihole/gravity.list"
today=$(LC_TIME=C date "+%b %e")
....
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.