# Server download link hiding makes it useless

**URL:** <https://forums.plex.tv/t/server-download-link-hiding-makes-it-useless/791780>\
**Category:** Plex Media Server\
**Tags:** server-linux\
**Created:** [May 6, 2022, 6:14pm UTC](https://forums.plex.tv/t/server-download-link-hiding-makes-it-useless/791780 "2022-05-06T18:14:14Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![volkris](https://avatars.discourse-cdn.com/v4/letter/v/a5b964/32.png) [@volkris](https://forums.plex.tv/u/volkris)\
**Post date:** [May 6, 2022, 6:14pm UTC](https://forums.plex.tv/t/server-download-link-hiding-makes-it-useless/791780/1 "2022-05-06T18:14:14Z")

</div>

Server Version#: 1.26.1.5762

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.

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [May 6, 2022, 6:55pm UTC](https://forums.plex.tv/t/server-download-link-hiding-makes-it-useless/791780/2 "2022-05-06T18:55:57Z")

</div>

Not understanding here. Please help me?

1. plex.tv/downloads takes you to here where you select the distro and version you want. (Public or Beta)

 ![Screenshot from 2022-05-06 14-53-25](https://global.discourse-cdn.com/plex/original/4X/2/8/3/283516ad0ecd41eb7e0ee4ab70621b6c8535e691.jpeg)

1. From within the Plex/web app, when you click “install manually” it downloads based on which “update channel” you’ve selected as your default.  
 ![Screenshot from 2022-05-06 14-53-56](https://global.discourse-cdn.com/plex/original/4X/5/1/5/5154fee49098252116d5b20c14c500e0aedcb7eb.png)

On Linux, you can enable the respository (which is predefined for you during PMS installation).

With the repository enabled, `apt update` and `apt upgrade` will download and install the current Public version as needed. (RPM distros use `dnf update`)

---

<div class="post-metadata">

**Author:** ![volkris](https://avatars.discourse-cdn.com/v4/letter/v/a5b964/32.png) [@volkris](https://forums.plex.tv/u/volkris)\
**Post date:** [May 6, 2022, 7:14pm UTC](https://forums.plex.tv/t/server-download-link-hiding-makes-it-useless/791780/3 "2022-05-06T19:14:20Z")

</div>

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](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.

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [May 6, 2022, 7:32pm UTC](https://forums.plex.tv/t/server-download-link-hiding-makes-it-useless/791780/4 "2022-05-06T19:32:19Z")

</div>

> [@volkris](#):
>
> 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.

This is how it works on Linux.

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 ?

---

<div class="post-metadata">

**Author:** ![volkris](https://avatars.discourse-cdn.com/v4/letter/v/a5b964/32.png) [@volkris](https://forums.plex.tv/u/volkris)\
**Post date:** [May 6, 2022, 8:27pm UTC](https://forums.plex.tv/t/server-download-link-hiding-makes-it-useless/791780/5 "2022-05-06T20:27:47Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Volts](https://avatars.discourse-cdn.com/v4/letter/v/a5b964/32.png) [@Volts](https://forums.plex.tv/u/Volts)\
**Post date:** [May 6, 2022, 8:35pm UTC](https://forums.plex.tv/t/server-download-link-hiding-makes-it-useless/791780/6 "2022-05-06T20:35:40Z")

</div>

Can you clarify -

PMS 1.26.1.5762 on Linux  
`Settings` → `General`  
Right?

The **DOWNLOAD NOW** button doesn’t behave how you expect?

What happens when you click it? Does it download?  
If you right-click and copy, what URL is copied?

What is `Server update Channel` set to?

---

<div class="post-metadata">

**Author:** ![volkris](https://avatars.discourse-cdn.com/v4/letter/v/a5b964/32.png) [@volkris](https://forums.plex.tv/u/volkris)\
**Post date:** [May 6, 2022, 9:47pm UTC](https://forums.plex.tv/t/server-download-link-hiding-makes-it-useless/791780/7 "2022-05-06T21:47:03Z")

</div>

Right, that was the version today.

The button changed how it generates URLs and now doesn’t work as expected.

Next time I get a notification saying I need to manually update the server I’ll save the URL it made and report back.

---

<div class="post-metadata">

**Author:** ![Pishmoffle](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/pishmoffle/32/96287_2.png) [@Pishmoffle](https://forums.plex.tv/u/Pishmoffle)\
**Post date:** [May 11, 2022, 3:45pm UTC](https://forums.plex.tv/t/server-download-link-hiding-makes-it-useless/791780/8 "2022-05-11T15:45:40Z")

</div>

I have been experiencing the same thing for the past 2 updates.

I am on a Debian server, on the beta channel (1.26.1.5772). I get a manual download link like so:

![image](https://global.discourse-cdn.com/plex/original/4X/1/b/d/1bda4b475a9f2d49e7c350244996e9b44378e2ba.png)

The download link leads to: `https://plex.tv/downloads/latest/5?channel=8&build=linux-x86_64&distro=debian&X-Plex-Token=xxxxxxxxxxxxxxxxxxxx`

That is, it has the `X-Plex-Token` set to `xxxxxxxxxxxxxxxxxxxx`.

When I download this link, I get:

```auto
wget 'https://plex.tv/downloads/latest/5?channel=8&build=linux-x86_64&distro=debian&X-Plex-Token=xxxxxxxxxxxxxxxxxxxx' -O foo.deb [17:42:11]
--2022-05-11 17:42:16-- https://plex.tv/downloads/latest/5?channel=8&build=linux-x86_64&distro=debian&X-Plex-Token=xxxxxxxxxxxxxxxxxxxx
Resolving plex.tv (plex.tv)... 63.34.174.176, 18.200.219.245, 52.49.172.158, ...
Connecting to plex.tv (plex.tv)|63.34.174.176|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://downloads.plex.tv/plex-media-server-new/1.26.0.5715-8cf78dab3/debian/plexmediaserver_1.26.0.5715-8cf78dab3_amd64.deb [following]
--2022-05-11 17:42:16-- https://downloads.plex.tv/plex-media-server-new/1.26.0.5715-8cf78dab3/debian/plexmediaserver_1.26.0.5715-8cf78dab3_amd64.deb
Resolving downloads.plex.tv (downloads.plex.tv)... 172.64.153.236, 104.18.34.20, 2606:4700:4400::6812:2214, ...
Connecting to downloads.plex.tv (downloads.plex.tv)|172.64.153.236|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 78337352 (75M) [application/x-debian-package]
Saving to: ‘foo.deb’

foo.deb 100%[====================================================================================================================================================================================================>] 74,71M 83,7MB/s in 0,9s

2022-05-11 17:42:17 (83,7 MB/s) - ‘foo.deb’ saved [78337352/78337352]

```

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.

---

<div class="post-metadata">

**Author:** ![jugzadmin](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/jugzadmin/32/145893_2.png) [@jugzadmin](https://forums.plex.tv/u/jugzadmin)\
**Post date:** [May 11, 2022, 3:59pm UTC](https://forums.plex.tv/t/server-download-link-hiding-makes-it-useless/791780/9 "2022-05-11T15:59:19Z")

</div>

I’ve also observed this behavior. Save yourselves some time and just make a bash script:

**plex.sh** :

```auto
#!/bin/sh

wget "https://plex.tv/downloads/latest/5?channel=16&build=linux-x86_64&distro=debian&X-Plex-Token=XXXXXXXXXXXXXXXXXXXX" -O plex.deb
sudo dpkg -i plex.deb
rm plex.deb
exit

```

---

<div class="post-metadata">

**Author:** ![volkris](https://avatars.discourse-cdn.com/v4/letter/v/a5b964/32.png) [@volkris](https://forums.plex.tv/u/volkris)\
**Post date:** [May 11, 2022, 4:00pm UTC](https://forums.plex.tv/t/server-download-link-hiding-makes-it-useless/791780/10 "2022-05-11T16:00:34Z")

</div>

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?

Thanks for the work, @Pishmoffle

---

<div class="post-metadata">

**Author:** ![Volts](https://avatars.discourse-cdn.com/v4/letter/v/a5b964/32.png) [@Volts](https://forums.plex.tv/u/Volts)\
**Post date:** [May 11, 2022, 4:05pm UTC](https://forums.plex.tv/t/server-download-link-hiding-makes-it-useless/791780/11 "2022-05-11T16:05:28Z")

</div>

It’s not a “normal” bare link, there’s JavaScript and CSS and such.

Does the same thing happen when you CLICK the link, vs. when you COPY the link?

---

<div class="post-metadata">

**Author:** ![Pishmoffle](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/pishmoffle/32/96287_2.png) [@Pishmoffle](https://forums.plex.tv/u/Pishmoffle)\
**Post date:** [May 11, 2022, 4:18pm UTC](https://forums.plex.tv/t/server-download-link-hiding-makes-it-useless/791780/12 "2022-05-11T16:18:19Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Volts](https://avatars.discourse-cdn.com/v4/letter/v/a5b964/32.png) [@Volts](https://forums.plex.tv/u/Volts)\
**Post date:** [May 11, 2022, 4:28pm UTC](https://forums.plex.tv/t/server-download-link-hiding-makes-it-useless/791780/13 "2022-05-11T16:28:39Z")

</div>

Another workaround - click to start the download, then copy the URL from the download-in-progress.

---

<div class="post-metadata">

**Author:** ![volkris](https://avatars.discourse-cdn.com/v4/letter/v/a5b964/32.png) [@volkris](https://forums.plex.tv/u/volkris)\
**Post date:** [May 11, 2022, 4:58pm UTC](https://forums.plex.tv/t/server-download-link-hiding-makes-it-useless/791780/14 "2022-05-11T16:58:05Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Volts](https://avatars.discourse-cdn.com/v4/letter/v/a5b964/32.png) [@Volts](https://forums.plex.tv/u/Volts)\
**Post date:** [May 11, 2022, 5:03pm UTC](https://forums.plex.tv/t/server-download-link-hiding-makes-it-useless/791780/15 "2022-05-11T17:03:25Z")

</div>

I’m not in any chain - I’m a rando!

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.

---

<div class="post-metadata">

**Author:** ![volkris](https://avatars.discourse-cdn.com/v4/letter/v/a5b964/32.png) [@volkris](https://forums.plex.tv/u/volkris)\
**Post date:** [May 11, 2022, 5:05pm UTC](https://forums.plex.tv/t/server-download-link-hiding-makes-it-useless/791780/16 "2022-05-11T17:05:57Z")

</div>

Oh ha!

Sorry, I still had in mind that an employee was on here since @ChuckPa above was involved at one point.

---

<div class="post-metadata">

**Author:** ![Pishmoffle](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/pishmoffle/32/96287_2.png) [@Pishmoffle](https://forums.plex.tv/u/Pishmoffle)\
**Post date:** [May 11, 2022, 5:29pm UTC](https://forums.plex.tv/t/server-download-link-hiding-makes-it-useless/791780/17 "2022-05-11T17:29:40Z")

</div>

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:

```auto
document.querySelector('.install-manual-link').attributes.href.value.replace('xxxxxxxxxxxxxxxxxxxx', localStorage.myPlexAccessToken)

```

It finds the link, extracts the URL (`href`), and replaces the x’es with the correct access token.

The result should appear on the line under where you enter the code.

---

<div class="post-metadata">

**Author:** ![volkris](https://avatars.discourse-cdn.com/v4/letter/v/a5b964/32.png) [@volkris](https://forums.plex.tv/u/volkris)\
**Post date:** [May 16, 2022, 5:11pm UTC](https://forums.plex.tv/t/server-download-link-hiding-makes-it-useless/791780/18 "2022-05-16T17:11:54Z")

</div>

@ChuckPa did you see the updated conversation around this topic?

Others provided more information than I had, and the clumsiness of the workarounds shows how this problem impacts us.

---

<div class="post-metadata">

**Author:** ![frederick.grayson](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/frederick.grayson/32/14914_2.png) [@frederick.grayson](https://forums.plex.tv/u/frederick.grayson)\
**Post date:** [May 16, 2022, 7:27pm UTC](https://forums.plex.tv/t/server-download-link-hiding-makes-it-useless/791780/19 "2022-05-16T19:27:24Z")

</div>

I use this to obtain the link for my use case:

`curl -s "https://plex.tv/downloads/details/1?build=linux-ubuntu-x86_64&channel=16&distro=ubuntu" | grep -Po '(?<=url=\")(.*)(?=\")'`

---

<div class="post-metadata">

**Author:** ![volkris](https://avatars.discourse-cdn.com/v4/letter/v/a5b964/32.png) [@volkris](https://forums.plex.tv/u/volkris)\
**Post date:** [May 16, 2022, 7:49pm UTC](https://forums.plex.tv/t/server-download-link-hiding-makes-it-useless/791780/20 "2022-05-16T19:49:27Z")

</div>

Nice call, but I suspect that link would direct to the wrong version, based on @Pishmoffle 's comment above.

My server’s not currently looking for an upgrade, though, so I can’t test it.

[Next page](https://forums.plex.tv/t/server-download-link-hiding-makes-it-useless/791780.md?page=2)
