Closed SAS-1 closed 1 year ago
found the issue its due to the 32-bit and 64-bit versions now in the file amend line 783 to if([int](Invoke-WebRequest -Headers $headers -Uri $releaseUrl[0] -OutFile "$LocalAppDataPath\Plex Media Server\Updates\$releaseVersion-$releaseBuild\Plex-Media-Server-$releaseVersion-$releaseBuild.exe" -PassThru -OutVariable response).StatusCode -eq 200){ will allow the 32-bit version to download, but not worked out how to get the 64-bit yet
Hi
I noticed that the updates were no longer automatically working, on checking I am getting the following
` Update-PlexMediaServer Verifying Server Online Authentication Token...Server Token Validated Username: USERNAME authToken: AUTHTOKEN Update Channel: Beta Checking Plex Media Server Status...Running Version: 1.29.0.6209 Build: 9fa696df6 Path: C:\Program Files\Plex\Plex Media Server\Plex Media Server.exe User Context: PC\USER Checking Plex Web Status...Available Friendly Name: PC Username: EMAIL Signin State: ok Plex Subscription: True Checking Plex Media Server Service Wrapper (PlexService) Status...Running Path: C:\Program Files (x86)\Plex Service\PlexService.exe Version: 1.1.7.0 Checking Available Updates...Update Available!!! PlexPass(Beta): True Update Version: 1.29.0.6219 Update Build: b1b4d4871 Downloading Update...WARNING: Error occurred: Cannot convert 'System.Object[]' to the type 'System.Uri' required by parameter 'Uri'. Specified method is not supported. Invoke-WebRequest : Cannot convert 'System.Object[]' to the type 'System.Uri' required by parameter 'Uri'. Specified method is not supported. At C:\Program Files\WindowsPowerShell\Modules\Update-PlexMediaServer\Update-PlexMediaServer.psm1:783 char:67
I have tried refreshing the token but it doesn't seem to be working as the token returned has a - in it. The format is 5 digits then - then 14 digits.
I am running Powershell as an Admin
Any ideas?