Cant find integrations tab
Hello!
this is probably a stupid question but i cant find an answer anywhere else. I installed Homarr in Docker compose and now trying to add the pihole integration according to the documentation. in the documentation it says to go to the integrations tab, but WHERE IS IT???. I looked everywhere, reinstalled, everything. I can only add an empty widget but have no possibility of configuring anything.😵💫
Solution:Jump to solution
https://homarr.dev/docs/introduction/after-the-installation
in the second image, you see apps, widget and category. The app is the basis to link to your services. The widgets will use that information to automatically display what they want....
😎 After the installation | Homarr Docs
Congratulations! You've installed Homarr. Now, it's time to configure it to your liking. This guide will help you get started with Homarr.
25 Replies
You have to add an app, in which you'll have the integration for that app @Jojojojo
Solution
https://homarr.dev/docs/introduction/after-the-installation
in the second image, you see apps, widget and category. The app is the basis to link to your services. The widgets will use that information to automatically display what they want.
😎 After the installation | Homarr Docs
Congratulations! You've installed Homarr. Now, it's time to configure it to your liking. This guide will help you get started with Homarr.
Thank you so much. Now the issue is that the widget and app dont show anything. I used the right IP and copied the api key from pihole
Since it's pihole, there's a change you actually also put the /admin after the address, which you need to remove
only use "http://ip:port", nothing after
you can keep it on the external address, but not the internal one
I did that and restarted, its still not loading sadly. Thank you very much for helping me btw
No worries. Are you sure 80 is the right port? any errors in your browser logs or in the containers logs?
The homarr container doesnt show unusual logs. Its not working in other browser either after clearing cache
Yeah but do you have any errors in your browser's console?
AbortError: Actor 'Conduits' destroyed before query 'RuntimeMessage' was resolved 44 ConduitsParent.sys.mjs:362
_raceResponses resource://gre/modules/ConduitsParent.sys.mjs:362
and this.window.gBrowserInit is undefined
Any errors directly mentionning pihole?
If there are none, then it means you haven't done the integration right
ah, now i found something. HTTPS: hostname is an IP - host is not upgradable 192.168.178.250. I guess firefox tries to upgrade http to an https connection which gives a certificate error
If it were just firefox, other browser wouldn't do that. it is strange that it is mentioning https though as you don't even have pings enabled
well, firstly we can try something regardless of the integration. Go to settings -> customizations -> layout -> enable pings
a red or green bubble should appear on the bottom right of your app, hover that bubble and tell me what code you get
it shows ERROR Unexpected response: connect EHOSTUNREACH 192.168.178.250:80
192.168.178.250 is a macvlan in docker, if that makes any difference
ah, that IP might not be reachable by homarr directly
if you go into your container's shell and try to curl/wget that address, what happens?
weird. i get this error only in this container, not in any other:
sudo docker exec -it 4eaf4ae09c64 bash
OCI runtime exec failed: exec failed: unable to start container process: exec: "bash": executable file not found in $PATH: unknown
There might be some network issues you need to resolve before then.
https://discord.com/channels/972958686051962910/1148372112956985364/1148402660354043934
This link talks about macvlan and docker bridging
is works with /bin/sh. And you were right, i cant ping .250. I will try to resolve the network issues
take a look at this, it might help https://discord.com/channels/972958686051962910/1148372112956985364/1148402660354043934
provided by another user on a similar setup
Thank you! I will look into it tomorrow and give Feedback and maybe a solution for others
No problem, tell me if you need more help on it once you got the network part working
I hope it will work
Works now!
So to summarize if someone has the same issue: A host system can by design not communicate with a macvlan container. since the needed routing information is missing. It is reachable by other devices in the network. A solution can be to add another macvlan netzwork on the host system which acts as a relay to the macvlan container.
[Unit]
Description=Setup pihole shim
After=network.target
[Service]
ExecStart=/bin/sh -c '\
ip link add pihole-shim link eno1 type macvlan mode bridge && \
ip addr add 192.168.178.246/32 dev pihole-shim && \
ip link set pihole-shim up && \
ip route add 192.168.178.244/30 dev pihole-shim'
[Install]
WantedBy=multi-user.target
first do the ip commands, this way they are not persistent and see if they are working. Then add this to etc/systemd/system/ as a .service file so its persistent. You may need to change the name of your network parent.
this is how the macvlan for my pihole looks like:
'''
docker network create -d macvlan \
--subnet=192.168.178.0/24 \
--gateway=192.168.178.1 \
--ip-range=192.168.178.244/30 \
--aux-address 'host=192.168.178.246' \
-o parent=eno1 pihole_macvlan
'''
192.168.178.246 is reserved for the helper macvlan. 245 is for the pihole.
Thank you very much @Tag for helping!
a follow up question unrelated to this issue would be if i could add multiple pihole widgets? I have two piholes and when i add multiple widgets, they all use data from the Pihole 1 as seen in the picture
At the moment, you cannot @Jojojojo
In the future we will transition to a different type of integration type and you'll have to "link" widgets to integrations. Then you'll be able to do it
@Jojojojo Glad you got it to work :)