Bmalone Posted March 12 Share Posted March 12 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 Quote Link to comment
JonathanM Posted March 12 Share Posted March 12 Post your docker run command for the container. Quote Link to comment
Bmalone Posted March 13 Author Share Posted March 13 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! Quote Link to comment
JonathanM Posted March 13 Share Posted March 13 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. Quote Link to comment
Bmalone Posted March 13 Author Share Posted March 13 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. Quote Link to comment
JonathanM Posted March 13 Share Posted March 13 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? Quote Link to comment
Bmalone Posted March 13 Author Share Posted March 13 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. Quote Link to comment
JonathanM Posted March 13 Share Posted March 13 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 Quote Link to comment
Bmalone Posted March 13 Author Share Posted March 13 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! Quote Link to comment
JonathanM Posted March 13 Share Posted March 13 7 minutes ago, Bmalone said: -v '/mnt/user/unraiddata/Films/':'/media':'rw' You left the Films/ in place. Should be just /mnt/user/unraiddata/ Quote Link to comment
Bmalone Posted March 13 Author Share Posted March 13 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! Quote Link to comment
JonathanM Posted March 13 Share Posted March 13 6 minutes ago, Bmalone said: It still can't see any media. What path are you browsing to in the container to add media? Quote Link to comment
Bmalone Posted March 13 Author Share Posted March 13 /mnt/user/unraiddata Isn't that what you suggested? Quote Link to comment
JonathanM Posted March 13 Share Posted March 13 2 minutes ago, Bmalone said: /mnt/user/unraiddata That path doesn't exist inside the container, it only sees what's mapped, /media Quote Link to comment
Bmalone Posted March 13 Author Share Posted March 13 I thought you meant when I was editing it. In Plex, when I navigate to the library, the media folder is right there. /media Quote Link to comment
JonathanM Posted March 13 Share Posted March 13 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? Quote Link to comment
Bmalone Posted March 13 Author Share Posted March 13 Plex does have a folder for Movies under my server, but it's empty and a scan completes almost immediately. Same behavior consistently. Quote Link to comment
JonathanM Posted March 13 Share Posted March 13 If you add a folder /media/Films does it find anything there? Quote Link to comment
Bmalone Posted March 13 Author Share Posted March 13 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. Quote Link to comment
JonathanM Posted March 13 Share Posted March 13 Try running the new permissions tool against the unraiddata share. Quote Link to comment
Bmalone Posted March 14 Author Share Posted March 14 I'm not familiar with that tool. Didn't find anything obvious Googling it or searching CA. Can you clarify? Quote Link to comment
Solution Bmalone Posted March 14 Author Solution Share Posted March 14 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. Quote Link to comment
JonathanM Posted March 14 Share Posted March 14 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. Quote Link to comment
Bmalone Posted March 14 Author Share Posted March 14 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. Quote Link to comment
Recommended Posts
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.