Editing this post with possible solution but want to leave it in case others have the same problem: I may have got this working - I manually created a blacklist.txt file in the appdata\pihole\pihole directory and Pi Hole seems to be getting a connection from my router now. I also completely wiped my appdata folder and started fresh with Docker. I think some setting files weren't getting created properly.
Hi All,
I seem to be having a problem with this container. I had it working and then decided I was going to see if IPv6 could be enabled. In short I broke it. After reinstalling several times fresh, I'm getting stuck. I can log into the Pi Hole admin interface but it seems to be getting stuck on dnsmasq: read/etc/pihole/gravity.list. There's also a warning about failed to load names from /etc/pihole/black.list: No such file or directory. After connecting PI hole as my dns I'm getting 0 connections in the admin console.
131729 domains being pulled in by gravity 108601 unique domains trapped in the Event Horizon
pihole-FTL: no process found [✓] DNS service is running [✓] Pi-hole blocking is Enabled [cont-init.d] 20-start.sh: exited 0. [cont-init.d] done. [services.d] starting services Starting dnsmasq Starting crond Starting pihole-FTL Starting lighttpd [services.d] done. dnsmasq: started, version 2.72 cachesize 10000 dnsmasq: compile time options: IPv6 GNU-getopt DBus i18n IDN DHCP DHCPv6 no-Lua TFTP conntrack ipset auth DNSSEC loop-detect dnsmasq: using nameserver 8.8.4.4#53 dnsmasq: using nameserver 8.8.8.8#53 dnsmasq: read /etc/hosts - 7 addresses dnsmasq: read /etc/pihole/local.list - 2 addresses dnsmasq: failed to load names from /etc/pihole/black.list: No such file or directory dnsmasq: bad name at /etc/pihole/gravity.list line 81343 dnsmasq: bad name at /etc/pihole/gravity.list line 108601 dnsmasq: read /etc/pihole/gravity.list - 108601 addresses
[SUPPORT] pihole for unRaid - Spants repo
in Docker Containers
Posted · Edited by charveyunm
Editing this post with possible solution but want to leave it in case others have the same problem: I may have got this working - I manually created a blacklist.txt file in the appdata\pihole\pihole directory and Pi Hole seems to be getting a connection from my router now. I also completely wiped my appdata folder and started fresh with Docker. I think some setting files weren't getting created properly.
Hi All,
I seem to be having a problem with this container. I had it working and then decided I was going to see if IPv6 could be enabled. In short I broke it. After reinstalling several times fresh, I'm getting stuck. I can log into the Pi Hole admin interface but it seems to be getting stuck on dnsmasq: read/etc/pihole/gravity.list. There's also a warning about failed to load names from /etc/pihole/black.list: No such file or directory. After connecting PI hole as my dns I'm getting 0 connections in the admin console.
Here's my log:
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] 01-resolver-resolv: applying...
[fix-attrs.d] 01-resolver-resolv: exited 0.
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 20-start.sh: executing...
ARCH=amd64
BASH=/bin/bash
BASHOPTS=cmdhist:complete_fullquote:extquote:force_fignore:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath
BASH_ALIASES=()
BASH_ARGC=()
BASH_ARGV=()
BASH_CMDS=()
BASH_LINENO=([0]="0")
BASH_SOURCE=([0]="/var/run/s6/etc/cont-init.d/20-start.sh")
BASH_VERSINFO=([0]="4" [1]="3" [2]="30" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu")
BASH_VERSION='4.3.30(1)-release'
CWD=/
DIRSTACK=()
DNS1=8.8.8.8
DNS2=8.8.4.4
DNSMASQ_LISTENING=all
EUID=0
)
HOME=/root
HOSTNAME=6859ee426019
HOSTTYPE=x86_64
HOST_OS=unRAID
IFS=$' \t\n'
INTERFACE=br0
IPv6=False
MACHTYPE=x86_64-pc-linux-gnu
OPTERR=1
OPTIND=1
OSTYPE=linux-gnu
PATH=/opt/pihole:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PHP_ENV_CONFIG=/etc/lighttpd/conf-enabled/15-fastcgi-php.conf
PHP_ERROR_LOG=/var/log/lighttpd/error.log
PIHOLE_INSTALL=/tmp/ph_install.sh
PPID=208
PS4='+ '
PWD=/
S6OVERLAY_RELEASE=https://github.com/just-containers/s6-overlay/releases/download/v1.21.2.2/s6-overlay-amd64.tar.gz
S6_KEEP_ENV=1
SHELL=/bin/bash
SHELLOPTS=braceexpand:hashall:interactive-comments
SHLVL=1
ServerIP=192.168.1.22
TAG=debian
TCP_PORT_53=53
TCP_PORT_80=80
b
TZ=Europe/London
UDP_PORT_53=53
UID=0
WEBPASSWORD=admin
_=bash
setupVars=/etc/pihole/setupVars.conf
::: Starting docker specific setup for docker diginc/pi-hole
+ [[ admin == '' ]]
+ pihole -a -p admin admin
[✓] New password set
Using default DNS servers: 8.8.8.8 & 8.8.4.4
DNSMasq binding to custom interface: br0
Added ENV to php:
"PHP_ERROR_LOG" => "/var/log/lighttpd/error.log",
"ServerIP" => "192.168.1.22",
"VIRTUAL_HOST" => "192.168.1.22",
Using IPv4
dnsmasq: syntax check OK.
::: Testing DNSmasq config: ::: Testing lighttpd config: Syntax OK
::: All config checks passed, starting ...
::: Docker start setup complete
Neutrino emissions detected...
Target: raw.githubusercontent.com (hosts)
Target: mirror1.malwaredomains.com (justdomains)
Target: sysctl.org (hosts)
Target: zeustracker.abuse.ch (blocklist.php?download=domainblocklist)
Target: s3.amazonaws.com (simple_tracking.txt)
Target: s3.amazonaws.com (simple_ad.txt)
Target: hosts-file.net (ad_servers.txt)
131729 domains being pulled in by gravity
108601 unique domains trapped in the Event Horizon
pihole-FTL: no process found
[✓] DNS service is running
[✓] Pi-hole blocking is Enabled
[cont-init.d] 20-start.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
Starting dnsmasq
Starting crond
Starting pihole-FTL
Starting lighttpd
[services.d] done.
dnsmasq: started, version 2.72 cachesize 10000
dnsmasq: compile time options: IPv6 GNU-getopt DBus i18n IDN DHCP DHCPv6 no-Lua TFTP conntrack ipset auth DNSSEC loop-detect
dnsmasq: using nameserver 8.8.4.4#53
dnsmasq: using nameserver 8.8.8.8#53
dnsmasq: read /etc/hosts - 7 addresses
dnsmasq: read /etc/pihole/local.list - 2 addresses
dnsmasq: failed to load names from /etc/pihole/black.list: No such file or directory
dnsmasq: bad name at /etc/pihole/gravity.list line 81343
dnsmasq: bad name at /etc/pihole/gravity.list line 108601
dnsmasq: read /etc/pihole/gravity.list - 108601 addresses