April 7, 201610 yr Hi guys, I have been searching to death but my cant quite get my head around the new version of unraid and dockers and the best way to move plugins to new machine and use old one purely as NAS. Machine 1. unRAID 5.0.5 plus and using a HP Microserver N40L with 2x 4TB WD Reds (1 Parity), 2x 3TB Seagate Barracuda and 5th Drive is stock 250gb used for cache in ODD bay. Perfectly happy with this machine but plex is starting to get too slow as I have about 10 external family members who I have shared my library with. Machine 2. unRAID 6.1.9 Trial and using Sedatech Mini PC Evolution Desktop (Intel i3-4130T 2x 2.9GHz, 4GB RAM, 120GB SSD, Blu-ray/DVD-RW, USB 3.0, Full HD 1080p, Wi-Fi, Bluetooth) Plan is to move plex to machine 2, use machine 1 purely for the data and remove any plugins on there. So I figured out how to enable dockers and got 10gb set up and installed limetech version of plex. I can access both versions of plex now but not quite sure how to move the plex data over so I can remove it from Machine 1. Also I would need to point the Library to Machine 1 but can only add local usr mounts. Hope im making sense and havent gone off topic. If anyone has suggestions for best approach I would really appriciate it. Many thanks
April 7, 201610 yr Hi guys, I have been searching to death but my cant quite get my head around the new version of unraid and dockers and the best way to move plugins to new machine and use old one purely as NAS. Machine 1. unRAID 5.0.5 plus and using a HP Microserver N40L with 2x 4TB WD Reds (1 Parity), 2x 3TB Seagate Barracuda and 5th Drive is stock 250gb used for cache in ODD bay. Perfectly happy with this machine but plex is starting to get too slow as I have about 10 external family members who I have shared my library with. Machine 2. unRAID 6.1.9 Trial and using Sedatech Mini PC Evolution Desktop (Intel i3-4130T 2x 2.9GHz, 4GB RAM, 120GB SSD, Blu-ray/DVD-RW, USB 3.0, Full HD 1080p, Wi-Fi, Bluetooth) Plan is to move plex to machine 2, use machine 1 purely for the data and remove any plugins on there. So I figured out how to enable dockers and got 10gb set up and installed limetech version of plex. I can access both versions of plex now but not quite sure how to move the plex data over so I can remove it from Machine 1. Also I would need to point the Library to Machine 1 but can only add local usr mounts. Hope im making sense and havent gone off topic. If anyone has suggestions for best approach I would really appriciate it. Many thanks Just to make sure I understand what it is you want to do... You want to keep all of the video's stored on Machine one, while running Plex on machine 2, or at least keep some of the videos on machine one and run Plex on Machine 2? That's an interesting set up, and I'm not sure if the network bottleneck will be a problem (I don't think so... but I'm not positive.) You can mount external SMB sources using the unassigned devices plugin. So if you install that on Machine 2 you could mount the SMB shares you need from Machine 1. Now what I'm not sure about is if passing that mount to Docker on Machine 2 would work. (I believe it should, but again I've got no experience and haven't really seen anyone talk about doing this... (though I'm sure someone either has done it or unsuccessfully tried before) Now the other thing that's unclear is if you were using Plex in a Docker on machine 1, or Plex in a Plugin. If it was Plex as a Plugin you might have to do a bit more work to get your existing library to work with the Docker version. What you need to do is move the Plex media server data directory from Machine 1 to Machine 2, (if you have unassigned devices you can mount the SMB share and do the move like it were "local", you could use rsync, you could do this though a 2 part move across a Windows Machine... lots of ways to move files...) In general the location of the Plex Media Server Data Directory is $PLEX_HOME/Library/Application Support/Plex Media Server/ $PLEX_HOME is the root folder you told the plugin / docker to put the configuration files in... I believe... So if it was like /mnt/cache/Apps/Plex/ the full path would be /mnt/cache/Apps/Plex/Library/Application Support/Plex Media Server/ I suggest navigating that path and really getting a good understanding of what it is on your setup. it should always have the ~/Library/Application Support/Plex Media Server/ part... but the will differ based on the plugin or docker. Also I've seen at least one plugin with lower case l in library instead of uppercase L... In addition I recommend doing an ls -l on the directories to see what permissions users and groups the files are assigned to. This will help in case you need to change any of that. [Note]the Application Support and Plex Media Server directories have spaces in them. This makes it a bit more annoying in Linux since spaces have significance and usually signify the end of a command or argument. You can solve this by putting them in quotation marks. So for example if you wanted to go to the Application Support directory you would type cd /mnt/cache/Apps/Plex/Library/"Application Support"/[/Note] Then when you set up your Plex Docker you want to make sure it is pointing to the same directory... if the permissions aren't messed up for some reason it should work. If they are messed up, you will need to chown or chmod to set the permissions correctly before the Docker will be able to use the data.
April 7, 201610 yr Author Thanks for the reply, I will read again once at home but to clarify a few things. All videos, movies tv shows etc. will remain on machine 1 I just would be using that for storage only. Currently machine 1 uses plex plugin which I manually downloaded and installed then installed plex updater plugin too which I run manually. Dockers not available in 5.0.5 also the N40L is a 32bit machine What I was thinking is moving plex and library/meta data to machine 2 and then just updating the locations to point to machine 1 but it doesnt seem to like that. I need to get up to scratch on dockers as never used them before.
April 7, 201610 yr What I was thinking is moving plex and library/meta data to machine 2 and then just updating the locations to point to machine 1 but it doesnt seem to like that. I need to get up to scratch on dockers as never used them before. Ok that makes a bit of sense. You are going to have to rescan your media in plex, but it should just update the location keeping plays etc. I don't know that it will for sure. How are you trying to address Machine 1's files from Machine 2 currently?
April 7, 201610 yr I've done this setup before. Actually currently have a setup similar. Machine 1 has data, machine 2 has unassigned devices plugin with machine 1's smb shares mounted. Also have data on machine 2 and everything happily coexistence in plex. Sent from my SM-N900W8 using Tapatalk
April 8, 201610 yr Author Thanks for the replies guys I just need to figure out how to add the smb shares Once I get Plex sorted on Machine 2 i can start looking at some download automisation as I currently download on a pc then cut and paste to Machine 1 after I have verified the file isnt spam etc.
April 8, 201610 yr Thanks for the replies guys I just need to figure out how to add the smb shares Once I get Plex sorted on Machine 2 i can start looking at some download automisation as I currently download on a pc then cut and paste to Machine 1 after I have verified the file isnt spam etc. I personally have not mounted any SMB shares using the Unassigned Devices Plugin (I mostly use it to mount USB hard drives for backup reasons), but I know it's possible and that a lot of people do it this way. Bascally though, I think you select the SMB share you want to mount click OK or Mount or something, and then that smb share is mounted as a directory under /mnt/disks/NAMEHERE So you would just point Plex on machine 2 at /mnt/disks/NAMEHERE for it to find the data you want to share with Machine 2. Hope this helps.
April 8, 201610 yr Author Thanks it does I think the first thing I need to do is get the Unassigned Devices Plugin installed. If Machine 2 accomodated all the hdds I woule be happy but its litterally got the SSD glued to the ODD and I could squeeze another 2.5" drive in and thats about it. Talking about hdds would it be ok to have just a single hdd in Machine 2 if im only using it for Plugins, on Machine 1 plex tmp dir is CACHE ONLY
April 8, 201610 yr Thanks it does I think the first thing I need to do is get the Unassigned Devices Plugin installed. If Machine 2 accomodated all the hdds I woule be happy but its litterally got the SSD glued to the ODD and I could squeeze another 2.5" drive in and thats about it. Talking about hdds would it be ok to have just a single hdd in Machine 2 if im only using it for Plugins, on Machine 1 plex tmp dir is CACHE ONLY That should work. Again I've not done it, but I don't know why it wouldn't work?
April 15, 201610 yr Author Managed to get the location visible in plex but library scan comes with zero, does it have to be SMB share rather than NFS. Will have to mess around with it this weekend but decided once I can add the videos, I will just recreate my library rather than moving old one over.
April 15, 201610 yr In remote shares you will have to stop and start the entire docker service for the files within to be visible Sent from my LG-D852 using Tapatalk
April 15, 201610 yr Author Thanks! All this time I have been restarting plex! Once I restarted the docker it found the subfolders etc as expected and started downloading metadata! Does anyone know if theres any benefit to using NFS over SMB? Also in regards to dockers, do you normally just have one docker image and install multiple apps. As I was testing I decided to call my docker "plex.img" so I knew what I was looking for.
April 15, 201610 yr Also in regards to dockers, do you normally just have one docker image and install multiple apps. Its the only way of doing it
Archived
This topic is now archived and is closed to further replies.