@2-d in fact it is the root of the problem: they have renamed the AdminLTE project to web. fixed w/o release bump.
@2-d @grappas you can update your installation now and thanks for reporting.
Search Criteria
Package Details: pi-hole-server 5.18.2-1
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: | 1.63 |
First Submitted: | 2016-01-13 12:50 (UTC) |
Last Updated: | 2024-04-01 18:11 (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-selinuxAUR, logrotate-gitAUR)
- 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) (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)
- dnsmasq.include
- https://raw.githubusercontent.com/max72bra/pi-hole-server-archlinux-customization/master/arch-server-admin-5.21-1.patch
- https://raw.githubusercontent.com/max72bra/pi-hole-server-archlinux-customization/master/arch-server-core-5.18.2-1.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.2.tar.gz
- pi-hole.tmpfile
- piholeDebug.sh
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 7 8 .. 80 Next › Last »
max.bra commented on 2023-10-10 20:11 (UTC) (edited on 2023-10-10 20:11 (UTC) by max.bra)
2-d commented on 2023-10-10 19:15 (UTC)
@max.bra
Thanks for the update - this worked for me. I also had to change the wwwpkgname from AdminLTE to web.
_wwwpkgname=web
max.bra commented on 2023-10-09 16:15 (UTC) (edited on 2023-10-09 16:18 (UTC) by max.bra)
@grappas hi and thanks for reporting.
the developers have deeply modified the latest version of the web admin without changing the numbering (and there are sed errors). very strange, a mistake on their part is possible, I don't think it was intentional. let's see what happens in the next few hours... in the meantime, modifying the PKGBUILD, use version 5.19 of the web-admin.
_wwwpkgver=5.19
...
"https://raw.githubusercontent.com/max72bra/pi-hole-server-archlinux-customization/master/arch-server-admin-$_wwwpkgver-1.patch"
of course, resum everything...
grappas commented on 2023-10-09 15:49 (UTC) (edited on 2023-10-09 15:51 (UTC) by grappas)
==> Validating source files with sha256sums...
pi-hole-server-core-5.17.1.tar.gz ... Passed
pi-hole-server-admin-5.20.1.tar.gz ... FAILED
arch-server-core-5.17.1-3.patch ... Passed
arch-server-admin-5.20.1-3.patch ... Passed
dnsmasq.include ... Passed
lighttpd.pi-hole.conf ... Passed
nginx.pi-hole.conf ... 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 cannot proceed with installation.
max.bra commented on 2023-09-22 19:11 (UTC)
@deemon i don't know how to help you, we have no control over that...
deemon commented on 2023-09-22 18:59 (UTC)
sudo pihole -g
[i] Target: https://mirror1.malwaredomains.com/files/justdomains
[✗] Status: Not found
[✗] List download failed: using previously cached list
[✓] Parsed 26854 exact domains and 0 ABP-style domains (ignored 0 non-domain entries)
max.bra commented on 2023-08-21 17:07 (UTC)
@daniel back home and see a missed new function 'get_remote_hash', fixed w/o release bump. thanks for reporting.
daniel_shub commented on 2023-08-21 15:23 (UTC)
I can get the git issue during runtime with pihole updatechecker
. I am not sure how useful running that command is and if it is fully documented/supported. I also get the git issue during installation. I think there are two questions/issues:
1) Can you (or anyone) reproduce my "bug report" with errors regarding git and the missing pihole user when installing into a clean chroot.
2) If my bug report is reproducible, is it worth fixing the PKGBUILD.
I am not familiar enough with sysuser files to know if the missing user issue can be solved by simply restarting systemd-sysusers. If that is the case, I am not sure if it should be restarted in this package or the ftl package.
Adding git as a runtime dependency will protect against any runtime code pathways that depend on git. If it is really only obscure uses, adding it as a optional dependency seems warranted. That said, the package install script is not an obscure usage. In fact, it is essentially a mandatory usage. Adding git as a runtime dependency would only partially deal with the issue of running updatecheck.sh in the package install script; there is a chicken and egg loop since updatecheck.sh needs external internet access to setup a DNS, but external internet access requires a configured DNS. While not explicitly mentioned in the packaging guidelines, I think packages should support offline installation. I am not sure why updatecheck.sh is even run in the install script.
max.bra commented on 2023-08-21 14:22 (UTC) (edited on 2023-08-21 14:22 (UTC) by max.bra)
at runtime you never get there... and, don't read upstream source, read AUR modified source
daniel_shub commented on 2023-08-21 14:17 (UTC)
@max.bra I am not sure what I am double checking for, but updatecheck.sh
(https://github.com/pi-hole/pi-hole/blob/v5.17.1/advanced/Scripts/updatecheck.sh) calls git on line 33 just like the error I get says:
function get_remote_hash(){
git ls-remote "https://github.com/pi-hole/${1}" --tags "${2}" | awk '{print substr($0, 0,8);}' || return 1
}
and get_remote_hash
is called on line 83
GITHUB_CORE_HASH="$(get_remote_hash pi-hole "${CORE_BRANCH}")"
It looks like the git dependencies were added in this commit https://github.com/pi-hole/pi-hole/commit/888e44e53d81f505f958322f411cfcc96269f4b8
Can you build the package in a clean chroot and then install it in another clean chroot?
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.