-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Domains on Adlists -2 (again... when StevenBlack isn't select) #5677
Comments
echo Selecto on the... when I send it the text change on that line because I used minus than and great than |
Please run
|
it give "0" as an answer |
And
Additionally, please run
|
output from the first command: domains_being_blocked -2 |
Run What do you see in |
The issue is in the real of FTL. It will return The error is somewhere along Please check |
"pihole -g" fix the problem now the new value is "0" btw I clone the VM so I have 3 VMs right now #4519 that was when I report that issue in the past and was fixed on the next version this is the output of the FTL.log file but I remove the time-date of the output: Using log file
|
Mhh this is interesting.
tells us that this property is not available (or the table completely empty) where it should have been populated with 0 by Lines 700 to 704 in 5490a6e
I don't see why this part of the code should not be executed, even when no adlist is selected (and why a second run of Can you please check if the property is set in the database?
|
after the fix now apear as "0" I just to check before and after the fix with a more generic SQL BEFORE AFTER |
Maybe something else (external - not related to Pi-hole) failed during installation, the script was interrupted and gravity was never executed, resulting in an empty table. |
I just install Debian 12.4 on a VM machine on proxmox, with all of the basic option, I only change the number of Cores to 4 and the memory size to 4 GB to speed up the installation process. (Nothing strange here) I get the script with wget as that is the only change I do than is different from a "normal" installation
that issue was previously fixed it just reappear again at some point in time... surely I'm one of the few people than used pi-hole without any default list maybe create another VM like that one and record it on a video will help... with and without the default Adlist |
This is a very strange step... Are you trying to execute the HTML file on the command line? Most important: Pi-hole doesn't have an EDIT: |
I tried it on a fresh debian image and it failed at
|
Ok, I know what happens here: Lines 156 to 159 in 5490a6e
Created and moved the temp file, but the variable name is not updated. When the adlist list is not empty, the file will be re-created in Lines 198 to 200 in 5490a6e
and therefore exist. But when the list of adlist is empty, the file does not exist at this point. This is fixed in v6 with #5457 |
Pi-hole: v5.18.2 (Latest: N/A)
AdminLTE: v5.21 (Latest: N/A)
FTL: 5.25.2 (Latest: N/A)
Debian 12
Expected behavior
without adding the default Adlist the number on the main page mush be 0
Actual behavior / bug
The number on the main page on "Domains on Adlists" show -2
Steps to reproduce
fresh install... history commands are the follow after add the used to the sudoers... echo mean a commentary to the previous line
wget http://install.pi-hole.com
sudo bash index.html
echo Selecto on the Blocklists option... so StevenBlack lists isn't added to the Adlist
sudo apt install unbound
sudo nano /etc/unbound/unbound.conf.d/pi-hole.conf
echo https://docs.pi-hole.net/guides/dns/unbound/ <- copy the server: section
sudo nano /etc/network/interfaces
echo add a statics ip
sudo reboot
Debug Token
Screenshots
Additional context
I report that problem some time ago and it appear again... I can do any SQL query to the database if will be needed as the previous time when the bug was fixed
The text was updated successfully, but these errors were encountered: