i am using pi.hole on RPi4, 4GB RAM, latest Raspian Buster. I have installed pi-hole via your script.
Version: Pi-hole Version v4.3.2 Web Interface Version v4.3.2 FTL Version v4.3.1
I have insert many blocking lists (~150). Now ~1.6 mio Domains are blocked.
When I try to find a domain in one of these lists, the Tool Query list doesnt work.
There is no reaction of the searching
The purpose for posting only the debug token is to maintain your privacy. With the token, only the developers can access your debug log, and it is specially formatted. When you post the log as an attachment, everybody can read it and it may have personal information in it.
changing the dns in
/etc/resolv.conf
does not solve the upload-prob:
[?] Would you like to upload the log? [y/N] y
* Using e[32mcurle[0m for transmission.
[e[91m✗e[0m] e[91mThere was an error uploading your debug log.e[0m
* Please try again or contact the Pi-hole team for assistance.
* A local copy of the debug log can be found at: e[96m/var/log/pihole_debug.loge[0m
In the log, I found this error:
e[95m*** [ DIAGNOSING ]:e[0m Dashboard and block page
[e[91m✗e[0m] Block page X-Header: e[91mX-Header does not match or could not be retrieved.e[0m
e[91mHTTP/1.1 200 OK
Set-Cookie: PHPSESSID=8k808cua7gjmrlqerdbc8ek328; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate
Pragma: no-cache
Content-type: text/html; charset=UTF-8
Date: Wed, 15 Jan 2020 13:27:34 GMT
Server: lighttpd/1.4.54
I think with
upload://7wxG7qiTe2LwAEnPFrmpmKUbXbz.txt
the dev can found the complete log
This is your original problem statement. When you ran this command, was it run from the web Admin GUI > tools > query lists?
Have you tried the command line equivalent of this command:
pihole -q -adlist {insert domain here without brackets}
Lighttpd is showing this error - disk full when trying to write to the log:
-rw-r--r-- 1 www-data www-data 4484 Jan 14 23:53 /var/log/lighttpd/error.log
...
2020-01-14 22:40:30: (mod_accesslog.c.185) writing access log entry failed: /var/log/lighttpd/access.log No space left on device
2020-01-14 22:40:31: (mod_accesslog.c.185) writing access log entry failed: /var/log/lighttpd/access.log No space left on device
You have Pi-Hole blocking disabled. Is this intentional?
2020-01-19 22:02:40: (server.c.1521) server started (lighttpd/1.4.54)
2020-01-19 22:02:40: (server.c.1550) WARNING: unknown config-key: alias.url (ignored)
at the moment, no error.log.1 file
● lighttpd.service - Lighttpd Daemon
Loaded: loaded (/lib/systemd/system/lighttpd.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2020-01-19 22:02:40 CET; 5min ago
Process: 1164 ExecStartPre=/usr/sbin/lighttpd -tt -f /etc/lighttpd/lighttpd.conf (code=exited, status=0/SUCCESS)
Main PID: 1171 (lighttpd)
Tasks: 6 (limit: 4915)
Memory: 12.7M
CGroup: /system.slice/lighttpd.service
├─1171 /usr/sbin/lighttpd -D -f /etc/lighttpd/lighttpd.conf
├─1178 /usr/bin/php-cgi
├─1180 /usr/bin/php-cgi
├─1181 /usr/bin/php-cgi
├─1182 /usr/bin/php-cgi
└─1183 /usr/bin/php-cgi
Jan 19 22:03:33 raspi sudo[1271]: pam_unix(sudo:session): session closed for user root
Jan 19 22:04:59 raspi sudo[1398]: www-data : TTY=unknown ; PWD=/var/www/html/admin ; USER=root ; COMMAND=/usr/local/bin/pihole status web
Jan 19 22:04:59 raspi sudo[1398]: pam_unix(sudo:session): session opened for user root by (uid=0)
Jan 19 22:04:59 raspi sudo[1398]: pam_unix(sudo:session): session closed for user root
Jan 19 22:05:04 raspi sudo[1430]: www-data : TTY=unknown ; PWD=/var/www/html/admin ; USER=root ; COMMAND=/usr/local/bin/pihole status web
Jan 19 22:05:04 raspi sudo[1430]: pam_unix(sudo:session): session opened for user root by (uid=0)
Jan 19 22:05:04 raspi sudo[1430]: pam_unix(sudo:session): session closed for user root
Jan 19 22:05:09 raspi sudo[1461]: www-data : TTY=unknown ; PWD=/var/www/html/admin ; USER=root ; COMMAND=/usr/local/bin/pihole status web
Jan 19 22:05:09 raspi sudo[1461]: pam_unix(sudo:session): session opened for user root by (uid=0)
Jan 19 22:05:09 raspi sudo[1461]: pam_unix(sudo:session): session closed for user root
I just took a second look at your debug log that was sent earlier. You are not running a supported OS for Pi-Hole. Raspbian is only supported through Buster.