No data in admin page

Please follow the below template, it will help us to help you!

Expected Behaviour:

Working counter in admin page

Actual Behaviour:

Only zero's appeal in admin page

Debug Token:

Debug token: u8f3wp6bdb

I installed pihole On Ubuntu 18.04

First FTL was not running with the error "Lost connection to api"

By changing the dns port for 53 to 5353 in dnsmasq.conf it started and is blocking adds now.

Only I see only 0 in the admin page.

I am happy that pihole is blocking the adds, but like to see Some results to.

Pi-hole and its subsystems are hardcoded to use port 53 so while you may be experiening blocking you are breaking other systems when you try and change the ports.

That being said there are several guides available on what to do to allow Pi-hole to function correctly. Such as this one

As said before, you probably have some other daemon, not pihole-FTL, hijacking/binding/listening on port 53.
This is confirmed if you can get it to work by changing away from the default port 53.
To see which daemon (and other ports that Pi-hole needs):

sudo netstat -nltup | grep 'Proto\|:53 \|:67 \|:80 \|:471'

Hello, thank you for You're realy.
I uninstalled pihole and reinstalled again according the previous link .
Now the webpage doe not open at all.

Netstat shows:
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 10.61.14.4:53 0.0.0.0:* LISTEN 1070/named
tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 1070/named
tcp6 0 0 :::53 :::* LISTEN 1070/named
udp 6912 0 10.61.14.4:53 0.0.0.0:* 1070/named
udp 9856 0 127.0.0.1:53 0.0.0.0:* 1070/named
udp6 0 0 :::53 :::* 1070/named

Debug shops:
dnsmasq: failed to create listening socket for 10.61.14.4: Address already in use

THanks in advance

There is a lot going on with ubuntu 18.04. One thing which is the Network manager that comes included with it

This link explains more about it i wish i could just give you steps but i am not an ubuntu expert. also can you confirm for me is it 18.04.01 or 18.04

"named" is part of the bind9 package:

sudo systemctl stop bind9

sudo systemctl disable bind9

sudo systemctl restart pihole-FTL

Post results for:

sudo systemctl status pihole-FTL -l

sudo netstat -nltup | grep 'Proto\|:53 \|:67 \|:80 \|:471'

sudo systemctl status lighttpd -l

And maybe below one is able to repair some:

pihole -r

I was experiencing more issues following the script for Ubuntu mentioned above then following the default script. The only issue I had was zero data on the admin page. Now it does not even run, lighttpd did not run at all.

appears /var/log/lighttpd had wrong owner and permissions
owner now is www-data:www-data
permissions is 755
Now it is running, and the webpage is showing data (yippykayee)

only it does not seem to resolve now

I had to enable bind9 to upload the debug export

Debug token: 3j6fpv4wzl

You havn't responded to below bit:


How have you tested ?

Dont enable bind9!
Do below one instead if uploading doesnt work:

sudo sed -i 's/127.0.0.1/8.8.8.8/' /etc/resolv.conf

Post output for below test/check on one of your client PC's (Linux, Windows or Mac) ?

nslookup pi.hole

And output for when instructing nslookup to use the Pi-hole IP addresss ?

nslookup pi.hole <PIHOLE_IP_ADDRESS>

And output for a check to see if Pi-hole is answering ?

nslookup -type=txt -class=chaos version.bind <PIHOLE_IP_ADDRESS>

EDIT: ohw and permissions should be 750:

pi@noads:~ $ stat /var/log/lighttpd
Access: (0750/drwxr-x---)  Uid: (   33/www-data)   Gid: (   33/www-data)

OK, iIt's up and running now!
Dnsmasq had to be disabled
Pihole-FTL had to be enabled.

Combiining with previous permission changes everything runs fine now.

Thanks for pointilng me in the right direction and your and support!

maybe ait is an idea to mention preferred file permissions and ownership in your file list.

1 Like

Still One more question.

In One of your screenshot I see 260000+ domains On the blacklist.
I Have 'only' 134500

Is my list not complete?

A screenshot of mine ?
The number of blocked domains depends upon how many lists you have configured:

pi@noads:~ $ grep -v '#\|^$' /etc/pihole/adlists.list
https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts
https://mirror1.malwaredomains.com/files/justdomains
http://sysctl.org/cameleon/hosts
https://zeustracker.abuse.ch/blocklist.php?download=domainblocklist
https://s3.amazonaws.com/lists.disconnect.me/simple_tracking.txt
https://s3.amazonaws.com/lists.disconnect.me/simple_ad.txt
https://hosts-file.net/ad_servers.txt
https://dehakkelaar.nl/lists/cryptojacking_campaign.list.txt
https://gitlab.com/ZeroDot1/CoinBlockerLists/raw/master/list.txt

Above lists currently results in below number of blocked domains on my Pi-hole setup:

pi@noads:~ $ echo '>stats' | nc localhost 4711
domains_being_blocked 145070

Lists can be added/removed here:

http://pi.hole/admin/settings.php?tab=blocklists

There is no real concept of a "complete" set of lists. There are a number of block lists maintained on the internet, targeted toward ads, malware, porn, etc. Users add block lists as desired. A good collection is here:

If you select all the lists in one of the text formats he provides, then just paste that entire block of text into your web admin GUI (settings > blacklists) and then "save and update".

https://v.firebog.net/hosts/lists.php

1 Like

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