[Fixed] PiHole Unable to Resolve DNS

Expected Behaviour:

When using PiHole as a DHCP Server, my network will use it and be able to connect to online websites.

Actual Behaviour:

As soon as I disable my router's DHCP functionality and set up PiHole as the DNS server, none of the devices on my network can connect online anymore.

Extra Information:

I just recently (as of Saturday, 5/9/2020) polled out my old Raspberry Pi 3b+ that I haven't touched in well over a year due to a move. I spent all day Saturday updating firmware, software, and distribution (Stretch to Buster) and getting my Apache web server back up. (Note: there was an option that popped up saying something about needing a DHCP server something something that I ignored at the time, not knowing I was going to need it).
Once I got my old web server back up, I started browsing pimylifeup and discovererd PiHole. So I spent most of today (Sunday, 5/10/2020) attempting to get everything to work with no avail. I originally just tried to use PiHole as a DNS server, but then after a bit of research, it seemed many people on Spectrum (like myself) were having issues, and recommended to use the PiHole DHCP Server instead. I did, for about 2 minutes after initially setting up the DHCP server, get PiHole working. It was only after I got excited and tried to test it on my girlfriend's phone that everything stopped working and has yet to work again. I am now about to give up and this post is my last ditch effort to get this to work, as I really want to get my own home network up and running. Any form of help would be greatly appreciated!

Attempted Solutions

  1. Checked out the DHCP server possible issue. It looks okay to me, I have successfully edited /etc/dhcpcd.conf with my Pi's static IP address on wlan0. I did not change the default DNS servers though, which are currently set to (what I assume is default): 1.1.1.1 1.0.0.1
  2. I've uninstalled and reinstalled PiHole multiple times
  3. I've rebooted my Pi multiple times.
  4. I attempted to get PiHole working on my Windows PC only, but it didn't seem to work at all (basically, everything worked on my PC, but PiHole showed no connections and I didn't get any adblock).
  5. I set up a VHost file for PiHole to run on Apache, which I can connect to via the Pi itself, but never from any other device. My Apache server is working fine, there are only 2 other sites currently in use other than PiHole.
  6. Initial tutorial I found for installing PiHole. I used the script.
  7. Tutorial I used for setting up the DHCP server. I followed this exactly.

Debug Token:

`*** [ INITIALIZING ]
[i] 2020-05-10:17:19:08 debug log has been initialized.

*** [ INITIALIZING ] Sourcing setup variables
[i] Sourcing /etc/pihole/setupVars.conf...

*** [ DIAGNOSING ]: Core version
[i] Core: v5.0 (https://discourse.pi-hole.net/t/how-do-i-update-pi-hole/249)
[i] Branch: master
[i] Commit: v5.0-0-g4d25f69

*** [ DIAGNOSING ]: Web version
[i] Web: v5.0 (https://discourse.pi-hole.net/t/how-do-i-update-pi-hole/249)
[i] Branch: master
[i] Commit: v5.0-0-gb86e4a3

*** [ DIAGNOSING ]: FTL version
[✓] FTL: v5.0

*** [ DIAGNOSING ]: lighttpd version
[i] 1.4.53

*** [ DIAGNOSING ]: php version
[i] 7.4.5

*** [ DIAGNOSING ]: Operating system
[✓] Raspbian GNU/Linux 10 (buster)

*** [ DIAGNOSING ]: SELinux
[✓] Default SELinux: permissive
[✓] Current SELinux: Disabled

*** [ DIAGNOSING ]: Processor
[✓] armv7l

*** [ DIAGNOSING ]: Networking
[✓] IPv4 address(es) bound to the wlan0 interface:
   192.168.1.15/24 matches the IP found in /etc/pihole/setupVars.conf

[✓] IPv6 address(es) bound to the wlan0 interface:
   2605:e000:1317:16d7::f48 does not match the IP found in /etc/pihole/setupVars.conf (https://discourse.pi-hole.net/t/use-ipv6-ula-addresses-for-pi-hole/2127)
   2605:e000:1317:16d7:1a6f:f24d:1b02:d6b2 matches the IP found in /etc/pihole/setupVars.conf
   fe80::4a5b:31e:2dc9:574d does not match the IP found in /etc/pihole/setupVars.conf (https://discourse.pi-hole.net/t/use-ipv6-ula-addresses-for-pi-hole/2127)

   ^ Please note that you may have more than one IP address listed.
   As long as one of them is green, and it matches what is in /etc/pihole/setupVars.conf, there is no need for concern.

   The link to the FAQ is for an issue that sometimes occurs when the IPv6 address changes, which is why we check for it.

[i] Default IPv4 gateway: 192.168.1.1
   * Pinging 192.168.1.1...
[✓] Gateway responded.
[i] Default IPv6 gateway: fe80::3293:bcff:fe82:d82
   * Pinging fe80::3293:bcff:fe82:d82...
ping6: Warning: source address might be selected on device other than wlan0.
[✓] Gateway responded.

*** [ DIAGNOSING ]: Ports in use
*:22 sshd (IPv4)
*:22 sshd (IPv6)
[80] is in use by apache2 (https://discourse.pi-hole.net/t/hardware-software-requirements/273#ports)
[53] is in use by pihole-FTL
[53] is in use by pihole-FTL
[4711] is in use by pihole-FTL
[4711] is in use by pihole-FTL
127.0.0.1:25 exim4 (IPv4)
[::1]:25 exim4 (IPv6)
[80] is in use by apache2 (https://discourse.pi-hole.net/t/hardware-software-requirements/273#ports)
[80] is in use by apache2 (https://discourse.pi-hole.net/t/hardware-software-requirements/273#ports)
[80] is in use by apache2 (https://discourse.pi-hole.net/t/hardware-software-requirements/273#ports)
[80] is in use by apache2 (https://discourse.pi-hole.net/t/hardware-software-requirements/273#ports)
[80] is in use by apache2 (https://discourse.pi-hole.net/t/hardware-software-requirements/273#ports)

*** [ DIAGNOSING ]: Name resolution (IPv4) using a random blocked domain and a known ad-serving domain
[✓] 3weekdiet.com is 0.0.0.0 via localhost (127.0.0.1)
[✓] 3weekdiet.com is 0.0.0.0 via Pi-hole (192.168.1.15)
[✓] doubleclick.com is 172.217.11.174 via a remote, public DNS server (8.8.8.8)

*** [ DIAGNOSING ]: Name resolution (IPv6) using a random blocked domain and a known ad-serving domain
[✓] tfiytdiytdiytfdiytfitfd.000webhostapp.com is :: via localhost (::1)
[✓] tfiytdiytdiytfdiytfitfd.000webhostapp.com is :: via Pi-hole (2605:e000:1317:16d7:1a6f:f24d:1b02:d6b2)
[✓] doubleclick.com is 2607:f8b0:4007:803::200e via a remote, public DNS server (2001:4860:4860::8888)

*** [ DIAGNOSING ]: Pi-hole processes
[✗] lighttpd daemon is failed
[✓] pihole-FTL daemon is active

*** [ DIAGNOSING ]: Setup variables
    PIHOLE_INTERFACE=wlan0
    IPV4_ADDRESS=192.168.1.15/24
    IPV6_ADDRESS=2605:e000:1317:16d7:1a6f:f24d:1b02:d6b2
    PIHOLE_DNS_1=1.1.1.1
    PIHOLE_DNS_2=1.0.0.1
    QUERY_LOGGING=true
    INSTALL_WEB_SERVER=false
    INSTALL_WEB_INTERFACE=true
    LIGHTTPD_ENABLED=true
    BLOCKING_ENABLED=true
    DHCP_ACTIVE=true
    DHCP_START=192.168.1.2
    DHCP_END=192.168.1.251
    DHCP_ROUTER=192.168.1.1
    DHCP_LEASETIME=24
    PIHOLE_DOMAIN=lan
    DHCP_IPv6=true
    DHCP_rapid_commit=false

*** [ DIAGNOSING ]: Dashboard and block page
[✗] Block page X-Header: X-Header does not match or could not be retrieved.
HTTP/1.1 200 OK
Date: Mon, 11 May 2020 00:19:11 GMT
Server: Apache/2.4.38 (Raspbian)
Last-Modified: Sun, 10 May 2020 22:03:16 GMT
ETag: "10b-5a55265b8ae72"
Accept-Ranges: bytes
Content-Length: 267
Vary: Accept-Encoding
Content-Type: text/html

[✗] Web interface X-Header: X-Header does not match or could not be retrieved.
HTTP/1.1 404 Not Found
Date: Mon, 11 May 2020 00:19:11 GMT
Server: Apache/2.4.38 (Raspbian)
Content-Type: text/html; charset=iso-8859-1


*** [ DIAGNOSING ]: Gravity List and Database
-rw-rw-r-- 1 pihole pihole 5087232 May 10 14:56 /etc/pihole/gravity.db

*** [ DIAGNOSING ]: Info table
   property              value
   --------------------  ----------------------------------------
   version               12
   updated               1589147789
   gravity_count         82767
   Last gravity run finished at: Sun 10 May 2020 02:56:29 PM PDT

   ----- First 10 Gravity Domains -----
   localhost.localdomain
   01mspmd5yalky8.com
   0byv9mgbn0.com
   analytics.247sports.com
   www.analytics.247sports.com
   2no.co
   www.2no.co
   logitechlogitechglobal.112.2o7.net
   www.logitechlogitechglobal.112.2o7.net
   30-day-change.com


*** [ DIAGNOSING ]: Groups
   id    enabled  name                                                date_added           date_modified        description
   ----  -------  --------------------------------------------------  -------------------  -------------------  --------------------------------------------------
   0           1  Default                                             2020-05-10 14:56:15  2020-05-10 14:56:15  The default group

*** [ DIAGNOSING ]: Domainlist (0/1 = exact white-/blacklist, 2/3 = regex white-/blacklist)

*** [ DIAGNOSING ]: Clients

*** [ DIAGNOSING ]: Adlists
   id    enabled  group_ids     address                                                                                               date_added           date_modified        comment
   ----  -------  ------------  ----------------------------------------------------------------------------------------------------  -------------------  -------------------  --------------------------------------------------
   1           1  0             https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts                                      2020-05-10 14:56:15  2020-05-10 14:56:15  Migrated from /etc/pihole/adlists.list
   2           1  0             https://mirror1.malwaredomains.com/files/justdomains                                                  2020-05-10 14:56:15  2020-05-10 14:56:15  Migrated from /etc/pihole/adlists.list
   3           1  0             https://s3.amazonaws.com/lists.disconnect.me/simple_tracking.txt                                      2020-05-10 14:56:15  2020-05-10 14:56:15  Migrated from /etc/pihole/adlists.list
   4           1  0             https://s3.amazonaws.com/lists.disconnect.me/simple_ad.txt                                            2020-05-10 14:56:15  2020-05-10 14:56:15  Migrated from /etc/pihole/adlists.list

*** [ DIAGNOSING ]: contents of /etc/pihole

-rw-r--r-- 1 root root 140 May 10 14:56 /etc/pihole/local.list
   192.168.1.15 ryans-pi
   2605:e000:1317:16d7:1a6f:f24d:1b02:d6b2 ryans-pi
   192.168.1.15 pi.hole
   2605:e000:1317:16d7:1a6f:f24d:1b02:d6b2 pi.hole

-rw-r--r-- 1 root root 234 May 10 14:56 /etc/pihole/logrotate
   /var/log/pihole.log {
        su root root
        daily
        copytruncate
        rotate 5
        compress
        delaycompress
        notifempty
        nomail
   }
   /var/log/pihole-FTL.log {
        su root root
        weekly
        copytruncate
        rotate 3
        compress
        delaycompress
        notifempty
        nomail
   }

*** [ DIAGNOSING ]: contents of /etc/dnsmasq.d

-rw-r--r-- 1 root root 1511 May 10 16:51 /etc/dnsmasq.d/01-pihole.conf
   addn-hosts=/etc/pihole/local.list
   addn-hosts=/etc/pihole/custom.list
   localise-queries
   no-resolv
   cache-size=10000
   log-queries
   log-facility=/var/log/pihole.log
   local-ttl=2
   log-async
   server=1.1.1.1
   server=1.0.0.1
   interface=wlan0
   server=/use-application-dns.net/
   dhcp-name-match=set:hostname-ignore,wpad
   dhcp-name-match=set:hostname-ignore,localhost
   dhcp-ignore-names=tag:hostname-ignore

-rw-r--r-- 1 root root 617 May 10 16:51 /etc/dnsmasq.d/02-pihole-dhcp.conf
   dhcp-authoritative
   dhcp-range=192.168.1.2,192.168.1.251,24h
   dhcp-option=option:router,192.168.1.1
   dhcp-leasefile=/etc/pihole/dhcp.leases
   domain=lan
   dhcp-option=option6:dns-server,[::]
   dhcp-range=::100,::1ff,constructor:wlan0,ra-names,slaac,24h
   ra-param=*,0,0

*** [ DIAGNOSING ]: contents of /etc/lighttpd

-rw-r--r-- 1 root root 2043 Apr 12  2019 /etc/lighttpd/lighttpd.conf
   server.modules = (
        "mod_indexfile",
        "mod_access",
        "mod_alias",
        "mod_redirect",
   )
   server.document-root        = "/var/www/html"
   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
   server.http-parseopts = (
     "header-strict"           => "enable",
     "host-strict"             => "enable",
     "host-normalize"          => "enable",
     "url-normalize-unreserved"=> "enable",
     "url-normalize-required"  => "enable",
     "url-ctrls-reject"        => "enable",
     "url-path-2f-decode"      => "enable",

     "url-path-dotseg-remove"  => "enable",


   )
   index-file.names            = ( "index.php", "index.html" )
   url.access-deny             = ( "~", ".inc" )
   static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )
   compress.cache-dir          = "/var/cache/lighttpd/compress/"
   compress.filetype           = ( "application/javascript", "text/css", "text/html", "text/plain" )
   include_shell "/usr/share/lighttpd/use-ipv6.pl " + server.port
   include_shell "/usr/share/lighttpd/create-mime.conf.pl"
   include "/etc/lighttpd/conf-enabled/*.conf"
   server.modules += (
        "mod_compress",
        "mod_dirlisting",
        "mod_staticfile",
   )

*** [ DIAGNOSING ]: contents of /etc/cron.d

-rw-r--r-- 1 root root 1704 May 10 14:56 /etc/cron.d/pihole
   24 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
   22 17  * * *   root    PATH="$PATH:/usr/local/bin/" pihole updatechecker remote
   @reboot root    PATH="$PATH:/usr/local/bin/" pihole updatechecker remote reboot

*** [ DIAGNOSING ]: contents of /var/log/lighttpd

*** [ DIAGNOSING ]: contents of /var/log

-rw-r--r-- 1 pihole pihole 61716 May 10 16:57 /var/log/pihole-FTL.log
   -----head of pihole-FTL.log------
   [2020-05-10 14:56:13.606 9899] Using log file /var/log/pihole-FTL.log
   [2020-05-10 14:56:13.606 9899] ########## FTL started! ##########
   [2020-05-10 14:56:13.606 9899] FTL branch: master
   [2020-05-10 14:56:13.606 9899] FTL version: v5.0
   [2020-05-10 14:56:13.606 9899] FTL commit: 3d7c095
   [2020-05-10 14:56:13.606 9899] FTL date: 2020-05-10 18:58:38 +0100
   [2020-05-10 14:56:13.606 9899] FTL user: pihole
   [2020-05-10 14:56:13.607 9899] Compiled for armhf (compiled on CI) using arm-linux-gnueabihf-gcc (Debian 6.3.0-18) 6.3.0 20170516
   [2020-05-10 14:56:13.607 9899] Starting config file parsing (/etc/pihole/pihole-FTL.conf)
   [2020-05-10 14:56:13.607 9899]    SOCKET_LISTENING: only local
   [2020-05-10 14:56:13.607 9899]    AAAA_QUERY_ANALYSIS: Show AAAA queries
   [2020-05-10 14:56:13.607 9899]    MAXDBDAYS: max age for stored queries is 365 days
   [2020-05-10 14:56:13.607 9899]    RESOLVE_IPV6: Resolve IPv6 addresses
   [2020-05-10 14:56:13.607 9899]    RESOLVE_IPV4: Resolve IPv4 addresses
   [2020-05-10 14:56:13.607 9899]    DBINTERVAL: saving to DB file every minute
   [2020-05-10 14:56:13.607 9899]    DBFILE: Using /etc/pihole/pihole-FTL.db
   [2020-05-10 14:56:13.607 9899]    MAXLOGAGE: Importing up to 24.0 hours of log data
   [2020-05-10 14:56:13.607 9899] Notice: Increasing privacy level from 0 to 3
   [2020-05-10 14:56:13.608 9899]    PRIVACYLEVEL: Set to 3
   [2020-05-10 14:56:13.608 9899]    IGNORE_LOCALHOST: Show queries from localhost
   [2020-05-10 14:56:13.608 9899]    BLOCKINGMODE: Null IPs for blocked domains
   [2020-05-10 14:56:13.608 9899]    ANALYZE_ONLY_A_AND_AAAA: Disabled. Analyzing all queries
   [2020-05-10 14:56:13.608 9899]    DBIMPORT: Importing history from database
   [2020-05-10 14:56:13.608 9899]    PIDFILE: Using /var/run/pihole-FTL.pid
   [2020-05-10 14:56:13.608 9899]    PORTFILE: Using /var/run/pihole-FTL.port
   [2020-05-10 14:56:13.608 9899]    SOCKETFILE: Using /var/run/pihole/FTL.sock
   [2020-05-10 14:56:13.608 9899]    SETUPVARSFILE: Using /etc/pihole/setupVars.conf
   [2020-05-10 14:56:13.608 9899]    MACVENDORDB: Using /etc/pihole/macvendor.db
   [2020-05-10 14:56:13.608 9899]    GRAVITYDB: Using /etc/pihole/gravity.db
   [2020-05-10 14:56:13.609 9899]    PARSE_ARP_CACHE: Active
   [2020-05-10 14:56:13.609 9899]    CNAME_DEEP_INSPECT: Active
   [2020-05-10 14:56:13.609 9899]    DELAY_STARTUP: No delay requested.
   [2020-05-10 14:56:13.609 9899]    BLOCK_ESNI: Enabled, blocking _esni.{blocked domain}
   [2020-05-10 14:56:13.609 9899] Finished config file parsing
   [2020-05-10 14:56:13.610 9899] No database file found, creating new (empty) database

   -----tail of pihole-FTL.log------
   [2020-05-10 16:57:29.793 866]    BLOCKINGMODE: Null IPs for blocked domains
   [2020-05-10 16:57:29.794 866]    ANALYZE_ONLY_A_AND_AAAA: Disabled. Analyzing all queries
   [2020-05-10 16:57:29.794 866]    DBIMPORT: Importing history from database
   [2020-05-10 16:57:29.794 866]    PIDFILE: Using /var/run/pihole-FTL.pid
   [2020-05-10 16:57:29.794 866]    PORTFILE: Using /var/run/pihole-FTL.port
   [2020-05-10 16:57:29.794 866]    SOCKETFILE: Using /var/run/pihole/FTL.sock
   [2020-05-10 16:57:29.794 866]    SETUPVARSFILE: Using /etc/pihole/setupVars.conf
   [2020-05-10 16:57:29.794 866]    MACVENDORDB: Using /etc/pihole/macvendor.db
   [2020-05-10 16:57:29.794 866]    GRAVITYDB: Using /etc/pihole/gravity.db
   [2020-05-10 16:57:29.794 866]    PARSE_ARP_CACHE: Active
   [2020-05-10 16:57:29.794 866]    CNAME_DEEP_INSPECT: Active
   [2020-05-10 16:57:29.794 866]    DELAY_STARTUP: No delay requested.
   [2020-05-10 16:57:29.794 866]    BLOCK_ESNI: Enabled, blocking _esni.{blocked domain}
   [2020-05-10 16:57:29.794 866] Finished config file parsing
   [2020-05-10 16:57:29.812 866] Database version is 5
   [2020-05-10 16:57:29.812 866] Database successfully initialized
   [2020-05-10 16:57:29.813 866] Imported 0 queries from the long-term database
   [2020-05-10 16:57:29.813 866]  -> Total DNS queries: 0
   [2020-05-10 16:57:29.813 866]  -> Cached DNS queries: 0
   [2020-05-10 16:57:29.813 866]  -> Forwarded DNS queries: 0
   [2020-05-10 16:57:29.813 866]  -> Blocked DNS queries: 0
   [2020-05-10 16:57:29.813 866]  -> Unknown DNS queries: 0
   [2020-05-10 16:57:29.813 866]  -> Unique domains: 0
   [2020-05-10 16:57:29.813 866]  -> Unique clients: 0
   [2020-05-10 16:57:29.813 866]  -> Known forward destinations: 0
   [2020-05-10 16:57:29.813 866] Successfully accessed setupVars.conf
   [2020-05-10 16:57:29.869 876] PID of FTL process: 876
   [2020-05-10 16:57:29.869 876] Listening on port 4711 for incoming IPv4 telnet connections
   [2020-05-10 16:57:29.870 876] Listening on port 4711 for incoming IPv6 telnet connections
   [2020-05-10 16:57:29.870 876] Listening on Unix socket
   [2020-05-10 16:57:29.887 876] Reloading DNS cache
   [2020-05-10 16:57:29.887 876] Blocking status is enabled
   [2020-05-10 16:57:29.930 876] INFO: No regex blacklist entries found
   [2020-05-10 16:57:29.931 876] INFO: No regex whitelist entries found
   [2020-05-10 16:57:29.931 876] Compiled 0 whitelist and 0 blacklist regex filters in 5.8 msec

*** [ DIAGNOSING ]: contents of /dev/shm
-rw------- 1 pihole pihole 643072 May 10 16:57 /dev/shm/FTL-clients
-rw------- 1 pihole pihole 124 May 10 16:57 /dev/shm/FTL-counters
-rw------- 1 pihole pihole 4096 May 10 16:57 /dev/shm/FTL-dns-cache
-rw------- 1 pihole pihole 65536 May 10 16:57 /dev/shm/FTL-domains
-rw------- 1 pihole pihole 28 May 10 16:58 /dev/shm/FTL-lock
-rw------- 1 pihole pihole 28672 May 10 16:57 /dev/shm/FTL-overTime
-rw------- 1 pihole pihole 4096 May 10 16:57 /dev/shm/FTL-per-client-regex
-rw------- 1 pihole pihole 229376 May 10 16:57 /dev/shm/FTL-queries
-rw------- 1 pihole pihole 12 May 10 16:57 /dev/shm/FTL-settings
-rw------- 1 pihole pihole 4096 May 10 17:19 /dev/shm/FTL-strings
-rw------- 1 pihole pihole 20480 May 10 16:57 /dev/shm/FTL-upstreams

*** [ DIAGNOSING ]: Locale
    LANG=en_US.UTF-8

*** [ DIAGNOSING ]: Pi-hole log
-rw-r--r-- 1 pihole pihole 22506 May 10 17:19 /var/log/pihole.log
   -----head of pihole.log------
   May 10 14:56:15 dnsmasq[9901]: started, version pi-hole-2.81 cachesize 10000
   May 10 14:56:15 dnsmasq[9901]: compile time options: IPv6 GNU-getopt no-DBus no-UBus no-i18n no-IDN DHCP DHCPv6 no-Lua TFTP no-conntrack ipset auth DNSSEC loop-detect inotify dumpfile
   May 10 14:56:15 dnsmasq[9901]: using only locally-known addresses for domain use-application-dns.net
   May 10 14:56:15 dnsmasq[9901]: using nameserver 1.0.0.1#53
   May 10 14:56:15 dnsmasq[9901]: using nameserver 1.1.1.1#53
   May 10 14:56:15 dnsmasq[9901]: read /etc/hosts - 5 addresses
   May 10 14:56:15 dnsmasq[9901]: failed to load names from /etc/pihole/custom.list: No such file or directory
   May 10 14:56:15 dnsmasq[9901]: failed to load names from /etc/pihole/local.list: No such file or directory
   May 10 14:56:31 dnsmasq[9901]: read /etc/hosts - 5 addresses
   May 10 14:56:31 dnsmasq[9901]: failed to load names from /etc/pihole/custom.list: No such file or directory
   May 10 14:56:31 dnsmasq[9901]: read /etc/pihole/local.list - 4 addresses
   May 10 14:56:31 dnsmasq[9901]: read /etc/hosts - 5 addresses
   May 10 14:56:31 dnsmasq[9901]: failed to load names from /etc/pihole/custom.list: No such file or directory
   May 10 14:56:31 dnsmasq[9901]: read /etc/pihole/local.list - 4 addresses
   May 10 15:19:52 dnsmasq[9901]: exiting on receipt of SIGTERM
   May 10 15:20:09 dnsmasq[872]: started, version pi-hole-2.81 cachesize 10000
   May 10 15:20:09 dnsmasq[872]: compile time options: IPv6 GNU-getopt no-DBus no-UBus no-i18n no-IDN DHCP DHCPv6 no-Lua TFTP no-conntrack ipset auth DNSSEC loop-detect inotify dumpfile
   May 10 15:20:09 dnsmasq[872]: warning: interface wlan0 does not currently exist
   May 10 15:20:09 dnsmasq[872]: using only locally-known addresses for domain use-application-dns.net
   May 10 15:20:09 dnsmasq[872]: using nameserver 1.0.0.1#53


********************************************
********************************************
[✓] ** FINISHED DEBUGGING! **

`

Update:

I've been able to get PiHole to semi-work with Apache. The DHCP server works like a charm now at least. My steps to get PiHole working:

  1. Completely uninstalled PiHole
  2. Make sure /etc/dhcpcd.conf is accurate. Note that I'm running my Pi on WiFi right now, so the interface is wlan0. I've assigned a static IP address to my Pi and used that same address in the DNS. Example below.
interface wlan0
        static ip_address=192.168.1.15/24
        static routers=192.168.1.1
        static domain_name_servers=192.168.1.15
  1. Reinstall PiHole, do not install the lighttpd server.
  2. Edit /etc/apache2/sites-available/000-default.conf to:
<VirtualHost *:80>
        ServerName pi.hole
        ServerAlias www.pi.hole
        ServerAdmin zykirion@localhost
        DocumentRoot /var/www/html/admin

        ErrorLog ${APACHE_LOG_DIR}/pihole_error.log
        CustomLog ${APACHE_LOG_DIR}/pihole_access.log combined
</VirtualHost>
  1. Add more sites if needed within /etc/apache2/sites-available/. Note the hole domain in ServerName. For whatever reason, this is the only safe domain I have been able to get working on all my devices and browsers so far. Example:
# /etc/apache2/sites-available/home.hole.conf
<VirtualHost *:80>
        ServerName www.home.hole
        ServerAlias www.home.hole
        ServerAdmin zykirion@localhost
        DocumentRoot /var/www/html/home

        ErrorLog ${APACHE_LOG_DIR}/home_error.log
        CustomLog ${APACHE_LOG_DIR}/home_access.log combined
</VirtualHost>
  1. For each site you add, make sure to run sudo a2ensite [filename].conf
  2. If you have a firewall installed, make sure to open the ports found here (includes examples of how to open ports).
  3. Restart your Pi.
  4. Log into your pi.hole and go to "Local DNS Records". Add records pointing to all your web sites. For example: pi.hole -> 192.168.1.15, www.pi.hole -> 192.168.1.15, etc...
  5. Within your pi.hole administration panel, go to Settings -> DHCP and make sure the Range of IP addresses to hand out is correct (match with DHCP values in router).
  6. Within your pi.hole administration panel, go to Settings -> DHCP and add a Static DHCP lease to your PI.
  7. On my router (from Spectrum), I made sure to turn off DHCP and DHCPv6. It was found in Advanced -> Router Settings. Browse the DHCP and DHCPv6 drop downs to turn each off.

Note: I have not gotten the ad block to work, and I am still getting a constant error when attempting to visit the Network tab within pi.hole. I get an error code 500 from the api_db.php script. PiHole's dashboard is also showing that nothing is happening, but pi.hole -> Settings -> DHCP does show the correct leases for all devices on my network.

I'll keep this post updated if I figure out anything else, just in case someone else is in my position.

Edit: On iPhones (Safari browser) you need to add the last '/' to the end of the URL for it to work.

Did you grant the webserver user access to the pihole group to access the query database and install required PHP modules:

usermod -aG pihole www-data
apt install php7.4-intl php7.4-sqlite3 php7.4-xml

Thank you for your reply, I'll try that right now and let you know.

Edit: All PHP modules were already installed. I successfully added the pihole user to the www-data group (completely forgot about the pihole user!) I do think permissions are probably the issue at this point, I'm going to keep looking into that.

I tried running:

sudo chmod g+rwx /var/www/html/ -R 

Just to see what happens. I still get the same errors, even though pihole is part of the www-data group. Here is a printout of ls -l of /var/www/html/:

drwxrwx---  7 ryan www-data 4096 May 11 13:45 admin
drwxrwx---  2 ryan www-data 4096 May 10 15:03 home
drwxrwx---  2 ryan www-data 4096 May 11 13:52 pihole

Here is a printout of ls -l for /var/www/html/admin:

total 452
-rw-rwx--- 1 ryan www-data  11902 May 11 12:53 api_db.php
-rw-rwx--- 1 ryan www-data   9478 May 11 12:53 api_FTL.php
-rw-rwx--- 1 ryan www-data   3609 May 11 12:53 api.php
-rw-rwx--- 1 ryan www-data   2260 May 11 12:53 auditlog.php
-rw-rwx--- 1 ryan www-data   2339 May 11 12:53 CONTRIBUTING.md
-rw-rwx--- 1 ryan www-data   2242 May 11 12:53 db_graph.php
-rw-rwx--- 1 ryan www-data   4265 May 11 12:53 db_lists.php
-rw-rwx--- 1 ryan www-data   6501 May 11 12:53 db_queries.php
-rw-rwx--- 1 ryan www-data    939 May 11 12:53 debug.php
-rw-rwx--- 1 ryan www-data   3910 May 11 12:53 dns_records.php
-rw-rwx--- 1 ryan www-data   1321 May 11 12:53 gravity.php
-rw-rwx--- 1 ryan www-data   3006 May 11 12:53 groups-adlists.php
-rw-rwx--- 1 ryan www-data   3036 May 11 12:53 groups-clients.php
-rw-rwx--- 1 ryan www-data   6866 May 11 12:53 groups-domains.php
-rw-rwx--- 1 ryan www-data   2731 May 11 12:53 groups.php
-rw-rwx--- 1 ryan www-data   9385 May 11 12:53 help.php
drwxrwx--- 3 ryan www-data   4096 May 11 12:53 img
-rw-rwx--- 1 ryan www-data   9049 May 11 12:53 index.php
-rw-rwx--- 1 ryan www-data  14164 May 11 12:53 LICENSE
-rw-rwx--- 1 ryan www-data   2900 May 11 12:53 network.php
-rw-rwx--- 1 ryan www-data   1486 May 11 12:53 package.json
-rw-rwx--- 1 ryan www-data 181446 May 11 12:53 package-lock.json
-rw-rwx--- 1 ryan www-data   5460 May 11 12:53 queries.php
-rw-rwx--- 1 ryan www-data   1110 May 11 12:53 queryads.php
-rw-rwx--- 1 ryan www-data   9158 May 11 12:53 README.md
drwxrwx--- 4 ryan www-data   4096 May 11 12:53 scripts
-rw-rwx--- 1 ryan www-data  91608 May 11 12:53 settings.php
drwxrwx--- 3 ryan www-data   4096 May 11 12:53 style
-rw-rwx--- 1 ryan www-data    939 May 11 12:53 taillog-FTL.php
-rw-rwx--- 1 ryan www-data    931 May 11 12:53 taillog.php

