@HeyItsNice this is an old thread: please add RAM (in case of VM) or swap. To compile FTL you need about 800MB of memory.
Search Criteria
Package Details: pi-hole-server 5.18.3-4
Package Actions
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: | 112 |
Popularity: | 0.152279 |
First Submitted: | 2016-01-13 12:50 (UTC) |
Last Updated: | 2024-08-10 12:32 (UTC) |
Dependencies (18)
- bc (bc-ghAUR)
- bind-tools (bind-developmentAUR, bind-gitAUR, bind)
- inetutils (inetutils-gitAUR, busybox-coreutilsAUR)
- iproute2 (iproute2-gitAUR, busybox-coreutilsAUR, iproute2-selinuxAUR)
- jq (jq-gitAUR)
- logrotate (logrotate-gitAUR, logrotate-selinuxAUR)
- lsof (lsof-gitAUR)
- netcat (nmap-netcatAUR, openbsd-netcat-gitAUR, gnu-netcat-svnAUR, gnu-netcat, openbsd-netcat)
- perl (perl-gitAUR)
- 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)
- lighttpd (optional) – a secure, fast, compliant and very flexible web-server
- nginx-mainline (nginx-quic-openssl-hgAUR, nginx-quic-libresslAUR) (optional) – lightweight http server
- php-cgi (optional) – CGI and FCGI SAPI for PHP needed only for lighttpd
- php-fpm (optional) – FastCGI process manager for php needed for nginx
- php-sqlite (optional) – sqlite db access for nginx
Required by (2)
- padd-git
- pi-hole-whitelist-git (optional)
Sources (15)
- 01-pihole.conf
- https://raw.githubusercontent.com/max72bra/pi-hole-server-archlinux-customization/master/arch-server-admin-5.21-4.patch
- https://raw.githubusercontent.com/max72bra/pi-hole-server-archlinux-customization/master/arch-server-core-5.18.3-4.patch
- lighttpd.pi-hole.conf
- mimic_basic-install.sh
- mimic_setupVars.conf.sh
- nginx.pi-hole.conf
- pi-hole-gravity.service
- pi-hole-gravity.timer
- pi-hole-logtruncate.service
- pi-hole-logtruncate.timer
- pi-hole-server-admin-5.21.tar.gz
- pi-hole-server-core-5.18.3.tar.gz
- pi-hole.tmpfile
- piholeDebug.sh
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 12 .. 82 Next › Last »
max.bra commented on 2023-05-21 22:45 (UTC)
HeyItsNice commented on 2023-05-21 21:34 (UTC) (edited on 2023-05-21 21:35 (UTC) by HeyItsNice)
Having problems trying to build pi-hole-server from AUR, version 5.16.2-1. Seems to indicate there's an issue with the build files?
{standard input}:1960608: Warning: end of file not at end of a line; newline inserted
cc: fatal error: Killed signal terminated program cc1
compilation terminated.
make[2]: *** [src/database/CMakeFiles/sqlite3.dir/build.make:90: src/database/CMakeFiles/sqlite3.dir/sqlite3.c.o] Error 1
--Full error, including just before it failed
[ 95%] Building C object src/dnsmasq/CMakeFiles/dnsmasq.dir/ubus.c.o
[ 96%] Building C object src/dnsmasq/CMakeFiles/dnsmasq.dir/util.c.o
[ 97%] Building C object src/lua/CMakeFiles/lua.dir/luac.c.o
[ 97%] Building C object src/lua/CMakeFiles/lua.dir/lundump.c.o
[ 98%] Building C object src/lua/CMakeFiles/lua.dir/lutf8lib.c.o
[ 98%] Built target dnsmasq
[ 99%] Building C object src/lua/CMakeFiles/lua.dir/lzio.c.o
[ 99%] Building C object src/lua/CMakeFiles/lua.dir/lvm.c.o
[ 99%] Built target lua
{standard input}: Assembler messages:
{standard input}:1960608: Warning: end of file not at end of a line; newline inserted
cc: fatal error: Killed signal terminated program cc1
compilation terminated.
make[2]: *** [src/database/CMakeFiles/sqlite3.dir/build.make:90: src/database/CMakeFiles/sqlite3.dir/sqlite3.c.o] Error 1
make[2]: *** Deleting file 'src/database/CMakeFiles/sqlite3.dir/sqlite3.c.o'
make[1]: *** [CMakeFiles/Makefile2:340: src/database/CMakeFiles/sqlite3.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
error: failed to build 'pi-hole-ftl-5.22-1':
error: can't build pi-hole-server-5.16.2-1, deps not satisfied: pi-hole-ftl>=5.0
error: packages failed to build: pi-hole-ftl-5.22-1 pi-hole-server-5.16.2-1
amo commented on 2023-04-05 14:36 (UTC) (edited on 2023-04-05 21:03 (UTC) by amo)
When I try to add or remove a domain (both from the WebUI and from the terminal), nothing changes. In the terminal, I get a hint:
pihole -a removecustomdns 192.168.122.236 archvm.lan
[sudo] password for amo:
[✓] Removing custom DNS entry...
[✗] Invalid Domain passed!
Unfortunately, I was not able to find the cause of the error. I have that given entry in my list of local DNS records in pihole. If I click on the waste basket next to that entry, a green notification appears saying "Custom DNS deleted", but actually nothing happened.
I found this code called from here to be probably the code invoked. And in fact echo "archvm.lan" | grep -P "^((-|_)*[a-z\\d]((-|_)*[a-z\\d])*(-|_)*)(\\.(-|_)*([a-z\\d]((-|_)*[a-z\\d])*))*$"
returns empty which might be the issue here. But I don't really know. Haven't messed around with pi-hole at all yet.
Edit: Just re-read the previous comment and now I understand it. Might be the same issue. Seems that it has not been reported yet, but I'll leave it to someone else with an officially supported OS.
kandav commented on 2023-04-02 21:20 (UTC)
I've recently performed a system update and "pihole -w <domain_name>" and "pihole -d <domain_name>" returned "<domain_name> is not a valid argument or domain name!".
I traced the error message in the source code to "pi-hole-server/src/pi-hole-5.16.2/advanced/Scripts/list.sh". That line only uses "grep" and it did get an update (3.10). After reverting to the previously installed version (3.9), the error is gone. Just want to notify anyone who encounters this problem.
max.bra commented on 2023-04-02 18:57 (UTC)
@khangp0000 yes, good point. done w/o rel bump.
khangp0000 commented on 2023-04-02 11:42 (UTC) (edited on 2023-04-02 11:43 (UTC) by khangp0000)
Can we change the gnu-netcat
dependency to netcat
? I am using openbsd-netcat
which should be compatible (since the original install script actually using it ). Changing it to netcat
should allow user to choose which version to use.
schmodd commented on 2023-03-30 16:06 (UTC)
@max.bra my bad - works after cleaning trizens cache-directory.
max.bra commented on 2023-03-30 14:05 (UTC)
@schmodd seems fine here: are you using an aur helper that manage some sort of cache? can you wipe it?
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.