Plex falls alone

When do your scheduled tasks run?

I’ve disabled them all, I think. Where could I see the tasks programs that Ubuntu has by default?

All the crontabs are in /var/spool/cron/crontabs

There I only have 4 tasks so that when the server restarts 4 filesystems are mounted, that’s not it either :frowning:

Do you have tautulli installed? It might help log what’s playing when it stops and find either the title or if nothing is playing at all.

Ok, I already have it installed. Any special configuration or just wait for the outage to occur again?

Yesterday I updated Plex and one of the things they fixed was Plex crashing just reading some XMLTV files. Could it be that this was what caused these falls?

It keeps happening to me, I don’t know what to look at anymore… it’s desperate

What is Plex looking for? Do you have logs?

I’m sorry for the delay. I’ve been overloaded with cases and responding.

It happened to me twice yesterday, once at 10:00 p.m. and something (those logs have already rotated) and again at 0:00 a.m. and something that are the logs that I attach here and it is the usual thing that apparently falls by itself. In Tautulli I have not seen anything if you wish and tell me how I attach the tautulli logs

It keeps happening to me all the time… Does it keep happening to you?

Guys, I have something which might be helpful

What it looks like here for you is There is corruption down deep in the database.
PMS can’t find it but keeps failing when it tries to use that data.

I’ve been working on my PlexDBRepair tool.
I now can import Watchlist/ history from another database.

This is helpful because:

  1. You can move your existing server off to the side (where its database isn’t accessed)

  2. Create a fresh server WITH A CLEAN DATABASE

  3. After you’ve scanned all your media back in,

  • Load my utility on your host
  • Stop Plex
  • Start the utility
  • Tell it to import your watchlist/history from your old database.
  • Have it do a super optimizing of the DB (really works well) while there
  • Start PMS up again

Now you’ll have a fresh server with all your previous watch history.

Might this be an option?

It makes no sense that the failure is in the database, if that were the case, ONLY Plex would crash, the entire server and all the services it has would not crash. Even you don’t have access to the server in 2-3 minutes

If the entire machine is crashing, you must fix that first.
It’s either hardware or software.
Either way, there’s nothing anyone here can help with until the system crash is resolved.

Great I will give it a try. I am out of town and probably won’t be able to test this out for a few days, but I will report back or let you know if I run into any issues. Should I grab the latest version from Releases Ā· ChuckPa/PlexDBRepair Ā· GitHub?

Also, for me this in only happening for the Plex server service not my entire system. lastly is there a way to increase the log size? Typically if I am not awake when the service restarts the logs are no longer available.

Yes this still happens to me, sometimes several times a day/night. This started some time in the May/June time frame for me.

It started on the same dates for me… too much of a coincidence, don’t you think?

Yes, Always grab latest release

  1. Stop Plex
  2. In Preferences.xml, add LogNumFiles="10" before the closing /> to give you 10 rollovers instead of the default 5.

Be certain to use a Linux text editor to do this. (Windows editors will break it)

I am really concerned here.

  1. Does the host fail ?
    -OR-
  2. Does PMS fail ?
    -OR-
  3. Does PMS ā€œstallā€ and then recover by itself without human intervention ?

You two should not be seeing this. It’s long overdue to find and resolve this