DesktopECHO / Pi-Hole-for-WSL1

Ad-blocking DNS server for Windows • Unbound pre-configured • Deployment ready in minutes • Does not require hypervisor/docker
364 stars 54 forks source link

No data showing #98

Closed VOGUK closed 1 year ago

VOGUK commented 1 year ago

Pi-hole is running and blocking all ads. However, it doesn't show any data on the control panel, i.e. number or active clients, blocked queries and all queries. What can I do to rectify this?

DesktopECHO commented 1 year ago

Try running:

C:\Program Files\Pi-hole\Pi-hole Configuration.cmd

And select Repair

image

VOGUK commented 1 year ago

No, that doesn't work. I tried flushing the logs and restarting the system too.

DesktopECHO commented 1 year ago

After running "Repair" can you send a screenshot of the browser window that is opened automatically?

Also can you try accessing it from http://127.0.0.1/admin ?

VOGUK commented 1 year ago

Sure, here you go. ss

DesktopECHO commented 1 year ago

That's strange... open a command prompt and run:

nslookup.exe github.com 127.0.0.1

You shoudl see something like this in response:

Server:  localhost
Address:  127.0.0.1

Non-authoritative answer:
Name:    github.com
Address:  140.82.112.4

Does the query show up in the quwery log?

http://localhost/admin/queries.php

image

VOGUK commented 1 year ago

Hi, I don't know if you meant the address to start 127... or 117... so I did both. There were no queries being shown and there was also a notification showing which I have added the screenshot of below too.

ss ss2

VOGUK commented 1 year ago

For some reason the second screenshot didn't load, please find it below. ss2

DesktopECHO commented 1 year ago

What version of Windows are you running?

I'm out of ideas, the installer is working fine with my Windows 10 / 11 lab machines.

Try uninstalling, reboot, and re-run PH4WSL1.CMD