Parker
February 3, 2024, 10:44pm
1
i just got pi hole on cassa os i have an error saying
ADLIST was inaccessible during last gravity run.
i am using the default adlist when i go to adlist and click the ad list it shows
Health status of this list: List unavailable, there is no local copy of this list available on your Pi-hole (replace list)
pi hole dose not block ads because of this i think i am very new to this stuff and watched many tutorials
Expected Behaviour:
i dont get an error and blocks ads
Actual Behaviour:
i get an error and no ads blocked
Debug Token:
https://tricorder.pi-hole.net/js5QtCYx/
Parker
February 4, 2024, 6:46pm
2
when i update the adlist with gravity i get an error saying
[i] Target: https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts
[✗] Status: Connection Refused
[✗] List download failed: no cached list available
Does your computer with the pihole on it have Internet access? You could have messed something up when you set the static IP, such as not having a DNS entry for your computer with the pihole on it, so the pihole computer can't reach the Internet to download the adlist?
Parker
February 4, 2024, 8:41pm
4
I use Casa OS and I run other things like Home Assistant and Crafty they all work with the internet i am very new to this my server does not have a static IP i think I don't remember setting a static IP and the computer IP has changed once. should I use DHCP instead of static IP?
thank you for the reply
Can you do a ip addr
command and show us the results? Also a dig [google.com](http://google.com)
?
Parker
February 4, 2024, 9:15pm
6
i did ip addr and it gave me this:
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 noprefixroute
valid_lft forever preferred_lft forever
2: enp5s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether 74:56:3c:5d:75:b9 brd ff:ff:ff:ff:ff:ff
3: wlp7s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 10:68:38:6a:25:33 brd ff:ff:ff:ff:ff:ff
inet 192.168.254.89/24 brd 192.168.254.255 scope global dynamic wlp7s0
valid_lft 76170sec preferred_lft 76170sec
inet6 fe80::1268:38ff:fe6a:2533/64 scope link
valid_lft forever preferred_lft forever
4: docker0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default
link/ether 02:42:08:45:de:c2 brd ff:ff:ff:ff:ff:ff
inet 172.17.0.1/16 brd 172.17.255.255 scope global docker0
valid_lft forever preferred_lft forever
inet6 fe80::42:8ff:fe45:dec2/64 scope link
valid_lft forever preferred_lft forever
5: br-ec371f10cb71: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default
link/ether 02:42:9c:2b:8e:0d brd ff:ff:ff:ff:ff:ff
inet 172.18.0.1/16 brd 172.18.255.255 scope global br-ec371f10cb71
valid_lft forever preferred_lft forever
inet6 fe80::42:9cff:fe2b:8e0d/64 scope link
valid_lft forever preferred_lft forever
7: vetha9e5901@if6: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master docker0 state UP group default
link/ether c2:45:b0:1e:b4:de brd ff:ff:ff:ff:ff:ff link-netnsid 0
inet6 fe80::c045:b0ff:fe1e:b4de/64 scope link
valid_lft forever preferred_lft forever
11: veth43be00c@if10: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-ec371f10cb71 state UP group default
link/ether 2e:f1:a4:fd:5a:65 brd ff:ff:ff:ff:ff:ff link-netnsid 1
inet6 fe80::2cf1:a4ff:fefd:5a65/64 scope link
valid_lft forever preferred_lft forever
Parker
February 4, 2024, 9:16pm
7
i did dig [google.com](http://google.com)
i don't know if I did it right but it gave me:
-bash: syntax error near unexpected token `('
The command was modified by the email gateway,
The full command is dig google.com
And the output from
curl -I https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts
would be helpful to see why your connection is being refused.
Parker
February 4, 2024, 9:19pm
9
i did `dig [google.com] and it gave me this:
; <<>> DiG 9.18.19-1~deb12u1-Debian <<>> [google.com]
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 8983
;; flags: qr rd ra ad; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
; COOKIE: 7c7819b510ba34680100000065bffeea1cf5424b592e18ff (good)
;; QUESTION SECTION:
;[google.com]. IN A
;; AUTHORITY SECTION:
. 10800 IN SOA a.root-servers.net. nstld.verisign-grs.com. 2024020401 1800 900 604800 86400
;; Query time: 48 msec
;; SERVER: 192.168.254.254#53(192.168.254.254) (UDP)
;; WHEN: Sun Feb 04 15:17:30 CST 2024
;; MSG SIZE rcvd: 144
You need to remove [
and ]
from the domain.
Parker
February 4, 2024, 9:21pm
11
i did curl -I https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts
and it gave me:
content-security-policy: default-src 'none'; style-src 'unsafe-inline'; sandbox
strict-transport-security: max-age=31536000
x-content-type-options: nosniff
x-frame-options: deny
x-xss-protection: 1; mode=block
content-type: text/plain; charset=utf-8
x-github-request-id: F674:4648:97EB24:B7FCD9:65BFFF87
accept-ranges: bytes
date: Sun, 04 Feb 2024 21:20:09 GMT
via: 1.1 varnish
x-served-by: cache-pdk-kfty2130045-PDK
x-cache: MISS
x-cache-hits: 0
x-timer: S1707081610.927670,VS0,VE61
vary: Authorization,Accept-Encoding,Origin
access-control-allow-origin: *
cross-origin-resource-policy: cross-origin
x-fastly-request-id: 7dbadd7784816b3b81ee22f5f377d2e3f2084364
expires: Sun, 04 Feb 2024 21:25:09 GMT
source-age: 0
content-length: 14
That looks okay, does
curl -sSL https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts | head -n 20
Show you the header with information?
That does not match what the debug log is showing:
*** [ DIAGNOSING ]: Network interfaces and addresses
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
8: eth0@if9: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default
link/ether 02:42:ac:11:00:03 brd ff:ff:ff:ff:ff:ff link-netnsid 0
inet 172.17.0.2/16 brd 172.17.255.255 scope global eth0
valid_lft forever preferred_lft forever
*** [ DIAGNOSING ]: Network routing table
default via 172.17.0.1 dev eth0
172.17.0.0/16 dev eth0 proto kernel scope link src 172.17.0.2
*** [ DIAGNOSING ]: Networking
[✓] IPv4 address(es) bound to the eth0 interface:
172.17.0.2/16
Parker
February 4, 2024, 9:26pm
14
i did curl -sSL https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts | head -n 20
it gave me:
# Title: StevenBlack/hosts
#
# This hosts file is a merged collection of hosts from reputable sources,
# with a dash of crowd sourcing via GitHub
#
# Date: 30 January 2024 13:50:50 (UTC)
# Number of unique domains: 158,822
#
# Fetch the latest version of this file: https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts
# Project home page: https://github.com/StevenBlack/hosts
# Project releases: https://github.com/StevenBlack/hosts/releases
#
# ===============================================================
127.0.0.1 localhost
127.0.0.1 localhost.localdomain
127.0.0.1 local
255.255.255.255 broadcasthost
::1 localhost
::1 ip6-localhost
curl: (23) Failure writing output to destination
Your debug log appears to be from an entirely different setup inside a Docker container.
Parker
February 4, 2024, 9:28pm
16
i updated Pihole to see if it fixed it last night and other things I was trying every thing I could I made a new debug log:
https://tricorder.pi-hole.net/sNTgdB2k/
That is running inside a Docker container.
Can you post the docker-compose.yml
file or the docker run
command you are using to start the container?
Parker
February 4, 2024, 9:47pm
18
i dont know if this is the right thing but it wont let me put the .yml file I used to install pe hole on cassa os but I can post what it has in it I think? I'm sorry I am very new to this stuff
name: quizzical_lorenzo
services:
main_app:
cpu_shares: 10
command: []
container_name: pihole
deploy:
resources:
limits:
memory: 256M
environment:
- PROXY_LOCATION=pi.hole
- TZ=US/Central
- VIRTUAL_HOST=pi.hole
- WEBPASSWORD=casaos
hostname: pihole
image: pihole/pihole:2024.01.0
labels:
icon: https://icon.casaos.io/main/all/pihole.png
ports:
- target: 80
published: "8800"
protocol: tcp
- target: 53
published: "53"
protocol: tcp
- target: 53
published: "53"
protocol: udp
- target: 67
published: "67"
protocol: udp
- target: 547
published: "547"
protocol: udp
restart: unless-stopped
volumes:
- type: bind
source: /DATA/AppData/pihole/etc/pihole/
target: /etc/pihole
- type: bind
source: /DATA/AppData/pihole/etc/dnsmasq.d/
target: /etc/dnsmasq.d
devices: []
cap_add: []
network_mode: bridge
privileged: false
x-casaos:
author: self
category: self
hostname: ""
icon: https://icon.casaos.io/main/all/pihole.png
index: /admin
port_map: "8800"
scheme: http
store_app_id: quizzical_lorenzo
title:
custom: pihole
Oh I'm glad you are here because I was trying to help him along until the real army came in.
Parker
February 4, 2024, 9:56pm
22
i will try to do that i was going to manually set up the DNS on my devices instead of my router because I don't want to mess it up. can i make a static IP without configuring the router's DNS?