Uninstall Pi-Hole

Hey, devs.
Iv'e just recently been unable to see stats on the dashboard.

I have tried pihole -r to repair and reconfigure, and also the original install command without any difference in interface performance.

My question : Is there a way to uninstall pihole that does not require to start from a fresh raspbian install?

Command:

pihole uninstall

3 Likes

It might be quicker and more efficient to try to find the problem. Run pihole -d for a debug token.

1 Like

I would like to add before pihole -d that the dashboard not loading is very recent.
I ran pihole uninstall and then ran the install command again and it just does not seem to want to load.
I use firefox and have umatrix and noscript installed. I had no issues with either of them and pihole.
The only change network-wise was adding IPfire and I've not had any problem with it running other than turning on url filtering.
I have lede on my r8000 and had recently unchecked dns rebind.
Anyway, hope this provides you with some useful information. 6upe2mh4io
Thanks for your time.

Can you give a screenshot of what you see on the web interface? FTL appears to be running.

1 Like

The arrows just keep going around.
And also the query log gives 'unknown error'

What is the output of curl -i http://pi.hole/admin/api.php?summary?

1 Like

curl -i http://pi.hole/admin/api.php?summary?
HTTP/1.1 200 OK
X-Pi-hole: The Pi-hole Web interface is working!
X-Frame-Options: DENY
Content-type: application/json
Set-Cookie: PHPSESSID=kp1rcg2ludkj4kshsjfjf582f1; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Transfer-Encoding: chunked
Date: Mon, 15 May 2017 22:12:01 GMT
Server: lighttpd/1.4.35

Connection timed out.

Try without that last ?.

curl -i http://pi.hole/admin/api.php?summary
HTTP/1.1 200 OK
X-Pi-hole: The Pi-hole Web interface is working!
X-Frame-Options: DENY
Content-type: application/json
Set-Cookie: PHPSESSID=t0q4htmvcg7nuo0visc4h81uj4; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Transfer-Encoding: chunked
Date: Mon, 15 May 2017 22:14:49 GMT
Server: lighttpd/1.4.35

Connection timed out.

Try pihole -f to flush the log (to make sure it isn't because it's too big of a log). Wait a min to let it start to fill up again, then run that curl command again.

curl -i http://pi.hole/admin/api.php?summary
HTTP/1.1 200 OK
X-Pi-hole: The Pi-hole Web interface is working!
X-Frame-Options: DENY
Content-type: application/json
Set-Cookie: PHPSESSID=81v2rp87f5819n94s0iai63n81; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Transfer-Encoding: chunked
Date: Mon, 15 May 2017 22:24:23 GMT
Server: lighttpd/1.4.35

Connection timed out.

Do you think a fresh install should be done? More than likely has to be some weird thing with just my installation.

A fresh install should fix it. If it doesn't, then there might be something wrong with the network.

1 Like

I have your problem, too. Did a fresh install fix it?

In my circumstance, I installed Pihole through a wifi connection and then decided to migrate it to a wired connection, for performance. Worked fine and I did not experience any degradation in wifi mode, but I had wired availability, so I put it to wired. Assigned the new wired Pihole IP address to lock it down, changed the DNS reference in the router and restarted everything.

I got some small number of reported queries, but it never changed. I reset the logs with no change. I tried the Pihole -r and did the less intrusive repair option. At that point, I got the "--" queries reported and the spinning wheel (as the OP did).

Perhaps I should have done something differently when I swapped my Pi to wired? Otherwise, I had normal Pi operation. I run it headless; VNC and updates occurred flawlessly.

So, I am in the middle of an uninstall/reinstall attempt to fix it. I want Pihole to work, I want the blocking it affords.

Thanks to developers for their efforts!