Lately, Plex stops running on my QNap NAS. I have to go to the NAS interface, stop Plex and restart it. I’m not sure when it started or with what version of server software. Any insights into how to keep the server running?
Hi
I don’t mean to hyjack this conversation, but I have just had the same issue just over the last couple of days, @ChuckPa What logs do you need and how do I get them?
It has just has a plex server update on monday PlexMediaServer-1.24.5.5173-8dcc73a59-x86_64 and I’m wondering if this is part of the issue?
TIA
Thanks dane22, I’ve got the logs zipped up ready but unsure these are secure on a live forum how do I (from an old chuck post ) “Check your PM. You may attach your logs there”? not sure what this means. Sorry in advance
I am having the same “cannot connect” problem as @sayermd.
PMS stopped working after I installed the last (or second to last) QTS.
I tried to start PMS from a remote ssh terminal: went to “/etc/init.d/”, and from there ran “sudo ./plex.sh start”, but a few seconds after the “Starting Plex Media Server…” message, I got an error saying “./plex.sh: line 195: ./Plex Media Server: is a directory”.
This has been an ongoing issue for me for at least a year. I try to stay updates on PMS, and somewhat slower on QTS (Because Plex devs are more trustworthy than QNAP in my experience ) I’d just have to log in to QTS and stop/start service after power cycle- annoying, but no big deal. Didn’t feel like creating scripts to solve, and assumed it would eventually get fixed by a Plex or QNAP update.
Since upgrade to QTS 5 it’s gone from only being unresponsive after NAS reboot, to happening randomly throughout the day with or without power cycle. Multiple users contacted me over the last 24 hours about it being down.
If the service actually stopped, or any alert trigger could be configured- cool, I’ll just manually kick the daemon, but it’s more like a hang, which is not really as [easily] detectable.
QNAP Model TS-563
QTS v5.0.0.1837 (Installed 11/2/21)
PMS v 1.24.5.5173 (Installed 11/2/21)
QTS resources appear to be reasonable:
@ChuckPa please PM me and I’ll upload logs in case they’re helpful.
Nothing in the logs jumps out to me, but I don’t look at PMS logs as much as I do others; I’m happy to use my server as a debug for solving this for everyone- we can do evil to it as necessary
[~] # cd /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/
[/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer] # ./plex.sh start
Starting Plex Media Server...
./plex.sh: line 195: ./Plex Media Server: is a directory
[/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer] #
These are the contents of the directory:
# ls
CrashUploader* lib/ Plex Commercial Skipper* Plex Media Fingerprinter* Plex Media Server@ Plex Relay* plex.sh* Plex Transcoder* @Recently-Snapshot/
etc/ Library/ Plex DLNA Server* Plex Media Scanner* Plex Media Server Tests* Plex Script Host* Plex SQLite* Plex Tuner Service* Resources/
And regarding the “Plex Media Server” file:
lrwxrwxrwx 1 admin administrators 69 2021-10-28 15:50 Plex Media Server -> /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Library/Plex Media Server/
“Plex Media Server” points to a directory instead of to an executable file, in a kind of circular reference.