Server Version#: 1.28.2.6151-7000
Player Version#:
Hi folks. I installed Plex and had it index my library (/videos). Many of the film names were things like “01”, since the filenames were “01.avi”, so I went through and renamed those files on the NAS.
However those incorrectly-named files are still present, but it says they point to an unavailable file. This is true, that filename is gone, but how can I update the library to reflect changes? I feel like I’ve tried all the options recommended here. The files are NOT present under the now-corrected name.
This person is asking something similar but I don’t care if I have to rebuild the library fresh (hopefully I don’t have to do this every time from now on though).
NAS shared folder permissions are correct per this.
You should be able to fix this with the following two actions/commands from the library’s context menu:
⋮ > Scan Library Files – this will re-index your library files; you might have already done this… maybe one more scan for good measure
⋮ > Manage Library > Empty Trash – this will remove any previously indexed files that are no longer visible/available to Plex.
Usually Plex is quite good in recognizing renamed files and treating them as such.
If you did a lot of file changes but haven’t spend much effort inside Plex, it might be easiest to create an entirely new library, pointing to the same library folder (and deleting the old one).
Only takes a half second. Is this normal/expected? Or indicative of some underlying issue?
Tried this with the server and /Films (probably the same thing) and nothing happened… but I haven’t actually deleted (in Plex anyway) those files which are unavailable.
Library deleted. Re-added. Re-scanned. Half second. No media. So this looks like the problem. The media folder location is /volume2/video. If I scan that location:
root@NAS:/volume2/video# du -h -d1 | sort -h -r
All those folders are large, multi gigabytes, so this is the right location where the files are present. But Scan Library, Analyse, Refresh All Metadata: all don’t work.
Any thoughts? This seems like Plex isn’t finding the files… but the location is correct, and it’s connected to the NAS since it populates the list of folders available on the NAS…
Thanks for your snappy reply, it’s much appreciated!
“Plex”, not “PlexMediaServer”. So maybe this is a hangover from when I had DSM6, and now I have DSM7 it’s defunct? So per the link you shared, manually create a new used “PlexMediaServer”?
As you can see, Plex user exists and has access to the correct folders but does NOT have access to PlexMediaServer. If I give this existing user access to PMS…?
Or do I have to manually create a new user called PlexMediaServer?
Plex server doesn’t have the ability to create itself as a user no? I don’t remember having to do this manually before, but it would have been yeeeeeears ago so I probably wouldn’t remember either way.
But I note Plex is a user and PMS isn’t. Both are shared folders. So I probably DO need to create a user. Can I just change the username from plex to PlexMediaServer? Should it be upper or lower or camel case?
As you’re on DSM7, you got your permissions upside/down.
You still have granted permissions to your media to the plex user – that’s the user used on DSM5/6. With DSM7, you need to give the user PlexMediaServer permission to access your media.
Also… this is not about giving anybody access to the PlexMediaServer share. That’s just the place where Plex stores its database and supporting media – no place for your media or anything to touch manually.
Hiya, probably I’m misunderstanding but I’m not sure those instructions are still valid for DSM7. Per my screenshot under “KINDA”,
shared folder > video > properties > permissions: there’s no user “PlexMediaServer”.
From the guide link you shared:
If user “Plex”/“PlexMediaServer” isn’t listed, we will need to add it to the list of username (top box)
But there’s no obvious way to do that in DSM7 within that open dialog box. But “top box” is ambiguous so:
Top box = buttons in Shared Folder: no option to create user.
Top box = taskbar: can see admin account details on the right, or go into general menu.
So I think “top box” may have changed in DSM7?
My suspicion is that I have to add the user PlexMediaServer in Control panel > user & group > create user, OR edit the existing “plex” user since that is no longer valid?
Will simply changing the username from “plex” to “PlexMediaServer” allow PMS to connect to the NAS, e.g. if it’s connecting to the NAS as a user already named “PlexMediaServer”?
There is no user Plex anymore. It is abandoned. You can delete it.
When you grant permissions,
– “PlexMediaServer” is a “System Internal user” (it’s the application’s name)
– You either change the “Local Users” (in the left corner) to “System Internal Users” and select “Plex Media Server”
or
– You create a new Read-only or Read/write permission rule