oops, sorry
Search Criteria
Package Details: pi-hole-core 6.1.2-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: | 120 |
Popularity: | 1.31 |
First Submitted: | 2025-02-21 17:31 (UTC) |
Last Updated: | 2025-06-05 11:48 (UTC) |
Dependencies (11)
- bind (bind-gitAUR)
- git (git-gitAUR, git-glAUR)
- inetutils (inetutils-gitAUR)
- iproute2 (iproute2-gitAUR, 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 (procps-ng-gitAUR)
- sudo (fake-sudoAUR, polkit-fakesudoAUR, sudo-gitAUR, doas-sudo-shimAUR, sudo-hgAUR, fudo-gitAUR, sudo-selinuxAUR, sudo-rs-symlinkAUR, doas-sudo-shim-kAUR)
Required by (3)
- padd-git (requires pi-hole-server)
- pi-hole-whitelist-git (requires pi-hole-standalone) (optional)
- pi-hole-whitelist-git (requires pi-hole-server) (optional)
Sources (10)
- https://raw.githubusercontent.com/max72bra/pi-hole-core-archlinux-customization/main/arch-core-6.1.2-1.patch
- mimic_basic-install.sh
- mimic_setupVars.conf.sh
- pi-hole-core-6.1.2.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 2 3 4 5 6 7 .. 88 Next › Last »
max.bra commented on 2025-03-22 08:56 (UTC)
disprofarma commented on 2025-03-21 23:14 (UTC)
@max.bra do you forget the first part of the patch? (systemctl stop)
max.bra commented on 2025-03-19 22:19 (UTC)
@disprofarma done, thanks for reporting
disprofarma commented on 2025-03-19 21:19 (UTC)
Hi @max.bra, the file /opt/pihole/piholeARPTable.sh ("pihole arpflush" command) needs a tweak to work:
--- /opt/pihole/piholeARPTable.sh.bkp 2025-03-19 18:07:04.686670100 -0300
+++ /opt/pihole/piholeARPTable.sh 2025-03-19 18:08:02.586644067 -0300
@@ -32,7 +32,7 @@
fi
# Stop FTL to prevent database access
- if ! output=$(service pihole-FTL stop 2>&1); then
+ if ! output=$(systemctl stop pihole-FTL.service 2>&1); then
echo -e "${OVER} ${CROSS} Failed to stop FTL"
echo " Output: ${output}"
return 1
@@ -64,7 +64,7 @@
fi
# Start FTL again
- if ! output=$(service pihole-FTL restart 2>&1); then
+ if ! output=$(systemctl restart pihole-FTL.service 2>&1); then
echo -e "${OVER} ${CROSS} Failed to restart FTL"
echo " Output: ${output}"
return 1
trainzkid commented on 2025-03-11 10:35 (UTC)
@graysky
Likely your problem. Build the three packages with makepkg and install them with pacman. AUR helpers rarely help.
Could you clarify what AUR helpers are doing that would cause issues and be different from just makepkg -si
? I don't really run into issues with AUR helpers, besides maybe having to clean-build every once in a blue moon.
Also, unfortunately, installing the 3 packages that way did not fix the problem in my specific case. Any other ideas?
max.bra commented on 2025-03-06 15:02 (UTC) (edited on 2025-03-06 21:19 (UTC) by max.bra)
all update status management is handled through the /etc/pihole/versions file
$ ls -l /etc/pihole/
....
-rw-r--r-- 1 pihole pihole 366 Mar 5 22:32 versions
$ cat /etc/pihole/versions
CORE_VERSION=6.0.5
CORE_BRANCH=master
CORE_HASH=builtfromreleasetarball
GITHUB_CORE_VERSION=v6.0.5
GITHUB_CORE_HASH=9fe687bd
WEB_VERSION=6.0.2
WEB_BRANCH=master
WEB_HASH=builtfromreleasetarball
GITHUB_WEB_VERSION=v6.0.2
GITHUB_WEB_HASH=25441178
FTL_VERSION=v6.0.4
FTL_BRANCH=master
FTL_HASH=builtfromreleasetarball
GITHUB_FTL_VERSION=v6.0.4
GITHUB_FTL_HASH=b7eb53bf
during installation, upgrade and from time to time is runned
sudo -u pihole bash /opt/pihole/updatecheck.sh
i am firmly convinced that for some reason your /etc/pihole/versions file is not being updated. it cannot be otherwise.
graysky commented on 2025-03-06 13:47 (UTC)
@max.bra - even though 6.0.5-1 is installed, the footer of web GUI reports:
Core 6.0.4FTL v6.0.4Web interface 6.0.1
graysky commented on 2025-03-03 13:09 (UTC)
I updated the system via the paru aur helper,
Likely your problem. Build the three packages with makepkg and install them with pacman. AUR helpers rarely help.
trainzkid commented on 2025-03-03 02:30 (UTC)
Following a system update, pihole is yet again not working.... Every other package on my server has almost 0 issues starting up again after updates, but this one rarely wants to. Anyway....
Following the update to v6, I still had pi-hole-server
installed instead of pi-hole-core
for whatever reason. I updated the system via the paru
aur helper, and looking at the logs, I see pi-hole-web-6.0.1-1
and pi-hole-ftl-6.0.3-1
were both installed/updated, but nothing else pi-hole related. Once I realized this, I installed pi-hole-core 6.0.4-1
(which correctly uninstalled pi-hole-server
) and restarted pihole-FTL.service
.
Even after this, I'm still not getting DNS resolution from client devices, but I see the config options in /etc/pihole/pihole.toml
don't match what I had previously in /etc/pihole/pihole-FTL.conf
. Frustrating but no biggie, I'm working on getting those updated. In the meantime, I've noticed some strange errors related to the pihole
command:
$USER@$HOST ~> pihole status
/usr/local/bin/pihole: line 306: getFTLAPIPort: command not found
[✗] DNS service is NOT running
/usr/local/bin/pihole: line 306: getFTLAPIPort: command not found
[✗] DNS service is NOT running
$USER@$HOST ~> pihole tail
grep: /etc/dnsmasq.d/01-pihole.conf: No such file or directory
[i] Press Ctrl-C to exit
$USER@$HOST ~ [SIGINT]> pihole -c
/usr/local/bin/pihole: line 77: /opt/pihole/chronometer.sh: No such file or directory
$USER@$HOST ~ [SIGINT]> pihole -v
Core version is 6.0.4 (Latest: v6.0.4)
Web version is 6.0.1 (Latest: v6.0.1)
FTL version is v6.0.3 (Latest: v6.0.3)
This is despite the systemd service running and not reporting any obvious errors. Is there something I'm missing? I also tried following the commands on the arch wiki but had similar trouble:
$USER@$HOST ~> pihole -a setdns 127.0.0.1#53
/usr/local/bin/pihole: line 28: /opt/pihole/webpage.sh: No such file or directory
/usr/local/bin/pihole: line 29: main: command not found
max.bra commented on 2025-02-23 18:04 (UTC)
@graysky here i am
Core version is 6.0.4 (Latest: v6.0.4)
Web version is 6.0.1 (Latest: v6.0.1)
FTL version is v6.0.2 (Latest: v6.0.2)
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.