Unable to access web interface (docker/openmediavault)

Expected Behaviour:

Trying to install Pi-hole in Docker which is on an Openmediavault server.

Followed the install guide on this video: Block ads on your whole network with Pi-hole and Openmediavault - YouTube
Stuck on the step where I have to log onto the web interface.

Actual Behaviour:

web interface refuses to connect. in this case http://192.168.1.202/admin

Debug Token:

e[95m*** [ INITIALIZING ]e[0m
[i] 2019-12-24:17:22:37 debug log has been initialized.

e[95m*** [ INITIALIZING ]e[0m Sourcing setup variables
[i] Sourcing /etc/pihole/setupVars.conf...

e[95m*** [ DIAGNOSING ]:e[0m Core version
[i] Core: e[33mv4.3.2e[0m (e[96mhttps://discourse.pi-hole.net/t/how-do-i-update-pi-hole/249e[0m)
[i] Branch: e[32mmastere[0m
[i] Commit: v4.3.2-0-ge41c4b5

e[95m*** [ DIAGNOSING ]:e[0m Web version
[i] Web: e[33mv4.3.2e[0m (e[96mhttps://discourse.pi-hole.net/t/how-do-i-update-pi-hole/249e[0m)
[i] Branch: e[32mmastere[0m
[i] Commit: v4.3.2-0-g38d8e77

e[95m*** [ DIAGNOSING ]:e[0m FTL version
[e[32m✓e[0m] FTL: e[32mv4.3.1e[0m

e[95m*** [ DIAGNOSING ]:e[0m lighttpd version
[i] 1.4.45

e[95m*** [ DIAGNOSING ]:e[0m php version
[i] 7.0.33

e[95m*** [ DIAGNOSING ]:e[0m Operating system
[e[32m✓e[0m] e[32mDebian GNU/Linux 9 (stretch)e[0m

e[95m*** [ DIAGNOSING ]:e[0m SELinux
[i] e[32mSELinux not detectede[0m

e[95m*** [ DIAGNOSING ]:e[0m Processor
[i] x86_64

e[95m*** [ DIAGNOSING ]:e[0m Networking
[e[32m✓e[0m] IPv4 address(es) bound to the eth0 interface:
   e[91m192.168.1.202/24e[0m does not match the IP found in /etc/pihole/setupVars.conf (e[96mhttps://discourse.pi-hole.net/t/use-ipv6-ula-addresses-for-pi-hole/2127e[0m)

[e[91m✗e[0m] e[91mNo IPv6 address(es) found on the eth0e[0m interface.

[i] Default IPv4 gateway: 192.168.1.1
   * Pinging 192.168.1.1...
[e[32m✓e[0m] e[32mGateway responded.e[0m

e[95m*** [ DIAGNOSING ]:e[0m Ports in use
[e[32m*:53e[0m] is in use by e[32mpihole-FTLe[0m
[e[32m*:53e[0m] is in use by e[32mpihole-FTLe[0m
[e[32m127.0.0.1:4711e[0m] is in use by e[32mpihole-FTLe[0m

e[95m*** [ DIAGNOSING ]:e[0m Name resolution (IPv4) using a random blocked domain and a known ad-serving domain
[e[32m✓e[0m] www.cool-premiums.com e[32mis 0.0.0.0e[0m via e[96mlocalhoste[0m (127.0.0.1)
[e[32m✓e[0m] www.cool-premiums.com e[32mis 0.0.0.0e[0m via e[96mPi-holee[0m (192.168.1.202)
[e[32m✓e[0m] doubleclick.com e[32mis 216.58.199.78e[0m via e[96ma remote, public DNS servere[0m (8.8.8.8)

e[95m*** [ DIAGNOSING ]:e[0m Pi-hole processes
[e[91m✗e[0m] e[91mlighttpde[0m daemon is e[91minactivee[0m
[e[91m✗e[0m] e[91mpihole-FTLe[0m daemon is e[91minactivee[0m

e[95m*** [ DIAGNOSING ]:e[0m Setup variables
    BLOCKING_ENABLED=true
    QUERY_LOGGING=true
    INSTALL_WEB_SERVER=true
    INSTALL_WEB_INTERFACE=true
    LIGHTTPD_ENABLED=
    IPV4_ADDRESS=192.168.1.202
    IPV6_ADDRESS=
    DNS_BOGUS_PRIV=
    DNSSEC=
    CONDITIONAL_FORWARDING=
    CONDITIONAL_FORWARDING_IP=
    CONDITIONAL_FORWARDING_DOMAIN=
    CONDITIONAL_FORWARDING_REVERSE=
    PIHOLE_DNS_1=8.8.8.8
    PIHOLE_DNS_2=8.8.4.4
    PIHOLE_INTERFACE=eth0

e[95m*** [ DIAGNOSING ]:e[0m Dashboard and block page
[e[32m✓e[0m] Block page X-Header: e[32mX-Pi-hole: A black hole for Internet advertisements.e[0m
[e[32m✓e[0m] Web interface X-Header: e[32mX-Pi-hole: The Pi-hole Web interface is working!e[0m

e[95m*** [ DIAGNOSING ]:e[0m Gravity list
e[32m-rw-r--r-- 1 root root 2658965 Dec 24 17:02 /etc/pihole/gravity.liste[0m
   e[96m-----head of gravity.list------e[0m
   0.0.0.0
   0.nextyourcontent.com
   0.r.msn.com
   0.start.bz

   e[96m-----tail of gravity.list------e[0m
   zzz.clickbank.net
   zzzezeroe.fr
   zzzpooeaz-france.com
   zzzrtrcm2.com

e[95m*** [ DIAGNOSING ]:e[0m contents of e[96m/etc/piholee[0m

e[32m-rw-r--r-- 1 root root 313 Dec 24 16:09 /etc/pihole/adlists.liste[0m
   https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts
   https://mirror1.malwaredomains.com/files/justdomains
   http://sysctl.org/cameleon/hosts
   https://s3.amazonaws.com/lists.disconnect.me/simple_tracking.txt
   https://s3.amazonaws.com/lists.disconnect.me/simple_ad.txt
   https://hosts-file.net/ad_servers.txt

e[32m-rw-r--r-- 1 root root 53 Dec 24 17:02 /etc/pihole/local.liste[0m
   192.168.1.202 tomeofknowledge2
   192.168.1.202 pi.hole

e[95m*** [ DIAGNOSING ]:e[0m contents of e[96m/etc/dnsmasq.de[0m

e[32m-rw-r--r-- 1 root root 1387 Dec 24 17:01 /etc/dnsmasq.d/01-pihole.confe[0m
   addn-hosts=/etc/pihole/gravity.list
   addn-hosts=/etc/pihole/black.list
   addn-hosts=/etc/pihole/local.list
   localise-queries
   no-resolv
   cache-size=10000
   log-queries
   log-facility=/var/log/pihole.log
   local-ttl=2
   log-async
   server=8.8.8.8
   server=8.8.4.4
   interface=eth0

e[95m*** [ DIAGNOSING ]:e[0m contents of e[96m/etc/lighttpde[0m

e[32m-rw-r--r-- 1 root root 3499 Dec 24 17:01 /etc/lighttpd/lighttpd.confe[0m
   server.modules = (
   	"mod_access",
   	"mod_accesslog",
   	"mod_auth",
   	"mod_expire",
   	"mod_compress",
   	"mod_redirect",
   	"mod_setenv",
   	"mod_rewrite"
   )
   server.document-root        = "/var/www/html"
   server.error-handler-404    = "/pihole/index.php"
   server.upload-dirs          = ( "/var/cache/lighttpd/uploads" )
   server.errorlog             = "/var/log/lighttpd/error.log"
   server.pid-file             = "/var/run/lighttpd.pid"
   server.username             = "www-data"
   server.groupname            = "www-data"
   server.port                 = 80
   accesslog.filename          = "/var/log/lighttpd/access.log"
   accesslog.format            = "%{%s}t|%V|%r|%s|%b"
   index-file.names            = ( "index.php", "index.html", "index.lighttpd.html" )
   url.access-deny             = ( "~", ".inc", ".md", ".yml", ".ini" )
   static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )
   compress.cache-dir          = "/var/cache/lighttpd/compress/"
   compress.filetype           = ( "application/javascript", "text/css", "text/html", "text/plain" )
   mimetype.assign   = ( ".png"  => "image/png",
                         ".jpg"  => "image/jpeg",
                         ".jpeg" => "image/jpeg",
                         ".html" => "text/html",
                         ".css" => "text/css; charset=utf-8",
                         ".js" => "application/javascript",
                         ".json" => "application/json",
                         ".txt"  => "text/plain",
                         ".svg"  => "image/svg+xml" )
   include_shell "/usr/share/lighttpd/use-ipv6.pl " + server.port
   include_shell "find /etc/lighttpd/conf-enabled -name '*.conf' -a ! -name 'letsencrypt.conf' -printf 'include \"%p\"
' 2>/dev/null"
   $HTTP["url"] =~ "^/admin/" {
       
       setenv.add-response-header = (
           "X-Pi-hole" => "The Pi-hole Web interface is working!",
           "X-Frame-Options" => "DENY"
       )
       $HTTP["url"] =~ ".ttf$" {
           
           setenv.add-response-header = ( "Access-Control-Allow-Origin" => "*" )
       }
   }
   $HTTP["url"] =~ "^/admin/\.(.*)" {
        url.access-deny = ("")
   }
   include_shell "cat external.conf 2>/dev/null"

e[95m*** [ DIAGNOSING ]:e[0m contents of e[96m/etc/cron.de[0m

e[32m-rw-r--r-- 1 root root 1704 Sep 23 06:05 /etc/cron.d/piholee[0m
   44 4   * * 7   root    PATH="$PATH:/usr/local/bin/" pihole updateGravity >/var/log/pihole_updateGravity.log || cat /var/log/pihole_updateGravity.log
   00 00   * * *   root    PATH="$PATH:/usr/local/bin/" pihole flush once quiet
   @reboot root /usr/sbin/logrotate /etc/pihole/logrotate
   */10 *  * * *   root    PATH="$PATH:/usr/local/bin/" pihole updatechecker local
   37 12  * * *   root    PATH="$PATH:/usr/local/bin/" pihole updatechecker remote
   @reboot root    PATH="$PATH:/usr/local/bin/" pihole updatechecker remote reboot

e[95m*** [ DIAGNOSING ]:e[0m contents of e[96m/var/log/lighttpde[0m

e[32m-rw-r--r-- 1 www-data www-data 49 Dec 24 17:02 /var/log/lighttpd/error.loge[0m
   2019-12-24 17:02:00: (log.c.217) server started 

e[95m*** [ DIAGNOSING ]:e[0m contents of e[96m/var/loge[0m

e[32m-rw-r--r-- 1 root root 8624 Dec 24 17:02 /var/log/pihole-FTL.loge[0m
   e[96m-----head of pihole-FTL.log------e[0m
   [2019-12-24 17:01:51.686 325] Using log file /var/log/pihole-FTL.log
   [2019-12-24 17:01:51.686 325] ########## FTL started! ##########
   [2019-12-24 17:01:51.686 325] FTL branch: master
   [2019-12-24 17:01:51.686 325] FTL version: v4.3.1
   [2019-12-24 17:01:51.686 325] FTL commit: b60d63f
   [2019-12-24 17:01:51.686 325] FTL date: 2019-05-25 21:37:26 +0200
   [2019-12-24 17:01:51.687 325] FTL user: root
   [2019-12-24 17:01:51.687 325] Starting config file parsing (/etc/pihole/pihole-FTL.conf)
   [2019-12-24 17:01:51.687 325]    SOCKET_LISTENING: only local
   [2019-12-24 17:01:51.687 325]    AAAA_QUERY_ANALYSIS: Show AAAA queries
   [2019-12-24 17:01:51.687 325]    MAXDBDAYS: max age for stored queries is 365 days
   [2019-12-24 17:01:51.687 325]    RESOLVE_IPV6: Resolve IPv6 addresses
   [2019-12-24 17:01:51.687 325]    RESOLVE_IPV4: Resolve IPv4 addresses
   [2019-12-24 17:01:51.687 325]    DBINTERVAL: saving to DB file every minute
   [2019-12-24 17:01:51.687 325]    DBFILE: Using /etc/pihole/pihole-FTL.db
   [2019-12-24 17:01:51.687 325]    MAXLOGAGE: Importing up to 24.0 hours of log data
   [2019-12-24 17:01:51.687 325]    PRIVACYLEVEL: Set to 0
   [2019-12-24 17:01:51.687 325]    IGNORE_LOCALHOST: Show queries from localhost
   [2019-12-24 17:01:51.687 325]    BLOCKINGMODE: Null IPs for blocked domains
   [2019-12-24 17:01:51.687 325]    ANALYZE_ONLY_A_AND_AAAA: Disabled. Analyzing all queries
   [2019-12-24 17:01:51.687 325]    DBIMPORT: Importing history from database
   [2019-12-24 17:01:51.688 325]    PIDFILE: Using /var/run/pihole-FTL.pid
   [2019-12-24 17:01:51.688 325]    PORTFILE: Using /var/run/pihole-FTL.port
   [2019-12-24 17:01:51.688 325]    SOCKETFILE: Using /var/run/pihole/FTL.sock
   [2019-12-24 17:01:51.688 325]    WHITELISTFILE: Using /etc/pihole/whitelist.txt
   [2019-12-24 17:01:51.688 325]    BLACKLISTFILE: Using /etc/pihole/black.list
   [2019-12-24 17:01:51.688 325]    GRAVITYFILE: Using /etc/pihole/gravity.list
   [2019-12-24 17:01:51.688 325]    REGEXLISTFILE: Using /etc/pihole/regex.list
   [2019-12-24 17:01:51.688 325]    SETUPVARSFILE: Using /etc/pihole/setupVars.conf
   [2019-12-24 17:01:51.688 325]    AUDITLISTFILE: Using /etc/pihole/auditlog.list
   [2019-12-24 17:01:51.688 325]    MACVENDORDB: Using /etc/pihole/macvendor.db
   [2019-12-24 17:01:51.688 325]    PARSE_ARP_CACHE: Active
   [2019-12-24 17:01:51.688 325] Finished config file parsing
   [2019-12-24 17:01:51.689 325] WARNING: Starting pihole-FTL as user root is not recommended
   [2019-12-24 17:01:51.690 325] Database version is 3

   e[96m-----tail of pihole-FTL.log------e[0m
   [2019-12-24 17:02:00.602 498]    WHITELISTFILE: Using /etc/pihole/whitelist.txt
   [2019-12-24 17:02:00.602 498]    BLACKLISTFILE: Using /etc/pihole/black.list
   [2019-12-24 17:02:00.602 498]    GRAVITYFILE: Using /etc/pihole/gravity.list
   [2019-12-24 17:02:00.602 498]    REGEXLISTFILE: Using /etc/pihole/regex.list
   [2019-12-24 17:02:00.602 498]    SETUPVARSFILE: Using /etc/pihole/setupVars.conf
   [2019-12-24 17:02:00.602 498]    AUDITLISTFILE: Using /etc/pihole/auditlog.list
   [2019-12-24 17:02:00.602 498]    MACVENDORDB: Using /etc/pihole/macvendor.db
   [2019-12-24 17:02:00.602 498]    PARSE_ARP_CACHE: Active
   [2019-12-24 17:02:00.602 498] Finished config file parsing
   [2019-12-24 17:02:00.602 498] WARNING: Starting pihole-FTL as user root is not recommended
   [2019-12-24 17:02:00.603 498] Database version is 3
   [2019-12-24 17:02:00.603 498] Database successfully initialized
   [2019-12-24 17:02:00.603 498] New forward server: 8.8.4.4 (0/512)
   [2019-12-24 17:02:00.603 498] New forward server: 8.8.8.8 (1/512)
   [2019-12-24 17:02:00.603 498] Imported 28 queries from the long-term database
   [2019-12-24 17:02:00.603 498]  -> Total DNS queries: 28
   [2019-12-24 17:02:00.603 498]  -> Cached DNS queries: 8
   [2019-12-24 17:02:00.603 498]  -> Forwarded DNS queries: 20
   [2019-12-24 17:02:00.603 498]  -> Exactly blocked DNS queries: 0
   [2019-12-24 17:02:00.603 498]  -> Unknown DNS queries: 0
   [2019-12-24 17:02:00.603 498]  -> Unique domains: 3
   [2019-12-24 17:02:00.603 498]  -> Unique clients: 1
   [2019-12-24 17:02:00.603 498]  -> Known forward destinations: 2
   [2019-12-24 17:02:00.603 498] Successfully accessed setupVars.conf
   [2019-12-24 17:02:00.603 498] *************************************************************************
   [2019-12-24 17:02:00.603 498] * WARNING: Required Linux capability CAP_NET_ADMIN not available        *
   [2019-12-24 17:02:00.603 498] *************************************************************************
   [2019-12-24 17:02:00.895 498] PID of FTL process: 498
   [2019-12-24 17:02:00.895 498] Listening on port 4711 for incoming IPv4 telnet connections
   [2019-12-24 17:02:00.895 498] Listening on Unix socket
   [2019-12-24 17:02:00.896 498] Received SIGHUP, reloading cache
   [2019-12-24 17:02:00.896 498] Blocking status is enabled
   [2019-12-24 17:02:00.896 498] INFO: No whitelist file found
   [2019-12-24 17:02:00.896 498] Compiled 0 Regex filters and 0 whitelisted domains in 0.0 msec (0 errors)
   [2019-12-24 17:02:01.462 498] /etc/pihole/gravity.list: parsed 113624 domains (took 565.1 ms)

e[95m*** [ DIAGNOSING ]:e[0m contents of e[96m/dev/shme[0m
-rw------- 1 root root 331776 Dec 24 17:02 /dev/shm/FTL-clients
-rw------- 1 root root 108 Dec 24 17:02 /dev/shm/FTL-counters
-rw------- 1 root root 98304 Dec 24 17:02 /dev/shm/FTL-domains
-rw------- 1 root root 20480 Dec 24 17:02 /dev/shm/FTL-forwarded
-rw------- 1 root root 48 Dec 24 17:02 /dev/shm/FTL-lock
-rw------- 1 root root 12288 Dec 24 17:02 /dev/shm/FTL-overTime
-rw------- 1 root root 229376 Dec 24 17:02 /dev/shm/FTL-queries
-rw------- 1 root root 12 Dec 24 17:02 /dev/shm/FTL-settings
-rw------- 1 root root 4096 Dec 24 17:02 /dev/shm/FTL-strings

e[95m*** [ DIAGNOSING ]:e[0m Locale
    LANG=

e[95m*** [ DIAGNOSING ]:e[0m Pi-hole log
e[32m-rw-r--r-- 1 pihole pihole 7440 Dec 24 17:22 /var/log/pihole.loge[0m
   e[96m-----head of pihole.log------e[0m
   Dec 24 17:01:52 dnsmasq[327]: started, version pi-hole-2.80 cachesize 10000
   Dec 24 17:01:52 dnsmasq[327]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP DHCPv6 no-Lua TFTP no-conntrack ipset auth DNSSEC loop-detect inotify dumpfile
   Dec 24 17:01:52 dnsmasq[327]: using nameserver 8.8.4.4#53
   Dec 24 17:01:52 dnsmasq[327]: using nameserver 8.8.8.8#53
   Dec 24 17:01:52 dnsmasq[327]: read /etc/hosts - 7 addresses
   Dec 24 17:01:52 dnsmasq[327]: read /etc/pihole/local.list - 2 addresses
   Dec 24 17:01:52 dnsmasq[327]: failed to load names from /etc/pihole/black.list: No such file or directory
   Dec 24 17:01:52 dnsmasq[327]: read /etc/pihole/gravity.list - 113624 addresses
   Dec 24 17:02:00 dnsmasq[498]: started, version pi-hole-2.80 cachesize 10000
   Dec 24 17:02:00 dnsmasq[498]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP DHCPv6 no-Lua TFTP no-conntrack ipset auth DNSSEC loop-detect inotify dumpfile
   Dec 24 17:02:00 dnsmasq[498]: using nameserver 8.8.4.4#53
   Dec 24 17:02:00 dnsmasq[498]: using nameserver 8.8.8.8#53
   Dec 24 17:02:00 dnsmasq[498]: read /etc/hosts - 7 addresses
   Dec 24 17:02:00 dnsmasq[498]: read /etc/pihole/local.list - 2 addresses
   Dec 24 17:02:00 dnsmasq[498]: failed to load names from /etc/pihole/black.list: No such file or directory
   Dec 24 17:02:01 dnsmasq[498]: read /etc/pihole/gravity.list - 113624 addresses
   Dec 24 17:02:19 dnsmasq[498]: query[A] pi.hole from 127.0.0.1
   Dec 24 17:02:19 dnsmasq[498]: /etc/pihole/local.list pi.hole is 192.168.1.202
   Dec 24 17:02:49 dnsmasq[498]: query[A] pi.hole from 127.0.0.1
   Dec 24 17:02:49 dnsmasq[498]: /etc/pihole/local.list pi.hole is 192.168.1.202


e[95m********************************************e[0m
e[95m********************************************e[0m
[e[32m✓e[0m] e[32m** FINISHED DEBUGGING! **e[0m

What is your docker run command or the yaml file you are using to start the container?

Hi Dan,

Apologies for my ignorance I'm still new to Docker. Unsure of what the run command is as I configure Docker using the OMV GUI. Here are the screenshots of the configuration of the container.



Thank you for your help!
And have a Merry Christmas.

OMV isn't a supported platform that we can provide assistance with. You may get more help from an OMV support forum or from the author of the guide you followed.

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