Unable to enable plex rpm repository on Ubuntu

Server Version#: not a server bug
Player Version#: not a player bug

Executing the bash command given on this page:

https://support.plex.tv/articles/235974187-enable-repository-updating-for-supported-linux-server-distributions/?_ga=2.183402534.1028743479.1556134659-1717837671.1552878201

Leads to this result:

[chris@linux Downloads] echo deb https://downloads.plex.tv/repo/deb public main | sudo tee /etc/apt/sources.list.d/plexmediaserver.list tee: /etc/apt/sources.list.d/plexmediaserver.list: No such file or directory deb https://downloads.plex.tv/repo/deb public main [chris@linux Downloads] sudo ls /etc/apt
ls: cannot access /etc/apt: No such file or directory

Which version please?

Ubuntu 18.04 LTS

Oops. never mind, the server is running RHEL.

Since I’m updating it remotely from an Ubuntu machine, what I really need to know is the URL to use to access the rpm directly.

In other words, what the pass to wgets to download the rpm directly.

This used to work but now does not:

wget https://downloads.plex.tv/plex-media-server/$1/plexmediaserver-$1.x86_64.rpm

Ubuntu RPM path , as found in /etc/apt/sources.list.d/plexmediaserver.list

Redhat

[chuck@localhost ~]$ cat /etc/yum.repos.d/plex.repo 
[PlexRepo]
name=PlexRepo
baseurl=https://downloads.plex.tv/repo/rpm/$basearch/
enabled=0
gpgkey=https://downloads.plex.tv/plex-keys/PlexSign.key
gpgcheck=1
[chuck@localhost ~]$
1 Like

When I try to wgets the latest rpm, I get a 404:

$ wgets https://downloads.plex.tv/repo/rpm/plexmediaserver-1.15.4.994-107756f7e.x86_64.rpm

u-2019-05-09 00:46:59-- https://downloads.plex.tv/repo/rpm/plexmediaserver-1.15.4.994-107756f7e.x86_64.rpm

Resolving downloads.plex.tv (downloads.plex.tv)… 2606:4700::6812:9d29, 2606:4700::6812:9c29, 104.18.156.41, …

Connecting to downloads.plex.tv (downloads.plex.tv)|2606:4700::6812:9d29|:443… connected.

HTTP request sent, awaiting response… 404 Not Found

Are you IPv6 or IPv4 ?

Looks like you’re IPv6.

AFAIK, which I will check, nothing is IPv6 yet

I don’t think we’re IPV6, but I’m confused as to the relevance.

What we need is the current locations of the rpm on the Plex servers, so that we can download them using wget.

Up until recently this command worked:

wget https://downloads.plex.tv/plex-media-server/$1/plexmediaserver-$1.x86_64.rpm

Based on your advice above I tried this command:

wget https://downloads.plex.tv/repo/rpm/plexmediaserver-$1.x86_64.rpm

But it returned a 404.

I will ask the build team what the direct wget syntax should be.
I don’t have the final documentation for it yet.

To determine if you’re IPv6 or V4

Whatsmyip.org will reply with V4 or V6

nslookup  plex.tv

will respond with IPv6 first if you’re v6-based.
If it does, we will need see why you’re getting that. Plex doesn’t have IPv6-facing repos yet. (the cloud doesn’t have it)

I’ll wait to hear what the build team says about the wget syntax. I believe that is all I need to download the current Plex media server rpm.

As to the IPV4 vs IPV6 question, I’m still confused why that matters, and I further confused by the instructions to visit whatsmyip.org, which returned my IP address and some other information:

Hostname & User Agent

Your Hostname:
xxx.xx.xx.xxx

Your User Agent:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.131 Safari/537.36

Nothing about V4 or V6, and nothing about running nslookup on plex.tv.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.