Server Version#: PlexMediaServer-1.15.5.994-4610c6e8d-x86_64
I just bought a new Synology DS218+ and installed Plex on it. I created a movies library in the /volume1/media/movies location. Each film I added was not showing up even when I did all of the following things.
Scan library files
Optimise database
Clean bundles
Refresh all metadata
All files are perfectly named (with dates), each inside a folder named the same thing.
Restarting server
Settings -> library -> scan library automatically / run a partial scan when changes detected / scan library periodically
Settings -> agents -> movies -> ticking and unticking local media assets / changing the order of them
If I change to folder view, I can see the folders, but not the movies when I click inside.
Permissions for the plex user and admin are all read/write
I examined the logs and couldn’t see anything suspect. I ended up deleting the library and re-adding it, and magically all of the movies appeared! I then tried to add some more and they would not appear. I also found that if I edit the library and change the agent, either from Plex movie -> The movie database or The movie database -> Plex movie , the movies all appear. I have no idea why this works, but I would love for them to appear automatically.
I looked at the following topics on these forums and think they might be related (here and here). When ssh-ing into my server and attempting the following I get a 401 unauthorised error: curl http://127.0.0.1:32400; echo
Any help would be greatly appreciated, this issue is driving me insane.
Another look at the logs for a file that is not appearing shows me:
Summary
May 06, 2019 00:15:03.307 [0x7f5b8c735740] DEBUG - Adding file for scanner: "/volume1/media/movies/What We Do in the Shadows (2014)/What We Do in the Shadows (2014).mp4"
May 06, 2019 00:15:03.307 [0x7f5b8c735740] DEBUG - Adding file for scanner: "/volume1/media/movies/What We Do in the Shadows (2014)/What We Do in the Shadows (2014).srt"
May 06, 2019 00:15:03.308 [0x7f5b8c735740] DEBUG - Directory had 1 files, database had 0 files, can't skip.
May 06, 2019 00:15:03.315 [0x7f5b8c735740] DEBUG - * Scanning What We Do in the Shadows (2014)
May 06, 2019 00:15:03.315 [0x7f5b8c735740] DEBUG - Looking for path match for [/volume1/media/movies/What We Do in the Shadows (2014)/What We Do in the Shadows (2014).mp4]
May 06, 2019 00:15:03.315 [0x7f5b8c735740] DEBUG - Skipping hash check, no size match for 1819852859 bytes.
May 06, 2019 00:15:03.315 [0x7f5b8c735740] DEBUG - No match for hash.
May 06, 2019 00:15:03.316 [0x7f5b8c735740] DEBUG - Downloading document http://127.0.0.1:32400/library/changestamp
May 06, 2019 00:15:03.316 [0x7f5b8c735740] DEBUG - HTTP requesting GET http://127.0.0.1:32400/library/changestamp
May 06, 2019 00:15:03.317 [0x7f5b8c735740] DEBUG - HTTP 401 response from GET http://127.0.0.1:32400/library/changestamp
May 06, 2019 00:15:03.318 [0x7f5b8c735740] ERROR - downloadContainer: expected MediaContainer element, found html
May 06, 2019 00:15:03.318 [0x7f5b8c735740] ERROR - Exception inside transaction (inside=1) (../Library/MetadataItem.cpp:3424): Unable to allocate a changestamp from the server
May 06, 2019 00:15:03.318 [0x7f5b8c735740] ERROR - Exception assimilating media item in What We Do in the Shadows (2014): Unable to allocate a changestamp from the server
Hey, thanks for your reply. Inexplicably when I followed the plex dance steps it started working and instantly recognising new movies. I had gone through the plex dance steps before and nothing came of it so I am mystified that it’s started working now after trying to figure this out for >6 hours. Again thank you, and I hope it continues to work.