Pihole.log is empty!

Please follow the below template, it will help us to help you!

Pihole.log is empty! The query log in the webinterface shows proper data. The pihole-FTL.db is being written also, so no issues there.

No, the logging is not off. I checked.
In setupVars.conf
API_QUERY_LOG_SHOW=all
In pihole-FTL.conf
PRIVACYLEVEL=0

If you are Experiencing issues with a Pi-hole install that has non-standard elements (e.g you are using nginx instead of lighttpd, or there is some other aspect of your install that is customised) - please use the Community Help category.

I am using nginx.

Expected Behaviour:

pihole.log should not be empty

Actual Behaviour:

pihole.log is empty

Debug Token:

https://tricorder.pi-hole.net/jg7yldfydg

You are not running our code:

*** [ DIAGNOSING ]: Core version
[i] Core: v5.1.2 (https://discourse.pi-hole.net/t/how-do-i-update-pi-hole/249)
[i] Remotes: origin	https://github.com/pi-hole/pi-hole.git (fetch)
             origin	https://github.com/pi-hole/pi-hole.git (push)
[i] Branch: master
[i] Commit: v5.1.2-0-g6b536b7-dirty
[i] Status:  M advanced/Templates/gravity_copy.sql
[i] Diff: diff --git a/advanced/Templates/gravity_copy.sql b/advanced/Templates/gravity_copy.sql
          index 4a2a9b2..0c73c36 100644
.....

*** [ DIAGNOSING ]: Web version
[i] Web: v5.1.1 (https://discourse.pi-hole.net/t/how-do-i-update-pi-hole/249)
[i] Remotes: origin	https://github.com/pi-hole/AdminLTE.git (fetch)
             origin	https://github.com/pi-hole/AdminLTE.git (push)
[i] Branch: master
[i] Commit: v5.1.1-0-ga03d1bd-dirty
[i] Status:  M groups-domains.php
.....

And an unsupported webserver:

*** [ DIAGNOSING ]: Dashboard and block page
[✗] Block page X-Header: X-Header does not match or could not be retrieved.
HTTP/1.1 301 Moved Permanently
Server: nginx/1.14.2
Date: Sun, 16 Aug 2020 02:00:53 GMT
Content-Type: text/html
Content-Length: 185
Connection: keep-alive
Location: https://localhost/

[✗] Web interface X-Header: X-Header does not match or could not be retrieved.
HTTP/1.1 301 Moved Permanently
Server: nginx/1.14.2
Date: Sun, 16 Aug 2020 02:00:53 GMT
Content-Type: text/html
Content-Length: 185
Connection: keep-alive
Location: https://localhost/admin/

Well, that's just the web interface. I changed it a bit to help me display the way I wanted it. It was working fine until yesterday. I didn't even update it. Don't know what happened.

Sorry about that. I didn't know nginx wasn't supported.

AdminLTE is the web interface. Your core code is also modified.

We do have a user provided guide for nginx and others have made it work. Search nginx in this community help forum.

https://docs.pi-hole.net/guides/nginx-configuration/

I think that's the guide I had used when I installed it with nginx.
Anyways, I just reinstalled and everything works fine (with nginx and the changed code). Don't know what the problem was.

This is just an FYI, I guess since the problem is now gone.
If you want to look at the new debug token, here is the link:
https://tricorder.pi-hole.net/1sou1h41lc

Edward.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.