Plex on Pop os linux. many files disappeared from the server but are still in the folders. The files play in a vlc but plex does not see ( the first 6 episodes of bobs burgers) all files are mp4. Then fruit baskets mkv files the first 9 episodes missing in plex but still in the file folder and they play in vlc. did a scan still did not show up. move files to new folder added it and scaned but still do not show in plex. going to try an old timeshift backup file to restore the files I hope, can’t do that till tomorrow. What happened? This was after an update maybe 2 updates ago and I have been looking into a fix. I downloaded another season and it worked but that means I have to redownload about 3 TBs What can I do? Dell xps i7 16gb gtx 1060 20tb raid
Inspect:
- Permissions - Make certain user
plex:plexcan read the files. Since you have a lot… find out which directory they all have in common. Start there. - Embedded tags - Make certain any tags which might be in there are accurate and not ambiguous. (MP4’s will bite you that way. I remove ALL tags from MP4)
Sorry for changing the subject, but what do you use for that?
I had made a script that was working well using ffmpeg until I got a mp4 with chapters, then things got complicated. At this moment I’m changing all my containers to mkv because they are way easies to edit/clean.
Embedded tags cause so much trouble.
MP4 / M4V , while great for streaming from web sites, are nasty.
MKV files don’t cause these problems.
If you want to drop a MP4 into mkvtoolnix-gui (which is mkvmerge), you can edit the tags (the values in the right -most panel) or leave them blank.
It will remux (copy) the streams, removing or reordering as instructed, writing a MKV.
You can also remove tags and other nefarious junk which was collected along the way
Here’s the section of my video capture cleanup script. It removes the unwanted tags and subtitles then sets the MKV properties to null (so I don’t get in trouble like MP4s.
echo `date` Cleaning: $Episode >> ${Logfile}
rm -f temp.mkv
${Bin}/mkvmerge -o temp.mkv -M -S --no-global-tags --disable-track-statistics-tags "$Episode"
if [ $? -ne 0 ]; then
echo `date` Bad file: Error \($?\) "$Episode" >> ${Logfile}
rm -f temp.mkv
else
echo `date` "Keeping: " "$Episode" >> ${Logfile}
${Bin}/mkvpropedit -s title="" temp.mkv
${Bin}/mkvpropedit --edit track:a1 --set language=eng --edit track:v1 --set language=eng temp.mkv
mv -f temp.mkv "$Episode"
rm -f temp.mkv
fi
After this step, you could ffmpeg -i file.mkv -c copy file.mp4 and output the MP4 again.
Hi, I’ve also had an issue with this but on Windows and with AVI files.
I started the other day noticing that a lot of seasons on my tv-shows being marked as not available.
The files are in the folders and I can press play and watch them even when it says they aren’t there.
Scanning does nothing. I’ve even empty the trash so they were fully removed, then ran clean bundles and ended with optimize database. Scanning after that still can’t find these files for some reason.
Since Plex was able to play these files, it should have access even if it says that they aren’t there?
Media Codec examples (seems to be Xvid on all):

I will also add that I got other episodes in the same shows with the same codec and file format that is found on scan.
Both “The Movie Database” and “Plex TV Series (BETA)” has been tested.
I’m going to need to see some log files please.
DEBUG logs, (not VERBOSE) , captured after recreating (attempting to play is best).
Thanks.
Started debug at 14:40 ish.
I removed some older logs to make it easier to look through and kept from when I started the test.
As mentioned before I empty trash yesterday I could press play and have Plex start the video without any issues, even when it showed as not being there. Now when it’s emptied, I can’t get them back at all.
Unmatched Highlander where a full season can’t be found by Plex. Did a “Scan Library Files” and after a bit matched Highlander again after it hadn’t found the files.Logs.zip (244.5 KB)
I use EasyTAG (Apps/EasyTAG - GNOME Wiki!) to scrub my mp4 files with embedded tags. It works well for me and removes what I need.
I scrub everything it finds. I have my libraries setup in plex to use local assets and metadata (as I use my own posters etc…) and they always come in clean then pulling the metadata from the online sources I want. Worth a look if you have not tried it.
Found a Simpsons episode that was not available but playable.
Grabbed a short video: https://1drv.ms/u/s!AoZvbq14icqxio9EFhOzTsVjbBZiag?e=AKm0Mn
Update:
Found that the issue is in the actual file names in my case. Previously 0501, 5x01, 501 worked but now it seems like I have to have S05E01 for Plex to find the files.
I have it in my machine and I didn’t know tt was able to edit mp4 tags. I used to use it for mp3.
Thanks a lot
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.