Not sure whether my problem necessarily reflects the common theme here in the thread but I’d like to chime in. I have PMS (1.22.3.4392) running natively on a DS920+ for some time now. On the morning of April 22th, everything seemed down (Docker containers, PMS, SSH access) but I could at least connect to the Syno GUI. Didn’t let me restart however and greeted me w/ the “blue LED of death” when looking into the closet. After a hard reset by pulling the current and back (not the wisest, I know), it started up all normally.
More or less the same thing happened overnight to today again apparently with the only difference that I couldn’t even get to the Syno GUI and that the LED wasn’t blinking but contantly blue as usual. Since I’m monitoring my Syno via a HASS integration I noticed that both times contact abruptly ended a few minutes after the scheduled jobs started at 2am. Sadly, I only turned on logging today but will keep you posted once it happens again.
PS: SMART shows no irregularities with the disks and the memory check via Syno Assistant finished uneventful as well. Could failing NVMe SSD cache contribute to this? Didn’t throw errors but I heard people complaining that they burn through it rather quickly.
Unrelated and nothing to do with Plex. I suggest contacting Synology
again, unrelated and off topic. Has nothing to do with this thread’s issue
Not too much off-topic though, @trumpy81 message got me thinking about /var/log, and indeed, I discovered PMS segfault entry for every crash I had before. This could mean a lot of different things of course, but I wonder if anyone else with crashes also has that, and if the pointers etc in the log might be similar to mine. My logs: Random crashes on DS216+II, DSM 6.2.3, PMS 1.22.3.4392 and earlier - #12 by enchained
Also, in case we won’t be able to figure out the cause soon, we may temporarily deal with those crashes via Task Scheduler restarts of PMS every N hours, or a script that checks the server state every N minutes and restarts if needed.
Plex Media Server Logs_2021-05-04_13-51-35.zip (4.6 MB) And AGAIN. Just about 10 minutes ago. Was in the car listening to it on Plexamp through Android music, a song ended, and another one was just starting and boom, the Play button becomes a Square and nothing. Get home, it shut itself down again
To anyone who is experiencing crashes for no apparent reason after updating: do you usually uninstall Plex in the DSM package manager before manually installing the new version? I never did the uninstall step, always installed Plex over the old version. The proper reinstall steps helped one user here, and also worked for me - no crashes since. You can find the instruction here: Synology FAQ (DSM 5 & 6) - Questions, Answers, and a few How-To's - #14 by ChuckPa
Well, that topic specifically refers to downgrading. You shouldn’t have to do that to update. No other app requires it. I don’t see how updating the regular way would lead to it occasionally randomly stopping itself
Yes, that topic title refers to the downgrading. But it tells “Changing versions (up or down)”, and also “This sequence is mandated by Synology.”, so it should be applicable both ways. While it may not be required for the update before indeed, it was very helpful and I’m not the only one affected. And trying a clear reinstall as a troubleshooting step often make sense with software.
I’m not a linux or synology specialist, but to think of it, if you not uninstall the software, it may leave some leftovers and mess things up. Even on windows, many installers force to uninstall before updating, it’s often part of the installation process.
Also, I’ve mentioned before in this thread about /var/log/kern.log and how every crash of PMS had a segfault entry in that log in my case. From the error codes it looked like it was trying to read a null pointer, which lead to an exception. In my opinion, null pointers may be a consequence of overwriting the install instead of reinstalling cleanly.
Nope, clean update doesn’t resolve the issue. Went to use it today and yet again the app was stopped. Just did another clean update this week. The only app I have with this problem
And AGAIN! Great update, incompetents. What a piece of crap
I am having the same issue, always with a segmentation fault that shows up in dmesg, on a DS918+, since a couple updates ago (sorry I can’t be more specific):
[115958.491471] Plex Media Serv[19883]: segfault at 7fee56d61498 ip 0000564341ba7676 sp 00007fee56f66540 error 4 in Plex Media Server[564341342000+987000]
Happened AGAIN today. Was driving listening to it on AA and all of a sudden the play button turns to a square and dead. I guess the wind was blowing. What a WONDERFUL piece of crap. It’s been over 3 months now. Logs have been provided, there’s been several server updates since and it’s STILL a repeated problem. Happened around 11 am this morning local time, oh, and NO, it isn’t resolved by clean installing the updates as that’s what I’ve been doing the past several.
This is also happening to me. There’s no specific period that it happens - can be a week or a month. There’s also no specific time either - can be 2am, 10am or 5pm. Usually not using it at the time however it has happened when watching something.
Current version I’m running is 1.23.3.4706-6000 (I know there’s an update but not installed it yet) BUT this isn’t the only version that has had this problem. It’s been happening for about a year now.
Synology DS1019+ all up-to date with current stable DSM version 6 (not 7)
My Synology is never turned off, all other apps I have on my Synology have been/ are always running fine. I do have DS video installed which I use as a fall-back but only installed this after Plex started shutting off.
I just started experiencing this issue as well. DSM 6.2.4-25556, PMS 1.23.5.4862-6000
First time it happened was today - noticed that PMS had stopped, while the rest of the NAS seemed to be running fine.
When I first walked to the (inconveniently located) NAS, it looked like the green status lights might have been off - thought perhaps the server had somehow gone in to hibernation mode? Logged in to the GUI (which was slower than normal to respond) - DSM indicated PMS was stopped. Not sure when or why. Used it to stream a movie last night, but was off ~12 hours later.
Weirdly when checking the bandwidth usage in Plex dash (after running PMS again), I have all kinds of weird little spikes when nothing is being played. No idea what they could be, but also not sure it’s related. Screengrab attached.
Updated to the latest PMS 7/23/2021 - everything was okay before that. Did not delete old version of PMS before installing new one as suggested earlier, but did stop the package before installation.
DSM shows 49 days up time with no interruptions or system dialogues.
If my logs can help, I’d be happy to upload them - though I’d probably need some instructions on how to do so!
I also experience the same problem. Plex will randomly shut itself down and then I have to manually “run” it again for the server to function properly. Everything else on my Synology drive functions properly without interruptions except for Plex.
I have exactly same problem. My synology shuts down plex server and then i have to manually restart it… It always have worked fine in the past and now i cannot use plex anymore… i am looking for alternatives
thanks @MinesweeperChampion for the tipp, actually I also searched quite a while why the PMS just stopped running
dmesg
was clear:
[8137200.555608] Out of memory: Kill process 11664 (Plex Media Serv) score 879 or sacrifice child
[8137200.565395] Killed process 11664 (Plex Media Serv) total-vm:18951160kB, anon-rss:9937080kB, file-rss:0k
seems that another greedy process was consuming up to 12 GB of RAM, yet kernel did some cleanup in the background killing PMS.
I have the same problem. Since a while the Plex Server randomly shuts down on my Synology.
I am also having a similar issue to everyone else.
The PMS randomly stopping yet my NAS hasn’t had any issue from what I can see.
Not sure when this actually happens either, but I don’t have any shutdown scripts and my NAS generally stays on 24/7.
Anyone have any ideas? Happy to upload logs if required.
I’ve had this problem for a few versions also, just to add to the numbers
Until the software is fixed is there a way to automate a restart of the app if it does stop?
(Probably more a Synology question but an idea)
EDIT: Found this, might have some use