You do claim to support “DEB-Based” distros. Ubuntu wouldn’t exist without Debian. https://support.plex.tv/hc/en-us/articles/235974187
I would say Debian support was 90% of my decision to buy a Plex Pass.
I’ll keep digging on this end but without seeing HTTP server logs, it’s going to be difficult. The 403’s are coming from the server after SSL handshake succeeds (i.e. the key is good), so I’d speculate there’s an overaggressive IP blacklist implementation. The fact that it works for you is great, but you’re also a Plex insider and that’s not really a scientific conclusion.
Alright I think I found something on this topic. Follow these steps.
First of all, I’d suggest all of the Debian users download and install the latest Plex Media Server DEB package here: https://www.plex.tv/downloads/
Select Download, and select Linux and then make sure you pick 32 or 64 bit Debian as appropriate for you.
After the DEB package downloads, install it with this shell command:
dpkg -i (add sudo if needed)
You’ll notice during the installation that the Plex dev’s were kind enough to update your /etc/apt/sources.list.d/plexmediaserver.list file with the current and valid settings. If dpkg asks, allow it to overwrite your file (it will back yours up in place if you want to keep it)
Edit /etc/apt/sources.list.d/plexmediaserver.list and uncomment the last line to enable to updated repo
Restart your Plex Media Server (mine didn’t restart):
systemctl restart plexmediaserver.service (add sudo if needed)
You can try “apt-get update” and notice the 403 is gone. You might see this:
W: Conflicting distribution: https://downloads.plex.tv/repo/deb public InRelease (expected public but got )
…but it appears that is just a warning and not an error. If you search the Internet for this, there are a ton of people having the same problem with Plex and “apt-get update” but it doesn’t appear to effect the ability to update the software.
Having gone at this deeper and more slowly, here is from my Debian 8.5 VM (which I just created)
From /etc/apt/sources.list.d/plexmediaserver.list and as per the support page
deb https://downloads.plex.tv/repo/deb/ ./public main
Now observe where I did not have the https package installed but corrected and then installed PMS
# apt-get clean
# apt-get update
E: The method driver /usr/lib/apt/methods/https could not be found.
N: Is the package apt-transport-https installed?
# apt-get install apt-transport-https
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
apt-transport-https
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 138 kB of archives.
After this operation, 195 kB of additional disk space will be used.
Get:1 http://ftp.us.debian.org/debian/ jessie/main apt-transport-https amd64 1.0.9.8.4 [138 kB]
Fetched 138 kB in 0s (1,463 kB/s)
Selecting previously unselected package apt-transport-https.
(Reading database ... 136907 files and directories currently installed.)
Preparing to unpack .../apt-transport-https_1.0.9.8.4_amd64.deb ...
Unpacking apt-transport-https (1.0.9.8.4) ...
Setting up apt-transport-https (1.0.9.8.4) ...
# apt-get install plexmediaserver
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package plexmediaserver is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'plexmediaserver' has no installation candidate
# apt-get clean
# apt-get update
Ign http://ftp.us.debian.org jessie InRelease
Hit http://ftp.us.debian.org jessie-updates InRelease
Hit http://ftp.us.debian.org jessie Release.gpg
Hit http://ftp.us.debian.org jessie Release
Hit http://ftp.us.debian.org jessie-updates/main Sources
Get:1 http://ftp.us.debian.org jessie-updates/main amd64 Packages/DiffIndex [8,392 B]
Get:2 http://ftp.us.debian.org jessie-updates/main Translation-en/DiffIndex [3,196 B]
Hit http://ftp.us.debian.org jessie/main Sources
Hit http://ftp.us.debian.org jessie/main amd64 Packages
Hit http://ftp.us.debian.org jessie/main Translation-en
Hit http://security.debian.org jessie/updates InRelease
Get:3 https://downloads.plex.tv ./public InRelease [3,408 B]
Get:4 https://downloads.plex.tv ./public/main amd64 Packages [2,427 B]
Get:5 https://downloads.plex.tv ./public/main Translation-en_US
Hit http://security.debian.org jessie/updates/main Sources
Hit http://security.debian.org jessie/updates/main amd64 Packages
Hit http://security.debian.org jessie/updates/main Translation-en
Get:6 https://downloads.plex.tv ./public/main Translation-en
Get:7 https://downloads.plex.tv ./public/main Translation-en_US
Get:8 https://downloads.plex.tv ./public/main Translation-en
Get:9 https://downloads.plex.tv ./public/main Translation-en_US
Get:10 https://downloads.plex.tv ./public/main Translation-en
Get:11 https://downloads.plex.tv ./public/main Translation-en_US
Get:12 https://downloads.plex.tv ./public/main Translation-en
Get:13 https://downloads.plex.tv ./public/main Translation-en_US
Ign https://downloads.plex.tv ./public/main Translation-en_US
Get:14 https://downloads.plex.tv ./public/main Translation-en
Ign https://downloads.plex.tv ./public/main Translation-en
Fetched 17.4 kB in 1s (12.4 kB/s)
Reading package lists... Done
# apt-get install plexmediaserver
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
plexmediaserver
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 107 MB of archives.
After this operation, 234 MB of additional disk space will be used.
Get:1 https://downloads.plex.tv/repo/deb/ ./public/main plexmediaserver amd64 1.8.1.4139-c789b3fbb [107 MB]
Fetched 107 MB in 34s (3,066 kB/s)
Selecting previously unselected package plexmediaserver.
(Reading database ... 136913 files and directories currently installed.)
Preparing to unpack .../plexmediaserver_1.8.1.4139-c789b3fbb_amd64.deb ...
Unpacking plexmediaserver (1.8.1.4139-c789b3fbb) ...
Processing triggers for systemd (215-17+deb8u7) ...
Processing triggers for desktop-file-utils (0.22-1) ...
Processing triggers for gnome-menus (3.13.3-6) ...
Processing triggers for mime-support (3.58) ...
Setting up plexmediaserver (1.8.1.4139-c789b3fbb) ...
Created symlink from /etc/systemd/system/multi-user.target.wants/plexmediaserver.service to /lib/systemd/system/plexmediaserver.service.
#
I did and do have apt-transport-https installed and currently getting this: […] Ign:14 https://downloads.plex.tv/repo/deb ./public InRelease […] Err:20 https://downloads.plex.tv/repo/deb ./public Release 404 Not Found [IP: 2400:cb00:2048:1::6814:609 443] Reading package lists… Done E: The repository ‘https://downloads.plex.tv/repo/deb ./public Release’ no longer has a Release file. N: Updating from such a repository can’t be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details.
So it changed from 403 to 404 but i dont know why.
@pcmasterrace said:
I did and do have apt-transport-https installed and currently getting this: […] Ign:14 https://downloads.plex.tv/repo/deb ./public InRelease […] Err:20 https://downloads.plex.tv/repo/deb ./public Release 404 Not Found [IP: 2400:cb00:2048:1::6814:609 443] Reading package lists… Done E: The repository ‘https://downloads.plex.tv/repo/deb ./public Release’ no longer has a Release file. N: Updating from such a repository can’t be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details.
So it changed from 403 to 404 but i dont know why.
Release and InRelease is what apt does the content of plexmediaserver.list never changed, it was always main. I did a apt-get clean and apt-get update a few days ago and just now, didnt change anything.
Ok so i think i got a bit closer to solving this. I did what debian told me and read the manpage for apt-secure.
Apparently there were some changes with apt 1.5 (which i have) regarding the “Release file” of a repository:
“Since version 1.5 changes in the information contained in the Release file about the repository need to be confirmed before APT continues to apply updates from this repository.”
Also i just noticed after doing this and doing apt remove plexmediaserver and apt install plexmediaserver it installs plexmediaserver (1.7.5.4035-313f93718)