Plex Integration Help
Hi, I am having trouble integrating Plex into homarr. Plex is installed as an app(not docker) on my NAS. My arr stack is installed via docker compose with gluetun vpn (mullvad). Via a post from @VeryCool, I've included an env FIREWALL_OUTBOUND_SUBNETS=192.168.1.0/24, and all the integrated apps are working except for Plex. The ping for Plex has timed out and there are no visible streams in the media server widget. I've been at it for days, could I get some help?
Solution:Jump to solution
I gave up. I solved it by deploying Plex as a container within my gluetun ARR stack, removing Plex as an app from my NAS.
21 Replies
What kind of firewall do you have on your system?
Like UFW or something?
Its the default QNAP firewall QuFirewall
Ok in QuFirewall you need to open the firewall ports for 192.168.xxx.xxx
like 192.168.1.0/16
❓ Frequently Asked Questions | Homarr Docs
Can I install Homarr on a Raspberry Pi?
if you scroll to the bottom of the FAQ I added a post and an example
and some tips
okay thank you, much appreciated, I'll take a look and see if I can resolve this.
I'm not too familiar with Interface am I suppose to select VPN?
or would it be the container network?
Not sure, I would just put all I guess.
Basically you're just saying on your local network accept all connections through your server firewall
The reason why you need to do that is Gluetun randomizes the local ip every reboot
so everytime docker reboots or ur server reboots or theres a power outage, you would be blocking homarr again
If you don't want to put that as a security risk for ur server, you could just scan ur firewall logs every time homarr reboots and adjust your firewall rules but this is a "just works" solution
I've put all, rebooted my NAS and I'm still getting the same error.
additional info: when I switch the network of Homarr to the default bridge network, it is able to ping Plex but not the other arr apps.
all of my arr apps are running on a custom bridge network
I also think this has to do with firewall. An easy step to verify the is is the following:
- turn firewall off entirely
- try connecting to plex again
- if it works now it’s definitely the firewalls and we have tk figure out what rule we need to apply
All the other arr apps are running behind Gluetun right? I'd do what BlackSpirit is saying, disable the firewall completely and see if Homarr can ping your other Arr apps. Lmk what the result is
If it does work then we will reboot the container containing ur arr apps while you are logging your firewall's actions to see if theres some other issue.
Can you paste your docker compose?
at this point, is it easier to just run Plex off of docker?
i think im having the same issue i have my stuff installed on a windows server i have "old pc" but it cant see it im wondering if the docker doesnt see the local network or something
Well that can be a quick fix, when I was first trying to fix this problem myself i just pushed it to a public URL via duckdns. Reading your docker compose it seems fine. Can you monitor your firewall logs and restart your docker container? Also, on homarr, what IP did you enter for it to ping? If you use localhost or 127.0.0.1 it won't find any of your containers running behind the VPN. You need to use the IP of the machine those containers are running on. Example being 192.168.1.234:8585 .
If you do end up what was wrong please post it so we can make the documentation more accurate.
Docker can definetly see the local network when just running containers, especially homarr. If you are running a docker VPN container behind a docker normal container then there could be an issue, as VPN containers block access to any network including local. I'm not sure that is your problem though.
Yeah I was having some weird issue where I wasn't saving what I was putting in correctly
Is it fixed now?
Yeah I got it fixed I was talking with the helper and I was showing him and then it just started working all of a sudden so yeah
@VeryCool I'm not sure what I'm suppose to be looking at, but here are the logs. I also use 192.168.1.16:32400 for Plex internal IP
Solution
I gave up. I solved it by deploying Plex as a container within my gluetun ARR stack, removing Plex as an app from my NAS.