Stable Debian but PiHole is having issues

Expected Behaviour:

FTL working, web page working

Actual Behaviour:

debian:/var/www# service pihole-FTL status
/etc/init.d/pihole-FTL: line 73: status: command not found

WebPage shows "lost connection to api"

debian:/var/www# pihole -c
/opt/pihole/chronometer.sh: connect: Connection refused
/opt/pihole/chronometer.sh: line 18: /dev/tcp/127.0.0.1/4711: Connection refused
/opt/pihole/chronometer.sh: connect: Connection refused
/opt/pihole/chronometer.sh: line 18: /dev/tcp/127.0.0.1/4711: Connection refused
/opt/pihole/chronometer.sh: connect: Connection refused
/opt/pihole/chronometer.sh: line 18: /dev/tcp/127.0.0.1/4711: Connection refused
^C

debian:/var/www# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT tcp -- anywhere anywhere tcp dpts:4711:4720
ACCEPT udp -- anywhere anywhere udp dpt:domain
ACCEPT tcp -- anywhere anywhere tcp dpt:domain
ACCEPT tcp -- anywhere anywhere tcp dpt:http
REJECT tcp -- anywhere anywhere tcp dpt:https reject-with tcp-reset
REJECT udp -- anywhere anywhere udp dpt:80 reject-with icmp-port-unreachable
REJECT udp -- anywhere anywhere udp dpt:443 reject-with icmp-port-unreachable

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

Debug Token:

[â] Your debug token is: x4g8hwqgc9

debian:/var/www# command -v service
/usr/sbin/service
debian:/var/www# command -v systemctl
/bin/systemctl
debian:/var/www# sudo stat /proc/1/exe
File: /proc/1/exe -> /sbin/init
Size: 0 Blocks: 0 IO Block: 1024 symbolic link
Device: 4h/4d Inode: 5518 Links: 1
Access: (0777/lrwxrwxrwx) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2018-02-18 16:33:49.840201013 +0000
Modify: 1970-01-01 01:00:25.220000000 +0100
Change: 1970-01-01 01:00:25.220000000 +0100
Birth: -

I upgraded to latest stable debian this morning as I was having issues with logfiles on downgraded version for jessie. Pogo Plug v2

debian:/var/www# uname -a
Linux debian 4.9.0-5-marvell #1 Debian 4.9.65-3+deb9u2 (2018-01-04) armv5tel GNU/Linux

What are the permissions on /etc/pihole?

   [2018-02-18 15:36:51.167] FATAL: Cannot change directory to /etc/pihole. Error code: 2
   Jan  1 01:00:30 dnsmasq[1630]: failed to load names from /etc/pihole/local.list: No such file or directory
   Jan  1 01:00:30 dnsmasq[1630]: failed to load names from /etc/pihole/black.list: No such file or directory
   Jan  1 01:00:30 dnsmasq[1630]: failed to load names from /etc/pihole/gravity.list: No such file or directory

debian:/var/www# ls -al /etc/pihole
total 11364
drwxr-xr-x 2 pihole pihole 4096 Feb 18 21:22 .
drwxr-xr-x 109 root root 12288 Feb 18 20:14 ..
-rw-r--r-- 1 root root 633 Feb 18 16:02 adlists.list
-rw-r--r-- 1 root root 2 Jan 1 1970 GitHubVersions
-rw-r--r-- 1 root root 4082784 Feb 18 16:02 gravity.list
-rw-r--r-- 1 root root 1207 Feb 18 17:05 install.log
-rw------- 1 root root 1581974 Feb 18 16:02 list.0.raw.githubusercontent.c om.domains
-rw------- 1 root root 333387 Feb 18 16:02 list.1.mirror1.malwaredomains. com.domains
-rw------- 1 root root 640332 Feb 18 16:02 list.2.sysctl.org.domains
-rw------- 1 root root 7121 Feb 18 16:02 list.3.zeustracker.abuse.ch.do mains
-rw------- 1 root root 613 Feb 18 16:02 list.4.s3.amazonaws.com.domain s
-rw------- 1 root root 43642 Feb 18 16:02 list.5.s3.amazonaws.com.domain s
-rw------- 1 root root 1816356 Feb 18 16:02 list.6.hosts-file.net.domains
-rw-r--r-- 1 root root 2657844 Feb 18 16:02 list.preEventHorizon
-rw-r--r-- 1 root root 18 Feb 18 21:20 localbranches
-rw-r--r-- 1 root root 39 Feb 18 16:02 local.list
-rw-r--r-- 1 root root 36 Feb 18 21:20 localversions
-rw-r--r-- 1 root root 234 Feb 18 17:05 logrotate
-rw-r--r-- 1 pihole pihole 368640 Feb 18 21:22 pihole-FTL.db
-rw-r--r-- 1 root root 287 Feb 18 19:48 setupVars.conf
-rw-r--r-- 1 root root 262 Feb 18 17:05 setupVars.conf.update.bak
-rw-r--r-- 1 root root 117 Feb 18 16:02 whitelist.txt

when you run the installer (pihole -r) then it doesn't get as far as building the gravity lists. ends at

[â] Detected ARM architecture
[i] Checking for existing FTL binary...
[i] Latest FTL Binary already installed (v3.0). Confirming Checksum...
[i] Checksum correct. No need to download!
[i] Restarting services...

[i] Starting dnsmasq service...debian:/var/www#

then just stops.

Is working fine this morning with no change from me.

Web Interface works and pihole -c is running fine. Very strange!

If it stops working again then reply with a new debug token :+1:

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.