Well, I’ve tried this and run into trouble.
I’m not quite sure if the command line to stop and start Plex is working but I think I stopped it, and restarted it. Just in case, I restarted the whole Centos server, and the command
service plexmediaserver status reports that the server is running.
I renamed the /var/lib/plexmediaserver/Library to Library.keep.
I created a new Library folder, and changed owner to john:john.
This is just where Plex keeps its database, isn’t it?
I then renamed my original shared plexmedia folder to plexmedia0 using the VMware console and Midnight Commander.
I then created a new media directory with the same name as the old one, in /home/john/plexmedia which starts empty.
Then I added a couple of Murdoch Mysteries episodes (just the .mp4 files) to the new TV Programmes in that folder, creating a new folder to put them in, and recursively changing the owner to john:john:
home/john//plex2/video/TV programmes/Murdoch Mysteries/Season 01
As before I’ve checked that all folder permissions are 0755 and all .mp4 files have permissions 0764, and I’ve also checked that the change of owner is reflected in all the subfolders and files.
When I first try to reconnect, using Chrome browser, I get ‘Plexserver is unvailable’, although Diskstation still there, and opens as the default Plex connection.
The Centos Pleserver is at IP address 192.168.0.31, but when I browse directly to that on port 32400, I get an XML text page displayed, not the Plex window.
However, if I browse direct to 192.168.0.31/web/:32400 I do get to an empty Plex page, which invites me to Add Library.
So I’ve done that, and pointed it at the new TV programmes folder.
Plex doesn’t automatically rescan the folder, and when I tell it to rescan, still doesn’t detect the files at all.
???
What next?
I attach the logs.
Plex Media (129.1 KB)
PS. Looking in the old and new Library and Library.keep subfolders
Application Support/Plex Media Server
I see that the new Library has no folders for Media or Metadata.
Am I right in thinking that these would have been created if Plex had detected the added media in my new TV programs folder?






