Recently the DOWNLOAD NOW button on the server updates page started making links with the X-Plex-Token argument replaced by a bunch of xs.
I figure Plex made this change to protect the link or something, but it makes it much harder to upgrade a server running remotely.
Previously you could right click, get the URL, and download it using wget on the remote computer, but now you are forced to download it on the local computer.
Please revert this change to make it easier to upgrade Plex server when there is a new release.
From within the Plex/web app, when you click âinstall manuallyâ it downloads based on which âupdate channelâ youâve selected as your default.
Often there will be server updates that donât show up in the apt repositories, and the server has a note saying to download it manually.
Browsing to http://plex.tv/web connects to the server and gives an alert that there is a new update, and it provides a page with one link to a changelog and a big orange button labeled âDOWNLOAD NOWâ.
If I hadnât already updated my server today Iâd take a screenshot, but now that my server is up to date I donât know how to get back to that page.
In the same way your distro tells you there are updates available, so does Plex.
Once you install those updates, you donât see them unless you want to go into the history and see when the last update was.
I let the repository and the native package manager auto-updating do what itâs there for.
I donât mind waiting a few days after an update is released until it gets installed unless I know it has a fix for me.
In those cases, I update manually.
I guess Iâm not understanding the meaning of âuselessâ because itâs been this way for a long time.
Did you recently change from a different OS or has it been a while since your last PMS update ?
Yeah, I had to use brief phrasing in the topic title
So, what changed was until recently the big orange âDOWNLOAD NOWâ button gave a URL that would work, but now the URL is partly replaced by xxxxxxxx, so it no longer works.
Thatâs whatâs useless, the new, scrambled URL.
Like I said, Iâm sure they had a reason to obfuscate the URL, but maybe they didnât realize how it interferes in remote server management.
Notice how the download link leads to the file plexmediaserver_1.26.0.5715-8cf78dab3_amd64.deb - an older version than my currently installed 1.26.1.5772.
What Iâm guessing happens is, since the link contains an invalid X-Plex-Token, it gives me the latest stable release.
THANKS! Thatâs exactly the comment I wanted to make, but couldnât because Iâd already updated and so couldnât get back to the page and link.
So exactly, I understand that theyâd have reasons to obfuscate the X-Plex-Token, but maybe they donât realize how it breaks this workflow for manually upgrading the server.
I also think I remember times in the past when the xxxxx URL didnât work at all, but I canât be sure. Maybe they tweaked it behind the scenes but forgot to point it to the beta channel when thatâs requested?
I get the correct file when I click the link - however having to do this makes the upgrade workflow significantly more cumbersome.
Previously, I could copy the link - paste it into my command line on my server and download and install in seconds.
With this change, now I have to download the file locally (which may be on one of 3 different machines with different setups), transfer it to the server, and then open a command line to install it.
Yeah, but would you mind sending this feedback up the chain so that we wouldnât need to look for workarounds in the first place?
It sounds like it should be trivial to provide the download URL to us one way or another.
Maybe they have a particular reason for not wanting the download button to be right-clickable. Well, one compromise would be to just print the URL to the screen, even without making it a link. That would be fine for copy/pasting the URL into the remote server for upgrading.
I personally think Plex should stop associating betas with Plex Pass. It encourages people to think of betas as a perk. Most people shouldnât use betas most of the time, but sometimes it would be helpful for others to use betas, too.
If you update instantly and obsessively - which I donât recommend, but do understand - the suggestion above to make a download script is a pretty good one.
I agree that the current copied-link behavior just seems weird.
Another workaround for getting the URL is to run the following command in your browserâs Javascript console (F12) while the download link is visible: