-
Notifications
You must be signed in to change notification settings - Fork 104
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
Number of Blocked Domains on Dashboard not updating on Secondary PiHole #30
Comments
you have a ton of sql errors on the secondary, I'd suggest you rename / delete the gravity.db file in /etc/pihole then run pihole -r (retain settings) then run --initpull followed by --pull. |
I suspect the local repositories on both pi's are out of sync with the remote repositories... What I did when I had that issue is just clobbered both pi's all and started over. Make sure you have a working pihole backup to use in the teleporter on the main pi ONLY. Do not use the teleporter on the secondary pi. Make sure to reset your cloudsync repository (copy the files from https://github.com/stevejenkins/my-pihole-lists into your repository) before starting. On both RPI1 and RPI2:
On master RPI1:
On slave RPI2:
To confirm, either manually run or wait for the cronjob to run, and then refresh the slave pihole dashboard. You should see all of the sudden the numbers go from 0 to whatever the master RPI1 says. I tested by adding domains into blacklist and whitelist, waiting for timers to expire, then watch the updated date/time in your git repository, and then searched for the test domains on the slave. Note: To ensure this does not happen again, do NOT make your adlist, whitelist, blacklist changes on the slave RPI2. Make your adlist, whitelist, blacklist changes on the master RPI1 ONLY and allow it to sync back and forth |
Hello.
I am able to confirm that my setup is working. The Master Pihole uploads to my github repo via Cronjob and my Secondary Pihole is pulling down those changes (new adlists at least) via Cronjob fine./
However the Domains blocked number on the Dashboard for the secondary Pihole never updates.
Pihole Master
Pihole Slave
My repo:
https://github.com/Wh1t3Rose/my-pihole-lists
Debug logs:
Master Pihole: https://pastebin.com/T8isvcJ9
Secondary: https://pastebin.com/PnHptpwZ
The text was updated successfully, but these errors were encountered: