Package Details: pi-hole-ftl 5.25.2-2

Git Clone URL: https://aur.archlinux.org/pi-hole-ftl.git (read-only, click to copy)
Package Base: pi-hole-ftl
Description: The Pi-hole FTL engine
Upstream URL: https://github.com/pi-hole/FTL
Licenses: EUPL-1.2
Conflicts: dnsmasq
Provides: dnsmasq
Submitter: max.bra
Maintainer: max.bra (graysky)
Last Packager: max.bra
Votes: 56
Popularity: 1.47
First Submitted: 2017-05-07 15:23 (UTC)
Last Updated: 2024-08-10 09:53 (UTC)

Required by (65)

Sources (6)

Pinned Comments

max.bra commented on 2018-02-09 16:46 (UTC) (edited on 2019-10-18 23:13 (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 .. 16 17 18 19 20 21 22 23 24 25 26 .. 44 Next › Last »

Cobra_Fast commented on 2020-07-17 22:19 (UTC)

Current release 5.1 doesn't build for me:

Scanning dependencies of target api
[ 67%] Building C object src/api/CMakeFiles/api.dir/api.c.o
In file included from /usr/include/string.h:495,
                from /home/user/.cache/pikaur/build/pi-hole-ftl/src/FTL-5.1/src/FTL.h:24,
                from /home/user/.cache/pikaur/build/pi-hole-ftl/src/FTL-5.1/src/api/api.c:11:
In function ‘memcpy’,
    inlined from ‘getVersion’ at /home/user/.cache/pikaur/build/pi-hole-ftl/src/FTL-5.1/src/api/api.c:1062:2:
/usr/include/bits/string_fortified.h:34:10: error: ‘__builtin_memcpy’ forming offset [1, 6] is out of the bounds [0, 1] [-Werror=array-bounds]
34 |   return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest));
    |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[2]: *** [src/api/CMakeFiles/api.dir/build.make:82: src/api/CMakeFiles/api.dir/api.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:237: src/api/CMakeFiles/api.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 67%] Built target sqlite3
make: *** [Makefile:149: all] Error 2

Anything I can do?

Lantorax commented on 2020-07-17 20:32 (UTC)

I just upgraded today and I had issues with 2 files being owned by root:root causing pihole-FTL.service to fail after a few seconds:

/run/log/pihole-FTL/pihole-FTL.log

/etc/pihole/pihole-FTL.db

just chown the 2 to pihole:pihole

note: This was about 2 months since I last updated(kernel 5.5.5), so may be related

tholinka commented on 2020-07-17 20:06 (UTC)

I believe this now requires libidn in the depends array.

I was getting "CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: IDN" before adding libidn to the depends array.

max.bra commented on 2020-05-24 17:00 (UTC)

@graysky O_o

graysky commented on 2020-05-24 13:45 (UTC)

@max.bra - Yes. Interestingly, after a reboot, it is working :/

max.bra commented on 2020-05-24 13:38 (UTC)

@graysky is http user in pihole group?

graysky commented on 2020-05-24 13:04 (UTC)

@max.bra - Not sure if this is a bug w/ pi-hole-server or this package, but when I attempt to apply a particular whitelist entry to a group, I get an error:

"Error, something went wrong! While executing: attempt to write a readonly database"

Yet, the owner of /etc/pihole/ is `pihole:pihole' and all files there in are as well. I do not see any issue with my databases either:

% ls -lh /etc/pihole/*.db
-rw-rw-r-- 1 pihole pihole 35M May 24 08:47 /etc/pihole/gravity.db
-rw-r--r-- 1 pihole pihole 34M May 19 05:45 /etc/pihole/gravity_temp.db
-rw-r--r-- 1 pihole pihole 25M May 24 09:00 /etc/pihole/pihole-FTL.db

Any thoughts?

Taijian commented on 2020-05-11 14:46 (UTC) (edited on 2020-05-11 14:48 (UTC) by Taijian)

suggestion for v5: Maybe you could add an optdepend on php-sqlite?

People who are using this with php-fpm via nginx/apache will otherwise be unable to access the database settings from the web interface.

EDIT: Sorry, this should have gone over to pi-hole-server, as that's where all the other php stuff is... (Duh...)

max.bra commented on 2020-05-11 14:05 (UTC)

ver. 5.0 note: after updating please remember to restart your web server or simply reboot.

MarcinWieczorek commented on 2020-05-11 13:31 (UTC) (edited on 2020-05-11 13:37 (UTC) by MarcinWieczorek)

I derived that assumption directly from the PR I linked. Also, my current progress on this package is: nettle35.patch is obsolete glib.patch is obsolete in the arch-ftl-X.Y.patch tweaking the LIBS diff is enough to get it to compile (the original line changed but the replacement is ok) I did some testing with touch "$pkgdir/etc/pihole/logrotate" because I got errors about this and some other file, but I don't know if pihole is supposed to create the files itself.

P.S. I think the patch should be included in the package and the time shouldn't be added to the filename, but I don't know your reasoning on this matter.