TechieGuy12 / PlexServerAutoUpdater

Automatically update Plex when running the Plex service.
MIT License
118 stars 10 forks source link

Plex update seems to remove LocalAppDataPath from registry #60

Open KrizzyB opened 1 year ago

KrizzyB commented 1 year ago

I have noticed recently that after an automatic update is run, the registy key "LocalAppDataPath" is deleted and Plex returns to it's default settings. I have re-added this key a few times but it is always removed after an update. Also the auto updater will not work when this key is deleted as it cannot find the data directory.

I suspect this is Plex removing this key, however it may be worth adding functionality to the updater to ensure the "LocalAppDataPath" key is still in place afer an update?

ggulla commented 1 year ago

I am also experiencing this. I ran the psupdate.exe with the GUI to try and see where it's failing and it starts the update but then once it attempts to restart the Plex service it gives an error that it cannot find the data directory.

TempestWales commented 12 months ago

This is by design, I had the same issue, essentially you can't use the SYSTEM account to run Plex anymore (for security purposes) and you will need to change is to a named user with admin rights. Once that's done the LocalAppDataPath key isn't deleted.