No blocklists - can't add new blocklists

Expected Behaviour:

I should see in Settings / Blocklists something, with the checkboxes for enable/disable and so on.

Actual Behaviour:

I dont see anything there.
In the dashboard, I have 0 total queries, 0 queries blocked, but 84,899 domains on blocklist.

Debug Token:

https://tricorder.pi-hole.net/2ezspoxavw

Thank you so much guys. I'm a newbie and I've been scratching my head with this for a while now. Cheers.

No, you should not. The function is moved to the group management page, as indicated on your first screen capture.

You have host connectivity problems shown in your debug log:

*** [ DIAGNOSING ]: Networking
[✗] No IPv4 address(es) found on the eth0 interface.

[✗] No IPv6 address(es) found on the eth0 interface.

[i] Default IPv4 gateway: 192.168.1.1
   * Pinging 192.168.1.1...
[✗] Gateway did not respond. (https://discourse.pi-hole.net/t/why-is-a-default-gateway-important-for-pi-hole/3546)

*** [ DIAGNOSING ]: Name resolution (IPv4) using a random blocked domain and a known ad-serving domain
[✓] register-acunt-fanpage89.suportconfrim76.ml is 0.0.0.0 via localhost (127.0.0.1)
[✗] Failed to resolve register-acunt-fanpage89.suportconfrim76.ml via Pi-hole (192.168.1.64)

You can add blocklists on the group management page, but not if they are duplicates. It appears you have tried to add duplicates. This warning appears three times in your debug log:

2020-05-15 21:46:49: (mod_fastcgi.c.421) FastCGI-stderr: PHP Warning: SQLite3Stmt::execute(): Unable to execute statement: UNIQUE constraint failed: adlist.address in /var/www/html/admin/scripts/pi-hole/php/groups.php on line 687

Okay, thanks! So, how can I solve this host connectivity problem? I think I do have set an 1Pv4 address.

You have set an IPv4 address in the Pi-hole, but if there is no active interface on the Pi, this will do no good. Let's take a quick look at the interfaces on the Pi. Outputs of the following please:

ip addr

sudo grep -v '#\|^$' /etc/dhcpcd.conf

pi@raspberrypi:~ $ ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
    link/ether dc:a6:32:39:a2:87 brd ff:ff:ff:ff:ff:ff
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether dc:a6:32:39:a2:88 brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.64/24 brd 192.168.1.255 scope global dynamic noprefixroute wlan0
       valid_lft 40435sec preferred_lft 35035sec
    inet6 fe80::6ea9:e439:3e0b:7264/64 scope link 
       valid_lft forever preferred_lft forever
pi@raspberrypi:~ $ sudo grep -v '#\|^$' /etc/dhcpcd.conf
hostname
clientid
persistent
option rapid_commit
option domain_name_servers, domain_name, domain_search, host_name
option classless_static_routes
option interface_mtu
require dhcp_server_identifier
slaac private
interface eth0
        static ip_address=192.168.1.64/24
        static routers=192.168.1.1
        static domain_name_servers=8.8.8.8 8.8.4.4

Thanks

These look normal. Please upload a new debug log and post the new token:

:ok_hand:t6:

[✓] Your debug token is: https://tricorder.pi-hole.net/nqdonr07y1

Thanks

On second look, these do not look normal - active IP is on the WLAN0 interface, but the static IP is assigned to the eth0 interface:

3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether dc:a6:32:39:a2:88 brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.64/24 brd 192.168.1.255 scope global dynamic noprefixroute wlan0

interface eth0
        static ip_address=192.168.1.64/24

Get this sorted out and then run a new debug log.

Hello guys. I'm sorry, but I dont know much about system administration, and I just dont know to "get this sorted out". I'm kind of stuck.

I've uninstalled everything from the Raspbian, uninstalled Pi-hole and installed again, and followed all steps in the documentation, and still doesnt works.

However, now it registers some queries, but theres any ads being blocked.

Heres another debug token. Maybe we can find the solution. Thanks

[✓] Your debug token is: https://tricorder.pi-hole.net/q998aplw6b

Your new debug log shows no connectivity from the Pi to the LAN:

*** [ DIAGNOSING ]: Networking
[✗] No IPv4 address(es) found on the eth0 interface.

[✗] No IPv6 address(es) found on the eth0 interface.

[i] Default IPv4 gateway: 192.168.1.1
   * Pinging 192.168.1.1...
[✗] Gateway did not respond. (https://discourse.pi-hole.net/t/why-is-a-default-gateway-important-for-pi-hole/3546)

*** [ DIAGNOSING ]: Name resolution (IPv4) using a random blocked domain and a known ad-serving domain
[✓] ehg-streamload.hitbox.com is 0.0.0.0 via localhost (127.0.0.1)
[✗] Failed to resolve ehg-streamload.hitbox.com via Pi-hole (192.168.1.64)

   May 24 13:17:04 dnsmasq[557]: warning: interface eth0 does not currently exist

The 39 queries you see are from Pi-hole on the internal loopback address and you would not expect to see any of these requests blocked.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.