After doing that, all queries page returns a massive word wall. However, the query log is still empty.
I'm opening all pages on the same browser. The browser is Chrome, the OS of the Pi-Hole is Debian Jessie, client is Windows 10.
What's the first few lines of it look like? If you open up the dev tools (F12) on the query page, are there any errors?
(I was denied the ability to post because I'm a new user, and posted "too much", so I had to wait. I know this is to block spammers, I just happened to get lucky lol.)
The first 4 lines are:
{"data":[["1495247206","IPv4","api.github.com","10.9.0.1","2"],["1495247206","IPv4","api.github.com","10.9.0.1","2"],["1495247208","IPv4","clients4.google.com","10.9.0.1","2"],["1495247224","IPv4","river.data.ea.com","10.9.0.1","2"],["1495247225","IPv4","api1.origin.com","10.9.0.1","2"],["1495247225","IPv4","api1.origin.com","10.9.0.1","3"],["1495247237","IPv4","plex.tv","10.9.0.1","2"],["1495247248","IPv4","easylist-downloads.adblockplus.org","10.9.0.1","2"],["1495247249","IPv4","ocsp.comodoca.com","10.9.0.1","2"],["1495247249","IPv4","ocsp.usertrust.com","10.9.0.1","2"],["1495247259","IPv4","v10.vortex-win.data.microsoft.com","10.9.0.1","2"],["1495247266","IPv4","conntest.nintendowifi.net","10.9.0.1","2"],["1495247267","IPv4","l-npns.app.nintendo.net","10.9.0.1","2"],
Where would I see errors on the dev tools? In the console section, it shows,
Resource interpreted as Document but transferred with MIME type application/json: "http://pi.hole/admin/api.php?getAllQueries"
In the console section, it will show errors. Check the console when you're on the web interface query log page.
Gotcha.
Error:
Uncaught TypeError: $.fn.dataTable.moment is not a function
at HTMLDocument. (queries.js:112)
at j (jquery.min.js:2)
at Object.fireWith [as resolveWith] (jquery.min.js:2)
at Function.ready (jquery.min.js:2)
at HTMLDocument.I (jquery.min.js:2)
Does the moment.min.js
request under the Network tab go through? (is the response javascript)
Yup. http://pihole/admin/scripts/vendor/moment.min.js, correct?
Yes (pi.hole
). Try clearing your browser cache/JavaScript cache. If that is loading, the script should be able to use it.
...I'm actually embarrassed for the resolution of this... Clearing cache on Chrome allowed it to work again.
I must have logged into PiHole at some point in the other browser I used during troubleshooting (IE) before I updated. Or, IE doesn't support Pi-Hole's webUI (which I wouldn't blame anyone from dumping support for it). Because it looked similar to how it looked in Chrome, I assumed it was server based.
I guess a client will need to clear cache when jumping between the two versions that I did.
Thank you for the support, and sorry it took so long to determine it was such a simple fix (and one that I really should have tried to begin with..)
The cache, especially on chrome, is a common issue that manifests itself in strange ways sometimes.