Server crashing overnight and while playing videos

Server Version#: 1.13.8.5395
Player Version#: 7.6.1.7056

Every day I notice that my Plex server seems to crash, or while watching on my FireTV., it crashes and I log into my server, see the Plex server is not running but some other Plex processes are that I need to shut down before it will launch proplerly. Just happened today at 8:24

Plex Media Server Logs_2018-10-27_20-26-48.zip (2.6 MB)

Not sure what I should do.

Thank you for the logs
I can see there was a crash at 20:19:42 on Oct 27

I would like to see the response you get back for the following request which you can put as a url in a browser on the server
http://127.0.0.1:32400/library/metadata/638726?X-Plex-Token=xxxxxxxxxxxx
You will need to replace the xxxxxxxxxxx with the server security token - see this support article for how to find it https://support.plex.tv/articles/204059436-finding-an-authentication-token-x-plex-token/

Copy what gets displayed back into a text file and save it

Also could you download the database and send me the zip by private message

Hey there,

When I use that link and include my Plex Token it shows a “404 Not Found” page. I noticed I get a different token if I login through main Plext.tv site vs directly from my server through the local 127.0.0.1 address. I tried both tokens and got the same 404 error.

Sent database by PM. Thanks again for your help :slight_smile:

Hi - 404 means the item is gone. Actually looking at the crash and it was to do with database items being removed

What appears to have been happening is that you either have the same media files in different paths in the library with different file names or you actually moved the files.

The problem arose because a file was played back and then the duplicate or renamed file was discovered by the scanner but the playback state update could no longer find the database item because the scanner removed it

can you check if there is a file exists more than once in different files / paths
This.Is.Us.S03E04.720p.HDTV.x264-AVS.mkv
and it is actually the same file as
This.Is.Us.S03E04.720p.HDTV.x264-AVS[rarbg].mkv

Was it a rename ? or does it actually appear more than once in the library paths in different directories

I would like to know which it was so i can see what steps can be taken to stop the crashes

As a general point, you should ensure a video appears only once in your library as appearing more than once may result in Plex Media Server thinking it was moved / renamed.

Hi,

The file does exist in two places - once in a download folder where it was named This.Is.Us.S03E04.720p.HDTV.x264-AVS.mkv and then a second time because Sonarr copied the file into my main library where it was renamed to This.Is.Us.S03E04.720p.HDTV.x264-AVS[rarbg].mkv

Thanks,

Alessandro

It looked that way

Unfortunately Plex Media Server uses hashes to detect file renames and so when it saw the same hash elsewhere it assumed a rename and updated the database with the 2nd name.

The crash should I believe now stop with 1.13.9.5456 which has just been released as public release. However, the scanner may end up flip flopping from one to the other path as it detects the files