H
Homarr13mo ago
Loxion

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:
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...
Jump to solution
18 Replies
explosive parrot
explosive parrot13mo ago
Cna you show your homarr log?
Loxion
LoxionOP13mo ago
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."
Loxion
LoxionOP13mo ago
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.
Boszorkány
Boszorkány13mo ago
Did you added the API key of your PiHole instances? I have 90% same setup as you.
Boszorkány
Boszorkány13mo ago
No description
Solution
Boszorkány
Boszorkány13mo ago
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
Boszorkány
Boszorkány13mo ago
2, Add the DNS hole stat widget 3, Wait like 1 min
Boszorkány
Boszorkány13mo ago
No description
Loxion
LoxionOP13mo ago
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?
Boszorkány
Boszorkány13mo ago
No Having just 2 pihole is the bare minimum
Loxion
LoxionOP13mo ago
Yea, but do you have an app in homarr for both, or just one?
Boszorkány
Boszorkány13mo ago
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
Loxion
LoxionOP13mo ago
ahh yea, thanks. Ill do some digging and post back. thanks. I am pretty new to docker and homarr
Boszorkány
Boszorkány13mo ago
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
Loxion
LoxionOP13mo ago
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?
Boszorkány
Boszorkány13mo ago
Im a Debian fan boi 😄
Boszorkány
Boszorkány13mo ago
No description
Loxion
LoxionOP13mo ago
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
Want results from more Discord servers?
Add your server