Forums

Resolved
0 votes
I've noticed that the Plex service always stops on Friday. Are there more people having this issue?
Saturday, February 22 2020, 12:10 PM
Share this post:
Responses (3)
  • Accepted Answer

    Sunday, February 23 2020, 02:20 PM - #Permalink
    Resolved
    0 votes
    Every week around Friday Plex Media Server is in stopped state when I come home from work. I think your right about the updates causing Plex to stop. A bit strange it not auto start after the update. I have a lifetime subscription on Plex. I have it for a long time. I purchased it when it was still cheap.
    The reply is currently minimized Show
  • Accepted Answer

    Saturday, February 22 2020, 01:29 PM - #Permalink
    Resolved
    0 votes
    Probably a Safari update!

    For Plex, years ago I implemented my own service watcher because any time it updated, it would not restart automatically. In cron.hourly I have a file with:
    #!/bin/bash

    #----------------------------------------------------------------------------------
    #
    # A simple service watcher cut down from /usr/clearos/apps/base/deploy/servicewatch
    #
    #----------------------------------------------------------------------------------


    DAEMONS="plexmediaserver"
    LOGGER="/usr/bin/logger -p local6.notice -t servicewatch-njh"

    for DAEMON in $DAEMONS; do
    IS_ENABLED=`systemctl is-enabled $DAEMON 2>/dev/null | grep enabled`
    if [ -n "$IS_ENABLED" ]; then
    systemctl is-active $DAEMON --quiet
    if [ $? -ne 0 ]; then
    systemctl start $DAEMON
    $LOGGER "restarting $DAEMON"
    fi
    fi
    done
    But is has not logged anything in my current logs.

    IIRC you subscribe to Plex. Do you get regular app updates from them? If so, they could be causing the stoppage.
    The reply is currently minimized Show
  • Accepted Answer

    Saturday, February 22 2020, 12:13 PM - #Permalink
    Resolved
    0 votes
    Hurray, I can again edit posts with Safari!!! :)
    The reply is currently minimized Show
Your Reply