[Very Popular] Restart Plex Server From MyPlex


Thanks

I had another instance today where I could not access my server, and I had no way to restart it in order to view content… I was out of the house, and splashtop on my phone is terrible (as of late). When I got home, it said the server was mapped correctly, but myPlex was still unable to connect to the server via my phone. Restarting manually did fix it. A simple restart from myPlex would have been really helpful today, as I was out and about without my precious content all day :frowning:


quick catch-22 thought, but if myPlex was not connecting, how was a restart via myPlex going to be able to restart it? :)

Thanks for the votes everyone

I use "Unified Remote" to execte a batchfile on the remote PC to close the processes and restart server.

Of course, I haven't implemented any sort of VPN so it doesn't work on cellular connections, but at home on wifi it works.

Apart from the crashed app or locked-up server issue, and maybe this is just my “all things Plex” naivete because I haven’t seen anybody mention it, but wouldn’t this feature be perfect for after you update plugins?

Apart from the crashed app or locked-up server issue, and maybe this is just my "all things Plex" naivete because I haven't seen anybody mention it, but wouldn't this feature be perfect for after you update plugins?

There is no need to restart the server post a channel (plugins) update.

Thanks for the reply Trudge.  The reason I asked was because when I select "Download updates" within the Unsupported Appstore specifically it returns, "Updates have been applied. Restart PMS for changes to take effect."

Keep the votes coming  :D

I am sorry but I just have to weigh in saying that this is seems like a useless request I'm not sure about windows machines but if you have my plex running for mac os x or linux it's easy to do this by opening up port 22 and doing a ssh into the box by using the ip that you get from myplex when you log into plex/Web from a remote machine then it's just

> ssh username@ipaddress
> ps -A | grep -i 'plex'

Find the process number and do a

kill -9 processnumber
open -a Plex\ Media\ Server

I know open doesn't work on linux but I am sure someone can provide the proper way of launching an app using linux I bleive it's just calling the full path, and I am also sure there are solutions that you can use on windows.  These have the added bonus of actually working when you the media server becomes unresponsive which would not work from myplex.  I can understand that the solution that I am proposing will not work for all users but there are things out there that are way higher priorities for the plex team than this. 

I am sorry but I just have to weigh in saying that this is seems like a useless request I'm not sure about windows machines but if you have my plex running for mac os x or linux it's easy to do this by opening up port 22 and doing a ssh into the box by using the ip that you get from myplex when you log into plex/Web from a remote machine then it's just

> ssh username@ipaddress
> ps -A | grep -i 'plex'

Find the process number and do a

kill -9 processnumber
open -a Plex\ Media\ Server

I know open doesn't work on linux but I am sure someone can provide the proper way of launching an app using linux I bleive it's just calling the full path, and I am also sure there are solutions that you can use on windows.  These have the added bonus of actually working when you the media server becomes unresponsive which would not work from myplex.  I can understand that the solution that I am proposing will not work for all users but there are things out there that are way higher priorities for the plex team than this. 

Or make it even more easy by just added a restart button on myPlex.. i shouldnt have to ssh into my mac to restart Plex when it can be added to myPlex. This is a place to ask for features it has nothing to do with "priorities" 

Or make it even more easy by just added a restart button on myPlex.. i shouldnt have to ssh into my mac to restart Plex when it can be added to myPlex. This is a place to ask for features it has nothing to do with "priorities" 

However the number 1 reason to restart your server is if it becomes unresponsive, and if it becomes unresponsive then the button on myPlex would not work, so I guess I don't see the point to this.

+1

+1

+1

+1

Thanks

Keep the up votes coming  :D

Are you really going to bump this every week till its a feature?


-1

Solved this a while ago with a regular restart of the plex service ( every 12 hours; "sudo stop plexmediaserver; sudo start plexmediaserver" ).

With the way the clients cache, it's possible to be watching something at the time of the restart and not even notice!


Root problem solved, without any sort of messy work on the web interface, how things work, or client changes.

Why not just ssh in and restart it? Why not just make a bash/batch script to do that? Like others have said, the only time you'd want to restart the server is if the server isn't working, and, well, **if the server isn't working I highly doubt it'll be working enough for myplex to kick in**.

The only way this would be useful is if the myplex restart process was on it's own dedicated process/thread that wouldn't be affected if every other thread in the PMS died.

both plex HT and server would be nice to start/restart from myplex web or iOS