An unknown error occured while loading the data


#1

Expected Behaviour:

Seeing all the queries by a device.

Actual Behaviour:

Getting “Unexpected error occurred while loading the data”. But only for some clients, other clients show up fine.

Debug Token:

Debug Token: 1yayo7ark3

I am nginx instead of Lighttpd. It might be because the log Tail of /var/log/nginx/error.log shows [error] 634#634: *38211 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined variable: api in /var/www/html/admin/scripts/pi-hole/php/add.php on line 14" while reading response header from upstream, client: 192.168.0.155, server: pi.hole, request: "POST /admin/scripts/pi-hole/php/add.php HTTP/2.0", upstream: "fastcgi://unix:/run/php/php7.0-fpm.sock:", host: "pi.hole", referrer: "https://pi.hole/admin/queries.php". So maybe I messed up during the change from lighttpd to nginx but I don’t think so as some clients show. My guess is that there is a file too big to be loaded but I don’t know where it would be.


#2

This guide may provide some assistance setting up nginx:

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


#3

That is the guide that I followed and I have set up nginx sucessfully it is just when looking at logs that I get issues.