PiHole widgets / integration
Not sure what I might be missing here, but I cant seem to get anything from the PiHole widgets?
Homarr is running in Portainer on an Ubuntu host VM within Proxmox along with a number of other containers. They are all working and the app connections are all good. The containers are currently running on a bridged network to the host as I need some to communicate with a seperate server on my host network. This includes homarr (bridged).
I have a primary and secondary PiHole LXC containers running (on different Proxmox host machines) and they seem to working correctly.
When I add the two widgets (DNS Hole Summary / DNS Hole Controls) I get no information. The summary just shows 0.00 on all options and the Controls says 'unable to find DNS Hole' and to verify configuration/integration(s).
Any ideas on what to look at or check would be appreciated?
Cheers
Solution:Jump to solution
If your containers/"virtual" computers can communicate with eacother, like ports are exposed(should be if add blocking and DNS is working already - you just doo 3 things:
1, Add an a APP tile and add the Pihole local IP, and at the integration tab u add the API key...
18 Replies
Cna you show your homarr log?
will do shortly, just updating the host and rebooting.
Should have thought to look at the logs, although not sure exactly how to fix it. The issue is "Error: 'sharp' is required to be installed in standalone mode for the image optimization to function correctly."
Pastebin
Exporting hostname...Migrating database...yarn run v1.22.19$ ts-nod...
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
Did you added the API key of your PiHole instances?
I have 90% same setup as you.
Solution
If your containers/"virtual" computers can communicate with eacother, like ports are exposed(should be if add blocking and DNS is working already - you just doo 3 things:
1, Add an a APP tile and add the Pihole local IP, and at the integration tab u add the API key
2, Add the DNS hole stat widget
3, Wait like 1 min
Cheers, ill have a check. Maybe its because I have two apps (one for primary and one for secondary PiHoles) that is causing an issue?
No
Having just 2 pihole is the bare minimum
Yea, but do you have an app in homarr for both, or just one?
Large families use even 2 pairs of pihole for Work computers, the home desktop, and even sepperate pair for children
BOTH
You see on my picture
Bottom right corner
2 Sepperate App tiles
ahh yea, thanks. Ill do some digging and post back. thanks. I am pretty new to docker and homarr
You have to add those and define the Local IP for each and give the API key for each sepparately
THEN 1-2 min later the combined stats start to appear
Suspect its the API I have missed from the PiHole apps, thanks. Just redeploying some bits and will run through that to check
Once its all working, time to start playing with look and feel
Out of interest, what host OS did you use for the pihole containers?
Im a Debian fan boi 😄
nice, I played with debian but currently using ubuntu 22.04 as thats the same as my other VMs. Same CPU / RAm config etc.
Perfect, all working now thanks. Knew it had to be something simple I had overlooked