[x] I have searched this repository/Pi-hole forums for existing issues and pull requests that look similar
I originally attributed this to issues here.
How to reproduce the issue
Start Pihole normally (in my case via compose file below)
Once started, note the Pi-hole web dashboard indicates Status: Active, and confirm it is processing DNS requests.
Query its status with curl -s GET 'http://pihole.joshuaochs.com/admin/api.php?status'
Result should be {"status":"enabled"}, but API returns {"status":"disabled"}
Environment
Environment data
Operating System: Debian 10.11
Hardware: Dell PowerEdge R720xd and Raspberry Pi 3b
Kernel Architecture: amd64 (Dell) and Arm (Pi)
Docker Install Info and version:
Software source: Docker version 20.10.12, build e91ed57; Official docker-ce from Docker's debian repo
Supplementary Software: docker-compose version 1.29.2, build 5becea4c
3. any additional info to help reproduce
## These common fixes didn't work for my issue
<!-- IMPORTANT! Help me help you! Ordered with most common fixes first. -->
- [x] 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
I confess that I have *not* tried clearing my config as this occurs on two separate machines/instances, and the API does not seem like it would be configuration dependent, but if there is any issue reproducing this at all then I certainly can.
This is a: Bug
Details
Related Issues
How to reproduce the issue
curl -s GET 'http://pihole.joshuaochs.com/admin/api.php?status'
{"status":"enabled"}
, but API returns{"status":"disabled"}
Environment
Environment data
docker-compose.yml
networks: macvlan_subnet: external: true