Please help...I'm cross eyed!
Two days and no progress. I cannot see the problem and I do not know how to run the gravity db using the command line in a docker. I doubt the command line update would help.
Pi-Hole is the only thing I am running on a new Raspberry Pi 5, running the Raspberry Pi OS lite (64 bit) OS. I have sudo apt update && sudo apt upgrade -y several times today. I have started from scratch reinstalling the OS using the Raspberry Pi Imager v1.8.5 three times today.
The Raspberry is connected to the router by ethernet. I connect to it wirelessly.
I have rebooted the ASUS RT-AX82U Router (192.168.50.1) multiple times and have always had good internet connectivity via Google Fiber.
I have removed the docker container (docker rm --force pihole) and rerun the docker-compose.yml (docker-compose up -d), file included below, six or seven times in the past two days.
I can ssh into the Raspberry Pi 5 (192.168.50.226) and navigate around in it.
I can access the web interface for the Pi-Hole (192.168.50.245/admin).
I can ping the block list address and google.com from within the Pi-Hole directory.
The block lists have been Teleport/Import from a Pi 3B running Pi-Hole (no docker) without error. I have also removed block lists and reentered them manually.
Pi-Hole running in a Docker Container does not allow Gravity to update, sample is below (there are nine block lists total, only showing one for brevity):
[i] Neutrino emissions detected... [β] Pulling blocklist source list into range
[β] Preparing new gravity database
[β] Creating new gravity databases
[i] Using libz compression
[i] Target: https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts
[β] Status: Connection Refused
[β] List download failed: no cached list available
[β] Building tree
[β] Swapping databases
[β] The old database remains available
[i] Number of gravity domains: 0 (0 unique domains)
[i] Number of exact blacklisted domains: 39
[i] Number of regex blacklist filters: 0
[i] Number of exact whitelisted domains: 293
[i] Number of regex whitelist filters: 8
[β] Cleaning up stray matter
[β] FTL is listening on port 53
[β] UDP (IPv4)
[β] TCP (IPv4)
[β] UDP (IPv6)
[β] TCP (IPv6)
[β] Pi-hole blocking is enabled
This is my docker-compse.yml file:
services:
pihole:
container_name: pihole
image: pihole/pihole:latest
networks:
pihole_network:
ipv4_address: '192.168.50.245'
ports:
- "53:53/tcp"
- "53:53/udp"
#- "67:67/udp" # Only required if you are using Pi-hole as your DHCP server
- "80:80/tcp"
environment:
TZ: 'America/New_York ' # update according to your timezone
WEBPASSWORD: 'password'
volumes:
- '/home/piledhigh/pihole/etc-pihole:/etc/pihole'
- '/home/piledhigh/pihole/etc-dnsmasq.d:/etc/dnsmasq.d'
cap_add:
- NET_ADMIN
restart: unless-stopped
networks:
pihole_network:
driver: macvlan
driver_opts:
parent: eth0 # eth0 will need to be replaced by name of your ethernet network interface
ipam:
config:
- subnet: 192.168.50.0/24
gateway: 192.168.50.1
Taken, with modification, from the Ultimate Raspberry Pi Server: Pi-Hole with Docker Compose on YouTube.
Iβm exhausted, been chasing my tail around for two days.
Please throw this dog a boneβ¦any help will be gratefully appreciated.
CraigM