TechieGuy12/PlexServerAutoUpdater

Updater cant find new version

ressof opened this issue · 13 comments

Hi

When I run the updater it cant find the new update.

I attached the log file.
plex-updater.txt

Hi,

Can you verify that the following registry path exists for the user that runs the Plex service:
HKEY_CURRENT_USER\SOFTWARE\Plex, Inc.\Plex Media Server\

Hi

Yes the registry path exists.

When you looked for the registry path you were logged in with the same user that runs the Plex Service?

Does the LocalAppDataPath value in the registry path exist? The log file indicates it can't get this path from the registry for the user that runs the Plex Service.

That is unusual. Did you run Plex under the user before using the service? Usually Plex would create the registry keys.

Anyway, you can manually create the LocalAppDataPath by creating it as a string value and then enter the path to where the Plex Media Server is located - usually in %LocalAppData%.

For example, if the Plex Media Server is located in C:\Users[user ID]\AppData\Local\Plex Media Server, then you would just enter C:\Users[user ID]\AppData\Local as the value LocalAppDataPath value.

I added the LocalAppDataPath to registry but it didnt help.

Here is the latest log file:
2018-04-26 07:03:59 Getting windows user.
2018-04-26 07:03:59 Checking if user is an administrator.
2018-04-26 07:03:59 Initializing the update window.
2018-04-26 07:03:59 Initializing the Plex media server object.
2018-04-26 07:03:59 Getting the service user.
2018-04-26 07:03:59 The Plex service is installed. Let's get the user associated with the service.
2018-04-26 07:03:59 The Plex service user: NUC\plex.
2018-04-26 07:03:59 Get the local data folder for Plex.
2018-04-26 07:03:59 Plex local data folder: C:\Users\plex\AppData\Local
2018-04-26 07:03:59 Verify the updates folder is specified.
2018-04-26 07:03:59 Getting ready to download the latest package.
2018-04-26 07:03:59 Checking for the latest version from Plex.
2018-04-26 07:03:59 Could not get the latest version information from Plex.
2018-04-26 07:03:59 The latest Windows version has not been specified.
2018-04-26 07:03:59 The latest available installation could not be downloaded.
2018-04-26 07:03:59 Verify the updates folder, C:\Users\plex\AppData\Local\Plex Media Server\Updates exists.
2018-04-26 07:03:59 Checking to see if updates folder exists.
2018-04-26 07:03:59 Updates folder does not exist. Looks like a new install.
2018-04-26 07:03:59 Displaying the update window.
2018-04-26 07:04:02 Closing the application.

Do you have any solution for this problem?

It appears the update can't get the value of a Plex registry value from the registry. The updater is looking for the 'ButlerUpdateChannel' value in the registry under 'HKEY_CURRENT_USER\Software\Plex, Inc.\Plex Media Server' for the user that is running Plex. Does this value exist in the registry?

I didn't have that value in registry. I created a StringValue with that name and entered my plex username. But it doesn't work.
plex-updater.txt

Hi the value of 'ButlerUpdateChannel' should be either 8 for Plex Pass or 0 for the public release of Plex.

I have release version 0.1.7.0 that should default to the latest public release if the registry keys are missing.

I have to wait to next release when I accidental updated to latest version

Did you manage to run the updater with the latest version of Plex?