I’ve been using plex for yrs, and out of the blue I can’t seem to add any movies. I put the mp4 in my folder, run the scan library files, and it scans everything except the new movies I added. I haven’t done anything different then I’ve done in the past. Any ideas? Thanks
If you’d please verify DEBUG logging on, VERBOSE logging off,
then Scan Files and let it finish.
When complete Download Logs and attach the ZIP file it gives you.
Thanks Chuck. To be honest, I really don’t know what Debug and verbose is. I’m using ubuntu for the operating system. Could you walk me through it?
Plex/web UI.
Settings - Server - General - Show Advanced button
- DEBUG logging enabled
- VERBOSE logging disabled (unchecked)
Thanks Chuck. The two movies its passing over are Avengers Endgame (2019) and Long Shot (2019)
Here it’s seeing and scanning the file.
', 'name': "Marvel's the Avengers", 'filename': "%2Fhome%2Fdrew%2FDesktop%2FMovies%2FMarvel%2FMarvel's%20The%20Avengers%2Em4v", 'plexHash': '7fb19c72b8f7edc19ed412a0b823868e53e1dc49', 'duration': '-1', 'id': '4325'})
Plex Media Scanner.1.log:Aug 22, 2019 12:17:11.428 [0x7f026cd04740] DEBUG - Adding file for scanner: "/home/drew/Desktop/Movies/Marvel/Avengers Endgame (2019).m4v"
Plex Media Scanner.1.log:Aug 22, 2019 12:17:11.428 [0x7f026cd04740] DEBUG - Adding file for scanner: "/home/drew/Desktop/Movies/Marvel/Avengers Infinity War.m4v"
Plex Media Scanner.1.log:Aug 22, 2019 12:17:11.428 [0x7f026cd04740] DEBUG - Adding file for scanner: "/home/drew/Desktop/Movies/Marvel/Marvel's The Avengers.m4v"
Plex Media Scanner.1.log:Aug 22, 2019 12:17:11.428 [0x7f026cd04740] DEBUG - Adding file for scanner: "/home/drew/Desktop/Movies/Marvel/Avengers Age of Ultron.m4v"
Plex Media Scanner.2.log:Aug 21, 2019 20:59:29.809 [0x7fe545261740] DEBUG - Adding file for scanner: "/home/drew/Desktop/Movies/Marvel/Avengers Infinity War.m4v"
Plex Media Scanner.2.log:Aug 21, 2019 20:59:29.812 [0x7fe545261740] DEBUG - Adding file for scanner: "/home/drew/Desktop/Movies/Marvel/Marvel's The Avengers.m4v"
Plex Media Scanner.2.log:Aug 21, 2019 20:59:29.812 [0x7fe545261740] DEBUG - Adding file for scanner: "/home/drew/Desktop/Movies/Marvel/Avengers Age of Ultron.m4v"
Plex Media Scanner.2.log:Aug 21, 2019 20:59:30.236 [0x7fe545261740] DEBUG - * Scanning Avengers Age of Ultron
Plex Media Scanner.2.log:Aug 21, 2019 20:59:30.236 [0x7fe545261740] DEBUG - Looking for path match for [/home/drew/Desktop/Movies/Marvel/Avengers Age of Ultron.m4v]
Plex Media Scanner.2.log:Aug 21, 2019 20:59:30.271 [0x7fe545261740] DEBUG - Added new metadata item (Avengers Age of Ultron) with ID 7082
The actual match results have scrolled off the end of the buffer.
Given it got to this point without errors, and the name is valid, the only possibilities are:
- It was previously scanned and wrongfully matched as a bad name.
- Never matched in the first place due to embedded metadata which is lowering the match score below the threshold.
I would check the embedded metadata first. I tend to remove all metadata from files. It’s not needed when the file name is correct.
If this is ok, plex dance the media to force a fresh new scan (as if not previously seen)
I tried the plex dance, but it didn’t work. What’s the best way to remove all the metadata?
On Linux, I use mkvtoolnix GUI,
I can see all the metadata fields. It then reads the file, stripping the metadata, and writes it back out as I want. It does no alteration of the data streams.
The quicker tool, albeit a little bit to learn, mkvpropedit is the better way
Ok, I’ve used that program before on my Mac for other things. I’ll try it tonight and see if that gets these two files to work. Thanks again
Unfortunately that did not solve my issue either. I reviewed the log after I used mkv toolnix on the two movies, and you are right that it shows that they are still being scanned. They just aren’t in my library or able to be found? Same after trying the plex dance. I’m going to uninstall the plex server, then download a fresh copy to install and see if that fixes things.
Ok, tried a fresh install, updated everything and it still won’t put those movies in my library? There is nothing to remove as far as metadata with toolnix. I tried a mp4 version and a mkv version. It shows up in the logs, just not the library. Any other ideas perhaps? Thanks again
Hey Chuck, so I was able to get the movies I was having issues with to come up no problem with my Mac. So I figured it was an Ubuntu issue. I’ve now wiped it out, trying mint since it’s an old computer that I like to run as the plex server. Hoping to get these movies to load. Now I can get anything. Says there are no items in this library when I try to create a new one? I don’t know what’s going on?
Where is the media actually stored? In your home directory; On an internal drive; external USB, or a NAS ?
It’s on the internal hard drive.
/home/drew/desktop/plexmovies
I seem to have the identical problem running PLEX on a Synology DS1817+ NAS. The two mkv fIles are there but don’t appear after a scan is done. The scan seems to complete much faster than it did when it worked. The last successful scan was less than two weeks ago. Also, changes I make to existing files aren’t being picked up. As far as I’m aware no changes to software or configuraton have been made.
I upgraded my server to the latest version and that didn’t help.
I ran the Plex Media Scanner manually using the same parms as in the log file and that failed.
Doing a simple tree request also fails:
/volume1/@appstore/Plex Media Server>./Plex\ Media\ Scanner --tree
terminate called after throwing an instance of ‘boost::wrapexceptboost::bad_lexical_cast’
what(): bad lexical cast: source type value could not be interpreted as target
****** PLEX MEDIA SCANNER CRASHED, CRASH REPORT WRITTEN: /var/services/homes/myuserid/Library/Application Support/Plex Media Server/Crash Reports/1.16.5.1554-1e5ff713d/PLEX MEDIA SCANNER/7bea63d0-9e82-a311-5dbd7f65-50c48c66.dmp
Error in command line:the argument for option ‘–serverUuid’ should follow immediately after the equal sign
Crash Uploader options (all are required):
–directory arg Directory to scan for crash reports
–serverUuid arg UUID of the server that crashed
–userId arg User that owns this product
–platform arg Platform string
–platformVersion arg Platform version string
–vendor arg Vendor string
–device arg Device string
–model arg Device model string
–sentryUrl arg Sentry URL to upload to
–sentryKey arg Sentry Key for the project
–version arg Version of the product
Aborted (core dumped)
boost::wrapexcept seems to be some kind of conversion error so I tried to have a look at what was going on in the core but gdb doesn’t recognize the format of the dmp file.
Running the scanner with the --info option starts with:
Error: Cannot get information for a section yet…
Running the scanner with the --list option completes immediately and gives no output.
May I ask why you have relocated the Library (Plex Media Server Application Support Directory) structure to /var/services where it will never fit ?
I specifically place all metadata (the Library directory) on /volume1 to avoid filling up the DSM root directory which is very small compared the the data requirements of even a modest Plex installation.
I think I’ve got things working again. It seems to have been a permissions issue. I’m not very good with Linux, but slowly learning. If it helps anyone out I added plex to my user group in terminal.
Sudo gpasswd -a plex (user’s name)
Then I verified plex was in my user group by putting in and made sure it was added to my user with
groups plex
Now plex is finding my folder and movies in /home/user’s name/videos/plexmovies
Hope that helps someone if they are having the same issue as me
That’s correct.
When you put media in your home directory, You need to allow Plex into it.
Linux is very strict on permissions (it’s designed to keep thousands of simultaneous users from seeing each others’ files while allowing those who need to share them)
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.