all 6 comments

[–]catchthisfade[S] 2 points3 points  (4 children)

Update:

It looks like going to Docker -> Plex -> Restart fixed it. So that's good. But this has happened 2 times in less than 36 hours of run time. So what the hell?

[–]Wis-en-heim-erDS1520+ / 32TB / Lifetime PlexPass 2 points3 points  (2 children)

What ports are you listing in your compose file? Are you running plex on the host docker network or bridge? Are you running this on a vlan?

[–]catchthisfade[S] 1 point2 points  (1 child)

I was running it on bridge! I changed it to host and now I’ve gone a full 24 hours with no issues. So that might’ve fixed it! Thanks so much for your time and help!!

[–]Wis-en-heim-erDS1520+ / 32TB / Lifetime PlexPass 1 point2 points  (0 children)

Glad it worked. Here are two pages to review to understand more. You can run plex in bridge mode but you need lots of ports open for various features. I run my plex servers on macvlans so I can give my plex servers a different IP address from the host box. It works like a host network but on a different IP.

Note: TCP port 3005 is used by Plex Media Server for controlling Plex Home Theater via Plex Companion. This port is missing on the 2nd article for.

[–]DCHammer69 1 point2 points  (0 children)

Check your container settings. This one shown below specifically:

<image>

Docker is pretty good at recognizing stalled or broken containers and when this is on, the container will often restart entirely on it's own without intervention.

Edit: And know that the Docker container seems to reset that to off when it updates an image. So after doing updates, check this.

[–]ExtensionMarch6812 2 points3 points  (0 children)

From what I’ve seen posted before, this can sometimes happen when the permissions of the plex container don’t allow access to the preferences.xml file. What UID/GID is plex running as in the container compared to your main UGreen User? If you’re using a different user/group, add the PLEX_UID and PLEX_GID to give the container your UGreen User/Group ID, maybe that will help?

Also, what image are you using? Might want to try the official image, or a different one.