Analyze function no longer working. All new Video and Audio is "None" and won't play

Server Version#: 1.40.1.8120-6dc7f7fd8
Player Version#: MacOS 1.87.2.87-87488d5a & Web 4.123.2
Since about 48 hours ago, no videos added to Plex are being properly analyzed as they all show “None” for Video and Audio and will not play.

MacOS Player error

Playback Error
An unknown error occurred (4294967283)
Error code: 4294967283

The manual Alalyze funtion for a video just spins indefinitely without doing anything.

Should note that all the files in question playback fine in MacOS in the QuickTime player and other players.

Any idea what the issue is, or how to fix?

Tried restarting the Server and the Mac it’s running on a couple times.

1 Like

Curiously, though the Analyze function does not work, if I manually Unmatch and then manually re-Match them one at a time, it fixes the issue for that video. :thinking:

Please run the server with debug server logging enabled - should be by default.
Relaunch the server to get fresh logs created

Reproduce the issue with the analyze and then capture the server logs and screenshot/ time of the error

I don’t know my way around the 153 log files it produces. Which file/s am I looking at?

When you download the server logs through Plex Web, all the log files are in a zip file. So just attach the zip file together with the info about what was being analyzed and what was wrong. I may need the database download as well - but we can decide on that once I look at the logs

This is happening for me as well. Content already in Plex plays fine, but everything newly added has no video or audio and throws up an Error code: s1001 (Network).
The logs indicate Transcode MDE: video has neither a video stream nor an audio stream
Then… MDE: no compatible media decisions are available.
I can play the files locally and even remotely using VLC, but Plex won’t budge on not playing them.
Version 1.40.1.8120 running on MacOS X 10.13.6 (old Mac mini Server dedicated to this)

Here are the logs from right after adding a movie called " The Beat That My Heart Skipped" and seeing the problem.

Plex Media Server Logs_2024-02-26_12-49-31.zip (4.4 MB)


Thank you - the last scanner analysis logs in the zip are from 1.40.0.7998 - it seems that the scanner processes are being killed just after they are started

Could you do some tests for me and get logs for each

  • create a test library and just have one movie in that test library media folder path. and gather logs

Then please exit Plex Media Server and switch back to the public release 1.40.0.7998 and see if the problem goes away - please gather logs for this test as well

Could you provide debug server logs showing a scan not detecting the codecs so I can compare with the logs from @mpmagin

Thanks

Further to my earlier response, when you added The Beat That My Heart Skipped movie, the server scanned the whole movies library - could you tell me if the same issue arises when adding one movie if you run with this server setting in Library server settings “Run a partial scan when changes are detected

I changed that setting, but the same result. The newly added item has None/None for Video and Audio and wont’ play.

If I Unmatch it and then manually Match it, then it’s fine, as I was able to do before with the others.

Oddly for “The Beat That My Heart Skipped” I copied it out, and deleted it, and then re-added with the same None/None result, but now for that one at least, the Unmatch/Match steps no longer work to correct it for that one, which is very odd.

Plex Media Server Logs_2024-02-28_00-06-54.zip (1.3 MB)

Hopefully this is helpful.

Sorru but the logs are no good. The logs are without debug server logging. You must have disabled debug logging as it is enabled by default - please see Reporting issues with Plex Media Server | Plex Support

The times below show when you switched versions / upgraded. Did this problem come in with the switch to 1.40.1.8120 ?

1.40.0.7997	Feb 08, 2024 21:19:37
1.40.1.8111	Feb 22, 2024 19:28:04
1.40.1.8120	Feb 22, 2024 21:53:53

I notice some media analysis errors before 1.40.1.8120 - on the 22nd when on 1.40.0.7997 - was this a different issue and only with some media files? The errors were when processing media files in TheVault/Downloads folder - (error=-1094995529): Invalid data found when processing input) - maybe these files were being analyzed whilst they were being written to and were not complete files.

To get the right logging for the issue you reported of no codecs, could you please enable debug logging, restart the Plex Media Server and repeat the steps to reproduce the porblem (adding new media to a library and failing to playback) and then capture the server logs

As a side, I noticed in the latest logs some other issue which I would like to follow up - some memory allocation errors - for this I would need both verbose and debug logging and also manual changes to the server hidden settings to add memory usage logging. We can look into this separately afterwards -
Example of the memory allocation error

Feb 28, 2024 00:06:35.064 [0x70000f3bb000] WARN - Error replying to broadcast packet: send_to: Cannot allocate memory [system:12 at /System/Volumes/Data/data/actions-runner/_work/plex-media-server/plex-media-server/build/dependencies/plex-media-server/standard-x86_64-apple-darwin-macos/boost/include/boost/asio/detail/reactive_socket_service.hpp:261]

The hidden setting for logging memory use is LogMemoryUse - see Advanced, Hidden Server Settings | Plex Support
so it would be
defaults write com.plexapp.plexmediaserver LogMemoryUse -bool TRUE

But lets leave this till after the analyze / scanner investigation and when we have full debug logs and can see if it still arising

Hello sa2000!
I do suspect it began around the time of that update. I feel like it’s been about a week since it started happening.
I store my media on an external hard drive after I import it to the internal drive and Plex can be quite aggressive about scanning before the file has finished copying over, so that would be a good reason for the earlier errors, although it would always scan again when the copy was complete and the media would then be added correctly and be playable.
I have enabled debug logging and removed and re-added a recent recording and it had the same unplayable result. Please see the logs attached.
I would be happy to turn on the verbose and memory debugging and work with you on the memory error afterwards, either here or in another conversation.
Plex Media Server Logs_2024-02-28_16-07-37.zip (1.1 MB)

As a point of reference, my same/similar issues also started about 4-5 days ago, which would coincide with the update to v1.40.1.8120

@mpmchugh @curtise the logs from your systems show the same issue with the scanner jobs being killed off by PMS just after being started

Can you please go back to the public release available from here https://plex.tv/downloads and confirm that it works ok on this release - release being 1.40.0.7998 and confirm problem does not arise. Please run with debug logging enabled and let me have server logs with this version after adding new media and playback ok

Thanks

That version is working perfectly. Not only does adding work again, but even items that had been added but wouldn’t play started working immediately without needing to remove and re-add them. (I did remove and re-add the media for the sake of testing and logging as requested)
Plex Media Server Logs_2024-02-29_13-21-33.zip (2.5 MB)

Thank you for confirming.

It is on-the-fly media analysis that is being done

Thanks for the logs

1 Like

The previous version—v.1.40.0.7998-c29d4c0c8—also solved the problems with adding media for me as well. Here are the latest logs, since the down-grade.
Plex Media Server Logs_2024-03-02_18-24-04.zip (5.4 MB)

Thank you

This has been referred to the development team