Server Version#: 1.29.2.6364
Player Version#: 4.87.2
I’ve been seeing a problem with my Plex install the last couple of days that make me concerned.
A couple of days ago I noticed that a bunch of episodes of old TV shows and movies were starting to show up in an unwatched status again, without intervention from me. It was constantly happening and I couldn’t figure out why. I also noticed that some custom posters were changing back to their defaults for some movies. Finally, as some of these movies were changing their watch status to unwatched, they were also being pulled out of their respective collections. I could put them all back in, and with the exception of a few, I could restore the custom posters, and it seemed that everything was back to semi normal. Except now I could see that a lot of these movies/tv shows that were previously watched were now showing up on my various “Recently Added” lists as well.
Then this evening I attempted to watch a new episode of a tv show and Infuse on my AppleTV gave me a “File not found” error. When I sat down at the Plex Web App, it gave me a more specific error (in the attached screenshot)
After doing a bit of digging, I was pointed in the direction of a corrupted database, so I set out to do all of the things that are listed in this article, including low-level recovery and ensuring the ownership of the database file was still the same. The error still persists, however.
Now I’m at a loss. Without doing extensive testing, the error condition seems to be persistent in a lot, if not all, of my movies, although the error message presented is different (if not the attached error, it simply spins in the player window trying to play and never does)
I’ve downloaded the logs after recreating the problem, but I don’t know how to interpret them. I’m hoping someone here will be able to dive in and let me know if I’m just completely effed and I have to rebuild my plex server entirely, or if there’s something that can be salvaged.
And yes, I forgot to mention. The file is valid, it exists, there are no permission issues between the server and the NAS, the network mount between then is up, the NAS is healthy and the drives are not running errors.
As well, I upgraded from 1.24. to the current version this week after the initial “unwatched” changes started happening, so I don’t have a clean database backup to work from in the current version
Ya I can run shell commands easy enough. One thing I had to do to get this far though, was to swap the directory and file ownerships of the Database directory to the current logged in user, and then back again (as it’s different than what the standard plex:plex user the service uses). Would I need to do that again?
The script completed as expected but unfortunately the error remains. The checks and cleaning utilities didn’t indicate anything found, but I went through it all and repaired anyway.
I think it did clean up the databases, but it may not have indicated anything to clean. I’ve included the script log if it means anything to you. DBRepair.log (2.7 KB)
PMS seems to be snapier in loading libraries and search.
Office has one switch, where the laptop was plugged into in the beginning (since I opened the OP, I moved it out of the office to the living room so I could sit on the couch, but when I did the initial tests with the web app, it was wired into that office switch).
The living room has a switch, which contains the AppleTV, and it is plugged into it.
The utility room also has a small switch. The server and NAS are both wired and on that same switch.
All switches aggregate to the ISP router and everything in the house is on the same subnet. I am not using jumbo frames/packets. The switches are all small 8-port consumer devices and unmanaged.
Incidentally, just a few minutes ago when I tried a different movie, I got the “Transcoder failed due to an error” message.
So I redid the database and I guess I was wrong, even though the literature I found pointed it out as a corrupted database. I moved the database file and re-scanned all the libraries into a new database and the same error is happening. Looks like I’m going to have to rebuild/reinstall Plex next?
Hi @ChuckPa I’m hoping you can help out. I’m really at a loss here. I’ve reinstalled the Plex server software and rescanned and rebuilt the library, and I’m still running into errors. Nothing will play, locally or remotely (remote access is enabled).
When I run into a movie that the server couldn’t analyze, it shows this info in the “Get Info” screen (ie. nothing but the filename, no video media statistics)
I then notice that the Media Scanner Analysis log file shows “resource temporarily unavailable” when attempting to get that info. Plex Media Scanner Analysis.log (3.3 KB)
When I attempt to play the file, the error that comes up is the same as the one in the first post. s1001
But not all of my movies have had that inability to scrape the media info. On those that have, when I attempt to play, the transcoder exits due to an error (different than above) and this, among other things, shows up in the log:
Honestly I’m at a total loss. There’s no reason that I can see that would indicate a communication problem between the server and the NAS where the files are located. The mount is up, permissions are set (what I think are) correctly.
There are no configurations in the NAS that would be interfering with communication back and forth. The network config on the NAS doesn’t indicate anything hinkey. Permissions are set correctly for the file store, IP configuration is correct, I even SSH’d into the NAS, and although the user/group ownership is not consistent, at least everyone has read and write access to the files/directories
The credentials I use to mount the network share are valid, as indicated by the directory being browsable and the files visible in the server terminal session. I’m also able to validate the credentials by mounting the file share in my workstation.
Permissions in the files are all r-x for user, group, and everyone. The folders themselves are owned by root, but the r-x bits set for everyone should still grant sufficient access, shouldn’t it?
The fstab file doesn’t specify a user/group pairing, nor a default permission level in the mount commands for the cifs shares. Should it?
I even went through and disabled IPv6 on the Plex config and in the system itself (I went down a rabbit hole trying to make sure the configurations were as clean as I could make them. Probably didn’t need to go that far)
Honestly this is as far as I know how to go. I can’t think of anything else it could be.
All the files I’ve been looking at as part of this process play in VLC just fine. The movies are a bit stuttery, but only because the bandwidth is rather high for VLC and my laptop, but they play.
In addition to this, I’ve just installed Plex on my laptop, added the same folder as a library, and all the files I’ve been using as examples match, analyze, and play just fine
So I finally figured it out. It was a Samba error between the NAS and the server. Something got borked after a year and a half of uptime for the NAS. Reboot and firmware update seems to have fixed it, but I’ll have to keep looking.
For now I’m marking this as the solution to close the thread.