I have moved my Plex Server from Windows Server 2016 to Ubuntu Server 18.04. However, all of my media is showing the trash can icon. I transferred my config from the Windows Server and it appears to have worked as it shows all of my existing libraries. I edited the library folder location and added the “new” location of the files. It appears to scan the library for a second but stops pretty quickly and the trash icon does not go away. Please advise.
A few notes about my configuration:
All of my media files are still stored on a Windows server share and I have pointed the local Ubuntu folders to the SMB share following the instructions found here. I’m able to browse and write files to the mounted share.
Configuration (/var/lib/plexmediaserver/Library/Application Support/Plex Media Server) is also located on a Windows SMB share mounted the same way.
I would let DVR/EPG update before doing much, It’s difficult to see with everything scrolling by
At no point do I see the scanner activate. It must be busy doing something else which might just be the DVR EPG (out of task slots)
A few quirks in there I don’t like so this will settle it. It forced everything to be the correct permissions and ownership (they can get out of whack when being relocated from other systems)
sudo sh
systemctl stop plexmediaserver
find /var/lib/plexmediaserver -type d -exec chmod 755 {} \;
find /var/lib/plexmediaserver -type f -exec chmod 644 {} \;
chown -R plex:plex /var/lib/plexmediaserver
systemctl start plexmediaserver
I don’t think it has to do with the naming convention as it never had any issues when it was on the Windows Server. The media is now stored in /opt/plexmedia. I looked at quite a few documents and posts for migrating from Windows to Linux and followed them closely. It was my understanding that after all the configuration/settings files were transferred, Plex would no longer see the original location from Windows. Then you edit the library and add the new location (/opt/plexmedia/folder) and it would scan the “new” location and there will be two items listed. Empty the trash and remove the old location. Instead, the libraries look like this:
that shows me PMS cannot verify the file still exists.
permissions
Path is invalid.
It is always one of those two.
If you had /movies/movie (year)/movie (year).ext and then removed /movies entirely, PMS will think the whole tree is unavailable (as if removable media) and indicate what you see also. Have you made such a major change by removing the top most level?
I believe I may be running to a lot of the same issues from this post. Would the issues I’m experienicng be because I did not transfer the MachineID and ProcessedMachineID?
Update - I moved my configuration files (/var/lib/plexmediaserver/Library/Application Support/Plex Media Server) from a mounted share to the local folder on the Ubuntu server and it is now scanning the library files properly. So apparently having that information on an SMB share does not work. All of the libraries and most of the configuration from the Windows server seems to have transferred over. However, it does not appear to have carried over the Sharing information. Is there a way I can transfer that over so I don’t have to label each movie again?