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
400 stars 27 forks source link

Pi-hole appears to be paused every time Flutterhole is opened, regardless of whether or not it is actually paused #158

Closed jdrch closed 2 years ago

jdrch commented 2 years ago

Describe the bug The amber "paused" icon appears every time Flutterhole is opened on Android.

To Reproduce Steps to reproduce the behavior:

  1. Open Flutterhole

Expected behavior Flutterhole shows actual current status of Pi-hole.

Screenshots If applicable, add screenshots to help explain your problem.

Versions (please complete the following information):

Additional context Add any other context about the problem here.

sanjeev40084 commented 2 years ago

updated pihole to latest version and noticing same issue. :(

dimondeg commented 2 years ago

I have the same problem. Clearing cache and files didn't help. As well as reinstalling the app. Trivial but (don't underestimate the power of the reboot :)) rebooting the pihole and the phone didn't lead to success. Pihole itself works fine and is active. But the status still shows that pihole is paused.

Pihole and the app are up to date, have Android 11. Hope there will be a solution soon. Thanks in advance.

sterrenb commented 2 years ago

Sorry to hear that. Anecdotally, my own Pi-hole is currently only reporting it is "disabled", even if the Web interface is showing it's enabled.

Could you take a look at the API response of the status endpoint, while it is enabled and disabled, at: http://pi.hole/admin/api.php?status (replace pi.hole with your own local IP if needed)

The status should show as "enabled" or "disabled". Does this URL show you the correct status, in line with the web interface?

sanjeev40084 commented 2 years ago

@sterrenburg in my case even though the actual status was enabled, the endpoint showed 'disabled'.

dimondeg commented 2 years ago

Hello and thanks for quick reply. In fact, the status shows disabled. Do you have a hint where I can correct it in pihole. Thanks in advance.

jdrch commented 2 years ago

Hello and thanks for quick reply. In fact, the status shows disabled. Do you have a hint where I can correct it in pihole. Thanks in advance.

My guess would be this is a bug we'd have to report in the Pi-hole project itself.

sanjeev40084 commented 2 years ago

Hello and thanks for quick reply. In fact, the status shows disabled. Do you have a hint where I can correct it in pihole. Thanks in advance.

My guess would be this is a bug we'd have to report in the Pi-hole project itself.

reported bug in pihole github site: https://github.com/pi-hole/pi-hole/issues/4572

sanjeev40084 commented 2 years ago

it looks like the issue has already been fixed. whenever there is new release, i believe this issue will be fixed. https://github.com/pi-hole/AdminLTE/pull/2052

jdrch commented 2 years ago

@sanjeev40084 Thanks for the follow up!

sterrenb commented 2 years ago

it looks like the issue has already been fixed. whenever there is new release, i believe this issue will be fixed. pi-hole/AdminLTE#2052

Glad to hear it! I assume the issue will be resolved once the patch is available.

Anoni-Mouse commented 2 years ago

Sorry to hear that. Anecdotally, my own Pi-hole is currently only reporting it is "disabled", even if the Web interface is showing it's enabled.

Could you take a look at the API response of the status endpoint, while it is enabled and disabled, at: http://pi.hole/admin/api.php?status (replace pi.hole with your own local IP if needed)

The status should show as "enabled" or "disabled". Does this URL show you the correct status, in line with the web interface?

Mine shows Disabled. I'm on Android 10 on Samsung Note 9

jdrch commented 2 years ago

I'm on Android 10 on Samsung Note 9

🤝

sanjeev40084 commented 2 years ago

for anyone who still has this issue. The new version of pi-hole is live now https://github.com/pi-hole/pi-hole/releases/tag/v5.9 go ahead and update it. I did mine and this issue is fixed in flutterhole. :)

jdrch commented 2 years ago

Can confirm the issue is fixed. Latest Pi-hole running on Debian 11.2; Flutterhole on Android 10 on Samsung Galaxy Note9.