Pihole no stats via web interface

I have a standard pihole install on a pi3B+. its working well and the command line shows live activity and blocking. but no stats visible in the web page.
I have tried many things suggested by others but still cant get it to work.

Debug Token: ncbvvqqp3s

Your debug log is trunced, but it already shows that lighttpd is listening on port

*:8100 lighttpd (IPv4)

instead of port 80 (default). Did you change the port on purpose?

Yes. I changed to port 8100. But i get the same issue if i use port 80.

please excuse my brevity

So the web interface is accessible but only the stats are missing?
Can you generate a new debug log please?

Are there any errors in

/var/log/lighttpd/error.log

Re-run the debug process please, and remember that the level of your brevity is directly proportional to the effort we will respond with.

No errors. Changed the port back to 80 (just for you). Still same issue. Can reach the web interface but no stats shown

New debug token 0qhqvarjok

Thanks for the help

Petrus

please excuse my brevity

Hi Dan

Like it :+1:. I do appreciate the support

New debug token 0qhqvarjok

Regards
Peter

please excuse my brevity

It's still truncated :thinking:

The last line is

      wpad-server: "

Can you DM me the full debug log?

hopefully you got the complete log. appreciate your help

Please run

echo ">stats >quit" | nc localhost 4711

and post the output here.

Output attached.

Good. This shows that stats are indeed there (at least for the last 24h) and it is only an issue related to displaying them on the web interface.

Exactly. So we agree it’s functional (in fact im more than happy with how effective it is). But why no stats on the web interface?

I still don't know. I haven't seen a full debug_log of your pi-hole installation.

The uploaded log is truncated again but the txt is readable. You can delete the link now to protect your privacy.

I think I deleted the link but not sure what is in the log that could be considered private. Anyway, did you see anything to help with the stats problem ?

It contains your email address.

The only thing that stuck out is the repeated start/stop of lighttpd

   2021-02-14 13:55:45: (server.c.1464) server started (lighttpd/1.4.53) 
   2021-02-14 13:55:56: (server.c.2059) server stopped by UID = 0 PID = 1 
   2021-02-14 13:55:56: (server.c.1464) server started (lighttpd/1.4.53) 
   2021-02-14 13:55:56: (server.c.1493) WARNING: unknown config-key: alias.url (ignored) 
   2021-02-14 13:57:38: (server.c.2059) server stopped by UID = 0 PID = 1 
   2021-02-14 13:57:47: (server.c.1464) server started (lighttpd/1.4.53) 
   2021-02-14 13:57:47: (server.c.1493) WARNING: unknown config-key: alias.url (ignored) 
   2021-02-15 02:41:19: (server.c.958) [note] graceful shutdown started 
   2021-02-15 02:41:19: (server.c.2059) server stopped by UID = 0 PID = 8837 
   2021-02-15 02:41:19: (server.c.1464) server started (lighttpd/1.4.53) 
   2021-02-15 02:41:19: (server.c.1493) WARNING: unknown config-key: alias.url (ignored) 
   2021-02-15 14:28:29: (server.c.2059) server stopped by UID = 0 PID = 1 
   2021-02-15 14:28:38: (server.c.1464) server started (lighttpd/1.4.53) 
   2021-02-15 14:28:38: (server.c.1493) WARNING: unknown config-key: alias.url (ignored) 
   2021-02-15 14:48:58: (server.c.2059) server stopped by UID = 0 PID = 1 
   2021-02-15 14:48:58: (server.c.1464) server started (lighttpd/1.4.53) 
   2021-02-15 14:48:58: (server.c.1493) WARNING: unknown config-key: alias.url (ignored) 
   2021-02-15 15:04:04: (server.c.2059) server stopped by UID = 0 PID = 1 
   2021-02-15 15:04:13: (server.c.1464) server started (lighttpd/1.4.53) 
   2021-02-15 15:04:13: (server.c.1493) WARNING: unknown config-key: alias.url (ignored) 
   2021-02-16 09:12:45: (server.c.2059) server stopped by UID = 0 PID = 1 
   2021-02-16 09:12:46: (server.c.1464) server started (lighttpd/1.4.53) 
   2021-02-16 09:12:46: (server.c.1493) WARNING: unknown config-key: alias.url (ignored) 
   2021-02-16 09:14:57: (server.c.2059) server stopped by UID = 0 PID = 1 
   2021-02-16 09:14:58: (server.c.1464) server started (lighttpd/1.4.53) WARNING: unknown config-key: alias.url (ignored) 

Did you do any modifications (except of the port change) in /var/www/html/admin?

Does the issue occur also with another browser?

Thanks. No modifications and i have run repair so its now running on port80
Same problem on all browsers and also pihole app on ios.

The web interface opens and some functions work. (Eg log flush etc). Stats dont show and looking at query log throws a json error. If it helps i can send a screen shot

Regards
Peter

please excuse my brevity

Yes please.