Not sure if I typed it correctly or on what directory I have to be in when running it. It gave me no output.
[root@alarm ~]# grep -i "var/log" /opt/pihole/* /usr/bin/pihole
[root@alarm ~]# grep -i "/var/log" /opt/pihole/* /usr/bin/pihole
[root@alarm ~]#
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.134716 |
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 .. 59 60 61 62 63 64 65 66 67 68 69 .. 82 Next › Last »
ChuckHL commented on 2017-06-30 21:31 (UTC) (edited on 2017-06-30 21:38 (UTC) by ChuckHL)
max.bra commented on 2017-06-30 21:01 (UTC)
this is no sense!!
please can you output me this:
grep -i "var/log" /opt/pihole/* /usr/bin/pihole
ChuckHL commented on 2017-06-30 20:53 (UTC) (edited on 2017-06-30 21:36 (UTC) by ChuckHL)
First of all, I had not updated pihole-ftl to the latest, so my bad on that. I was running pihole-ftl 2.9.1-1 rather than 2.9.4-3. Also, I just updated piholeserver from 3.1-7 to 3.1-8.
I just ran pihole -l off and I have the same issue.
[root@alarm pihole]# pihole -l off
::: Flushing /run/log/pihole/pihole.log ...error: stat of /var/log/pihole-FTL.log failed: No such file or directory
error: stat of /var/log/pihole-FTL.log failed: No such file or directory
... done!
::: Logging has been disabled!
[root@alarm pihole]# pihole -l on
::: Logging has been enabled!
[root@alarm pihole]#
[root@alarm pihole]# pihole -v
Pi-hole version is 3.1 (Latest: v3.1)
AdminLTE version is 3.1 (Latest: v3.1)
FTL version is v2.9.4 (Latest: v2.9.4)
[root@alarm ~]# pacman -Qs pi-hole
local/pi-hole-ftl 2.9.4-3
The Pi-hole FTL engine
local/pi-hole-server 3.1-8
The Pi-hole is an advertising-aware DNS/Web server. Arch adaptation for lan
wide DNS server.
[root@alarm pihole]# uname -a
Linux alarm 4.11.7-1-ARCH #1 SMP Sat Jun 24 19:53:12 MDT 2017 aarch64 GNU/Linux
max.bra commented on 2017-06-30 07:23 (UTC) (edited on 2017-06-30 07:28 (UTC) by max.bra)
all normal here:
$ pihole -l off
::: Flushing /run/log/pihole/pihole.log ...... done!
::: Logging has been disabled!
$ pihole -l on
::: Logging has been enabled!
$ pihole -v
Pi-hole version is 3.1 (Latest: v3.1)
AdminLTE version is 3.1 (Latest: v3.1)
FTL version is v2.9.4 (Latest: v2.9.4)
$ pacman -Qs pi-hole
local/pi-hole-ftl 2.9.4-3
local/pi-hole-server 3.1-7
ChuckHL commented on 2017-06-29 23:40 (UTC)
Another possible bug:
[root@alarm ~]# pihole -l off
::: Flushing /run/log/pihole/pihole.log ...error: stat of /var/log/pihole-FTL.log failed: No such file or directory
error: stat of /var/log/pihole-FTL.log failed: No such file or directory
... done!
::: Logging has been disabled!
If I recall correctly arent logs stored at /var/run/log/pihole rather than /var/log/pihole or /run/log/pihole?
max.bra commented on 2017-06-29 20:45 (UTC) (edited on 2017-06-29 21:04 (UTC) by max.bra)
oh lord!!
those commands should not be there!!
pihole update must never be executed, yes.
debug is theoretically working but not supported yet.
patching immediately... edit2: ok done. help output cleaned up. thanks for reporting!!
edit:
ah ok, it's only a matter of help output. all debug and update commands are sedded away.
ChuckHL commented on 2017-06-29 14:33 (UTC) (edited on 2017-06-29 14:37 (UTC) by ChuckHL)
Hi @max.bra
First of all. Thank you for your time maintaining this pkg. It's one of my most used defences @ my home network a long with privoxy and a Asus router (using tomato system with iptables to force all devices to use pihole and privoxy). I have a question.
[root@alarm ~]# pihole
...
Debugging Options:
-d, debug Start a debugging session
Add '-a' to enable automated debugging
...
Options:
...
-up, updatePihole Update Pi-hole subsystems
...
[root@alarm ~]#
Are those options, debug and updatepihole supposed to work? I suppose update should not as it would point to the original pihole version which is not cooked for archlinux. But how do I use debug?
Regards
max.bra commented on 2017-06-29 07:44 (UTC)
@ChuckHL
yes! you are perfectly right. my fault.
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.