cowboy / synology-update-plex

Script to Auto Update Plex Media Server on Synology NAS
113 stars 23 forks source link

Latest update lead to download failure (Unable to find release) #15

Closed epheterson closed 4 years ago

epheterson commented 4 years ago

This has been working great for the past week or two I've had it setup, then I noticed there was an update so pulled the new script and tested (no update at the time), seemed to work fine.

Now I have an update available, and it's failing. The browser downloads this file: https://downloads.plex.tv/plex-media-server-new/1.19.3.2831-181d9145d/synology/PlexMediaServer-1.19.3.2831-181d9145d-x86_64.spk

The logs from update-plex:

Checking for a Plex Media Server update...

[ Enabling Plex Pass releases ]
Found Plex Token

[ Retrieving version data ]
Available version: 1.19.3.2831-181d9145d
Installed version: 1.19.3.2793-36efde971

New version available!

[ Finding release ]
FAIL: Unable to find release for DS415+-j/x86_64/DS415+-j

Done, with errors!
cowboy commented 4 years ago

Ok, sorry about that. I'll fix it!

epheterson commented 4 years ago

Thanks! I've now made a plex-update-updater so I should get the fix automagically 😃

cd /volume1/Plex; rm -f update-plex.sh; wget "https://github.com/cowboy/synology-update-plex/releases/latest/download/update-plex.sh"; chmod a+x update-plex.sh; echo "Done Successfully!"

epheterson commented 4 years ago

Verified that resolved it, thanks :)

cowboy commented 4 years ago

LOL I don't think I'd recommend auto-updating the updater. I'm not likely to add anything that will make a difference in how plex is auto-updated on your NAS, except maybe to break it with a bug 😉