March 12, 20242 yr I migrated PMS from my Synology to a new Unraid server where I’m running PMS as a Docker container. The migration worked perfectly, except it won’t recognize any new media. When I try to scan, it just completes almost instantly and no new media is added. I’ve checked the container paths and host paths many many times and it all looks correct. The only option I have is to just delete the PMS and start afresh. Maybe I’m missing something simple. Anyone have any ideas what I could try? I can see all the content that I had on my Synology when I stopped it for the migration, but I've added a lot of new media and none of it is being picked up. I also noticed some of my media folders such as 'tv' and 'films' seem to randomly duplicated, albeit they're empty. I chucked it up to being an Unraid bug but maybe it's related. Despite the container being immutable, I thought that if my container paths were mapped to my host path where my tv and films are that it would be able to pick up new media. Did I assume too much? goathead-diagnostics-20240312-1801.zip
March 13, 20242 yr Author 19 hours ago, JonathanM said: Post your docker run command for the container. JFYI - I since deleted the GPU config to try and simplify it. docker run -d --name='Plex-Media-Server' --net='br0' --ip='192.168.30.34' -e TZ="America/Chicago" -e HOST_OS="Unraid" -e HOST_HOSTNAME="Goathead" -e HOST_CONTAINERNAME="Plex-Media-Server" -e 'PLEX_CLAIM'='claim-RXRxSmBgPmXozLRcJ6n2' -e 'PLEX_UID'='99' -e 'PLEX_GID'='100' -e 'VERSION'='latest' -l net.unraid.docker.managed=dockerman -l net.unraid.docker.webui='http://[IP]:[PORT:32400]/web' -l net.unraid.docker.icon='https://raw.githubusercontent.com/plexinc/pms-docker/master/img/plex-server.png' -v '/mnt/user/unraiddata/tv/':'/media/tv':'rw' -v '/mnt/user/unraiddata/Films/':'/media/films':'rw' -v '/mnt/user/appdata/Plex-Media-Server':'/config':'rw' 'plexinc/pms-docker' 00080f4b59ec95869c6bdbcab6c11156047372298f6bb290edc8ec29b85dd89e The command finished successfully!
March 13, 20242 yr 2 minutes ago, Bmalone said: -v '/mnt/user/unraiddata/tv/':'/media/tv':'rw' -v '/mnt/user/unraiddata/Films/':'/media/films':'rw' Do you see the folders tv and Films when you look in the unraiddata share over SMB? The contents of those folders should appear in the /media/tv and /media/films folders inside the Plex container. Keep in mind linux is case sensitive, so Films and films are different.
March 13, 20242 yr Author Other than the shares randomly disappearing from time to time, yes, they are viewable over SMB. Unraid doesn't allow me to upload or download anything using Finder, and viewing the shares in Finder usually works but not always. Explorer over SMB is always fine. I also installed Jellyfin and it worked without any issues first try. Jellyfin sees everything.
March 13, 20242 yr Normally you would only have one mapping, /mnt/user/unraiddata/ -> /media and let plex handle the subfolders. Maybe the two mappings with mixed case is causing issues?
March 13, 20242 yr Author You think? I can rename Films to films, but I'd be incredibly surprised if that's what's causing the issue. It's not seeing either. I also had other folders for other media and it didn't see those either. I can't get any of the other imagine versions to work either, only the official Plex image. That's the only one that will actually run.
March 13, 20242 yr I'm not suggesting you rename anything yet, just delete one of the two mappings and edit the remaining one. 1 hour ago, Bmalone said: -v '/mnt/user/unraiddata/tv/':'/media/tv':'rw' -v '/mnt/user/unraiddata/Films/':'/media/films':'rw' delete either one, and edit the other to remove the trailing tv or F(f)ilms entry. End result should just be one entry /mnt/user/unraiddata = /media
March 13, 20242 yr Author Didn't make any difference. docker run -d --name='Plex-Media-Server' --net='br0' --ip='192.168.30.34' -e TZ="America/Chicago" -e HOST_OS="Unraid" -e HOST_HOSTNAME="Goathead" -e HOST_CONTAINERNAME="Plex-Media-Server" -e 'PLEX_CLAIM'='claim-RXRxSmBgPmXozLRcJ6n2' -e 'PLEX_UID'='99' -e 'PLEX_GID'='100' -e 'VERSION'='latest' -l net.unraid.docker.managed=dockerman -l net.unraid.docker.webui='http://[IP]:[PORT:32400]/web' -l net.unraid.docker.icon='https://raw.githubusercontent.com/plexinc/pms-docker/master/img/plex-server.png' -v '/mnt/user/unraiddata/Films/':'/media':'rw' -v '/mnt/user/appdata/Plex-Media-Server':'/config':'rw' 'plexinc/pms-docker' 50ff81c3fbf0636ef89edcbe1778f2c435ba2d26b834479f58ad395b33abad2c The command finished successfully!
March 13, 20242 yr 7 minutes ago, Bmalone said: -v '/mnt/user/unraiddata/Films/':'/media':'rw' You left the Films/ in place. Should be just /mnt/user/unraiddata/
March 13, 20242 yr Author That was my misunderstanding. By the way, originally I did have a map to /user/unraiddata but deleted it as I was trying to simplify. It still can't see any media. docker run -d --name='Plex-Media-Server' --net='br0' --ip='192.168.30.34' -e TZ="America/Chicago" -e HOST_OS="Unraid" -e HOST_HOSTNAME="Goathead" -e HOST_CONTAINERNAME="Plex-Media-Server" -e 'PLEX_CLAIM'='claim-RXRxSmBgPmXozLRcJ6n2' -e 'PLEX_UID'='99' -e 'PLEX_GID'='100' -e 'VERSION'='latest' -l net.unraid.docker.managed=dockerman -l net.unraid.docker.webui='http://[IP]:[PORT:32400]/web' -l net.unraid.docker.icon='https://raw.githubusercontent.com/plexinc/pms-docker/master/img/plex-server.png' -v '/mnt/user/unraiddata/':'/media':'rw' -v '/mnt/user/appdata/Plex-Media-Server':'/config':'rw' 'plexinc/pms-docker' 7081ba005873e821e326b47849a6d3cbf97b067984060bc08d78d3550f5a7b13 The command finished successfully!
March 13, 20242 yr 6 minutes ago, Bmalone said: It still can't see any media. What path are you browsing to in the container to add media?
March 13, 20242 yr 2 minutes ago, Bmalone said: /mnt/user/unraiddata That path doesn't exist inside the container, it only sees what's mapped, /media
March 13, 20242 yr Author I thought you meant when I was editing it. In Plex, when I navigate to the library, the media folder is right there. /media
March 13, 20242 yr 2 minutes ago, Bmalone said: I thought you meant when I was editing it. In Plex, when I navigate to the library, the media folder is right there. /media But neither the tv or Films folder show up in /media?
March 13, 20242 yr Author Plex does have a folder for Movies under my server, but it's empty and a scan completes almost immediately. Same behavior consistently.
March 13, 20242 yr Author Unfortunately it's the same behavior. It adds it to the navigation, but it can't see anything and a scan completes immediately and doesn't find anything.
March 14, 20242 yr Author I'm not familiar with that tool. Didn't find anything obvious Googling it or searching CA. Can you clarify?
March 14, 20242 yr Author Solution I will run it and report back. However, I have an update. Your comment about permissions got me thinking. The shares were owned by my user account. I switched the permissions to 'Nobody' and all of a sudden Plex lit up with scanning activity. I just added the mnt/user/unraiddata:/data as you suggested. Plex seems confused as to what belongs where as I have TV, films, sports (F1, MotoGP, etc), and miscellaneous (extras, how-to-videos, random stuff I want available with a player). Also, there are less films discovered than I have, but it's still scanning. I have well over 5,000 films and over 500 TV series', so I think it should at least sort out the films and TV after it's done scanning.
March 14, 20242 yr 1 hour ago, Bmalone said: Plex seems confused as to what belongs where as I have TV, films, sports (F1, MotoGP, etc), and miscellaneous I don't use plex, so I may be wrong, but I think you are supposed to assign different subfolders to different library types so it knows how to differentiate. You don't need different mappings for the container, just select the subfolders in the tree that you mapped. Earlier you had /media, but now you referenced /data, so I have no clue how you have it set up. I could be wrong though, I just know how Emby and jellyfin do it.
March 14, 20242 yr Author Since the official Plex image uses /data by default, instead of /media, I thought I better leave it as is and only mapped the subfolders for the non-TV and non-film libraries and it worked. So I'm sorted now. Thanks so much for your help. I spent all weekend trying to get this to work to no avail.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.