Server Version#: 1.21.3.4046
Player Version#: 4.52.2
The server crashes on a daily basis. This often happens when I open Plexamp but it may be happening before I open it. I’ve searched through the logs but can’t find any indication as to what is causing the crashes.
Note that for the uploaded logs, there has not yet been a crash today (March 5th 2021).
Plex Media Server Logs_2021-03-05_10-28-19.zip (2.5 MB)
If anyone can give me some indication as to what is going wrong I’d be much appreciative.
There are a few things happening.
-
The issue with PMS being slow to shut down when commanded; is known and already fixed. It will likely be in the next Plex Pass build.
-
Your machine (being Mint) is flaking out.
Mar 04, 2021 03:05:01.962 [0x7f86e0d52700] DEBUG - Shutting down with signal 15 (Terminated)
Mar 04, 2021 03:05:01.962 [0x7f86e0d52700] DEBUG - Ordered to stop server.
Mar 04, 2021 03:05:01.962 [0x7f86e0d52700] WARN - Timed out waiting for server to finish.
Mar 04, 2021 03:05:01.962 [0x7f86ea881e80] DEBUG - Stopping server...
Mar 04, 2021 03:05:01.962 [0x7f86ea881e80] DEBUG - HttpServer: Stopping server.
Mar 04, 2021 03:05:01.967 [0x7f86757fa700] DEBUG - TranscodeJobManager: [Running] onServerShutdown
Mar 04, 2021 03:05:01.967 [0x7f86757fa700] DEBUG - TranscodeJobManager: [Running] -> [Shutdown]
Mar 04, 2021 03:05:01.970 [0x7f86757fa700] DEBUG - MetadataItemClusterRequestHandler: a shutdown event has been received
Mar 04, 2021 03:05:01.970 [0x7f86ea881e80] DEBUG - Server stopped.
Mar 04, 2021 03:05:01.970 [0x7f86ea881e80] DEBUG - NetworkService: Stopping advertisement.
Mar 04, 2021 03:05:01.970 [0x7f86ea881e80] DEBUG - Killing plug-ins.
Mar 04, 2021 03:05:01.995 [0x7f864e7fc700] WARN - [Notify] Received unexpected inotify event: 8192
Mar 04, 2021 03:05:01.995 [0x7f864e7fc700] WARN - [Notify] Received unexpected inotify event: 8192
Mar 04, 2021 03:05:01.995 [0x7f864e7fc700] WARN - [Notify] Received unexpected inotify event: 8192
Mar 04, 2021 03:05:01.995 [0x7f864e7fc700] WARN - [Notify] Received unexpected inotify event: 8192
Mar 04, 2021 03:05:01.995 [0x7f864e7fc700] WARN - [Notify] Received unexpected inotify event: 8192
Mar 04, 2021 03:05:01.995 [0x7f864e7fc700] WARN - [Notify] Received unexpected inotify event: 8192
Mar 04, 2021 03:05:01.995 [0x7f864e7fc700] WARN - [Notify] Received unexpected inotify event: 8192
Nobody has ever been able to figure out why but Mint just “flakes out”. For that reason, it’s not supported. Yes, it may be a Ubuntu derivative but it’s just that “a derivative” with something important changed somewhere. PMS and Mint do not get long well.
Awesome thank you. How do you suggest switching over to ubuntu? What data can I back up to make a transfer to a fresh ubuntu install seamless?
All my content is stored on external ntfs drives so that parts easy, and I’ll copy my /etc/fstab, but the databases and personal settings, how would I go about exporting and importing those?
@lukakamaps_gmail_com
Migrating PMS from distro to distro:
I tend to cheat 
- Copy important files to
/home
- When I switch kernel installs, I don’t let it format the
/home partition.
- After the new kernel is installed on
/, I use what’s saved on /home in the new OS instance.
There are Linux Tips for helping with the NTFS mounts again so that’s not going to be a problem.
The thing to save, presuming you intend to mount the media at exactly the same place as before, is:
sudo bash
systemctl stop plexmediaserver
cd /var/lib/plexmediaserver
tar cf /path/to/someplace/safe/PlexBackup.tar ./Library
(^ I save my PlexBackup.tar on /home ) – this is my cheat
When you are done with new OS setup,
after PMS install, reverse the process with one addition after restore sudo chown -R plex:plex /var/lib/plexmediaserver