Plex Media Server Installation Help

I just installed Bazzite after trying a couple distros and it seems to run best on my hardware, but I have hit a snag, I cannot seem to install plex media server because dnf is not installed. So I did a search and found that for Bazzite, because it is not editable, I should try to run from a container.
I don't appear to be able to install docker, so I tried podman, but I don't seem to have the ability to run compose.... now, just to be clear I am not an expert at containers yet, but that seems to be an issue stopping me. I was gonna try distrobox, but I cannot run the plex image that way (that I can figure out) and it doesn't seem to let me mount drives directly anyways (again the documentation for distrobox is nowhere near as good as Docker, so I could be missing something. I made myself a podman compose file, but I need to figure out how to actually use it. I would really appreciate some guidance here.
30 Replies
Kyle Gospo
Kyle Gospo•7mo ago
If you can't make container plex work, you can layer packages sudo dnf install package -> rpm-ostree install package Reboot when it completes
kronusdark
kronusdarkOP•7mo ago
so that installs it directly on the host system?
Kyle Gospo
Kyle Gospo•7mo ago
Yep
kronusdark
kronusdarkOP•7mo ago
Are there downsides? like, will I have issues when I update or something?
Kyle Gospo
Kyle Gospo•7mo ago
Updates take slightly longer, and you open yourself up to dependency issues like you can get with normal DNF, but we'll help you if you do
kronusdark
kronusdarkOP•7mo ago
ok, cool, let me try that and if it works I will mark this resolved I am using the offical RPM and getting a message that it requires systemd
May 26 21:32:27 fedora rpm-ostree(plexmediaserver.prein)[172290]: Plex Media Server requires systemd. Please upgrade the Operating Sytem version
May 26 21:32:27 fedora rpm-ostree(plexmediaserver.prein)[172290]: Plex Media Server requires systemd. Please upgrade the Operating Sytem version
Kyle Gospo
Kyle Gospo•7mo ago
Odd, systemd is definitely in use
kronusdark
kronusdarkOP•7mo ago
yea
Kyle Gospo
Kyle Gospo•7mo ago
Let me try when I get a few, see what's up
wolfyreload
wolfyreload•7mo ago
The distrobox route worked for me, but it was a mission to get it to work Make the distrobox, you need the "--init" and "--additional-packages "systemd libpam-systemd" part to allow the plexmediaserver.service systemd service to run
distrobox create --name plex-debian --init --image debian:latest --additional-packages "systemd libpam-systemd" --yes
distrobox enter plex-debian
distrobox create --name plex-debian --init --image debian:latest --additional-packages "systemd libpam-systemd" --yes
distrobox enter plex-debian
Download plex .deb file (AMD 64-bit edition) Everything from here downwards is running in the distrobox
sudo apt install ~/Downloads/plexmediaserver_1.40.2.8395-c67dce28e_amd64.deb # Change the filename as needed
sudo apt install ~/Downloads/plexmediaserver_1.40.2.8395-c67dce28e_amd64.deb # Change the filename as needed
We going to change plex to run as your user
# we going to make plex run as the current user as else plex cannot see the files
sudo chown $USER:$USER -R /var/lib/plexmediaserver # Give your user access to plexes main system files else it falls over when we run plex as your user
sudo apt install nano # we need an editor to edit the service file
sudo systemctl edit plexmediaserver
# we going to make plex run as the current user as else plex cannot see the files
sudo chown $USER:$USER -R /var/lib/plexmediaserver # Give your user access to plexes main system files else it falls over when we run plex as your user
sudo apt install nano # we need an editor to edit the service file
sudo systemctl edit plexmediaserver
Add to start of file, after the commented out lines and replace "your-user-name-goes-here" with your actual username
### Editing /etc/systemd/system/plexmediaserver.service.d/override.conf
### Anything between here and the comment below will become the new contents of the file
[Service]
User=your-user-name-goes-here
Group=your-user-name-goes-here
### Editing /etc/systemd/system/plexmediaserver.service.d/override.conf
### Anything between here and the comment below will become the new contents of the file
[Service]
User=your-user-name-goes-here
Group=your-user-name-goes-here
Restart the plex media server
sudo systemctl restart plexmediaserver
sudo systemctl restart plexmediaserver
Use plex as normal http://localhost:32400/web/index.html and you can access any file that your user has access to
kronusdark
kronusdarkOP•7mo ago
So no mounting required to access my other drives in the box?
wolfyreload
wolfyreload•7mo ago
The mounted drives works just fine as long as the mounted drive is accessible by your user
kronusdark
kronusdarkOP•7mo ago
ok this seems to work, is there a way to get remote access working? does distrobox have port forwarding?
wolfyreload
wolfyreload•7mo ago
Remote access from outside your network or your local lan? Local lan worked for me out the box.
kronusdark
kronusdarkOP•7mo ago
outside network, i use plex for audiobooks and music, I like to be able to acccess them when im not home.
wolfyreload
wolfyreload•7mo ago
I just used the tailscale client. It's built into Bazzite
kronusdark
kronusdarkOP•7mo ago
sorry I have so many questions, the distrobox documentation doesnt appear very robust yet.
wolfyreload
wolfyreload•7mo ago
and can access from a remote network
kronusdark
kronusdarkOP•7mo ago
at some point, I should learn to actually use containers, its still very confusing.
wolfyreload
wolfyreload•7mo ago
No problem. I'm actually planning on making a video for installing plex with distrobox as there is very little info on it If you happy with the above solution, could you please mark it as solved. For anyone else needing plex help
kronusdark
kronusdarkOP•7mo ago
ok, so I have been keeping info from you... I was using a previous install "Plex Media Server" folder. once I removed "manual public port" and hit apply remote access started working, not sure why, but it did
wolfyreload
wolfyreload•7mo ago
could be a firewall thing, Bazzite blocks everything below 1025 unless you open it
kronusdark
kronusdarkOP•7mo ago
All my media is scanning now and I can access outside.. I think im good. Does distrobox use the ~/.local/share/containers/storage folder for its files?
wolfyreload
wolfyreload•7mo ago
Yup so you don't want to remove those
kronusdark
kronusdarkOP•7mo ago
yea, I might even try to back them up
wolfyreload
wolfyreload•7mo ago
Cool. 🙂 shout if you get stuck with anything else
kronusdark
kronusdarkOP•7mo ago
will do
SizzleBeans
SizzleBeans•3mo ago
I need help setting this up to, i wanted to make the whole prowlarr/sonarr etc setup
asen23
asen23•3mo ago
if you are familiar with docker compose you can just use podlet to convert your file to podman quadlet
Vi-
Vi-•2d ago
I've run that command and rebooted, now how do I run Plex server? Is it already running? I don't think I see it on ps -e This one worked
Want results from more Discord servers?
Add your server