sterrenb / flutterhole

A third party Android application for the Pi-Hole® dashboard.
https://play.google.com/store/apps/details?id=sterrenburg.github.flutterhole
MIT License
401 stars 27 forks source link

Logs no longer accessible #159

Closed Scarletvye closed 1 year ago

Scarletvye commented 2 years ago

Describe the bug After updating Pi.Hole to the latest version, the app no longer displays logs. There is only a loading symbol.

To Reproduce Steps to reproduce the behavior:

  1. Open app
  2. Select 'Query log'
  3. Nothing happens

Expected behavior I would expect to see requests being redirected to port 53 or being blocked.

Versions (please complete the following information):

Additional context I have refreshed my Pi-hole instalation. Used a different nginx config. Pi-hole diagnostics report no errors. Web UI is fully functional.

Scarletvye commented 2 years ago

Update: This might be fixed soon. Source: https://github.com/pi-hole/AdminLTE/issues/2178

Aura-Bella-Fiora commented 2 years ago

You can fix it yourself for now. Edit on the pihole the file /var/www/html/admin/api_FTL.php and write under the first line that contains "<?php" the following: header('Content-type: application/json');

The app is now working for me

Scarletvye commented 2 years ago

You can fix it yourself for now. Edit on the pihole the file /var/www/html/admin/api_FTL.php and write under the first line that contains "<?php" the following: header('Content-type: application/json');

The app is now working for me with this

Can confirm this is a valid fix.