Why does my main PC want to reboot when I'm installing PMS?

Hi all, I have PC, running Windows 10 Pro x64, and it wants to reboot every time I install a new version of Plex Media Server…

It happened to me yesterday, when I was installing Version 1.7.3.3937…

I’ve attached my installer logs for You to take a look on…

Can anyone find out why it wants to reboot, my laptop computer, which is also running a PMS, never wants to reboot when I am updating PMS…

Just ask if you need anymore information, my medialibrary resides on a QNAP NAS (TS-451A), in it’s default shared videos/music/pictures folders, that’s the only difference that I can see on my 2 computers (The laptop uses a Seagate External HDD for it’s medialibrary)

There is a windows system service called Plex Updater Service
It runs all the time.
So when you quit PMS, this service is still running.
The installer software detects this. Since it cannot end this system service, it just replaces all the files with the new versions and then asks the user to reboot the computer, so the new version of the system service is loaded as well.

Theoretically, if you quit both Plex server and the updater service before installing a new version, it should not ask you to reboot Windows.

@OttoKerner said:
There is a windows system service called Plex Updater Service
It runs all the time.
So when you quit PMS, this service is still running.
The installer software detects this. Since it cannot end this system service, it just replaces all the files with the new versions and then asks the user to reboot the computer, so the new version of the system service is loaded as well.

Theoretically, if you quit both Plex server and the updater service before installing a new version, it should not ask you to reboot Windows.

Otto, I think I am not understanding something. I have Windows 10 Pro as well and whenever I update I am never asked to reboot.

Are you saying I should be asked to reboot every time my PMS updates? I have never had that experience no matter if I update from within the web interface or if I update by downloading the latest PMS stop PMS and run the installer I have never been asked to reboot. I never manually stop any services I either just exit PMS or allow the downloaded installer to exit PMS through the web interface.

I am just trying to be sure there is not some problem waiting to bite me when I least expect it to.

@Elijah_Baley said:
Are you saying I should be asked to reboot every time my PMS updates? I have never had that experience no matter if I update from within the web interface or if I update by downloading the latest PMS stop PMS and run the installer I have never been asked to reboot.

No, you should not be asked to reboot.
The installer adapts to the situation. If none of Plex’s subroutine s is running anymore at the time of upgrade, it won’t ask.
Only if there is still a part of Plex in memory, you get the prompt.

Everybody’s system may be a little bit different. There may be anti virus software which likes to hold on to files a little bit longer - there may be differently powerful cps’s or too small RAM which slows things down.

Thanks @OttoKerner That was what I suspected, but the question is still: Why don’t I have to reboot my laptop? even if I upgrade PMS when it’s running, and also the plexupdate service is running, they just gets killed by the installer on my laptop, meaning NO reboot!?

Why doesn’t the installer kill the service on my main PC?

I am not running any special security software on it, just the inbuilt windows defender…

my main pc is running on an Intel Core i7 7700K@4.8GHz, and has 32GB of DDR4 RAM, and no other programs running, except Google Chrome and µTorrent and Emby Server… (which is the exact same setup as my slightly slower laptop with a Core i7 processor @3.0GHZ and 16GB DDR3 RAM )…

@ecsjjgg said:
Why doesn’t the installer kill the service on my main PC?

I have no idea, sorry.
As I said: Everybody’s system may be a little bit different. There may be anti virus software which likes to hold on to files a little bit longer - there may be differently powerful cps’s or too small RAM which slows things down.

I have now resolved my restarting woes, simply by reinstalling PMS on my D: drive instead of the default c:, and I also deleted the whole Plex Media Server directory in c:\Program -files (x86)… I have still got the plexupdate service disabled and stopped, just to be sure it won’t ask me to reboot my server anymore!