Installing Plex on openmediavault using Docker Compose
HTML-код
- Опубликовано: 21 авг 2024
- In this video, I will be showing you how to install Plex with Docker-compose including the setup involved to create a network share and create the folders that will be used with Plex. I am running openmediavault with docker-compose for containers. Have any question let me know in the comments, any video ideas are welcome.
*Need help configuring a fresh install of OMV video below*
• Open Media Vault 6 (20...
*Upgraded OMV and don't see your containers*
• openmediavault upgrade...
*Link to OMV-Extras Forum*
wiki.omv-extra...
*Command for Force update to packages that are kept back*
sudo omv-upgrade
*How to create bootable OMV6*
• Creating Open Media Va...
openmediavault plex
openmediavault plex docker
plex docker
plex docker compose
Incredible, thanks :)
Edit to add: this turorial also allowed me, with a bit of tinkering, to install Roon in a similar fashion. So, if you happen to want to use Roon in OMV, use this:
version: "3.7"
services:
docker-roonserver:
image: elgeeko/roon-server:latest
container_name: docker-roonserver
hostname: docker-roonserver
network_mode: host
environment:
TZ: Etc/UTC
volumes:
- roon-app:/app
- roon-data:/data
- roon-music:/music
- roon-backups:/backup
restart: always
Assign the volume paths in a similar way to the Plex tutorial in the video
Thank you too! Cheers!
I just wanted to say that this was awesome. I had tried to use Portainer Docker to implement PLEX with nothing but pure failure. Your instructions made perfect sense. It should have been clear that LinuxServer was designing for Composer and Portainer any longer. It also forced me to update my OMV Pi from 32-Bit to 64-Bit. This way I could take advantage of the ARM 8 processor. Again. Can' than you enough for sharing this knowledge.
I am glad my video helped🙂, appreciate the feedback.
I really appreciate this walk through. Visually seeing some one do it really helps.
Thanks for the feedback!
Thank you!
Great video. Exact what I was looking for!
Great to hear! Thanks.
Wow this was so helpful!! I wanted to know how to install plex and nextcloud so this filled in a lot of gaps. Cheers man!
Glad it helped! I appreciate your feedback.
Thank you soo much! i was having a hard time with the official PMS docker file.. got many errors with your video i got it up and running in no time (and on first try!)
I am glad my video helped! Appreciate the feedback.
thank you so much!! not all superheroes wears a cape.
I'm glad my video helped 🙂
Are you planning on creating an updated video with instructions to add a Shared Folder in the Compose\Settings so that you can install the docker to that folder? Apparently, a number of people are getting messed up with Docker related solutions such as Compose and Portainer as Docker is not part of "omv-extras" any longer. It should be helpful. Thanks for everything. My PLEX is still going strong because of this video.
I could if people ask for more.
@@robwithtech please, I`ve just installed Open Media Vault on a small pc with SSD, running great, I wanted to install Tailscale so I can access it from outside the local network, I managed to get the docker and compose installed, then have been pulling my hair out trying to find info online on how to install Tailscale on that and have been really struggling
Sencillamente super bien explicado bro, estuve buscando y buscando y tu video es el mas claro, directo y muy facil de entender. Gracias por tan buen videotutorial Bro!!! Saludos desde CDMX!!!! - Simply super well explained bro, I was looking and searching and your video is the clearest, direct and very easy to understand. Thanks for so good tutorial Bro!!! Greetings from CDMX!!!!
Muchas gracias, agradezco tus comentarios.🙂 Saludos
First, Thank you for this. I know that this can be frustrating, and PATIENCE is key to this. Have broken my setup many times, so at least now can get all the way ready for when your video comes on. My question to you is I have lots of videos over three drives. How do I make it so plex can find all three drives.
You're welcome! I replied to this question in your other comment.
Thank you! I'd figured out how to install it, but couldn't figure out what port to access it through
You are welcome, yes there is different ways of installing it. If you don't specify ports you just go through the url that I showed.
Great Video ! Got my plex server running in vmware. thanks !!!
Great to hear!
Nice tutorial! Thanks! :) If you have a small free time, is it possible, to make a video, for qbittorent and these automatization to plex? I guess Radarr/Sonarr makes it. today started by your tutorial, and works well the plex with my tv. Thanks a lot again! :D You Saved to me a lot of time.
Thank you for your feedback. I will look into it.
@@robwithtech thank you very much in advance, it would be a great help! :)
Hey Rob, thanks for this amazing tutorial, and all your tutorials about docker it helped me a lot. I created a docker compose container with plex, everything downloads fine it says it is started but the status stays down. Do you have any clue what that could be?
Dohh, I used the 32bit version of raspbian lite. Should've used the 64bit and all of my issues wouldn't be there.
Hey, I am glad you were able to figure it out. I hadn't had that happen to me yet. Maybe someone else having your same issue can find this comment useful. 🙂
Thanks! 💪
It seems is no way to make it work with nvidia driver 525(as I did it for omv 6.3.2), but is working very well with driver version 470.182.03 and Cuda driver 11.4
Thanks so much for this and the Jellyfin tutorial. My Plex is working but I can't seem to share the library with the people outside my network. Even if I enable Remote Access it still says "not available outside your network." So I tried fiddling with the manually assigned public port 32400 but couldn't figure out how to do it properly. Do you know what could be the issue?
Hello, the remote access doesn't work because you need to port forward the ports that your plex is running on your router. Be cautious with this because you would be exposing your plex machine to the internet. Alternatively, you can set up a vpn where you connect into your local network and access plex that way.
Just a general question, How do you protect it, Such as VPN do you connect to an external VPN from the server? Do you install/deploy a VPN on the server then connect via the VPN how is that done? I hope you understand what I am asking.
Hello, sorry for the late reply. You can use Wire Guard or OpenVPN. Depending which application you use you need to expose the port to the internet via port forwarding on your router. You need to be careful with this because if done incorrectly you can expose your internal network ports which is not good. Also if your wan address is a DHCP assigned you will have issues when your IP renews. In this case you would have to use DDNS to have your wan IP address updated automatically when it changes. In the case of Wire Guard you would create a docker container(can be a VM) that runs Wire Guard on the desired port (port forwarded through your router) then you would add the wan address or DDNS name to it configuration. IF done correctly you would hit your Wire Guard through the internet. Once authenticating you would have access to your local network. Of course there is more to it but this is as simple explanation. You can also check tailscale for simpler setup no need to port forwarding. Hope this helps.
@@robwithtech You are fine thank you for the reply.
You are welcome!
can u do wireguard on omv 6 as plugin and as docker
specially wg-easy docker
image weejewel/wg-easy
Hi, I will look into it.
anyway, it was a little bit challenge to make it worked for omv 6.4.4, but I upgraded to 6.4.7 and it worked very well; it seems they change something in compose for containers in a good way. I'll try next days the omv 6.4.9 and docker-compose-plugin 2.19.1-1; if someone need help for installation of nvidia driver+cuda, please let me know, now I can handle more than before :) I forgot to mention. I'm using a PC with i9 processor(48GB RAM) and nvidia Asus 2080 Ti video card ; the motherboad is an Asus Hero XI, here is a problem from factory about booting, but I found a way do not disturb the system
Sounds like you really put in some work. I am glad you were able to find a driver that works with your system.
at 6:45 you show the "Compose" tab, I don't have it and I have all the plugins installed. How to turn it on?
Hello, you can check my other video on installing the docker "compose" plug-in. If you recently installed the compose plug-in, you can try in the OMV dashboard (homepage) ctrl shift r all together to reset the browser dashboard page. And see if you get the tab to show. Hope this helps.
I'm really confused with all the different permissions and accounts. Initially, I used the admin account in the plex-docker-compose file. The plex container loaded without issues, and I have no problems accessing plex on port 32400 logging in with my gmail account. I then created an "appuser" account as shown in the video and modified and re-deploy the compose file to use this account. Again the plex container came up without issues in OMV. But I can no longer access the plex server via my browser at port 32400.
What am I doing wrong?
Hello, did you get it figured out? What I would do is stop the original plex. Then, copy the compose file to another compose and rename that one and start it again. And see if that works. Also, make sure network is set to host. network_mode: host
I'm planning on setting this up in a Rpi4 that I don't have yet. Does the Plex Server startup along with the machine if I restart it? Or are there additional steps needed or maybe it has to be manually, to ensure OpenMediaVault and Plex Server are running again?
Hello, they restart automatically if you add "restart unless-stopped" in the docker compose file. That tells docker to restart any container that was running before the shutdown. If you turn to stop a container and restart, that container will not restart. As that is the policy. There are more options on this, but that is the main one used.
Rob I get the following error: "500 - Internal Server Error. Please set shared folder for file storage" when I try to save to "Files". To be clear I cut and pasted and modified the docker-compose code like you demonstrated. I'm assuming that there is Compose settings that must be completed before attempting what you showed us in your vid. If so, what do I need to setup in compose "at minimum" to get plex up and running?
Hello, go to services -> compose then setting there should be on top a drop down so you can select a path for your compose files. You need to already have a shared folder created for it.
Than you Rob! That worked great. It would be awesome if you could do an updated vid focusing on setting up other parameters in docker that relate to the Plex Media Server. @@robwithtech
Lastly, is there any recommended folder structure for Plex? In Compose Settings the Compose Files needs a shared Folder and so does the Data and Badackup. Do we create separate folders for all of those? I'm finalizing my new build now that my test build works. Thanks again Rob! @@robwithtech
Hello, I didn't go over those parameters since I have other videos in my channel going over how to set up OMV. And that is one part of it. I tried to do my plex guide as universal since running docker and deploying via .yaml files can run on other docker instances other than just OMV. Hope this helps.
For the compose file folder setting, there is no right or wrong way of doing it. The only thing that path does is when you create a new file in docker compose the .yaml and .env files get created in the specified directory. The data folder, it is used to shortcut the absolute path. It is optional. For example, mapping a folder in plex
Using the absolute way:
/srv/dev.../Data/plex/movies:/movies
Instead of using the absolute path, you can link to the folder you specified in the data folder setting.
Mapping a folder would look like this.
/CHANGE_TO_COMPOSE_DATA_PATH/plex/movies:/movies
Now, for the backup folder setting, I haven't experimented with the one yet. Hope this clears up some of your questions. 🙂
Hi Rob, thanks for the tutorial, i forgot my password, so i managed to reset it, when accessing plex, no media appears. although i can still browse the folders etc. Seems like i don't have access to it, have you come across this?
Hi, I haven't had this experience yet. I would check if all the mapped folders within plex are still correctly linked / mapped. Example: movies library -> movies folder etc.
@@robwithtech all good, yes very weird.. i just rebuild plex again as that is fast to do
I'm glad you got it working. 👍
I have another question. Plex is saying that there is an update to the Server. How do we update the server in Composer?
Hello, you should be able to just stop the container. Go to service, compose, file, highlight, plex compose file, and stop. Then, on the top more to the right side, there should be an icon "pull command" if you click while highlighting plex compose that would trigger docker to get the latest image. After it is done, go ahead and syart it again. Make sure your image in the compose file is tag latest.
I'm having a problem with my OMV. I keep getting the error: "500 - Internal Server Error - Please set shared folder for file storage". What is that. I did not encounter that on my last OMV 6 when I used compose. Can you help me please? Thank you.
Hello, in the docker compose settings (services -> compose -> settings), you need to add a shared folder. Its on the top where it says shared folder drop-down.
please let me know what nvidia driver is ok for omv 6.4.4(kernel 6.1.0)? I tried 525.105.17(sid) and is not working it crash the omv gui; in a previous version(omv 6.4.3 with kernel 6.1.0) it worked very well the nvidia driver 525.105.17 inlcuding cuda version 12; thankls a lot for your tutorial, very useful
sorry, it a was a mistake, the nvidia driver 525.105.17 including cuda version 12 t worked for omv 6.3 with kernel 6.1.0
Hello, I am not sure as the nvidia driver goes. Are you getting an error message or status message when your gui crashes. I appreciate your feedback.
I followed this to the letter, and I keep getting a This library is empty. Error. I can’t see the format of the configuration paths.
Hello, when does it give you that error? When trying to start the container from the compose file? Or you referring to something else?
@@robwithtech The instance of plex starts, but when I go to select the libraries it just says that the folders are empty. Which they aren't, because I can see the videos in them. I think the tail end of the file paths are incorrect, but I can't see what you pasted clearly enough to see the syntax for the tail end.
Hi.. I missed a Colon in the file path. I added them and the files work, Thanks,.@@robwithtech
Sorry for the blurry video, I should probably remake those videos. Since when I started, I didn't know much of screen recording. But I am glad you got it working!
I did have a question. I'm using a PI3B+. If I move to the PI4 and use the same configuration file and maps will it pickup on my settings? Or will it overwrite it? Meaning I'll have to rebuild my PLEX Server all over again? Thanks in advance.
Hello, if you copy all the volumes that you currently have in your pi3b+ and make the necessary adjustments to the docker compose file like linking the movies folder, etc. All the data should be there. But you have to make sure everything is copied and linked properly.
It will be the same drive, directories, etc. I even sacred the layout that went into Compose in a text file. I also have the share names identified by drive size (10 TB, 5 TB, and two 3 TB). Think I should be ready when the time comes. Did I miss anything?
Sorry for the typo. I saved the drive layouts. Not 'sacred'. Thx again.
Since you are using the same drives, all the data will be the same. Sounds like you have it all planned out. Install OMV and create all the shared folders that you had before make sure they are pointing to the same folders as linked before. After that is done, make sure on the plex compose file all the volume paths are indeed correct to your current layout. If everything goes well, you should be able to just run the file, and plex should install and load all the current config.
Just a smal advice: don't buy Pi4! If you need 40 pins interface, get a Pi, otherwise any thin client/nuc/mini pc would be better nas/homeserver than a Pi in any perspectives. Depends on where you live, an old thin client should be much cheaper than a Pi4, even a brand new low end nuc or mini pc is still cheaper than a Pi4. I bought a thinkcentre m600 a years ago with one-third the price of a Pi 4 in my country, never looked back for a Pi.
Hello, sorry I didn't respond quicly
ive done everything right upto the docker and written everything in well copied for tv and movies, now im getting a error 500 msg please set file folder for shared storage, now im at a loss
Hello, I believe you are referring to this.
In the docker compose settings (services
-> compose-> settings), you need to add a shared folder. It's on the top where it says shared folder drop-down.
@robwithtech I tried it all and it wouldn't allow me, kept sayin 500 error. So I did it my way and installed plex on the pi aswel as omv and it works flawlessly
Great! I'm glad you got it working!
When i try to add files to the tv and movies folders it says i do not have permission to do so. Any ideas?
How are you trying to add the files? I am assuming you are trying to add files on a setup shared folder?
@@robwithtech that is correct
Did you figure it out? You have to create a user, and on access, you can add that user to user's group. Make sure on the shared folder tab you allow read and write for users group.
@@robwithtech I will give that a try today. Thank you!
This is so frustrating!! Every tutorial I watch, it works perfectly, never any issues. I have tried so many guides and they all fail at various points. On this one, the OMV side seems to be set up fine but when i connect to the webgui it tells me the server is unclaimed. When i click Claim, absolutely nothing happens. help wanted...
Did you get it sorted? I haven't seen this.
I gave up in the end and installed truenas instead. Worked a lot smoother for me. But good video still👍
That sounds good. Thank you for the feedback. 🙂
this is so hard, i give up
Hello, where are you having issues?