Package Details: pi-hole-server 5.18.3-4

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.146054
First Submitted: 2016-01-13 12:50 (UTC)
Last Updated: 2024-08-10 12:32 (UTC)

Dependencies (18)

Required by (2)

Sources (15)

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.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 .. 82 Next › Last »

max.bra commented on 2023-08-21 07:27 (UTC) (edited on 2023-08-21 07:28 (UTC) by max.bra)

hi daniel_shub, i'm sorry for your problem but 'git' IS a makedep and FTL need to be installed before server pkg because FTL is a dep of this pkg

daniel_shub commented on 2023-08-21 03:22 (UTC) (edited on 2023-08-21 03:23 (UTC) by daniel_shub)

I am having problems installing into a really minimal environment:


installing pi-hole-server...
==> Read setup instructions at https://wiki.archlinux.org/index.php/Pi-hole
==> Generating initial block list, please wait...
chown: invalid user: 'pihole:pihole'
RTNETLINK answers: Network is unreachable
Device "" does not exist.
chown: invalid user: 'pihole:pihole'
==> Creating 'versions' file...
/opt/pihole/updatecheck.sh: line 33: git: command not found
/opt/pihole/updatecheck.sh: line 33: git: command not found
/opt/pihole/updatecheck.sh: line 33: git: command not found
Optional dependencies for pi-hole-server
    lighttpd: a secure, fast, compliant and very flexible web-server [installed]
    php-cgi: CGI and FCGI SAPI for PHP needed only for lighttpd [installed]
    nginx-mainline: lightweight http server
    php-fpm: FastCGI process manager for php needed for nginx
    php-sqlite: sqlite db access for nginx [installed]

I am guessing the git error would be taken care of by making git a dependency. I am not sure why the pihole user does not exist. I think it is eventually created by pi-hole-ftl, but maybe the user is not created when the install script runs.

max.bra commented on 2023-06-25 09:00 (UTC)

@vic_acid fixed, thanks for reporting.

vic_acid commented on 2023-06-25 00:54 (UTC)

Just found an issue in the current package (5.17.1-2):

/opt/pihole/webpage.sh contains a bad path to the pihole command. At line 27 in that file, PI_HOLE_BIN_DIR should point to "/usr/bin" and not "/usr/local/bin" as it currently does.

With the current configuration, saving any settings in the web app will not restart the FTL service as it should, requiring you to manually restart pihole-FLT.service rather than having pihole restartdns execute as intended.

khangp0000 commented on 2023-06-13 12:12 (UTC)

It works. Thanks. Not sure why it happens.

max.bra commented on 2023-06-13 07:58 (UTC)

Can you please wipe the cache of your aur helper

khangp0000 commented on 2023-06-13 06:27 (UTC)

Seems like arch-server-admin-5.20.1-2.patch has incorrect sha inside PKGBUILD. Can you double check?

==> Validating source files with sha256sums...
    pi-hole-server-core-5.17.1.tar.gz ... Passed
    pi-hole-server-admin-5.20.1.tar.gz ... Passed
    arch-server-core-5.17.1-2.patch ... Passed
    arch-server-admin-5.20.1-2.patch ... FAILED
    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

bbx0 commented on 2023-06-11 21:47 (UTC)

Thanks for the quick fix! It works fine now.

max.bra commented on 2023-06-11 21:18 (UTC)

@bbx0 sorry for the oversight, updated. let me know. thanks for reporting.

bbx0 commented on 2023-06-11 15:51 (UTC)

I noticed pihole -a -t produces "broken" archives with one line of content: Could not open input file: /var/www/html/admin/scripts/pi-hole/php/teleporter.php

Can you include a customization to update the webroot in webpage.sh? I adjusted it as below to make it work.

Thanks a lot for maintaining the package!

diff /opt/pihole/webpage.sh.orig /opt/pihole/webpage.sh
30c30
< readonly webroot="/var/www/html"
---
> readonly webroot="/srv/http/pihole"