You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Starting fresh I followed the instructions to create a docker-compose.yml file
When I go to the web interface and try to add a domain to white list or darklist I get the following error
Error connecting to database /etc/pihole/gravity.db: Unable to open database: unable to open database file
Related Issues
I have searched this repository/Pi-hole forums for existing issues and pull requests that look similar
It never asks for a password
I tried setting the password via
uncommenting the WEBPASSWORD and setting one but it never asks
How to reproduce the issue
Just following the default instruction on Fedora 37 upgraded today
modifications I made to the default instructions where:
Connect to it via web interface and try and add a domain to the white or black list
These common fixes didn't work for my issue
I have tried removing/destroying my container, and re-creating a new container
I have tried fresh volume data by backing up and moving/removing the old volume data
I have tried running the stock docker run example(s) in the readme (removing any customizations I added)
I have tried a newer or older version of Docker Pi-hole (depending what version the issue started in for me)
I have tried running without my volume data mounts to eliminate volumes as the cause
If the above debugging / fixes revealed any new information note it here.
Add any other debugging steps you've taken or theories on root cause that may help.
The text was updated successfully, but these errors were encountered:
running without volume data does fix the issue but I need domains it is likely selinux causing its usual havic. Not your issue thank you for the suggestions.
Can not add domains to white or black list
This is a: BUG
Details
Starting fresh I followed the instructions to create a docker-compose.yml file
When I go to the web interface and try to add a domain to white list or darklist I get the following error
Error connecting to database /etc/pihole/gravity.db: Unable to open database: unable to open database file
Related Issues
It never asks for a password
I tried setting the password via
uncommenting the WEBPASSWORD and setting one but it never asks
How to reproduce the issue
Just following the default instruction on Fedora 37 upgraded today
modifications I made to the default instructions where:
docker network create -d ipvlan --subnet=192.168.0.0/24 --gateway=192.168.0.1 -o ipvlan_mode=l2 -o parent=br0 vlan10
added below image: section
added at the end
networks:
vlan10:
external: true
#cat docker-compose.yml | sed -e 's/\s*#.*$//' | grep -v "^$"
version: "3"
services:
pihole:
container_name: pihole
image: pihole/pihole:latest
networks:
vlan10:
ipv4_address: 192.168.0.225
ports:
- "53:53/tcp"
- "53:53/udp"
- "80:80/tcp"
environment:
TZ: 'America/Denver'
WEBPASSWORD: ${PASSWORD}
volumes:
- '/home/pihole/etc-pihole:/etc/pihole'
- '/home/pihole/etc-dnsmasq.d:/etc/dnsmasq.d'
restart: unless-stopped
networks:
vlan10:
external: true
Connect to it via web interface and try and add a domain to the white or black list
These common fixes didn't work for my issue
docker run
example(s) in the readme (removing any customizations I added)If the above debugging / fixes revealed any new information note it here.
Add any other debugging steps you've taken or theories on root cause that may help.
The text was updated successfully, but these errors were encountered: