Hi, I am a NOOB to pihole. It seems that my system is accurately blocking ad-domains. However, when I add a domain to either white/blacklists, I don't see them in the lists of domains. In fact, via the GUI (which I admit is about as far as I've gotten), I don't see anything in the blacklist, and in the whitelist, I see only default domains.
Can you provide us with the token from a pihole -d
or Tools>Generate Debug from the Web Dashboard.
Here it is.
Token: 8qxrl7kood
I see that there's some modified files in /var/www/html/admin
, have you changed anything there? Try using pihole -w
or pihole -b
to whitelist/blacklist. That might give some more information on why it's not working.
No changes have been made in /var/www/html/admin.
For a test, I whitelisted a site:
pihole -w adfarm.mediaplex.com
Output:
':: Adding adfarm.mediaplex.com to /etc/pihole/whitelist.txt...
:: adfarm.mediaplex.com does not exist in /etc/pihole/blacklist.txt, no need to remove!
:: Whitelisting 7 domains... done!'
I do see it in the list of the 7 domains on the GUI.
Furthermore the alternate does work:
pihole -b adfarm.mediaplex.com
`::: Adding adfarm.mediaplex.com to /etc/pihole/blacklist.txt...
::: Removing adfarm.mediaplex.com from /etc/pihole/whitelist.txt...`
I then see that domain in the blacklist.
New debug token: n27zuc24c8
What's the output of these commands?
cd /var/www/html/admin`
git status
'root@DietPi:/var/www/html/admin# git status
On branch master
Your branch is up-to-date with 'origin/master'.
Changes not staged for commit:
(use "git add ..." to update what will be committed)
(use "git checkout -- ..." to discard changes in working directory)
modified: .github/ISSUE_TEMPLATE.md
modified: .github/PULL_REQUEST_TEMPLATE.md
modified: .gitignore
modified: .pullapprove.yml
modified: .user.php.ini
modified: CONTRIBUTING.md
modified: LICENSE
modified: README.md
modified: api.php
modified: debug.php
modified: gravity.php
modified: help.php
modified: img/boxed-bg.jpg
modified: img/donate.gif
modified: img/favicon.png
modified: img/logo.svg
modified: index.php
modified: list.php
modified: queries.php
modified: queryads.php
modified: scripts/pi-hole/js/debug.js
modified: scripts/pi-hole/js/footer.js
modified: scripts/pi-hole/js/gravity.js
modified: scripts/pi-hole/js/header.js
modified: scripts/pi-hole/js/index.js
modified: scripts/pi-hole/js/list.js
modified: scripts/pi-hole/js/queries.js
modified: scripts/pi-hole/js/queryads.js
modified: scripts/pi-hole/js/settings.js
modified: scripts/pi-hole/js/taillog.js
modified: scripts/pi-hole/php/add.php
modified: scripts/pi-hole/php/api_token.php
modified: scripts/pi-hole/php/auth.php
modified: scripts/pi-hole/php/data.php
modified: scripts/pi-hole/php/debug.php
modified: scripts/pi-hole/php/footer.php
modified: scripts/pi-hole/php/func.php
modified: scripts/pi-hole/php/get.php
modified: scripts/pi-hole/php/gravity.sh.php
modified: scripts/pi-hole/php/header.php
modified: scripts/pi-hole/php/loginpage.php
modified: scripts/pi-hole/php/password.php
modified: scripts/pi-hole/php/queryads.php
modified: scripts/pi-hole/php/savesettings.php
modified: scripts/pi-hole/php/sub.php
modified: scripts/pi-hole/php/teleporter.php
modified: scripts/vendor/Chart.bundle.min.js
modified: scripts/vendor/LICENSE
modified: scripts/vendor/app.min.js
modified: scripts/vendor/dataTables.bootstrap.min.js
modified: scripts/vendor/datetime-moment.js
modified: scripts/vendor/html5shiv.min.js
modified: scripts/vendor/jquery-ui.min.js
modified: scripts/vendor/jquery.confirm.min.js
modified: scripts/vendor/jquery.dataTables.min.js
modified: scripts/vendor/jquery.inputmask.extensions.js
modified: scripts/vendor/jquery.inputmask.js
modified: scripts/vendor/jquery.min.js
modified: scripts/vendor/moment.min.js
modified: scripts/vendor/qrcode.php
modified: scripts/vendor/respond.min.js
modified: settings.php
modified: style/pi-hole.css
modified: style/vendor/AdminLTE.min.css
modified: style/vendor/LICENSE
modified: style/vendor/SourceSansPro/OFL.txt
modified: style/vendor/SourceSansPro/SourceSansPro-Black.ttf
modified: style/vendor/SourceSansPro/SourceSansPro-BlackItalic.ttf
modified: style/vendor/SourceSansPro/SourceSansPro-Bold.ttf
modified: style/vendor/SourceSansPro/SourceSansPro-BoldItalic.ttf
modified: style/vendor/SourceSansPro/SourceSansPro-ExtraLight.ttf
modified: style/vendor/SourceSansPro/SourceSansPro-ExtraLightItalic.ttf
modified: style/vendor/SourceSansPro/SourceSansPro-Italic.ttf
modified: style/vendor/SourceSansPro/SourceSansPro-Light.ttf
modified: style/vendor/SourceSansPro/SourceSansPro-LightItalic.ttf
modified: style/vendor/SourceSansPro/SourceSansPro-Regular.ttf
modified: style/vendor/SourceSansPro/SourceSansPro-Semibold.ttf
modified: style/vendor/SourceSansPro/SourceSansPro-SemiboldItalic.ttf
modified: style/vendor/SourceSansPro/SourceSansPro.css
modified: style/vendor/bootstrap/css/bootstrap.min.css
modified: style/vendor/bootstrap/css/bootstrap.min.css.map
modified: style/vendor/bootstrap/fonts/glyphicons-halflings-regular.eot
modified: style/vendor/bootstrap/fonts/glyphicons-halflings-regular.svg
modified: style/vendor/bootstrap/fonts/glyphicons-halflings-regular.ttf
modified: style/vendor/bootstrap/fonts/glyphicons-halflings-regular.woff
modified: style/vendor/bootstrap/fonts/glyphicons-halflings-regular.woff2
modified: style/vendor/bootstrap/js/bootstrap.min.js
modified: style/vendor/dataTables.bootstrap.min.css
modified: style/vendor/font-awesome-4.5.0/css/font-awesome.min.css
modified: style/vendor/font-awesome-4.5.0/fonts/FontAwesome.otf
modified: style/vendor/font-awesome-4.5.0/fonts/fontawesome-webfont.eot
modified: style/vendor/font-awesome-4.5.0/fonts/fontawesome-webfont.svg
modified: style/vendor/font-awesome-4.5.0/fonts/fontawesome-webfont.ttf
modified: style/vendor/font-awesome-4.5.0/fonts/fontawesome-webfont.woff
modified: style/vendor/font-awesome-4.5.0/fonts/fontawesome-webfont.woff2
modified: style/vendor/ionicons-2.0.1/css/ionicons.min.css
modified: style/vendor/ionicons-2.0.1/fonts/ionicons.eot
modified: style/vendor/ionicons-2.0.1/fonts/ionicons.svg
modified: style/vendor/ionicons-2.0.1/fonts/ionicons.ttf
modified: style/vendor/ionicons-2.0.1/fonts/ionicons.woff
modified: style/vendor/js-warn.css
modified: style/vendor/skin-blue.min.css
modified: taillog.php
no changes added to commit (use "git add" and/or "git commit -a")'
Sorry, I must have missed your update and forgot about this thread. If you're still having the issue, it might be because you have a ton of modified files for some reason.
2 posts were split to a new topic: No white or blacklisted domains after update to 5.0