Start-Process -FilePath "C:\Program Files (x86)\Plex\Plex Media Server\Plex Media Server.exe"ĮlseIf($PMS. $PMS = Get-Process -Name "plex media server" -ErrorAction Silentl圜ontinue The script is quite simple and is launched as a Scheduled Task to run on startup with a delay.
RESTART PLEX MEDIA SERVER WINDOWS UPGRADE
Plex Media Server Logs12-16-13.zip (2.3 MB) Logs from the server just after the latest upgrade was installed and my attempt to restart and then start as well and then finally having to restart the ubuntu server itself. You need to assign a host port that will hit port 5000 in the container, this port will lead you to the web UI. There's 2 mandatory variables: PLEXURL and PLEXTOKEN You need to mount your media the same way it's mounted in plex. One last thing that I configured was to have a script running that would check if the “Plex Media Server.exe” process was running and if it wasn’t, then start it. (looks like port releasing issue) Scubatampa April 25, 2020, 4:19pm 2. Configure the network like you want, just be sure clipplex has access to your plex instance. Windows Components/Windows Update/Manage end user experience Turn off auto-restart for updates during active hours Windows Components/Windows Update/Legacy Policies No auto-restart with logged on users There are also some optional local policies to configure for when windows updates reboot your PC to make sure that your Plex Server is running after updates. Windows Components/Windows Logon Options Configure the mode of automatic signing in Sign-in and Lock last interactive user These are the policies that you need to configure:Ĭomputer Configuration/ Administrative Templates There are some other ways to make it work which include using local GPOs to have a user login on startup and lock to prevent the session to be used unless the password is entered. There is an unofficial method of running Plex Server as a service though there are limitations with updated etc. Hopefully they will work for you too!!īasically Plex installs as a user and not as a service. I read a lot of posts to get find the best solution for me.
RESTART PLEX MEDIA SERVER WINDOWS INSTALL
With Plex for Windows the Plex Media Server process is regularly not running and needs a user account to install as and run as that user. Having used plex for Synology for many years, I switched to Plex for Windows for 4k transcoding and the execution is not great.