Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[ Pihole ][ 4.1.0.0 ]Multi-platform, network-wide ad blocker
#31
download again the module and install it.
let me know if this time work.
------------------------------------------------------------------------
[Image: linkedinbutton.jpg][Image: btn_donate_LG.gif]
Please respect my work and dont share my modules
Reply
#32
Yess! pihole-FTL is now running.

Code:
# pihole status
 [✓] DNS service is running
 [✓] Pi-hole blocking is Enabled


But now it seems to have some other issues:

1. I cannot update the lists:
Code:
# pihole -g
 [✗] DNS resolution is currently unavailable
 [i] Time until retry: 116^C

 [i] User-abort detected
 [✓] Cleaning up stray matter
 [✓] DNS service is running
 [✓] Pi-hole blocking is Enabled

2. There is also a permissions problem:
Code:
pihole -q ads.samsungads.com
/usr/local/bin/pihole: line 83: /raid/data/module/Pihole/sys/opt/pihole/query.sh: Permission denied

I guess piholeCheckout.sh query.sh wildcard_regex_converter.sh need execute permissions?

3. query.sh cannot open COL_TABLE because of absolute /opt/pihole path
Code:
# pihole -q ads.samsungads.com
/raid/data/module/Pihole/sys/opt/pihole/query.sh: line 24: /opt/pihole/COL_TABLE: No such file or directory
 Match found in Blacklist
   ads.samsungads.com


4. There is no pihole.log in sys/var/log/


I hope that helps.

Cheers,
Bunts
Reply
#33
download again th module, fixed this issues
the log is in /var/log

if any other issues let me know.

pihole is using a lots of scripts and different paths which have to be adapted for Thecus structure.
------------------------------------------------------------------------
[Image: linkedinbutton.jpg][Image: btn_donate_LG.gif]
Please respect my work and dont share my modules
Reply
#34
Hello,

Just upgraded to 4 from 3.1. I have zero domains in my blocklist somehow
gravity.sh works pihole says it's enabled. dns is working, just nothing is getting blocked
 
Code:
 [i] Neutrino emissions detected...
 [✓] Pulling blocklist source list into range

 [i] Target: raw.githubusercontent.com (hosts)
 [✓] Status: Retrieval successful

 [i] Target: mirror1.malwaredomains.com (justdomains)
 [✓] Status: No changes detected

 [i] Target: sysctl.org (hosts)
 [✓] Status: No changes detected

 [i] Target: zeustracker.abuse.ch (blocklist.php?download=domainblocklist)
 [✓] Status: No changes detected

 [i] Target: s3.amazonaws.com (simple_tracking.txt)
 [✓] Status: No changes detected

 [i] Target: s3.amazonaws.com (simple_ad.txt)
 [✓] Status: No changes detected

 [i] Target: hosts-file.net (ad_servers.txt)
 [✓] Status: No changes detected

 [✓] Consolidating blocklists
 [✓] Extracting domains from blocklists
 [i] Number of domains being pulled in by gravity: 147492
 [✓] Removing duplicate domains
 [i] Number of unique domains trapped in the Event Horizon: 124364
 [i] Number of whitelisted domains: 6
 [i] Number of blacklisted domains: 1
 [✓] Parsing domains into hosts format
 [✓] Cleaning up stray matter

 [✓] DNS service is running
 [✓] Pi-hole blocking is Enabled
Code:
pihole status
 [✓] DNS service is running
 [✓] Pi-hole blocking is Enabled
Code:
Failed to open log file. Check permissions!
I got the above when I went to tail the pihole.log file in the web interface. I get nothing in the FTL log though


I decided to reboot and now I get this when I go to update gravity.sh

Code:
 [✗] DNS resolution is currently unavailable
 [i] Time until retry: 115
Reply
#35
can you try to access the web interface with another browser if you are using Chrome ? Same issues for Blocklist ?
------------------------------------------------------------------------
[Image: linkedinbutton.jpg][Image: btn_donate_LG.gif]
Please respect my work and dont share my modules
Reply
#36
(30-09-2018, 09:54 PM)outkastm Wrote: can you try to access the web interface with another browser if you are using Chrome ? Same issues for Blocklist ?

