@raffaem yep, sorry for not reporting. it should work as expected now.
Search Criteria
Package Details: pi-hole-standalone 5.18.3-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/pi-hole-standalone.git (read-only, click to copy) |
---|---|
Package Base: | pi-hole-standalone |
Description: | The Pi-hole is an advertising-aware DNS/Web server. Arch alteration for standalone PC. |
Upstream URL: | https://github.com/pi-hole/pi-hole |
Keywords: | ad block pi-hole |
Licenses: | EUPL-1.2 |
Conflicts: | pi-hole-server |
Submitter: | max.bra |
Maintainer: | max.bra |
Last Packager: | max.bra |
Votes: | 7 |
Popularity: | 0.004144 |
First Submitted: | 2016-01-13 12:39 (UTC) |
Last Updated: | 2024-08-11 14:23 (UTC) |
Dependencies (9)
- bind-tools (bind-gitAUR, bind)
- inetutils (inetutils-gitAUR, busybox-coreutilsAUR)
- iproute2 (iproute2-gitAUR, busybox-coreutilsAUR, iproute2-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, busybox-coreutilsAUR)
- sudo (fake-sudoAUR, polkit-fakesudoAUR, sudo-gitAUR, doas-sudo-shimAUR, doas-sudo-shim-minimalAUR, sudo-hgAUR, sudo-selinuxAUR, fudo-gitAUR)
- git (git-gitAUR, git-glAUR) (make)
Required by (1)
- pi-hole-whitelist-git (optional)
Sources (11)
- 01-pihole.conf
- https://raw.githubusercontent.com/max72bra/pi-hole-standalone-archlinux-customization/master/arch-server-core-5.18.3-1.patch
- mimic_basic-install.sh
- mimic_setupVars.conf.sh
- pi-hole-gravity.service
- pi-hole-gravity.timer
- pi-hole-logtruncate.service
- pi-hole-logtruncate.timer
- pi-hole-standalone-core-5.18.3.tar.gz
- pi-hole.tmpfile
- piholeDebug.sh
max.bra commented on 2024-04-03 08:24 (UTC)
raffaem commented on 2024-04-03 08:07 (UTC)
@max.bra I saw it was updated. Does it work now?
max.bra commented on 2024-03-25 08:43 (UTC)
@raffaem no it's not. i'm away these days and will patch this next week. thanks for reporting.
raffaem commented on 2024-03-25 06:41 (UTC)
When I start pi-hole-logtruncate.service
I get an error about undefined flushFunc
function.
Is it a bug upstream?
➜ systemctl status pi-hole-logtruncate.service
× pi-hole-logtruncate.service - Reset dnsmasq/pi-hole query log
Loaded: loaded (/usr/lib/systemd/system/pi-hole-logtruncate.service; static)
Active: failed (Result: exit-code) since Mon 2024-03-25 07:33:35 CET; 2s ago
TriggeredBy: ● pi-hole-logtruncate.timer
Process: 2639 ExecStart=/usr/bin/pihole flush once quiet (code=exited, status=127)
Main PID: 2639 (code=exited, status=127)
CPU: 13ms
Mar 25 07:33:35 HOSTNAME systemd[1]: Starting Reset dnsmasq/pi-hole query log...
Mar 25 07:33:35 HOSTNAME pihole[2649]: /usr/bin/pihole: line 477: flushFunc: command not found
Mar 25 07:33:35 HOSTNAME systemd[1]: pi-hole-logtruncate.service: Main process exited, code=exited, status=127/n/a
Mar 25 07:33:35 HOSTNAME systemd[1]: pi-hole-logtruncate.service: Failed with result 'exit-code'.
Mar 25 07:33:35 HOSTNAME systemd[1]: Failed to start Reset dnsmasq/pi-hole query log.
max.bra commented on 2023-09-21 08:13 (UTC)
hi Good_Days13, sorry but i missed a string terminator in sedded webpage.sh. Please try now.
p.s.: this had always worked on manjaro... should be true for today too
p.s.2: don't know why on checksum error... maybe i forgot a push... sorry2
Good_Days13 commented on 2023-09-21 02:04 (UTC) (edited on 2023-09-21 02:13 (UTC) by Good_Days13)
I'm on manjaro and when I try to make this it fails a validity check.
==> Making package: pi-hole-standalone 5.17.1-3 (Wed 20 Sep 2023 10:03:33 PM EDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found pi-hole-standalone-core-5.17.1.tar.gz
-> Found arch-server-core-5.17.1-3.patch
-> Found dnsmasq.include
-> Found pi-hole.tmpfile
-> Found pi-hole-gravity.service
-> Found pi-hole-gravity.timer
-> Found pi-hole-logtruncate.service
-> Found pi-hole-logtruncate.timer
-> Found mimic_setupVars.conf.sh
-> Found mimic_basic-install.sh
-> Found piholeDebug.sh
==> Validating source files with sha256sums...
pi-hole-standalone-core-5.17.1.tar.gz ... Passed
arch-server-core-5.17.1-3.patch ... FAILED
dnsmasq.include ... Passed
pi-hole.tmpfile ... Passed
pi-hole-gravity.service ... Passed
pi-hole-gravity.timer ... Passed
pi-hole-logtruncate.service ... Passed
pi-hole-logtruncate.timer ... Passed
mimic_setupVars.conf.sh ... Passed
mimic_basic-install.sh ... Passed
piholeDebug.sh ... Passed
==> ERROR: One or more files did not pass the validity check!
I used updpkgsums
to bypass it, but it isn't working and when I run pihole -a
I get this:
/opt/pihole/webpage.sh: line 100: syntax error near unexpected token `('
/opt/pihole/webpage.sh: line 100: ` local ipv4elem="(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]?|0)";'
/usr/bin/pihole: line 36: main: command not found
does this work on manjaro?
max.bra commented on 2021-02-01 12:18 (UTC)
@ultraquist thanks for reporting. given that this package deserves more love, perhaps it's time to enable the same log rules as the server version. please let me know.
ultraquist commented on 2021-02-01 06:03 (UTC) (edited on 2021-02-01 06:24 (UTC) by ultraquist)
Hi, Sorry if this is a problem on my end or upstream, but logging doesn't seem to be working anymore, using pihole logging on
. Issuing pihole -t
to view the log tail gives:
[i] Press Ctrl-C to exit
tail: cannot open '/var/log/pihole.log' for reading: No such file or directory
tail: no files remaining
It seems there has been some deletions to /etc/dnsmasq.d/01-pihole.conf
. Adding these lines seems to fix:
log-queries
log-facility=/var/log/pihole.log
log-async
With /var/log/pihole.log
existing with pihole:pihole
ownership.
I think these lines are necessary, since /usr/bin/pihole
just seems to try toggling the commenting on these lines using sed
.
deemon commented on 2020-11-19 21:00 (UTC) (edited on 2020-11-19 21:00 (UTC) by deemon)
nov 19 22:52:24 L480 dnsmasq[62483]: bad address at /etc/pihole/adlists.list line 1
nov 19 22:52:24 L480 dnsmasq[62483]: bad address at /etc/pihole/adlists.list line 2
nov 19 22:52:24 L480 dnsmasq[62483]: bad address at /etc/pihole/adlists.list line 3
nov 19 22:52:24 L480 dnsmasq[62483]: bad address at /etc/pihole/adlists.list line 4
what is wrong? I have never done anything to this file.
$ cat /etc/pihole/adlists.list
https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts
https://mirror1.malwaredomains.com/files/justdomains
https://s3.amazonaws.com/lists.disconnect.me/simple_tracking.txt
https://s3.amazonaws.com/lists.disconnect.me/simple_ad.txt
max.bra commented on 2020-10-28 10:07 (UTC)
hi Prakkie, i think you have posted in wrong package. you talk about UI but standalone version has CLI only. anyway, can you please reset your browser cache and continue this discussion in server package?
Pinned Comments
max.bra commented on 2018-02-09 16:47 (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.