pi-hole / docker-pi-hole

Pi-hole in a docker container
https://pi-hole.net
Other
8.55k stars 1.13k forks source link

Cannot access webui #1617

Closed vvirtues closed 1 month ago

vvirtues commented 3 months ago

This is a: Run Issue

Details

After installing, I cannot access the UI at all through any address. I can access the default lightpd page from localhost but nothing else (including localhost/admin)

Related Issues

How to reproduce the issue

  1. Environment data

    • Operating System: WSL (Ubuntu)
    • Hardware: PC
    • Kernel Architecture: assume x64/amd64
    • Docker Install Info and version:
    • Software source: Docker Desktop (Windows)
    • Supplimentary Software:
    • Hardware architecture: x64(?)
  2. docker-compose.yml contents, docker run shell command, or paste a screenshot of any UI based configuration of containers here image

  3. any additional info to help reproduce

These common fixes didn't work for my issue

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.

vvirtues commented 3 months ago

btw im using firefox, tested with DoH on and off (same result)

vvirtues commented 3 months ago

seems volumes are not being used

vvirtues commented 3 months ago

wsl shell: image powershell: image have a feeling its related to that

github-actions[bot] commented 2 months ago

This issue is stale because it has been open 30 days with no activity. Please comment or update this issue or it will be closed in 5 days.

vvirtues commented 2 months ago

still need help with this

PromoFaux commented 2 months ago

Operating System: WSL (Ubuntu)

WSL or WSL2? I have a feeling WSL is not compatible - but it's been a while since I've tried.

I used Docker with the WSL2 based engine all the time for testing and am able to access the web UI from my PC....

vvirtues commented 2 months ago

wsl2, sorry for not specifying

PromoFaux commented 2 months ago

Works for me... interesting that it does not for you! Do you have any other web services running either in docker or otherwise on your Windows PC?

image

PromoFaux commented 2 months ago

OH. You're missing the FTLCONF_LOCAL_IPV4 environment variable (It's listed in the Readme 😉)

Before: image

After: image

This variable will not be needed in the upcoming V6 release

github-actions[bot] commented 1 month ago

This issue is stale because it has been open 30 days with no activity. Please comment or update this issue or it will be closed in 5 days.