There are no domain lists generated lists within `/etc/pihole/`

Hello,

when I open http://pi.hole/ (without admin), I get the following message:

[ERROR] There are no domain lists generated lists within /etc/pihole/! Please update gravity by running pihole -g , or repair Pi-hole using pihole -r.

The PiHole is working, but this message is still displayed after running both commands.

Opening http://pi.hole should automatically redirect you to http://pi.hole/admin

I am using the hostname of the machine to access the webinterface. I changed the URL to http://pi.hole for posting in the forum.

I figured out that the redirect works with http://pi.hole but not with the internal host name like http://hostname.example.com

Do you also see the issue when trying to access the Pi-hole through its IP address?

If i use the IP address I get the page with the logo and a link to access the admin interface

Thanks, I already found the bug where some old code was left in the file.

This will fix the issue you're seeing:
https://github.com/pi-hole/pi-hole/pull/3087

Fix is working perfectly. Thank you.

1 Like