-
-
Notifications
You must be signed in to change notification settings - Fork 283
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
Group management not being applied #187
Comments
Can confirm, I just ran the script, the domains were added, the |
I have reverted the PR that created group while installing. If anyone wants to remove the group, you can run this command in the terminal:
|
Sorry about this. I wasn't aware of
what @dschaper said is not stated in the documentation so my thinking was I could use a predetermined value for the |
The database schema is the documentation. |
correct https://docs.pi-hole.net/database/gravity/groups/ but I don't see the below quote anywhere.
|
Then it should have come up when you tested your changes. |
|
again as i said previously that schema is not properly represented in the documentation |
That's why you check the schema and test your changes before assume things. Do you really want to argue the point with me? |
you said
and now you say
not much to argue with... the docs aren't accurate... end of discussion... |
The database schema, that I just printed out for you, is the documentation. That's the definitive table of truth for any database. Something you check before you pump data blindly in to one. You also picked an integer that is over the maxint for a signed integer on a 32 bit platform. We can only document so much and trust that people will look before they do things like blindly pump data in to a database and then not actually check their changes to see if it breaks the entire operation of the application. In this case perhaps we assumed too much. |
so did I... |
So how could I solve that? I want to revert the changes so that I could use the group management normally |
can you run
and post the output? |
Ran the command from readme.md to remove the group. Done already. The new groups that added after using whitelist.py was removed using the same command from readme.md but replaced the ID with the new group ID shown on the web GUI. Still unable to apply group changes. |
Okay, I solved that. First I did a backup from the teleporter page. I then did a reconfigure( |
Completely clean install of Pihole v5.1.2, Interface 5.1.1, FTL 5.2
The whitelist script now adds itself into its own group. However, this group can not be applied to clients.
Example)
I now have two Groups. "Default" and "anudeepND/whitelist"
If I go to Group Management -> Clients
and I attempt to apply both Groups to a client, after clicking "Apply", Pihole will say "Successfully edited groups of client" but the selection box itself doesn't change. It stays on "Default".
Thus, the whitelist is now no longer being applied to any client.
If I go to Group Management -> Domains
and attempt to manually apply each whitelist domain, the same thing happens.
In conclusion, since the whitelist domains are in their own group but the group can not be applied to any client and therefore the whitelist is not working. Everything on the whitelist is currently being blocked if they are in one of the adlists. (ex s.youtube.com)
I believe it is based on the following pull request
#183
The text was updated successfully, but these errors were encountered: