I have done extensive research on this but I have not been able to find any similar situation.
I have also done multiple installs, reconfigures, and checked every possible setting I can find but can't seem to figure out why this is happening. I have also checked permissions on files and directories but doubt that is even the issue.
Expected Behaviour:
I expect to be able to whitelist/blacklist from the WebUI.
I have PiHole running on an RPi.
Actual Behaviour:
Looking at the network traffic in my web browser, no request is being sent to the RPi when I press the buttons. I do not get any notification that the operation happened. I do not see any errors.
Debug Token:
I inspected the Debug Log extensively but since the requests from the WebUI are not making it back to the RPi (they're not occurring in the first place) there's nothing to see there. I am not using any extensions that would block this. I have used multiple machines and multiple browsers to see if the behavior is different, but it's the same.
TL;DR:
The main issue I am encountering is that in my PiHole installation it appears that there is nothing listening to the button press in the WebUI for whitelist/blacklist so nothing happens.
Any help anyone can provide in this case?
Has anyone seen anything like this before?
Please upload a debug log and post just the token URL that is generated after the log is uploaded by running the following command from the Pi-hole host terminal:
I do not see this error until after I press the "Whitelist" button in this case.
Yes. I see the same behavior on multiple machines and multiple browsers as well. Today I tested this on multiple browsers and also saw the same issue (same error).
I see the same error when I press Whitelist from either the Query Log or the Long Term Data screens. This specific one I shared above was from the Long Term Data screen.
This shows the error seems to be related only to this button (which is very strange).
As I said before, I can't replicate the issue and we never received similar reports.
Maybe the page is not completely loaded and the modal alert can't be found, causing the error alertModal.modal is not a function. (this is just a guess)
Can you please generate a new debug log? The previous one has expired.
This is the code executed when the button is pressed:
Well... I'm honestly not sure what I did. Been messing with it for a few hours and changing the files around and trying all kinds of things I've seen online about other people unable to load Bootstrap correctly... and suddenly it works. I also checked my other devices and it seems to work everywhere now!
Thank you so much for your tremendous help getting me to the source of the issue! I really appreciate it!