two different browsers, same results 0 block list.
Reply
#37
try to stop and start the module again
------------------------------------------------------------------------
[Image: linkedinbutton.jpg][Image: btn_donate_LG.gif]
Please respect my work and dont share my modules
Reply
#38
(30-09-2018, 11:18 PM)outkastm Wrote: try to stop and start the module again

I actually reverted to 3.1 for a bit. but I'm back on 4 now. I've stopped and started the module twice
Now I still show 0 blocked domains, but updating gravity works. Nothing ever shows up in either the FTL log or the other pihole log.
DNS queries from a client will still work though, but ads aren't blocked

Code:
pihole status
 [✓] DNS service is running
 [✓] Pi-hole blocking is Enabled
Finn:~# pihole -g
 [i] Neutrino emissions detected...
 [✓] Pulling blocklist source list into range

 [i] Target: raw.githubusercontent.com (hosts)
 [✓] Status: Retrieval successful

 [i] Target: mirror1.malwaredomains.com (justdomains)
 [✓] Status: No changes detected

 [i] Target: sysctl.org (hosts)
 [✓] Status: No changes detected

 [i] Target: zeustracker.abuse.ch (blocklist.php?download=domainblocklist)
 [✓] Status: No changes detected

 [i] Target: s3.amazonaws.com (simple_tracking.txt)
 [✓] Status: No changes detected

 [i] Target: s3.amazonaws.com (simple_ad.txt)
 [✓] Status: No changes detected

 [i] Target: hosts-file.net (ad_servers.txt)
 [✓] Status: No changes detected

 [✓] Consolidating blocklists
 [✓] Extracting domains from blocklists
 [i] Number of domains being pulled in by gravity: 147492
 [✓] Removing duplicate domains
 [i] Number of unique domains trapped in the Event Horizon: 124364
 [i] Number of whitelisted domains: 6
 [i] Number of blacklisted domains: 1
 [✓] Parsing domains into hosts format
 [✓] Cleaning up stray matter

 [✓] DNS service is running
 [✓] Pi-hole blocking is Enabled
Finn:~# tail -f /var/log/pihole-FTL.log
[2018-10-01 00:51:50.438]  -> Exactly blocked DNS queries: 0
[2018-10-01 00:51:50.438]  -> Unknown DNS queries: 0
[2018-10-01 00:51:50.438]  -> Unique domains: 0
[2018-10-01 00:51:50.438]  -> Unique clients: 0
[2018-10-01 00:51:50.438]  -> Known forward destinations: 0
[2018-10-01 00:51:50.438] Successfully accessed setupVars.conf
[2018-10-01 00:51:50.561] PID of FTL process: 29364
[2018-10-01 00:51:50.561] Listening on port 4711 for incoming IPv4 telnet connections
[2018-10-01 00:51:50.562] Listening on port 4711 for incoming IPv6 telnet connections
[2018-10-01 00:51:50.562] Listening on Unix socket

just dug through the Pihole-ftl.log file

Code:
[2018-10-01 00:38:01.104] ########## FTL started! ##########
[2018-10-01 00:38:01.104] FTL branch:
[2018-10-01 00:38:01.104] FTL version: v4.0
[2018-10-01 00:38:01.104] FTL commit: 8493df4
[2018-10-01 00:38:01.104] FTL date: 2018-08-05 13:40:30 -0700
[2018-10-01 00:38:01.104] FTL user: root
[2018-10-01 00:38:01.104] WARNING: Starting pihole-FTL as user root is not recommended
[2018-10-01 00:38:01.104] Notice: Found no readable FTL config file
[2018-10-01 00:38:01.104]         Using default settings
[2018-10-01 00:38:01.104] Starting config file parsing (/etc/pihole/pihole-FTL.conf)
I'm guessing it shouldn't be root? also it doensn't find an FTL config file.
Reply
#39
or FTL is being run by nobody?
Code:
:~# ps | grep pihole
6717 root      5976 S    grep pihole
30193 nobody    134m S    pihole-FTL
Reply
#40
I did the install on another Thecus and it too had the same problem. 0 blocks.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)