

It’s mainly present on Nvidia Shield and Fire TV and it can be quite a dealbreaker. This is far from an elegant solution, but as I'm pressed for time, it's a solution.Home › Fix › Your connection is not fast enough Plex error Įven though Plex is a more-than-reliable Media Server solution for a plethora of devices, users are seeking for the solution of the awkward connection problem. If curl -s -head -request GET | grep "200 OK" > /dev/$ #Check to see that plex is acessable locally, if yes then exit The second script checks to see if it can access plex media server locally, if not then it restarts the plex service. #Check if the vm can access, if yes then exit

PATH=/opt/someApp/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/$ Simply restarting network-manager didn't work. The first checks if the internet is working, if not it restarts the VM. So, I have split the solution into two simple bash scripts that I call from cron. Ok, after doing a little more research on my problems, it turns out I have two different issues, sometimes the VM looses it's bridged connection and sometimes the plex media server crashes. Hopefully someone can help me out with this. I found this post and script but it's very old and outdated. I guess as it's a desktop instalation to restart the network the script needs to use service network-manager restart. Plex is installed as a service so the call service plexmediaserver restart is how I restart it. I need a little help with a script that I can call via cron to check if the server is remote accessible, if it can reach (please note it only responds to https), if it's not accessible, restart the internet connection (eth0), then check again if it's remote accessible, if it's still not remote accessible then restart the plex media server.

Sometimes it's plex itself that crashes and needs to be restarted and sometimes it's the internet connection (eth0) that needs to be restarted. Recently I've been plagued with connection issues. I use it while I'm away on work during the week. I am running a plex media server for private use on a Ubuntu 16.04 Desktop VM at home.