So I guess it's not a permission error? Unless I forgot a permission...

Here's my updated Debug log:



This process collects information from your Pi-hole, and optionally uploads it to a unique and random directory on tricorder.pi-hole.net.

The intent of this script is to allow users to self-diagnose their installations.  This is accomplished by running tests against our software and providing the user with links to FAQ articles when a problem is detected.  Since we are a small team and Pi-hole has been growing steadily, it is our hope that this will help us spend more time on development.

NOTE: All log files auto-delete after 48 hours and ONLY the Pi-hole developers can access your data via the given token. We have taken these extra steps to secure your data and will work to further reduce any personal information gathered.

*** [ INITIALIZING ]
[i] 2020-05-11:17:26:45 debug log has been initialized.

*** [ INITIALIZING ] Sourcing setup variables
[i] Sourcing /etc/pihole/setupVars.conf...

*** [ DIAGNOSING ]: Core version
[i] Core: v5.0 (https://discourse.pi-hole.net/t/how-do-i-update-pi-hole/249)
[i] Branch: master
[i] Commit: v5.0-0-g4d25f69

*** [ DIAGNOSING ]: Web version
[i] Web: v5.0 (https://discourse.pi-hole.net/t/how-do-i-update-pi-hole/249)
[i] Branch: master
[i] Commit: v5.0-0-gb86e4a3-dirty
[i] Status:  M style/vendor/font-awesome-5.11.2/css/all.min.css
             M style/vendor/font-awesome-5.11.2/webfonts/fa-brands-400.eot
             M style/vendor/font-awesome-5.11.2/webfonts/fa-brands-400.svg
             M style/vendor/font-awesome-5.11.2/webfonts/fa-brands-400.ttf
             M style/vendor/font-awesome-5.11.2/webfonts/fa-brands-400.woff
             M style/vendor/font-awesome-5.11.2/webfonts/fa-brands-400.woff2
             M style/vendor/font-awesome-5.11.2/webfonts/fa-regular-400.eot
             M style/vendor/font-awesome-5.11.2/webfonts/fa-regular-400.svg
             M style/vendor/font-awesome-5.11.2/webfonts/fa-regular-400.ttf
             M style/vendor/font-awesome-5.11.2/webfonts/fa-regular-400.woff
             M style/vendor/font-awesome-5.11.2/webfonts/fa-regular-400.woff2
             M style/vendor/font-awesome-5.11.2/webfonts/fa-solid-900.eot
             M style/vendor/font-awesome-5.11.2/webfonts/fa-solid-900.svg
             M style/vendor/font-awesome-5.11.2/webfonts/fa-solid-900.ttf
             M style/vendor/font-awesome-5.11.2/webfonts/fa-solid-900.woff
             M style/vendor/font-awesome-5.11.2/webfonts/fa-solid-900.woff2
[i] Diff: diff --git a/style/vendor/font-awesome-5.11.2/css/all.min.css b/style/vendor/font-awesome-5.11.2/css/all.min.css
          old mode 100755
          new mode 100644
          diff --git a/style/vendor/font-awesome-5.11.2/webfonts/fa-brands-400.eot b/style/vendor/font-awesome-5.11.2/webfonts/fa-brands-400.eot
          old mode 100755
          new mode 100644
          diff --git a/style/vendor/font-awesome-5.11.2/webfonts/fa-brands-400.svg b/style/vendor/font-awesome-5.11.2/webfonts/fa-brands-400.svg
          old mode 100755
          new mode 100644
          diff --git a/style/vendor/font-awesome-5.11.2/webfonts/fa-brands-400.ttf b/style/vendor/font-awesome-5.11.2/webfonts/fa-brands-400.ttf
          old mode 100755
          new mode 100644
          diff --git a/style/vendor/font-awesome-5.11.2/webfonts/fa-brands-400.woff b/style/vendor/font-awesome-5.11.2/webfonts/fa-brands-400.woff
          old mode 100755
          new mode 100644
          diff --git a/style/vendor/font-awesome-5.11.2/webfonts/fa-brands-400.woff2 b/style/vendor/font-awesome-5.11.2/webfonts/fa-brands-400.woff2
          old mode 100755
          new mode 100644
          diff --git a/style/vendor/font-awesome-5.11.2/webfonts/fa-regular-400.eot b/style/vendor/font-awesome-5.11.2/webfonts/fa-regular-400.eot
          old mode 100755
          new mode 100644
          diff --git a/style/vendor/font-awesome-5.11.2/webfonts/fa-regular-400.svg b/style/vendor/font-awesome-5.11.2/webfonts/fa-regular-400.svg
          old mode 100755
          new mode 100644
          diff --git a/style/vendor/font-awesome-5.11.2/webfonts/fa-regular-400.ttf b/style/vendor/font-awesome-5.11.2/webfonts/fa-regular-400.ttf
          old mode 100755
          new mode 100644
          diff --git a/style/vendor/font-awesome-5.11.2/webfonts/fa-regular-400.woff b/style/vendor/font-awesome-5.11.2/webfonts/fa-regular-400.woff
          old mode 100755
          new mode 100644
          diff --git a/style/vendor/font-awesome-5.11.2/webfonts/fa-regular-400.woff2 b/style/vendor/font-awesome-5.11.2/webfonts/fa-regular-400.woff2
          old mode 100755
          new mode 100644
          diff --git a/style/vendor/font-awesome-5.11.2/webfonts/fa-solid-900.eot b/style/vendor/font-awesome-5.11.2/webfonts/fa-solid-900.eot
          old mode 100755
          new mode 100644
          diff --git a/style/vendor/font-awesome-5.11.2/webfonts/fa-solid-900.svg b/style/vendor/font-awesome-5.11.2/webfonts/fa-solid-900.svg
          old mode 100755
          new mode 100644
          diff --git a/style/vendor/font-awesome-5.11.2/webfonts/fa-solid-900.ttf b/style/vendor/font-awesome-5.11.2/webfonts/fa-solid-900.ttf
          old mode 100755
          new mode 100644
          diff --git a/style/vendor/font-awesome-5.11.2/webfonts/fa-solid-900.woff b/style/vendor/font-awesome-5.11.2/webfonts/fa-solid-900.woff
          old mode 100755
          new mode 100644
          diff --git a/style/vendor/font-awesome-5.11.2/webfonts/fa-solid-900.woff2 b/style/vendor/font-awesome-5.11.2/webfonts/fa-solid-900.woff2
          old mode 100755
          new mode 100644

*** [ DIAGNOSING ]: FTL version
[✓] FTL: v5.0

*** [ DIAGNOSING ]: lighttpd version
[i] opt

*** [ DIAGNOSING ]: php version
[i] 7.4.5

*** [ DIAGNOSING ]: Operating system
[✓] Raspbian GNU/Linux 10 (buster)

*** [ DIAGNOSING ]: SELinux
[✓] Default SELinux: permissive
[✓] Current SELinux: Disabled

*** [ DIAGNOSING ]: Processor
[✓] armv7l

*** [ DIAGNOSING ]: Networking
[✓] IPv4 address(es) bound to the wlan0 interface:
   192.168.1.15/24 matches the IP found in /etc/pihole/setupVars.conf

[✓] IPv6 address(es) bound to the wlan0 interface:
   2605:e000:1317:16d7::f48 does not match the IP found in /etc/pihole/setupVars.conf (https://discourse.pi-hole.net/t/use-ipv6-ula-addresses-for-pi-hole/2127)
   2605:e000:1317:16d7:1a6f:f24d:1b02:d6b2 matches the IP found in /etc/pihole/setupVars.conf
   fe80::4a5b:31e:2dc9:574d does not match the IP found in /etc/pihole/setupVars.conf (https://discourse.pi-hole.net/t/use-ipv6-ula-addresses-for-pi-hole/2127)

   ^ Please note that you may have more than one IP address listed.
   As long as one of them is green, and it matches what is in /etc/pihole/setupVars.conf, there is no need for concern.

   The link to the FAQ is for an issue that sometimes occurs when the IPv6 address changes, which is why we check for it.

[i] Default IPv4 gateway: 192.168.1.1
   * Pinging 192.168.1.1...
[✓] Gateway responded.
[i] Default IPv6 gateway: fe80::3293:bcff:fe82:d82
   * Pinging fe80::3293:bcff:fe82:d82...
[✓] Gateway responded.

*** [ DIAGNOSING ]: Ports in use
*:22 sshd (IPv4)
*:22 sshd (IPv6)
127.0.0.1:25 exim4 (IPv4)
[::1]:25 exim4 (IPv6)
[80] is in use by apache2 (https://discourse.pi-hole.net/t/hardware-software-requirements/273#ports)
[80] is in use by apache2 (https://discourse.pi-hole.net/t/hardware-software-requirements/273#ports)
[80] is in use by apache2 (https://discourse.pi-hole.net/t/hardware-software-requirements/273#ports)
[80] is in use by apache2 (https://discourse.pi-hole.net/t/hardware-software-requirements/273#ports)
[80] is in use by apache2 (https://discourse.pi-hole.net/t/hardware-software-requirements/273#ports)
[80] is in use by apache2 (https://discourse.pi-hole.net/t/hardware-software-requirements/273#ports)
[80] is in use by apache2 (https://discourse.pi-hole.net/t/hardware-software-requirements/273#ports)
[80] is in use by apache2 (https://discourse.pi-hole.net/t/hardware-software-requirements/273#ports)
[80] is in use by apache2 (https://discourse.pi-hole.net/t/hardware-software-requirements/273#ports)
[80] is in use by apache2 (https://discourse.pi-hole.net/t/hardware-software-requirements/273#ports)
[53] is in use by pihole-FTL
[53] is in use by pihole-FTL
[4711] is in use by pihole-FTL
[4711] is in use by pihole-FTL
[80] is in use by apache2 (https://discourse.pi-hole.net/t/hardware-software-requirements/273#ports)

*** [ DIAGNOSING ]: Name resolution (IPv4) using a random blocked domain and a known ad-serving domain
[✓] 0vm4hjvug772wnv8kuzj.cedricchenevert.com is 0.0.0.0 via localhost (127.0.0.1)
[✓] 0vm4hjvug772wnv8kuzj.cedricchenevert.com is 0.0.0.0 via Pi-hole (192.168.1.15)
[✓] doubleclick.com is 172.217.11.174 via a remote, public DNS server (8.8.8.8)

*** [ DIAGNOSING ]: Name resolution (IPv6) using a random blocked domain and a known ad-serving domain
[✓] scotiabank-secure.com is :: via localhost (::1)
[✓] scotiabank-secure.com is :: via Pi-hole (2605:e000:1317:16d7:1a6f:f24d:1b02:d6b2)
[✓] doubleclick.com is 2607:f8b0:4007:803::200e via a remote, public DNS server (2001:4860:4860::8888)

*** [ DIAGNOSING ]: Pi-hole processes
[✗] lighttpd daemon is inactive
[✓] pihole-FTL daemon is active

*** [ DIAGNOSING ]: Setup variables
    PIHOLE_INTERFACE=wlan0
    IPV4_ADDRESS=192.168.1.15/24
    IPV6_ADDRESS=2605:e000:1317:16d7:1a6f:f24d:1b02:d6b2
    PIHOLE_DNS_1=8.8.8.8
    PIHOLE_DNS_2=8.8.4.4
    QUERY_LOGGING=true
    INSTALL_WEB_SERVER=false
    INSTALL_WEB_INTERFACE=true
    LIGHTTPD_ENABLED=false
    BLOCKING_ENABLED=true
    DHCP_ACTIVE=true
    DHCP_START=192.168.1.2
    DHCP_END=192.168.1.254
    DHCP_ROUTER=192.168.1.1
    DHCP_LEASETIME=72
    PIHOLE_DOMAIN=hole
    DHCP_IPv6=true
    DHCP_rapid_commit=false

*** [ DIAGNOSING ]: Dashboard and block page
[✗] Block page X-Header: X-Header does not match or could not be retrieved.
HTTP/1.1 200 OK
Date: Tue, 12 May 2020 00:26:49 GMT
Server: Apache/2.4.38 (Raspbian)
Set-Cookie: PHPSESSID=98h32hqv8bo8fc00lv1u9usg2o; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate
Pragma: no-cache
Content-Type: text/html; charset=UTF-8

[✗] Web interface X-Header: X-Header does not match or could not be retrieved.
HTTP/1.1 404 Not Found
Date: Tue, 12 May 2020 00:26:49 GMT
Server: Apache/2.4.38 (Raspbian)
Content-Type: text/html; charset=iso-8859-1


*** [ DIAGNOSING ]: Gravity List and Database
-rw-rw-r-- 1 pihole pihole 5087232 May 11 13:49 /etc/pihole/gravity.db

*** [ DIAGNOSING ]: Info table
   property              value                                   
   --------------------  ----------------------------------------
   version               12                                      
   updated               1589230167                              
   gravity_count         82767                                   
   Last gravity run finished at: Mon May 11 13:49:27 PDT 2020

   ----- First 10 Gravity Domains -----
   localhost.localdomain
   01mspmd5yalky8.com
   0byv9mgbn0.com
   analytics.247sports.com
   www.analytics.247sports.com
   2no.co
   www.2no.co
   logitechlogitechglobal.112.2o7.net
   www.logitechlogitechglobal.112.2o7.net
   30-day-change.com


*** [ DIAGNOSING ]: Groups
   id    enabled  name                                                date_added           date_modified        description                                       
   ----  -------  --------------------------------------------------  -------------------  -------------------  --------------------------------------------------
   0           1  Default                                             2020-05-11 12:53:38  2020-05-11 12:53:38  The default group                                 

*** [ DIAGNOSING ]: Domainlist (0/1 = exact white-/blacklist, 2/3 = regex white-/blacklist)

*** [ DIAGNOSING ]: Clients

*** [ DIAGNOSING ]: Adlists
   id    enabled  group_ids     address                                                                                               date_added           date_modified        comment                                           
   ----  -------  ------------  ----------------------------------------------------------------------------------------------------  -------------------  -------------------  --------------------------------------------------
   1           1  0             https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts                                      2020-05-11 12:53:38  2020-05-11 12:53:38  Migrated from /etc/pihole/adlists.list            
   2           1  0             https://mirror1.malwaredomains.com/files/justdomains                                                  2020-05-11 12:53:38  2020-05-11 12:53:38  Migrated from /etc/pihole/adlists.list            
   3           1  0             https://s3.amazonaws.com/lists.disconnect.me/simple_tracking.txt                                      2020-05-11 12:53:38  2020-05-11 12:53:38  Migrated from /etc/pihole/adlists.list            
   4           1  0             https://s3.amazonaws.com/lists.disconnect.me/simple_ad.txt                                            2020-05-11 12:53:38  2020-05-11 12:53:38  Migrated from /etc/pihole/adlists.list            

*** [ DIAGNOSING ]: contents of /etc/pihole

-rw-r--r-- 1 root root 140 May 11 13:49 /etc/pihole/local.list
   192.168.1.15 ryans-pi
   2605:e000:1317:16d7:1a6f:f24d:1b02:d6b2 ryans-pi
   192.168.1.15 pi.hole
   2605:e000:1317:16d7:1a6f:f24d:1b02:d6b2 pi.hole

-rw-r--r-- 1 root root 234 May 11 12:53 /etc/pihole/logrotate
   /var/log/pihole.log {
   	su root root
   	daily
   	copytruncate
   	rotate 5
   	compress
   	delaycompress
   	notifempty
   	nomail
   }
   /var/log/pihole-FTL.log {
   	su root root
   	weekly
   	copytruncate
   	rotate 3
   	compress
   	delaycompress
   	notifempty
   	nomail
   }

*** [ DIAGNOSING ]: contents of /etc/dnsmasq.d

-rw-r--r-- 1 root root 1511 May 11 17:24 /etc/dnsmasq.d/01-pihole.conf
   addn-hosts=/etc/pihole/local.list
   addn-hosts=/etc/pihole/custom.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=wlan0
   server=/use-application-dns.net/
   dhcp-name-match=set:hostname-ignore,wpad
   dhcp-name-match=set:hostname-ignore,localhost
   dhcp-ignore-names=tag:hostname-ignore

-rw-r--r-- 1 root root 618 May 11 17:24 /etc/dnsmasq.d/02-pihole-dhcp.conf
   dhcp-authoritative
   dhcp-range=192.168.1.2,192.168.1.254,72h
   dhcp-option=option:router,192.168.1.1
   dhcp-leasefile=/etc/pihole/dhcp.leases
   domain=hole
   dhcp-option=option6:dns-server,[::]
   dhcp-range=::100,::1ff,constructor:wlan0,ra-names,slaac,72h
   ra-param=*,0,0

*** [ DIAGNOSING ]: contents of /etc/lighttpd

-rw-r--r-- 1 root root 2043 Apr 12  2019 /etc/lighttpd/lighttpd.conf
   server.modules = (
   	"mod_indexfile",
   	"mod_access",
   	"mod_alias",
    	"mod_redirect",
   )
   server.document-root        = "/var/www/html"
   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
   server.http-parseopts = (
     "header-strict"           => "enable",
     "host-strict"             => "enable",
     "host-normalize"          => "enable",
     "url-normalize-unreserved"=> "enable",
     "url-normalize-required"  => "enable",
     "url-ctrls-reject"        => "enable",
     "url-path-2f-decode"      => "enable",
    
     "url-path-dotseg-remove"  => "enable",
    
    
   )
   index-file.names            = ( "index.php", "index.html" )
   url.access-deny             = ( "~", ".inc" )
   static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )
   compress.cache-dir          = "/var/cache/lighttpd/compress/"
   compress.filetype           = ( "application/javascript", "text/css", "text/html", "text/plain" )
   include_shell "/usr/share/lighttpd/use-ipv6.pl " + server.port
   include_shell "/usr/share/lighttpd/create-mime.conf.pl"
   include "/etc/lighttpd/conf-enabled/*.conf"
   server.modules += (
   	"mod_compress",
   	"mod_dirlisting",
   	"mod_staticfile",
   )

*** [ DIAGNOSING ]: contents of /etc/cron.d

-rw-r--r-- 1 root root 1704 May 11 12:53 /etc/cron.d/pihole
   27 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
   21 15  * * *   root    PATH="$PATH:/usr/local/bin/" pihole updatechecker remote
   @reboot root    PATH="$PATH:/usr/local/bin/" pihole updatechecker remote reboot

*** [ DIAGNOSING ]: contents of /var/log/lighttpd
/var/log/lighttpd does not exist.

*** [ DIAGNOSING ]: contents of /var/log

-rw-r--r-- 1 pihole pihole 144704 May 11 17:24 /var/log/pihole-FTL.log
   -----head of pihole-FTL.log------
   [2020-05-11 12:53:37.449 6201] Using log file /var/log/pihole-FTL.log
   [2020-05-11 12:53:37.449 6201] ########## FTL started! ##########
   [2020-05-11 12:53:37.449 6201] FTL branch: master
   [2020-05-11 12:53:37.449 6201] FTL version: v5.0
   [2020-05-11 12:53:37.449 6201] FTL commit: 3d7c095
   [2020-05-11 12:53:37.449 6201] FTL date: 2020-05-10 18:58:38 +0100
   [2020-05-11 12:53:37.449 6201] FTL user: pihole
   [2020-05-11 12:53:37.450 6201] Compiled for armhf (compiled on CI) using arm-linux-gnueabihf-gcc (Debian 6.3.0-18) 6.3.0 20170516
   [2020-05-11 12:53:37.450 6201] Starting config file parsing (/etc/pihole/pihole-FTL.conf)
   [2020-05-11 12:53:37.450 6201]    SOCKET_LISTENING: only local
   [2020-05-11 12:53:37.450 6201]    AAAA_QUERY_ANALYSIS: Show AAAA queries
   [2020-05-11 12:53:37.450 6201]    MAXDBDAYS: max age for stored queries is 365 days
   [2020-05-11 12:53:37.450 6201]    RESOLVE_IPV6: Resolve IPv6 addresses
   [2020-05-11 12:53:37.450 6201]    RESOLVE_IPV4: Resolve IPv4 addresses
   [2020-05-11 12:53:37.450 6201]    DBINTERVAL: saving to DB file every minute
   [2020-05-11 12:53:37.450 6201]    DBFILE: Using /etc/pihole/pihole-FTL.db
   [2020-05-11 12:53:37.450 6201]    MAXLOGAGE: Importing up to 24.0 hours of log data
   [2020-05-11 12:53:37.450 6201] Notice: Increasing privacy level from 0 to 3
   [2020-05-11 12:53:37.450 6201]    PRIVACYLEVEL: Set to 3
   [2020-05-11 12:53:37.450 6201]    IGNORE_LOCALHOST: Show queries from localhost
   [2020-05-11 12:53:37.450 6201]    BLOCKINGMODE: Null IPs for blocked domains
   [2020-05-11 12:53:37.450 6201]    ANALYZE_ONLY_A_AND_AAAA: Disabled. Analyzing all queries
   [2020-05-11 12:53:37.450 6201]    DBIMPORT: Importing history from database
   [2020-05-11 12:53:37.450 6201]    PIDFILE: Using /var/run/pihole-FTL.pid
   [2020-05-11 12:53:37.450 6201]    PORTFILE: Using /var/run/pihole-FTL.port
   [2020-05-11 12:53:37.450 6201]    SOCKETFILE: Using /var/run/pihole/FTL.sock
   [2020-05-11 12:53:37.450 6201]    SETUPVARSFILE: Using /etc/pihole/setupVars.conf
   [2020-05-11 12:53:37.450 6201]    MACVENDORDB: Using /etc/pihole/macvendor.db
   [2020-05-11 12:53:37.450 6201]    GRAVITYDB: Using /etc/pihole/gravity.db
   [2020-05-11 12:53:37.450 6201]    PARSE_ARP_CACHE: Active
   [2020-05-11 12:53:37.450 6201]    CNAME_DEEP_INSPECT: Active
   [2020-05-11 12:53:37.450 6201]    DELAY_STARTUP: No delay requested.
   [2020-05-11 12:53:37.451 6201]    BLOCK_ESNI: Enabled, blocking _esni.{blocked domain}
   [2020-05-11 12:53:37.451 6201] Finished config file parsing
   [2020-05-11 12:53:37.451 6201] No database file found, creating new (empty) database

   -----tail of pihole-FTL.log------
   [2020-05-11 17:24:25.637 26832]    DBIMPORT: Importing history from database
   [2020-05-11 17:24:25.637 26832]    PIDFILE: Using /var/run/pihole-FTL.pid
   [2020-05-11 17:24:25.637 26832]    PORTFILE: Using /var/run/pihole-FTL.port
   [2020-05-11 17:24:25.637 26832]    SOCKETFILE: Using /var/run/pihole/FTL.sock
   [2020-05-11 17:24:25.638 26832]    SETUPVARSFILE: Using /etc/pihole/setupVars.conf
   [2020-05-11 17:24:25.638 26832]    MACVENDORDB: Using /etc/pihole/macvendor.db
   [2020-05-11 17:24:25.638 26832]    GRAVITYDB: Using /etc/pihole/gravity.db
   [2020-05-11 17:24:25.638 26832]    PARSE_ARP_CACHE: Active
   [2020-05-11 17:24:25.638 26832]    CNAME_DEEP_INSPECT: Active
   [2020-05-11 17:24:25.638 26832]    DELAY_STARTUP: No delay requested.
   [2020-05-11 17:24:25.638 26832]    BLOCK_ESNI: Enabled, blocking _esni.{blocked domain}
   [2020-05-11 17:24:25.638 26832] Finished config file parsing
   [2020-05-11 17:24:25.640 26832] Database version is 5
   [2020-05-11 17:24:25.640 26832] Database successfully initialized
   [2020-05-11 17:24:25.640 26832] Imported 0 queries from the long-term database
   [2020-05-11 17:24:25.641 26832]  -> Total DNS queries: 0
   [2020-05-11 17:24:25.641 26832]  -> Cached DNS queries: 0
   [2020-05-11 17:24:25.641 26832]  -> Forwarded DNS queries: 0
   [2020-05-11 17:24:25.641 26832]  -> Blocked DNS queries: 0
   [2020-05-11 17:24:25.641 26832]  -> Unknown DNS queries: 0
   [2020-05-11 17:24:25.641 26832]  -> Unique domains: 0
   [2020-05-11 17:24:25.641 26832]  -> Unique clients: 0
   [2020-05-11 17:24:25.641 26832]  -> Known forward destinations: 0
   [2020-05-11 17:24:25.641 26832] Successfully accessed setupVars.conf
   [2020-05-11 17:24:25.647 26834] PID of FTL process: 26834
   [2020-05-11 17:24:25.647 26834] Listening on port 4711 for incoming IPv4 telnet connections
   [2020-05-11 17:24:25.648 26834] Listening on port 4711 for incoming IPv6 telnet connections
   [2020-05-11 17:24:25.648 26834] Listening on Unix socket
   [2020-05-11 17:24:25.650 26834] Reloading DNS cache
   [2020-05-11 17:24:25.650 26834] Blocking status is enabled
   [2020-05-11 17:24:25.655 26834] INFO: No regex blacklist entries found
   [2020-05-11 17:24:25.655 26834] INFO: No regex whitelist entries found
   [2020-05-11 17:24:25.655 26834] Compiled 0 whitelist and 0 blacklist regex filters in 1.3 msec
   [2020-05-11 17:24:31.591 26834] New upstream server: 8.8.4.4 (0/1024)
   [2020-05-11 17:24:45.741 26834] New upstream server: 8.8.8.8 (1/1024)

*** [ DIAGNOSING ]: contents of /dev/shm
-rw------- 1 pihole pihole 643072 May 11 17:26 /dev/shm/FTL-clients
-rw------- 1 pihole pihole 124 May 11 17:24 /dev/shm/FTL-counters
-rw------- 1 pihole pihole 4096 May 11 17:24 /dev/shm/FTL-dns-cache
-rw------- 1 pihole pihole 65536 May 11 17:24 /dev/shm/FTL-domains
-rw------- 1 pihole pihole 28 May 11 17:24 /dev/shm/FTL-lock
-rw------- 1 pihole pihole 28672 May 11 17:24 /dev/shm/FTL-overTime
-rw------- 1 pihole pihole 4096 May 11 17:24 /dev/shm/FTL-per-client-regex
-rw------- 1 pihole pihole 229376 May 11 17:24 /dev/shm/FTL-queries
-rw------- 1 pihole pihole 12 May 11 17:24 /dev/shm/FTL-settings
-rw------- 1 pihole pihole 4096 May 11 17:24 /dev/shm/FTL-strings
-rw------- 1 pihole pihole 20480 May 11 17:24 /dev/shm/FTL-upstreams

*** [ DIAGNOSING ]: Locale
    LANG=C

*** [ DIAGNOSING ]: Pi-hole log
-rw-r--r-- 1 pihole pihole 3063754 May 11 17:26 /var/log/pihole.log
   -----head of pihole.log------
   May 11 13:17:36 dnsmasq[862]: started, version pi-hole-2.81 cachesize 10000
   May 11 13:17:36 dnsmasq[862]: compile time options: IPv6 GNU-getopt no-DBus no-UBus no-i18n no-IDN DHCP DHCPv6 no-Lua TFTP no-conntrack ipset auth DNSSEC loop-detect inotify dumpfile
   May 11 13:17:36 dnsmasq[862]: warning: interface wlan0 does not currently exist
   May 11 13:17:36 dnsmasq-dhcp[862]: DHCP, IP range 192.168.1.2 -- 192.168.1.254, lease time 3d
   May 11 13:17:36 dnsmasq-dhcp[862]: DHCPv6, IP range ::100 -- ::1ff, lease time 3d, template for wlan0
   May 11 13:17:36 dnsmasq-dhcp[862]: DHCPv4-derived IPv6 names on wlan0
   May 11 13:17:36 dnsmasq-dhcp[862]: router advertisement on wlan0
   May 11 13:17:36 dnsmasq[862]: using only locally-known addresses for domain use-application-dns.net
   May 11 13:17:36 dnsmasq[862]: using nameserver 8.8.4.4#53
   May 11 13:17:36 dnsmasq[862]: using nameserver 8.8.8.8#53
   [✗] May 11 13:17:36 dnsmasq[862]: bad address at /etc/hosts line 8 (https://discourse.pi-hole.net/t/why-do-i-see-bad-address-at-in-pihole-log/3972)
   [✗] May 11 13:17:36 dnsmasq[862]: bad address at /etc/hosts line 9 (https://discourse.pi-hole.net/t/why-do-i-see-bad-address-at-in-pihole-log/3972)
   [✗] May 11 13:17:36 dnsmasq[862]: bad address at /etc/hosts line 10 (https://discourse.pi-hole.net/t/why-do-i-see-bad-address-at-in-pihole-log/3972)
   May 11 13:17:36 dnsmasq[862]: read /etc/hosts - 5 addresses
   May 11 13:17:36 dnsmasq[862]: failed to load names from /etc/pihole/custom.list: No such file or directory
   May 11 13:17:36 dnsmasq[862]: read /etc/pihole/local.list - 4 addresses
   May 11 13:17:42 dnsmasq-dhcp[862]: RTR-SOLICIT(wlan0) b8:27:eb:9e:3d:70
   May 11 13:17:42 dnsmasq-dhcp[862]: DHCPv6, IP range 2605:e000:1317:16d7::100 -- 2605:e000:1317:16d7::1ff, lease time 3d, constructed for wlan0
   May 11 13:17:42 dnsmasq-dhcp[862]: DHCPv4-derived IPv6 names on 2605:e000:1317:16d7::, constructed for wlan0
   May 11 13:17:42 dnsmasq-dhcp[862]: router advertisement on 2605:e000:1317:16d7::, constructed for wlan0


********************************************
********************************************
[✓] ** FINISHED DEBUGGING! **

    * The debug log can be uploaded to tricorder.pi-hole.net for sharing with developers only.
    * For more information, see: https://pi-hole.net/2016/11/07/crack-our-medical-tricorder-win-a-raspberry-pi-3/
    * If available, we'll use openssl to upload the log, otherwise it will fall back to netcat.

    * Log will NOT be uploaded to tricorder.

Upon further testing, it seems that the ad blocker IS actually working, it's just not as in-depth as Ublock and I guess I need to add some more sources.

The web admin errors are still present though. :frowning:

The usermod above was to add www-data to pihole group, not the other way round :wink:. The related permissions are hence to check in: ls -al /etc/pihole

Btw in your debug token I see:

[✗] May 11 13:17:36 dnsmasq[862]: bad address at /etc/hosts line 8 (https://discourse.pi-hole.net/t/why-do-i-see-bad-address-at-in-pihole-log/3972)

Did you check: Why do I see "bad address at" in pihole.log?

cat /etc/hosts # Mask any private IPs/hostnames before pasting here!

Oh, I see. Thank you for the correction.

I checked the permissions in /etc/pihole and they were all owned by root:root. I updated the user and group to pihole:pihole. Here is the dump from ls -al /etc/pihole:

total 9088
drwxr-xr-x   3 pihole pihole    4096 May 12 08:57 .
drwxr-xr-x 128 root   root     12288 May 12 07:38 ..
-rw-r--r--   1 pihole pihole     242 May 11 13:51 adlists.list
-rw-r--r--   1 pihole pihole     156 May 11 21:42 custom.list
-rw-r--r--   1 pihole pihole     628 May 12 08:46 dhcp.leases
-rw-r--r--   1 pihole pihole     596 May 11 12:53 dns-servers.conf
-rw-r--r--   1 pihole pihole      14 May 11 18:45 GitHubVersions
-rw-rw-r--   1 pihole pihole 5087232 May 11 13:49 gravity.db
-rw-r--r--   1 pihole pihole    1051 May 11 12:53 install.log
-rw-r--r--   1 pihole pihole 1100893 May 11 13:49 list.0.raw.githubusercontent.com.domains
-rw-r--r--   1 pihole pihole  594672 May 11 12:53 list.1.mirror1.malwaredomains.com.domains
-rw-r--r--   1 pihole pihole     521 May 11 12:53 list.2.s3.amazonaws.com.domains
-rw-r--r--   1 pihole pihole   43529 May 11 12:53 list.3.s3.amazonaws.com.domains
-rw-r--r--   1 pihole pihole      20 May 12 09:00 localbranches
-rw-r--r--   1 pihole pihole     140 May 11 13:49 local.list
-rw-r--r--   1 pihole pihole      42 May 12 09:00 localversions
-rw-r--r--   1 pihole pihole     234 May 11 12:53 logrotate
-rw-r--r--   1 pihole pihole 2351104 May 11 12:53 macvendor.db
drwxr-xr-x   2 pihole pihole    4096 May 11 12:53 migration_backup
-rw-rw-r--   1 pihole pihole      15 May 11 12:53 pihole-FTL.conf
-rw-r--r--   1 pihole pihole   45056 May 12 08:57 pihole-FTL.db
-rw-r--r--   1 pihole pihole     503 May 11 17:24 setupVars.conf

I played around with the permissions a little bit, ended up trying chmod 777 -R /etc/pihole/, to see if that fixed anything. It didn't sadly. I changed all the permissions back to their original values (which you can see above).

I also ran a ls -al /etc/ | grep pihole and found a .pihole directory. This looks like a codebase, and it's all owned by root:root. Should I play around with permissions in this folder as well?

Also, just in case, here's the output of ls -al /var/www/html/admin/:

total 476
drwxrwxr-x 7 ryan www-data   4096 May 11 13:45 .
drwxr-xr-x 7 ryan www-data   4096 May 11 21:37 ..
-rw-rw-r-- 1 ryan www-data  11902 May 11 12:53 api_db.php
-rw-rw-r-- 1 ryan www-data   9478 May 11 12:53 api_FTL.php
-rw-rw-r-- 1 ryan www-data   3609 May 11 12:53 api.php
-rw-rw-r-- 1 ryan www-data   2260 May 11 12:53 auditlog.php
-rw-rw-r-- 1 ryan www-data   2339 May 11 12:53 CONTRIBUTING.md
-rw-rw-r-- 1 ryan www-data   2242 May 11 12:53 db_graph.php
-rw-rw-r-- 1 ryan www-data   4265 May 11 12:53 db_lists.php
-rw-rw-r-- 1 ryan www-data   6501 May 11 12:53 db_queries.php
-rw-rw-r-- 1 ryan www-data    939 May 11 12:53 debug.php
-rw-rw-r-- 1 ryan www-data   3910 May 11 12:53 dns_records.php
drwxrwxr-x 8 ryan www-data   4096 May 12 09:10 .git
drwxrwxr-x 3 ryan www-data   4096 May 11 12:53 .github
-rw-rw-r-- 1 ryan www-data    153 May 11 12:53 .gitignore
-rw-rw-r-- 1 ryan www-data   1321 May 11 12:53 gravity.php
-rw-rw-r-- 1 ryan www-data   3006 May 11 12:53 groups-adlists.php
-rw-rw-r-- 1 ryan www-data   3036 May 11 12:53 groups-clients.php
-rw-rw-r-- 1 ryan www-data   6866 May 11 12:53 groups-domains.php
-rw-rw-r-- 1 ryan www-data   2731 May 11 12:53 groups.php
-rw-rw-r-- 1 ryan www-data   9385 May 11 12:53 help.php
drwxrwxr-x 3 ryan www-data   4096 May 11 12:53 img
-rw-rw-r-- 1 ryan www-data   9049 May 11 12:53 index.php
-rw-rw-r-- 1 ryan www-data  14164 May 11 12:53 LICENSE
-rw-rw-r-- 1 ryan www-data   2900 May 11 12:53 network.php
-rw-rw-r-- 1 ryan www-data   1486 May 11 12:53 package.json
-rw-rw-r-- 1 ryan www-data 181446 May 11 12:53 package-lock.json
-rw-rw-r-- 1 ryan www-data   5460 May 11 12:53 queries.php
-rw-rw-r-- 1 ryan www-data   1110 May 11 12:53 queryads.php
-rw-rw-r-- 1 ryan www-data   9158 May 11 12:53 README.md
drwxrwxr-x 4 ryan www-data   4096 May 11 12:53 scripts
-rw-rw-r-- 1 ryan www-data  91608 May 11 12:53 settings.php
drwxrwxr-x 3 ryan www-data   4096 May 11 12:53 style
-rw-rw-r-- 1 ryan www-data    939 May 11 12:53 taillog-FTL.php
-rw-rw-r-- 1 ryan www-data    931 May 11 12:53 taillog.php
-rw-rw-r-- 1 ryan www-data     45 May 11 12:53 .user.php.ini

I also forgot to mention that I already cleared out my /etc/hosts file. I have posted an updated debug log here.

Here is the contents of my /etc/hosts file:

127.0.0.1       localhost
::1             localhost ip6-localhost ip6-loopback
ff02::1         ip6-allnodes
ff02::2         ip6-allrouters

127.0.1.1       ryans-pi

Thank you again for you support.

pi@phb5:~ $ stat -c "%U %G %a %n" /etc/pihole
pihole pihole 775 /etc/pihole

pi@phb5:~ $ stat -c "%U %G %a %n" /etc/pihole/* | column -t
root    root    644  /etc/pihole/adlists.list
root    root    644  /etc/pihole/adlists.list.old
pihole  pihole  644  /etc/pihole/dhcp.leases
root    root    644  /etc/pihole/dns-servers.conf
root    root    644  /etc/pihole/ftlbranch
root    root    644  /etc/pihole/GitHubVersions
pihole  pihole  664  /etc/pihole/gravity.db
root    root    644  /etc/pihole/gravity.list
root    root    644  /etc/pihole/install.log
root    root    644  /etc/pihole/list.0.raw.githubusercontent.com.domains
root    root    644  /etc/pihole/list.1.mirror1.malwaredomains.com.domains
root    root    644  /etc/pihole/list.2.sysctl.org.domains
root    root    644  /etc/pihole/list.3.s3.amazonaws.com.domains
root    root    644  /etc/pihole/list.4.s3.amazonaws.com.domains
root    root    644  /etc/pihole/list.6.dehakkelaar.nl.domains
root    root    644  /etc/pihole/list.7.gitlab.com.domains
root    root    644  /etc/pihole/localbranches
root    root    644  /etc/pihole/local.list
root    root    644  /etc/pihole/localversions
root    root    644  /etc/pihole/logrotate
pihole  pihole  644  /etc/pihole/macvendor.db
root    root    755  /etc/pihole/migration_backup
pihole  root    664  /etc/pihole/pihole-FTL.conf
pihole  pihole  644  /etc/pihole/pihole-FTL.db
root    root    644  /etc/pihole/setupVars.conf
root    root    644  /etc/pihole/setupVars.conf.update.bak

pi@phb5:~ $ stat -c "%U %G %a %n" /var/www/html
www-data www-data 775 /var/www/html

pi@phb5:~ $ stat -c "%U %G %a %n" /var/www/html/admin/*
root root 644 /var/www/html/admin/api_db.php
root root 644 /var/www/html/admin/api_FTL.php
root root 644 /var/www/html/admin/api.php
root root 644 /var/www/html/admin/auditlog.php
root root 644 /var/www/html/admin/CONTRIBUTING.md
root root 644 /var/www/html/admin/db_graph.php
root root 644 /var/www/html/admin/db_lists.php
root root 644 /var/www/html/admin/db_queries.php
root root 644 /var/www/html/admin/debug.php
root root 644 /var/www/html/admin/dns_records.php
root root 644 /var/www/html/admin/gravity.php
root root 644 /var/www/html/admin/groups-adlists.php
root root 644 /var/www/html/admin/groups-clients.php
root root 644 /var/www/html/admin/groups-domains.php
root root 644 /var/www/html/admin/groups.php
root root 644 /var/www/html/admin/help.php
root root 755 /var/www/html/admin/img
root root 644 /var/www/html/admin/index.php
root root 644 /var/www/html/admin/LICENSE
root root 644 /var/www/html/admin/network.php
root root 644 /var/www/html/admin/package.json
root root 644 /var/www/html/admin/package-lock.json
root root 644 /var/www/html/admin/queries.php
root root 644 /var/www/html/admin/queryads.php
root root 644 /var/www/html/admin/README.md
root root 755 /var/www/html/admin/scripts
root root 644 /var/www/html/admin/settings.php
root root 755 /var/www/html/admin/style
root root 644 /var/www/html/admin/taillog-FTL.php
root root 644 /var/www/html/admin/taillog.php

Thank you for that easy to reference list. I have copied the permissions to the best of my abilities (I believe I copied exactly).

For reference, here are my outputs for the same directories you showed:

$ stat -c "%U %G %a %n" /etc/pihole
pihole pihole 755 /etc/pihole
$ stat -c "%U %G %a %n" /etc/pihole/* | column -t
root    root    644  /etc/pihole/adlists.list
root    root    644  /etc/pihole/custom.list
pihole  pihole  644  /etc/pihole/dhcp.leases
root    root    644  /etc/pihole/dns-servers.conf
root    root    644  /etc/pihole/GitHubVersions
pihole  pihole  664  /etc/pihole/gravity.db
root    root    644  /etc/pihole/install.log
root    root    644  /etc/pihole/list.0.raw.githubusercontent.com.domains
root    root    644  /etc/pihole/list.1.mirror1.malwaredomains.com.domains
root    root    644  /etc/pihole/list.2.s3.amazonaws.com.domains
root    root    644  /etc/pihole/list.3.s3.amazonaws.com.domains
root    root    644  /etc/pihole/localbranches
root    root    644  /etc/pihole/local.list
root    root    644  /etc/pihole/localversions
root    root    644  /etc/pihole/logrotate
pihole  pihole  644  /etc/pihole/macvendor.db
root    root    755  /etc/pihole/migration_backup
pihole  root    664  /etc/pihole/pihole-FTL.conf
pihole  pihole  644  /etc/pihole/pihole-FTL.db
root    root    644  /etc/pihole/setupVars.conf
$ stat -c "%U %G %a %n" /var/www/html
www-data www-data 755 /var/www/html
$ stat -c "%U %G %a %n" /var/www/html/admin/*
root root 644 /var/www/html/admin/api_db.php
root root 644 /var/www/html/admin/api_FTL.php
root root 644 /var/www/html/admin/api.php
root root 644 /var/www/html/admin/auditlog.php
root root 644 /var/www/html/admin/CONTRIBUTING.md
root root 644 /var/www/html/admin/db_graph.php
root root 644 /var/www/html/admin/db_lists.php
root root 644 /var/www/html/admin/db_queries.php
root root 644 /var/www/html/admin/debug.php
root root 644 /var/www/html/admin/dns_records.php
root root 644 /var/www/html/admin/gravity.php
root root 644 /var/www/html/admin/groups-adlists.php
root root 644 /var/www/html/admin/groups-clients.php
root root 644 /var/www/html/admin/groups-domains.php
root root 644 /var/www/html/admin/groups.php
root root 644 /var/www/html/admin/help.php
root root 755 /var/www/html/admin/img
root root 644 /var/www/html/admin/index.php
root root 644 /var/www/html/admin/LICENSE
root root 644 /var/www/html/admin/network.php
root root 644 /var/www/html/admin/package.json
root root 644 /var/www/html/admin/package-lock.json
root root 644 /var/www/html/admin/queries.php
root root 644 /var/www/html/admin/queryads.php
root root 644 /var/www/html/admin/README.md
root root 755 /var/www/html/admin/scripts
root root 644 /var/www/html/admin/settings.php
root root 755 /var/www/html/admin/style
root root 644 /var/www/html/admin/taillog-FTL.php
root root 644 /var/www/html/admin/taillog.php

Also, I'm not sure if this will help, but I grabbed the tail end of pihole.log while attempting to load the "Network" tab. I have copied the ouput below. There was no output for the tail end of the pihole-FTL log.

May 12 17:27:24 dnsmasq[27720]: query[A] pi.hole from 192.168.1.4
May 12 17:27:24 dnsmasq[27720]: /etc/pihole/custom.list pi.hole is 192.168.1.15
May 12 17:27:24 dnsmasq[27720]: query[AAAA] pi.hole from 192.168.1.4
May 12 17:27:24 dnsmasq[27720]: /etc/pihole/local.list pi.hole is 2605:e000:1317:16d7:1a6f:f24d:1b02:d6b2
May 12 17:27:24 dnsmasq[27720]: query[AAAA] pi.hole from 192.168.1.4
May 12 17:27:24 dnsmasq[27720]: /etc/pihole/local.list pi.hole is 2605:e000:1317:16d7:1a6f:f24d:1b02:d6b2
May 12 17:27:30 dnsmasq[27720]: query[A] r1---sn-a5mekned.googlevideo.com from 2605:e000:1317:16d7:8582:dd45:6e7a:3832
May 12 17:27:30 dnsmasq[27720]: forwarded r1---sn-a5mekned.googlevideo.com to 8.8.4.4
May 12 17:27:30 dnsmasq[27720]: forwarded r1---sn-a5mekned.googlevideo.com to 8.8.8.8
May 12 17:27:30 dnsmasq[27720]: query[AAAA] r1---sn-a5mekned.googlevideo.com from 2605:e000:1317:16d7:8582:dd45:6e7a:3832
May 12 17:27:30 dnsmasq[27720]: forwarded r1---sn-a5mekned.googlevideo.com to 8.8.4.4
May 12 17:27:30 dnsmasq[27720]: reply r1---sn-a5mekned.googlevideo.com is <CNAME>
May 12 17:27:30 dnsmasq[27720]: reply r1.sn-a5mekned.googlevideo.com is 74.125.170.71
May 12 17:27:30 dnsmasq[27720]: query[AAAA] r1.sn-a5mekned.googlevideo.com from 2605:e000:1317:16d7:8582:dd45:6e7a:3832
May 12 17:27:30 dnsmasq[27720]: forwarded r1.sn-a5mekned.googlevideo.com to 8.8.8.8
May 12 17:27:30 dnsmasq[27720]: reply r1---sn-a5mekned.googlevideo.com is <CNAME>
May 12 17:27:30 dnsmasq[27720]: reply r1.sn-a5mekned.googlevideo.com is 2607:f8b0:401c:18::7
May 12 17:27:30 dnsmasq[27720]: reply r1.sn-a5mekned.googlevideo.com is 2607:f8b0:401c:18::7
May 12 17:27:33 dnsmasq[27720]: query[A] dealer.spotify.com from 192.168.1.4
May 12 17:27:33 dnsmasq[27720]: cached dealer.spotify.com is <CNAME>
May 12 17:27:33 dnsmasq[27720]: forwarded dealer.spotify.com to 8.8.8.8
May 12 17:27:33 dnsmasq[27720]: reply dealer.spotify.com is <CNAME>
May 12 17:27:33 dnsmasq[27720]: reply global-dealer-ssl.spotify.com is 35.186.224.47
May 12 17:27:33 dnsmasq[27720]: query[A] spclient.wg.spotify.com from 192.168.1.4
May 12 17:27:33 dnsmasq[27720]: cached spclient.wg.spotify.com is <CNAME>
May 12 17:27:33 dnsmasq[27720]: forwarded spclient.wg.spotify.com to 8.8.8.8
May 12 17:27:33 dnsmasq[27720]: query[AAAA] spclient.wg.spotify.com from 192.168.1.4
May 12 17:27:33 dnsmasq[27720]: forwarded spclient.wg.spotify.com to 8.8.8.8
May 12 17:27:33 dnsmasq[27720]: reply spclient.wg.spotify.com is <CNAME>
May 12 17:27:33 dnsmasq[27720]: reply webapi-wg.dual-gslb.spotify.com is 35.186.224.53
May 12 17:27:33 dnsmasq[27720]: reply spclient.wg.spotify.com is <CNAME>
May 12 17:27:33 dnsmasq[27720]: reply webapi-wg.dual-gslb.spotify.com is 2600:1901:1:fb3::
May 12 17:27:35 dnsmasq[27720]: query[A] pi.hole from 192.168.1.4
May 12 17:27:35 dnsmasq[27720]: /etc/pihole/custom.list pi.hole is 192.168.1.15
May 12 17:27:35 dnsmasq[27720]: query[AAAA] pi.hole from 192.168.1.4
May 12 17:27:35 dnsmasq[27720]: /etc/pihole/local.list pi.hole is 2605:e000:1317:16d7:1a6f:f24d:1b02:d6b2
May 12 17:27:35 dnsmasq[27720]: query[AAAA] pi.hole from 192.168.1.4
May 12 17:27:35 dnsmasq[27720]: /etc/pihole/local.list pi.hole is 2605:e000:1317:16d7:1a6f:f24d:1b02:d6b2
May 12 17:27:51 dnsmasq[27720]: query[A] telemetry.dropbox.com from 192.168.1.4
May 12 17:27:51 dnsmasq[27720]: gravity blocked telemetry.dropbox.com is 0.0.0.0
May 12 17:27:51 dnsmasq[27720]: query[AAAA] telemetry.dropbox.com from 192.168.1.4
May 12 17:27:51 dnsmasq[27720]: gravity blocked telemetry.dropbox.com is ::
May 12 17:27:55 dnsmasq[27720]: query[AAAA] www.googleadservices.com from 2605:e000:1317:16d7:8582:dd45:6e7a:3832
May 12 17:27:55 dnsmasq[27720]: gravity blocked www.googleadservices.com is ::
May 12 17:27:55 dnsmasq[27720]: query[A] www.googleadservices.com from 2605:e000:1317:16d7:8582:dd45:6e7a:3832
May 12 17:27:55 dnsmasq[27720]: gravity blocked www.googleadservices.com is 0.0.0.0
May 12 17:27:58 dnsmasq[27720]: query[A] pi.hole from 192.168.1.4
May 12 17:27:58 dnsmasq[27720]: /etc/pihole/custom.list pi.hole is 192.168.1.15
May 12 17:27:58 dnsmasq[27720]: query[AAAA] pi.hole from 192.168.1.4
May 12 17:27:58 dnsmasq[27720]: /etc/pihole/local.list pi.hole is 2605:e000:1317:16d7:1a6f:f24d:1b02:d6b2
May 12 17:27:58 dnsmasq[27720]: query[AAAA] pi.hole from 192.168.1.4
May 12 17:27:58 dnsmasq[27720]: /etc/pihole/local.list pi.hole is 2605:e000:1317:16d7:1a6f:f24d:1b02:d6b2
May 12 17:28:00 dnsmasq[27720]: query[PTR] 8.8.8.8.in-addr.arpa from 127.0.0.1
May 12 17:28:00 dnsmasq[27720]: forwarded 8.8.8.8.in-addr.arpa to 8.8.8.8
May 12 17:28:00 dnsmasq[27720]: reply 8.8.8.8 is dns.google
May 12 17:28:08 dnsmasq[27720]: query[A] profile.accounts.firefox.com from 192.168.1.4
May 12 17:28:08 dnsmasq[27720]: forwarded profile.accounts.firefox.com to 8.8.8.8
May 12 17:28:08 dnsmasq[27720]: query[AAAA] profile.accounts.firefox.com from 192.168.1.4
May 12 17:28:08 dnsmasq[27720]: cached profile.accounts.firefox.com is NODATA-IPv6
May 12 17:28:08 dnsmasq[27720]: query[A] profile.accounts.firefox.com from 2605:e000:1317:16d7:3599:53aa:3d2c:a081
May 12 17:28:08 dnsmasq[27720]: forwarded profile.accounts.firefox.com to 8.8.8.8
May 12 17:28:08 dnsmasq[27720]: query[A] sync-566-us-west-2.sync.services.mozilla.com from 192.168.1.4
May 12 17:28:08 dnsmasq[27720]: forwarded sync-566-us-west-2.sync.services.mozilla.com to 8.8.8.8
May 12 17:28:08 dnsmasq[27720]: query[A] sync-566-us-west-2.sync.services.mozilla.com from 2605:e000:1317:16d7:3599:53aa:3d2c:a081
May 12 17:28:08 dnsmasq[27720]: forwarded sync-566-us-west-2.sync.services.mozilla.com to 8.8.8.8
May 12 17:28:08 dnsmasq[27720]: query[AAAA] sync-566-us-west-2.sync.services.mozilla.com from 192.168.1.4
May 12 17:28:08 dnsmasq[27720]: forwarded sync-566-us-west-2.sync.services.mozilla.com to 8.8.8.8
May 12 17:28:08 dnsmasq[27720]: query[AAAA] sync-566-us-west-2.sync.services.mozilla.com from 2605:e000:1317:16d7:3599:53aa:3d2c:a081
May 12 17:28:08 dnsmasq[27720]: forwarded sync-566-us-west-2.sync.services.mozilla.com to 8.8.8.8
May 12 17:28:08 dnsmasq[27720]: query[AAAA] profile.accounts.firefox.com from 2605:e000:1317:16d7:3599:53aa:3d2c:a081
May 12 17:28:08 dnsmasq[27720]: cached profile.accounts.firefox.com is NODATA-IPv6
May 12 17:28:08 dnsmasq[27720]: reply profile.accounts.firefox.com is 52.10.197.90
May 12 17:28:08 dnsmasq[27720]: reply profile.accounts.firefox.com is 35.165.119.189
May 12 17:28:08 dnsmasq[27720]: reply profile.accounts.firefox.com is 52.26.193.4
May 12 17:28:08 dnsmasq[27720]: reply profile.accounts.firefox.com is 34.208.142.164
May 12 17:28:08 dnsmasq[27720]: reply profile.accounts.firefox.com is 35.167.182.111
May 12 17:28:08 dnsmasq[27720]: reply profile.accounts.firefox.com is 54.213.230.180
May 12 17:28:08 dnsmasq[27720]: query[A] profile.accounts.firefox.com from 192.168.1.4
May 12 17:28:08 dnsmasq[27720]: cached profile.accounts.firefox.com is 54.213.230.180
May 12 17:28:08 dnsmasq[27720]: cached profile.accounts.firefox.com is 35.167.182.111
May 12 17:28:08 dnsmasq[27720]: cached profile.accounts.firefox.com is 34.208.142.164
May 12 17:28:08 dnsmasq[27720]: cached profile.accounts.firefox.com is 52.26.193.4
May 12 17:28:08 dnsmasq[27720]: cached profile.accounts.firefox.com is 35.165.119.189
May 12 17:28:08 dnsmasq[27720]: cached profile.accounts.firefox.com is 52.10.197.90
May 12 17:28:08 dnsmasq[27720]: reply profile.accounts.firefox.com is 52.10.197.90
May 12 17:28:08 dnsmasq[27720]: reply profile.accounts.firefox.com is 35.165.119.189
May 12 17:28:08 dnsmasq[27720]: reply profile.accounts.firefox.com is 52.26.193.4
May 12 17:28:08 dnsmasq[27720]: reply profile.accounts.firefox.com is 34.208.142.164
May 12 17:28:08 dnsmasq[27720]: reply profile.accounts.firefox.com is 35.167.182.111
May 12 17:28:08 dnsmasq[27720]: reply profile.accounts.firefox.com is 54.213.230.180
May 12 17:28:08 dnsmasq[27720]: reply sync-566-us-west-2.sync.services.mozilla.com is NODATA-IPv6
May 12 17:28:08 dnsmasq[27720]: reply sync-566-us-west-2.sync.services.mozilla.com is 34.214.1.123
May 12 17:28:08 dnsmasq[27720]: reply sync-566-us-west-2.sync.services.mozilla.com is 34.214.1.123
May 12 17:28:08 dnsmasq[27720]: reply sync-566-us-west-2.sync.services.mozilla.com is NODATA-IPv6
May 12 17:28:08 dnsmasq[27720]: query[AAAA] profile.accounts.firefox.com from 192.168.1.4
May 12 17:28:08 dnsmasq[27720]: cached profile.accounts.firefox.com is NODATA-IPv6
May 12 17:28:08 dnsmasq[27720]: query[A] sync-566-us-west-2.sync.services.mozilla.com from 192.168.1.4
May 12 17:28:08 dnsmasq[27720]: cached sync-566-us-west-2.sync.services.mozilla.com is 34.214.1.123
May 12 17:28:08 dnsmasq[27720]: query[AAAA] sync-566-us-west-2.sync.services.mozilla.com from 192.168.1.4
May 12 17:28:08 dnsmasq[27720]: cached sync-566-us-west-2.sync.services.mozilla.com is NODATA-IPv6
May 12 17:28:09 dnsmasq[27720]: query[A] webextensions.settings.services.mozilla.com from 192.168.1.4
May 12 17:28:09 dnsmasq[27720]: forwarded webextensions.settings.services.mozilla.com to 8.8.8.8
May 12 17:28:09 dnsmasq[27720]: reply webextensions.settings.services.mozilla.com is <CNAME>
May 12 17:28:09 dnsmasq[27720]: reply prod.webextstoragesync.prod.cloudops.mozgcp.net is 34.95.71.207
May 12 17:28:09 dnsmasq[27720]: query[A] prod.webextstoragesync.prod.cloudops.mozgcp.net from 192.168.1.4
May 12 17:28:09 dnsmasq[27720]: cached prod.webextstoragesync.prod.cloudops.mozgcp.net is 34.95.71.207

Just to confirm my current issues:

  1. Dashboard shows no information, just "---"
  2. Query Log is empty (not sure if it should be or not)
  3. All Long Term data is empty.
  4. Everything in "Group Management" is empty, and I get the following error under "Group Management" -> "Groups": DataTables warning: table id=groupsTable - Ajax error. For more information about this error, please see http://datatables.net/tn/7
  5. I get the following error from the "Network" tab: An unknown error occured while loading the data

What is confirmed working:

  1. Local DNS records
  2. Ad blocking (pretty sure, doesn't seem to work everywhere, but that's probably from a lack of lists).

Here is my latest debug token (in case anything has changed):

This process collects information from your Pi-hole, and optionally uploads it to a unique and random directory on tricorder.pi-hole.net.

The intent of this script is to allow users to self-diagnose their installations.  This is accomplished by running tests against our software and providing the user with links to FAQ articles when a problem is detected.  Since we are a small team and Pi-hole has been growing steadily, it is our hope that this will help us spend more time on development.

NOTE: All log files auto-delete after 48 hours and ONLY the Pi-hole developers can access your data via the given token. We have taken these extra steps to secure your data and will work to further reduce any personal information gathered.

*** [ INITIALIZING ]
[i] 2020-05-12:17:45:22 debug log has been initialized.

*** [ INITIALIZING ] Sourcing setup variables
[i] Sourcing /etc/pihole/setupVars.conf...

*** [ DIAGNOSING ]: Core version
[i] Core: v5.0 (https://discourse.pi-hole.net/t/how-do-i-update-pi-hole/249)
[i] Branch: master
[i] Commit: v5.0-0-g4d25f69

*** [ DIAGNOSING ]: Web version
[i] Web: v5.0 (https://discourse.pi-hole.net/t/how-do-i-update-pi-hole/249)
[i] Branch: master
[i] Commit: v5.0-0-gb86e4a3-dirty
[i] Status:  M style/vendor/font-awesome-5.11.2/css/all.min.css
             M style/vendor/font-awesome-5.11.2/webfonts/fa-brands-400.eot
             M style/vendor/font-awesome-5.11.2/webfonts/fa-brands-400.svg
             M style/vendor/font-awesome-5.11.2/webfonts/fa-brands-400.ttf
             M style/vendor/font-awesome-5.11.2/webfonts/fa-brands-400.woff
             M style/vendor/font-awesome-5.11.2/webfonts/fa-brands-400.woff2
             M style/vendor/font-awesome-5.11.2/webfonts/fa-regular-400.eot
             M style/vendor/font-awesome-5.11.2/webfonts/fa-regular-400.svg
             M style/vendor/font-awesome-5.11.2/webfonts/fa-regular-400.ttf
             M style/vendor/font-awesome-5.11.2/webfonts/fa-regular-400.woff
             M style/vendor/font-awesome-5.11.2/webfonts/fa-regular-400.woff2
             M style/vendor/font-awesome-5.11.2/webfonts/fa-solid-900.eot
             M style/vendor/font-awesome-5.11.2/webfonts/fa-solid-900.svg
             M style/vendor/font-awesome-5.11.2/webfonts/fa-solid-900.ttf
             M style/vendor/font-awesome-5.11.2/webfonts/fa-solid-900.woff
             M style/vendor/font-awesome-5.11.2/webfonts/fa-solid-900.woff2
[i] Diff: diff --git a/style/vendor/font-awesome-5.11.2/css/all.min.css b/style/vendor/font-awesome-5.11.2/css/all.min.css
          old mode 100755
          new mode 100644
          diff --git a/style/vendor/font-awesome-5.11.2/webfonts/fa-brands-400.eot b/style/vendor/font-awesome-5.11.2/webfonts/fa-brands-400.eot
          old mode 100755
          new mode 100644
          diff --git a/style/vendor/font-awesome-5.11.2/webfonts/fa-brands-400.svg b/style/vendor/font-awesome-5.11.2/webfonts/fa-brands-400.svg
          old mode 100755
          new mode 100644
          diff --git a/style/vendor/font-awesome-5.11.2/webfonts/fa-brands-400.ttf b/style/vendor/font-awesome-5.11.2/webfonts/fa-brands-400.ttf
          old mode 100755
          new mode 100644
          diff --git a/style/vendor/font-awesome-5.11.2/webfonts/fa-brands-400.woff b/style/vendor/font-awesome-5.11.2/webfonts/fa-brands-400.woff
          old mode 100755
          new mode 100644
          diff --git a/style/vendor/font-awesome-5.11.2/webfonts/fa-brands-400.woff2 b/style/vendor/font-awesome-5.11.2/webfonts/fa-brands-400.woff2
          old mode 100755
          new mode 100644
          diff --git a/style/vendor/font-awesome-5.11.2/webfonts/fa-regular-400.eot b/style/vendor/font-awesome-5.11.2/webfonts/fa-regular-400.eot
          old mode 100755
          new mode 100644
          diff --git a/style/vendor/font-awesome-5.11.2/webfonts/fa-regular-400.svg b/style/vendor/font-awesome-5.11.2/webfonts/fa-regular-400.svg
          old mode 100755
          new mode 100644
          diff --git a/style/vendor/font-awesome-5.11.2/webfonts/fa-regular-400.ttf b/style/vendor/font-awesome-5.11.2/webfonts/fa-regular-400.ttf
          old mode 100755
          new mode 100644
          diff --git a/style/vendor/font-awesome-5.11.2/webfonts/fa-regular-400.woff b/style/vendor/font-awesome-5.11.2/webfonts/fa-regular-400.woff
          old mode 100755
          new mode 100644
          diff --git a/style/vendor/font-awesome-5.11.2/webfonts/fa-regular-400.woff2 b/style/vendor/font-awesome-5.11.2/webfonts/fa-regular-400.woff2
          old mode 100755
          new mode 100644
          diff --git a/style/vendor/font-awesome-5.11.2/webfonts/fa-solid-900.eot b/style/vendor/font-awesome-5.11.2/webfonts/fa-solid-900.eot
          old mode 100755
          new mode 100644
          diff --git a/style/vendor/font-awesome-5.11.2/webfonts/fa-solid-900.svg b/style/vendor/font-awesome-5.11.2/webfonts/fa-solid-900.svg
          old mode 100755
          new mode 100644
          diff --git a/style/vendor/font-awesome-5.11.2/webfonts/fa-solid-900.ttf b/style/vendor/font-awesome-5.11.2/webfonts/fa-solid-900.ttf
          old mode 100755
          new mode 100644
          diff --git a/style/vendor/font-awesome-5.11.2/webfonts/fa-solid-900.woff b/style/vendor/font-awesome-5.11.2/webfonts/fa-solid-900.woff
          old mode 100755
          new mode 100644
          diff --git a/style/vendor/font-awesome-5.11.2/webfonts/fa-solid-900.woff2 b/style/vendor/font-awesome-5.11.2/webfonts/fa-solid-900.woff2
          old mode 100755
          new mode 100644

*** [ DIAGNOSING ]: FTL version
[✓] FTL: v5.0

*** [ DIAGNOSING ]: lighttpd version
[i] opt

*** [ DIAGNOSING ]: php version
[i] 7.4.5

*** [ DIAGNOSING ]: Operating system
[✓] Raspbian GNU/Linux 10 (buster)

*** [ DIAGNOSING ]: SELinux
[✓] Default SELinux: permissive
[✓] Current SELinux: Disabled

*** [ DIAGNOSING ]: Processor
[✓] armv7l

*** [ DIAGNOSING ]: Networking
[✓] IPv4 address(es) bound to the wlan0 interface:
   192.168.1.15/24 matches the IP found in /etc/pihole/setupVars.conf

[✓] IPv6 address(es) bound to the wlan0 interface:
   2605:e000:1317:16d7::f48 does not match the IP found in /etc/pihole/setupVars.conf (https://discourse.pi-hole.net/t/use-ipv6-ula-addresses-for-pi-hole/2127)
   2605:e000:1317:16d7:1a6f:f24d:1b02:d6b2 matches the IP found in /etc/pihole/setupVars.conf
   fe80::4a5b:31e:2dc9:574d does not match the IP found in /etc/pihole/setupVars.conf (https://discourse.pi-hole.net/t/use-ipv6-ula-addresses-for-pi-hole/2127)

   ^ Please note that you may have more than one IP address listed.
   As long as one of them is green, and it matches what is in /etc/pihole/setupVars.conf, there is no need for concern.

   The link to the FAQ is for an issue that sometimes occurs when the IPv6 address changes, which is why we check for it.

[i] Default IPv4 gateway: 192.168.1.1
   * Pinging 192.168.1.1...
[✓] Gateway responded.
[i] Default IPv6 gateway: fe80::3293:bcff:fe82:d82
   * Pinging fe80::3293:bcff:fe82:d82...
ping6: Warning: source address might be selected on device other than wlan0.
[✓] Gateway responded.

*** [ DIAGNOSING ]: Ports in use
*:22 sshd (IPv4)
*:22 sshd (IPv6)
127.0.0.1:25 exim4 (IPv4)
[::1]:25 exim4 (IPv6)
[80] is in use by apache2 (https://discourse.pi-hole.net/t/hardware-software-requirements/273#ports)
[80] is in use by apache2 (https://discourse.pi-hole.net/t/hardware-software-requirements/273#ports)
[80] is in use by apache2 (https://discourse.pi-hole.net/t/hardware-software-requirements/273#ports)
[80] is in use by apache2 (https://discourse.pi-hole.net/t/hardware-software-requirements/273#ports)
[80] is in use by apache2 (https://discourse.pi-hole.net/t/hardware-software-requirements/273#ports)
[80] is in use by apache2 (https://discourse.pi-hole.net/t/hardware-software-requirements/273#ports)
[80] is in use by apache2 (https://discourse.pi-hole.net/t/hardware-software-requirements/273#ports)
[80] is in use by apache2 (https://discourse.pi-hole.net/t/hardware-software-requirements/273#ports)
[53] is in use by pihole-FTL
[53] is in use by pihole-FTL
[4711] is in use by pihole-FTL
[4711] is in use by pihole-FTL
[80] is in use by apache2 (https://discourse.pi-hole.net/t/hardware-software-requirements/273#ports)
[80] is in use by apache2 (https://discourse.pi-hole.net/t/hardware-software-requirements/273#ports)
[80] is in use by apache2 (https://discourse.pi-hole.net/t/hardware-software-requirements/273#ports)

*** [ DIAGNOSING ]: Name resolution (IPv4) using a random blocked domain and a known ad-serving domain
[✓] oix-stage.net is 0.0.0.0 via localhost (127.0.0.1)
[✓] oix-stage.net is 0.0.0.0 via Pi-hole (192.168.1.15)
[✓] doubleclick.com is 172.217.14.110 via a remote, public DNS server (8.8.8.8)

*** [ DIAGNOSING ]: Name resolution (IPv6) using a random blocked domain and a known ad-serving domain
[✓] install.pdfconverterhd.com is :: via localhost (::1)
[✓] install.pdfconverterhd.com is :: via Pi-hole (2605:e000:1317:16d7:1a6f:f24d:1b02:d6b2)
[✓] doubleclick.com is 2607:f8b0:4007:803::200e via a remote, public DNS server (2001:4860:4860::8888)

*** [ DIAGNOSING ]: Pi-hole processes
[✗] lighttpd daemon is inactive
[✓] pihole-FTL daemon is active

*** [ DIAGNOSING ]: Setup variables
    PIHOLE_INTERFACE=wlan0
    IPV4_ADDRESS=192.168.1.15/24
    IPV6_ADDRESS=2605:e000:1317:16d7:1a6f:f24d:1b02:d6b2
    PIHOLE_DNS_1=8.8.8.8
    PIHOLE_DNS_2=8.8.4.4
    QUERY_LOGGING=true
    INSTALL_WEB_SERVER=false
    INSTALL_WEB_INTERFACE=true
    LIGHTTPD_ENABLED=false
    BLOCKING_ENABLED=true
    DHCP_ACTIVE=true
    DHCP_START=192.168.1.2
    DHCP_END=192.168.1.254
    DHCP_ROUTER=192.168.1.1
    DHCP_LEASETIME=72
    PIHOLE_DOMAIN=hole
    DHCP_IPv6=true
    DHCP_rapid_commit=false

*** [ DIAGNOSING ]: Dashboard and block page
[✗] Block page X-Header: X-Header does not match or could not be retrieved.
HTTP/1.1 200 OK
Date: Wed, 13 May 2020 00:45:26 GMT
Server: Apache/2.4.38 (Raspbian)
Set-Cookie: PHPSESSID=thr9jnjq6jkra0mhe5tsuiuk55; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate
Pragma: no-cache
Content-Type: text/html; charset=UTF-8

[✗] Web interface X-Header: X-Header does not match or could not be retrieved.
HTTP/1.1 404 Not Found
Date: Wed, 13 May 2020 00:45:26 GMT
Server: Apache/2.4.38 (Raspbian)
Content-Type: text/html; charset=iso-8859-1


*** [ DIAGNOSING ]: Gravity List and Database
-rw-rw-r-- 1 pihole pihole 5087232 May 11 13:49 /etc/pihole/gravity.db

*** [ DIAGNOSING ]: Info table
   property              value
   --------------------  ----------------------------------------
   version               12
   updated               1589230167
   gravity_count         82767
   Last gravity run finished at: Mon 11 May 2020 01:49:27 PM PDT

   ----- First 10 Gravity Domains -----
   localhost.localdomain
   01mspmd5yalky8.com
   0byv9mgbn0.com
   analytics.247sports.com
   www.analytics.247sports.com
   2no.co
   www.2no.co
   logitechlogitechglobal.112.2o7.net
   www.logitechlogitechglobal.112.2o7.net
   30-day-change.com


*** [ DIAGNOSING ]: Groups
   id    enabled  name                                                date_added           date_modified        description
   ----  -------  --------------------------------------------------  -------------------  -------------------  --------------------------------------------------
   0           1  Default                                             2020-05-11 12:53:38  2020-05-11 12:53:38  The default group

*** [ DIAGNOSING ]: Domainlist (0/1 = exact white-/blacklist, 2/3 = regex white-/blacklist)

*** [ DIAGNOSING ]: Clients

*** [ DIAGNOSING ]: Adlists
   id    enabled  group_ids     address                                                                                               date_added           date_modified        comment
   ----  -------  ------------  ----------------------------------------------------------------------------------------------------  -------------------  -------------------  --------------------------------------------------
   1           1  0             https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts                                      2020-05-11 12:53:38  2020-05-11 12:53:38  Migrated from /etc/pihole/adlists.list
   2           1  0             https://mirror1.malwaredomains.com/files/justdomains                                                  2020-05-11 12:53:38  2020-05-11 12:53:38  Migrated from /etc/pihole/adlists.list
   3           1  0             https://s3.amazonaws.com/lists.disconnect.me/simple_tracking.txt                                      2020-05-11 12:53:38  2020-05-11 12:53:38  Migrated from /etc/pihole/adlists.list
   4           1  0             https://s3.amazonaws.com/lists.disconnect.me/simple_ad.txt                                            2020-05-11 12:53:38  2020-05-11 12:53:38  Migrated from /etc/pihole/adlists.list

*** [ DIAGNOSING ]: contents of /etc/pihole

-rw-r--r-- 1 root root 140 May 11 13:49 /etc/pihole/local.list
   192.168.1.15 ryans-pi
   2605:e000:1317:16d7:1a6f:f24d:1b02:d6b2 ryans-pi
   192.168.1.15 pi.hole
   2605:e000:1317:16d7:1a6f:f24d:1b02:d6b2 pi.hole

-rw-r--r-- 1 root root 234 May 11 12:53 /etc/pihole/logrotate
   /var/log/pihole.log {
        su root root
        daily
        copytruncate
        rotate 5
        compress
        delaycompress
        notifempty
        nomail
   }
   /var/log/pihole-FTL.log {
        su root root
        weekly
        copytruncate
        rotate 3
        compress
        delaycompress
        notifempty
        nomail
   }

*** [ DIAGNOSING ]: contents of /etc/dnsmasq.d

-rw-r--r-- 1 root root 1511 May 11 17:24 /etc/dnsmasq.d/01-pihole.conf
   addn-hosts=/etc/pihole/local.list
   addn-hosts=/etc/pihole/custom.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=wlan0
   server=/use-application-dns.net/
   dhcp-name-match=set:hostname-ignore,wpad
   dhcp-name-match=set:hostname-ignore,localhost
   dhcp-ignore-names=tag:hostname-ignore

-rw-r--r-- 1 root root 618 May 11 17:24 /etc/dnsmasq.d/02-pihole-dhcp.conf
   dhcp-authoritative
   dhcp-range=192.168.1.2,192.168.1.254,72h
   dhcp-option=option:router,192.168.1.1
   dhcp-leasefile=/etc/pihole/dhcp.leases
   domain=hole
   dhcp-option=option6:dns-server,[::]
   dhcp-range=::100,::1ff,constructor:wlan0,ra-names,slaac,72h
   ra-param=*,0,0

*** [ DIAGNOSING ]: contents of /etc/lighttpd

-rw-r--r-- 1 root root 2043 Apr 12  2019 /etc/lighttpd/lighttpd.conf
   server.modules = (
        "mod_indexfile",
        "mod_access",
        "mod_alias",
        "mod_redirect",
   )
   server.document-root        = "/var/www/html"
   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
   server.http-parseopts = (
     "header-strict"           => "enable",
     "host-strict"             => "enable",
     "host-normalize"          => "enable",
     "url-normalize-unreserved"=> "enable",
     "url-normalize-required"  => "enable",
     "url-ctrls-reject"        => "enable",
     "url-path-2f-decode"      => "enable",

     "url-path-dotseg-remove"  => "enable",


   )
   index-file.names            = ( "index.php", "index.html" )
   url.access-deny             = ( "~", ".inc" )
   static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )
   compress.cache-dir          = "/var/cache/lighttpd/compress/"
   compress.filetype           = ( "application/javascript", "text/css", "text/html", "text/plain" )
   include_shell "/usr/share/lighttpd/use-ipv6.pl " + server.port
   include_shell "/usr/share/lighttpd/create-mime.conf.pl"
   include "/etc/lighttpd/conf-enabled/*.conf"
   server.modules += (
        "mod_compress",
        "mod_dirlisting",
        "mod_staticfile",
   )

*** [ DIAGNOSING ]: contents of /etc/cron.d

-rw-r--r-- 1 root root 1704 May 11 12:53 /etc/cron.d/pihole
   27 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
   21 15  * * *   root    PATH="$PATH:/usr/local/bin/" pihole updatechecker remote
   @reboot root    PATH="$PATH:/usr/local/bin/" pihole updatechecker remote reboot

*** [ DIAGNOSING ]: contents of /var/log/lighttpd
/var/log/lighttpd does not exist.
ls: cannot access '/var/log/lighttpd': No such file or directory

*** [ DIAGNOSING ]: contents of /var/log

-rw-r--r-- 1 pihole pihole 14315 May 12 17:30 /var/log/pihole-FTL.log
   -----head of pihole-FTL.log------
   [2020-05-12 00:27:30.137 4730] Resizing "/FTL-queries" from 229376 to 458752
   [2020-05-12 07:50:32.491 4730] Resizing "/FTL-strings" from 28672 to 32768
   [2020-05-12 08:02:56.557 4730] Resizing "/FTL-dns-cache" from 24576 to 28672
   [2020-05-12 08:22:47.303 4730] Resizing "/FTL-strings" from 32768 to 36864
   [2020-05-12 08:49:14.114 4730] Resizing "/FTL-dns-cache" from 28672 to 32768
   [2020-05-12 08:58:00.085 4730] SQLite3 message: cannot open file at line 39024 of [18db032d05] (14)
   [2020-05-12 08:58:00.085 4730] SQLite3 message: os_unix.c:39024: (13) lstat(/etc/pihole/pihole-FTL.db) -  (14)
   [2020-05-12 08:58:00.085 4730] Encountered error while trying to open database: unable to open database file
   [2020-05-12 08:58:00.086 4730] Failed to open long-term database when trying to store queries
   [2020-05-12 08:58:00.086 4730] SQLite3 message: cannot open file at line 39024 of [18db032d05] (14)
   [2020-05-12 08:58:00.086 4730] SQLite3 message: os_unix.c:39024: (13) lstat(/etc/pihole/pihole-FTL.db) -  (14)
   [2020-05-12 08:58:00.086 4730] Encountered error while trying to open database: unable to open database file
   [2020-05-12 08:58:00.086 4730] parse_neighbor_cache() - Failed to open DB
   [2020-05-12 09:00:00.677 4730] SQLite3 message: cannot open file at line 39024 of [18db032d05] (14)
   [2020-05-12 09:00:00.677 4730] SQLite3 message: os_unix.c:39024: (13) lstat(/etc/pihole/pihole-FTL.db) -  (14)
   [2020-05-12 09:00:00.677 4730] Encountered error while trying to open database: unable to open database file
   [2020-05-12 09:00:00.677 4730] getDatabaseHostname("2605:e000:1317:16d7:a8d2:8576:b212:7248") - Failed to open DB
   [2020-05-12 09:00:00.739 4730] SQLite3 message: cannot open file at line 39024 of [18db032d05] (14)
   [2020-05-12 09:00:00.739 4730] SQLite3 message: os_unix.c:39024: (13) lstat(/etc/pihole/pihole-FTL.db) -  (14)
   [2020-05-12 09:00:00.739 4730] Encountered error while trying to open database: unable to open database file
   [2020-05-12 09:00:00.739 4730] getDatabaseHostname("2605:e000:1317:16d7:3010:4d5f:532f:18a9") - Failed to open DB
   [2020-05-12 09:00:00.797 4730] SQLite3 message: cannot open file at line 39024 of [18db032d05] (14)
   [2020-05-12 09:00:00.797 4730] SQLite3 message: os_unix.c:39024: (13) lstat(/etc/pihole/pihole-FTL.db) -  (14)
   [2020-05-12 09:00:00.797 4730] Encountered error while trying to open database: unable to open database file
   [2020-05-12 09:00:00.797 4730] getDatabaseHostname("2605:e000:1317:16d7::9c6") - Failed to open DB
   [2020-05-12 09:00:00.855 4730] SQLite3 message: cannot open file at line 39024 of [18db032d05] (14)
   [2020-05-12 09:00:00.855 4730] SQLite3 message: os_unix.c:39024: (13) lstat(/etc/pihole/pihole-FTL.db) -  (14)
   [2020-05-12 09:00:00.855 4730] Encountered error while trying to open database: unable to open database file
   [2020-05-12 09:00:00.855 4730] getDatabaseHostname("2605:e000:1317:16d7:b91a:6e2d:8a61:546b") - Failed to open DB
   [2020-05-12 09:00:00.933 4730] SQLite3 message: cannot open file at line 39024 of [18db032d05] (14)
   [2020-05-12 09:00:00.933 4730] SQLite3 message: os_unix.c:39024: (13) lstat(/etc/pihole/pihole-FTL.db) -  (14)
   [2020-05-12 09:00:00.933 4730] Encountered error while trying to open database: unable to open database file
   [2020-05-12 09:00:00.933 4730] getDatabaseHostname("2605:e000:1317:16d7:d4b8:defd:ad7:428") - Failed to open DB
   [2020-05-12 09:16:00.274 4730] Resizing "/FTL-strings" from 36864 to 40960
   [2020-05-12 09:46:09.105 4730] Resizing "/FTL-strings" from 40960 to 45056

   -----tail of pihole-FTL.log------
   [2020-05-12 16:46:51.690 27718]    DELAY_STARTUP: No delay requested.
   [2020-05-12 16:46:51.691 27718]    BLOCK_ESNI: Enabled, blocking _esni.{blocked domain}
   [2020-05-12 16:46:51.691 27718] Finished config file parsing
   [2020-05-12 16:46:51.692 27718] Database version is 5
   [2020-05-12 16:46:51.692 27718] Database successfully initialized
   [2020-05-12 16:46:51.693 27718] Imported 0 queries from the long-term database
   [2020-05-12 16:46:51.693 27718]  -> Total DNS queries: 0
   [2020-05-12 16:46:51.693 27718]  -> Cached DNS queries: 0
   [2020-05-12 16:46:51.693 27718]  -> Forwarded DNS queries: 0
   [2020-05-12 16:46:51.693 27718]  -> Blocked DNS queries: 0
   [2020-05-12 16:46:51.693 27718]  -> Unknown DNS queries: 0
   [2020-05-12 16:46:51.693 27718]  -> Unique domains: 0
   [2020-05-12 16:46:51.693 27718]  -> Unique clients: 0
   [2020-05-12 16:46:51.693 27718]  -> Known forward destinations: 0
   [2020-05-12 16:46:51.693 27718] Successfully accessed setupVars.conf
   [2020-05-12 16:46:51.699 27720] PID of FTL process: 27720
   [2020-05-12 16:46:51.699 27720] Listening on port 4711 for incoming IPv4 telnet connections
   [2020-05-12 16:46:51.699 27720] Listening on port 4711 for incoming IPv6 telnet connections
   [2020-05-12 16:46:51.700 27720] Listening on Unix socket
   [2020-05-12 16:46:51.702 27720] Reloading DNS cache
   [2020-05-12 16:46:51.702 27720] Blocking status is enabled
   [2020-05-12 16:46:51.706 27720] INFO: No regex blacklist entries found
   [2020-05-12 16:46:51.707 27720] INFO: No regex whitelist entries found
   [2020-05-12 16:46:51.707 27720] Compiled 0 whitelist and 0 blacklist regex filters in 1.3 msec
   [2020-05-12 16:46:56.643 27720] New upstream server: 8.8.4.4 (0/1024)
   [2020-05-12 16:56:39.218 27720] Resizing "/FTL-strings" from 4096 to 8192
   [2020-05-12 17:01:34.954 27720] Resizing "/FTL-dns-cache" from 4096 to 8192
   [2020-05-12 17:14:00.059 27720] SQLite3 message: statement aborts at 48: [INSERT OR REPLACE INTO network_addresses (network_id,ip,lastSeen) VALUES (7,'192.168.1.124',(cast(strftime('%s', 'now') as int)));] attempt to write a readonly database (8)
   [2020-05-12 17:14:00.059 27720] ERROR: SQL query "INSERT OR REPLACE INTO network_addresses (network_id,ip,lastSeen) VALUES (7,'192.168.1.124',(cast(strftime('%s', 'now') as int)));" failed: attempt to write a readonly database
   [2020-05-12 17:14:00.060 27720] db_query_int("SELECT network_id FROM network_addresses WHERE ip = '192.168.1.4' AND lastSeen > (cast(strftime('%s', 'now') as int)-86400) ORDER BY lastSeen DESC LIMIT 1;") called but database is not available!
   [2020-05-12 17:14:00.061 27720] db_query_int("SELECT id FROM network WHERE hwaddr = 'ip-192.168.1.4';") called but database is not available!
   [2020-05-12 17:14:00.061 27720] ERROR: Storing devices in network table failed: attempt to write a readonly database
   [2020-05-12 17:18:26.603 27720] Resizing "/FTL-strings" from 8192 to 12288
   [2020-05-12 17:27:30.148 27720] New upstream server: 8.8.8.8 (1/1024)
   [2020-05-12 17:30:56.292 27720] Resizing "/FTL-dns-cache" from 8192 to 12288

*** [ DIAGNOSING ]: contents of /dev/shm
-rw------- 1 pihole pihole 643072 May 12 17:00 /dev/shm/FTL-clients
-rw------- 1 pihole pihole 124 May 12 16:46 /dev/shm/FTL-counters
-rw------- 1 pihole pihole 12288 May 12 17:30 /dev/shm/FTL-dns-cache
-rw------- 1 pihole pihole 65536 May 12 16:46 /dev/shm/FTL-domains
-rw------- 1 pihole pihole 28 May 12 16:46 /dev/shm/FTL-lock
-rw------- 1 pihole pihole 28672 May 12 16:46 /dev/shm/FTL-overTime
-rw------- 1 pihole pihole 4096 May 12 16:46 /dev/shm/FTL-per-client-regex
-rw------- 1 pihole pihole 229376 May 12 17:45 /dev/shm/FTL-queries
-rw------- 1 pihole pihole 12 May 12 16:46 /dev/shm/FTL-settings
-rw------- 1 pihole pihole 12288 May 12 17:18 /dev/shm/FTL-strings
-rw------- 1 pihole pihole 20480 May 12 16:46 /dev/shm/FTL-upstreams

*** [ DIAGNOSING ]: Locale
    LANG=en_US.UTF-8

*** [ DIAGNOSING ]: Pi-hole log
-rw-r--r-- 1 pihole pihole 7207834 May 12 17:45 /var/log/pihole.log
   -----head of pihole.log------
   May 12 00:00:07 dnsmasq[4730]: query[A] cws-hulu.conviva.com from 192.168.1.4
   May 12 00:00:07 dnsmasq[4730]: gravity blocked cws-hulu.conviva.com is 0.0.0.0
   May 12 00:00:07 dnsmasq[4730]: query[AAAA] cws-hulu.conviva.com from 192.168.1.4
   May 12 00:00:07 dnsmasq[4730]: gravity blocked cws-hulu.conviva.com is ::
   May 12 00:00:17 dnsmasq[4730]: query[A] vortex.hulu.com from 192.168.1.4
   May 12 00:00:17 dnsmasq[4730]: gravity blocked vortex.hulu.com is 0.0.0.0
   May 12 00:00:17 dnsmasq[4730]: query[AAAA] vortex.hulu.com from 192.168.1.4
   May 12 00:00:17 dnsmasq[4730]: gravity blocked vortex.hulu.com is ::
   May 12 00:00:20 dnsmasq[4730]: query[A] vortex.hulu.com from 192.168.1.4
   May 12 00:00:20 dnsmasq[4730]: gravity blocked vortex.hulu.com is 0.0.0.0
   May 12 00:00:20 dnsmasq[4730]: query[AAAA] vortex.hulu.com from 192.168.1.4
   May 12 00:00:20 dnsmasq[4730]: gravity blocked vortex.hulu.com is ::
   May 12 00:00:23 dnsmasq[4730]: query[A] vortex.hulu.com from 192.168.1.4
   May 12 00:00:23 dnsmasq[4730]: gravity blocked vortex.hulu.com is 0.0.0.0
   May 12 00:00:23 dnsmasq[4730]: query[AAAA] vortex.hulu.com from 192.168.1.4
   May 12 00:00:23 dnsmasq[4730]: gravity blocked vortex.hulu.com is ::
   May 12 00:00:23 dnsmasq[4730]: query[A] discover.hulu.com from 192.168.1.4
   May 12 00:00:23 dnsmasq[4730]: forwarded discover.hulu.com to 8.8.4.4
   May 12 00:00:23 dnsmasq[4730]: query[AAAA] discover.hulu.com from 192.168.1.4
   May 12 00:00:23 dnsmasq[4730]: forwarded discover.hulu.com to 8.8.4.4


********************************************
********************************************
[✓] ** FINISHED DEBUGGING! **

Again, thank you all for your help. It's very much appreciated.

Note that you may need to refer to one of my previous comments if you haven't set up your static IP address or checked your router DHCP configurations.

Working Solution:

  1. Reinstall PiHole by running pihole -r (select the reconfigure option)
  2. Make sure to install lighttpd server (we'll make it play nice with Apache in a minute)
  3. (Unsure if related, but documenting just in case) Set up my Pi on an Ethernet connection instead of WiFi (probably a good idea anyways for speed)
  4. Stop Apache service
sudo systemctl stop apache2
  1. Once PiHole has finished reinstalling, then edit lighttpd configuration and update the port.
    (Please note that this is a temporary solution, as noted in this reddit post, that you should be editing /etc/lighttpd/external.conf, but currently port edits aren't working correctly in this file. As such, during any PiHole updates, you will need to edit this file again):
sudo nano /etc/lighttpd/lighttpd.conf
#bind to port (Default: 80)
server.port = 81
sudo systemctl restart lighttpd
  1. Edit your default virtual host file as so:
sudo nano /etc/apache2/sites-available/000-default.conf
<VirtualHost *:80>
        ServerName www.pi.hole
        ServerAlias pi.hole
        ServerAdmin [YOUR_USER_HERE]@localhost
        DocumentRoot /var/www/html/admin

        ProxyRequests Off
        ProxyPreserveHost On
        ProxyPass / http://pi.hole:81/
        ProxyPassReverse / http://pi.hole:81/

        ErrorLog ${APACHE_LOG_DIR}/pihole_error.log
        CustomLog ${APACHE_LOG_DIR}/pihole_access.log combined
</VirtualHost>
sudo systemctl start apache2

Note the very large block of warnings at the top of that file.

Thank you for your reply DanSchaper!

Unfortunately, editing the /etc/lighttpd/external.conf as directed to in the large warning block resulted in nothing but errors for me. I found this thread that states that changing ports aren't handled well currently, and I chalked it up to that.

I do agree, I should add a note about that in my solution though. There is a reddit post here where a user shows a quick command to update the port after an update of PiHole.

If you have confirmed editing the port in the /etc/lighttpd/external.conf file works for you, do you think I could pick at your brain a little?

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