Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uninstall script doesn't remove group #189

Open
Couto opened this issue Nov 24, 2020 · 3 comments
Open

Uninstall script doesn't remove group #189

Couto opened this issue Nov 24, 2020 · 3 comments

Comments

@Couto
Copy link

Couto commented Nov 24, 2020

Running the uninstall script with sudo python3 uninstall.py. Everything was reported as successful, however the group anudeepND/whitelist was not removed from PiHole, nor is it possible to remove it manually. Although the Web UI reports success after an attempt to remove it, if we refresh the browser, the group is still there.

While I haven't investigated, I have the feeling that this is somewhat related to #187

My fix was to remove it directly from gravity.db with DELETE FROM "group" WHERE id = 2552552551;

@anudeepND
Copy link
Owner

@Couto Thanks for reporting the issue, I have reverted the PR for now. I will update the script as soon as possible.

@Couto
Copy link
Author

Couto commented Nov 24, 2020

Thank you a lot for the quick response, and a special thank you for maintaining this project! <3

@anudeepND
Copy link
Owner

If anyone wants to remove the group, you can run this command in the terminal:

sqlite3 /etc/pihole/gravity.db "DELETE FROM 'group' WHERE id = 2552552551;"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants