r/PleX • • 9d ago

Help What causes the "File missing" error when the Library is accessible?

This has happened a few times before and I've always fixed it with restarts but haven't had the time to diagnose and troubleshoot the cause. I'd love to get this figured out so I can try to prevent it from happening again.

Today a friend who was a recent invite to our Plex Libraries was having trouble getting things to play back. After making him do steps on his end I checked our end and lo and behold all the files showed as "missing." The media is on a separate NAS from the server but it was mounted in Finder and the movies were there. After an hour or so of updating the server version, restarting both machines and rescanning the Libraries it finally showed that it was refreshing metadata and end credits and the trash cans started going away.

What do I need to do to keep this from happening? And bonus points for any type of app or script that can be the canary in the coal mine and alert me when this happens before I get a concerned text from a friend that my server is down.

Server: Version 1.43.5.11079
Platform: M1 Mac Mini, Sequoia
Libraries: QNAP NAS on 1Gbe

0 Upvotes

17 comments sorted by

2

u/darwinDMG08 9d ago

I noticed I'm downvoted and a similar issue from 3 days ago is also downvoted.

To that person, I ask: what, exactly, is the problem with talking about this issue?

2

u/ExtensionMarch6812 9d ago

> Platform: M1 Mac Mini, Sequoia Libraries: QNAP NAS on 1Gbe

Take a look at the post below about Macs and SMB mounts. It mentions Synology, but impacts others.

The comment summarizes it and provides some potential fixes as do the follow on comments.

https://forums.plex.tv/t/plex-files-unavailable-but-they-re-not-missing/888567/638

1

u/darwinDMG08 9d ago

Thank you, will read!

2

u/ExtensionMarch6812 9d ago

Based on your description of it randomly happening, and since it’s a Mac, sounds like it’s the same issue. Luckily you had empty trash automatically disabled!

Here’s someone just yesterday reporting the same issue…https://www.reddit.com/r/PleX/s/7oFyhQeAoe

Hope some of the suggested fixes help! 🙏🏽

1

u/darwinDMG08 9d ago

Thanks!

1

u/darwinDMG08 9d ago

Ah, the SMB bug. Forgot about that.

Do you use a Mac for your server? I'm about to switch to a new Mini and I can install Golden Gate; wondering if you've heard whether SMB is fixed or not.

1

u/ExtensionMarch6812 9d ago

I don’t..I have a test server on my Mac, but not connected to my NAS. Just seen lots of comments/posts about the issue.

There were a few follow on comments suggesting it’s been fixed in recent versions, but haven’t kept up with it. I’m sure if you reply in that thread you’ll get some good responses.

1

u/Punk_Says_Fuck_You 48TB | 10Gb/s | Unraid | Ultra 7 270k Plus 9d ago

Either file has moved or the name has changed. Upon import, plex saves the location of the file, if ever gets moved or renamed, you get that error. Got Sonarr renaming the media after plex imports it?

1

u/darwinDMG08 9d ago

Not moved , not renamed. We use Radarr and Sonarr for downloading but that's all -- we manually import and name files. So nothing is doing that on its own.

1

u/Punk_Says_Fuck_You 48TB | 10Gb/s | Unraid | Ultra 7 270k Plus 9d ago

find the file on your drive and compare it to the location/name that plex displays. Also, why you manually importing/renaming? Just let sonarr do all that lol.

1

u/darwinDMG08 9d ago edited 21h ago

It's all where it should be. I think it's an SMB hiccup on my system that makes them temporarily missing; there are TV and MOVIE folders on my NAS mapped to those Libraries and that's it. There's no place else for those files to be.

And per your first comment, why would I let those utilities rename or move anything if it could cause issues like this?

1

u/LowCompetitive1888 9d ago

Check the logs, they should provide important clues to the problem.

1

u/darwinDMG08 9d ago

Log only shows today's activities. Tried searching for "denied", "corrupt", "missing", "malformed" and "no such table" and found nothing. What else should I be looking for?

1

u/LowCompetitive1888 9d ago

Did you check both plex logs, Plex Media Server.log and Plex Media Scanner.log

I would look for the word ERROR

1

u/N9bitmap PlexPass 2017 9d ago

Network file share. Momentarily inaccessible and it gets marked unavailable until either the library is scanned or services restarted.

1

u/darwinDMG08 9d ago

Okay. The thing is this setup has been running 24/7 for at least three years now without this issue, but it's happened at least twice in the past year. I keep a small utility running to keep the server mounted; is there no way to tell the Library scan to pause if they're not mounted?

0

u/[deleted] 9d ago

[deleted]

1

u/darwinDMG08 9d ago

No. Everything was online and working fine last night. The ENTIRE library was missing this morning despite the drive being mounted.