Plex Media Server keeps crashing

sure.

uninstall this binary.
install the older version.

I think you have breakage in there somewhere but no idea where / how this is going to manifest.

Yeah, crashed with 1.22.3.4392 installed.

:sob:

Ok…

Big Hammer time.

  1. Sign out of Plex/web (upper right) (MOST IMPORTANT)
  2. Stop the server
  3. File station
  4. Navigate to the Plex shared folder
  5. Rename Library to Library.keep
  6. Start the server
  7. Wait 2 minutes
  8. Open the server http://ip.addr.of.syno:32400/web

Don’t make a mistake here

  1. Acknowledge you’ve got a new server
  2. Sign it
  3. GIVE IT A DIFFERENT & UNIQUE FRIENDLY NAME (do not let it collide with the default)
  4. Now continue to setup normally.
  5. Set Preferences accordingly.
  6. Test drive this Unique Test Server when done

So… uhh… does this mean I’m going to lose all of the watch history, etc?

Only temporarily

It will look like a new server,

I’m trying to figure out where the problem is.

This is the easiest way to separate PMS from DSM.

Okay, that’s done. It’s just adding the libraries in.

Ran it all day today, playing media with transcoding. No issues…

…other than everyone messaging me “Uhh… is Plex down?”

What’s next?

Start sharing this temporary server with them. Tell them what we’re doing.

Now it’s time to put a load on it.

Another day down, no crashes.

Played 1.5 days worth of media: 67 tv shows, 2 movies, 4K, 1080p, direct play, transcoded, local and remote streams. At one point I had 7 concurrent streams going while playing Gemini Man @ 4K, 60fps, no issues (still a crappy movie though…).

Actually I have similar issue, will stay to wait for results

No issues, no crashes.

How do I get this back to “normal” with watch status, etc?

If I can help make this a bit easier / customized …

ssh into it.

sudo bash
alias SQLITE="/var/packages/Plex\ Media\ Server/target/Plex\ Media\ Server --sqlite"

cd "/volume1/Plex/Library.keep/Application Support/Plex Media Server/Plug-in Support/Databases"

echo ".dump metadata_item_settings" | SQLITE ​com.plexapp.plugins.library.db | grep -v TABLE | grep -v INDEX > settings.sql

cp settings.sql "/volume1/Plex/Library/Application Support/Plex Media Server/Plug-in Support/Databases"

cd "/volume1/Plex/Library/Application Support/Plex Media Server/Plug-in Support/Databases"

# look to see it's all here.  (including the `settings.sql` file)
ls -la

# Make certain PMS is stopped
SQLITE com.plexapp.plugins.library.db < settings.sql

# Done :)

Give me a moment to verify my typing please before using.

OK. looks good

Thanks!

I’ll report back when I get it completed.

If something doesn’t seem right, post back Asap.

I’m in a meeting and watching when I can.
Trumpy is keeping an eye on you.

@ChuckPa @trumpy81

Errmm.. nope… still looks the same:

Started it back up, and the watched status is the same.

Something tells me i’m not supposed to have two of these:

@ChuckPa @trumpy81

Okay, first problem found: hidden character here:

Screen Shot 2021-05-05 at 7.34.51 PM

Fixed using notepad.

This looks better:

But then I got this, starting at “3”:

Do I start it?

Sorry for delay. Just got out of meeting.

Did this statement give you problems?

echo ".dump metadata_item_settings" | SQLITE ​com.plexapp.plugins.library.db | grep -v TABLE | grep -v INDEX > settings.sql

Yeah, i got it fixed, see above.

I’ll let you catch up.