Repository not working for me

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.

Debian 7.x isn’t supported.
Debian 8.x isn’t supported.
Debian 9.x isn’t supported.

PMS only runs on pure Debian distributions because of systemd compatibility.
PMS runs on Ubuntu distributions because it’s built for it.

Do you see a pattern forming?

Can you share publicly available, formal documentation to this effect?

@sturdy-wings said:
Can you share publicly available, formal documentation to this effect?

Which formal and publicly available documentation would you like?

Please note the publicly available distributions.

Did you look at your own screenshot? I see “Debian 8+” which two posts ago you said is not supported. That’s inconsistent.

This is not a productive use of our time, or at least my time. Please fix the repo and backup your documentation.

Alright I think I found something on this topic. Follow these steps.

  1. 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/

  2. Select Download, and select Linux and then make sure you pick 32 or 64 bit Debian as appropriate for you.

  3. 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)

  4. Edit /etc/apt/sources.list.d/plexmediaserver.list and uncomment the last line to enable to updated repo

  5. Restart your Plex Media Server (mine didn’t restart):
    systemctl restart plexmediaserver.service (add sudo if needed)

  6. 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.

Point taken. I don’t usually do Debian.

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.
# 

Disregard this. My issue wasn’t 100% relevant. I didn’t have apt-transport-https.

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.

deb https://downloads.plex.tv/repo/deb/ ./public main

do you mean
cat /etc/apt/sources.list.d/plexmediaserver.list
deb https://downloads.plex.tv/repo/deb ./public main
as i mentioned in my first post?

Yes, in your OP of 3 weeks ago, you do reference main.

In your posts above, you show Release and InRelease, which aren’t correct.

Have you performed the requisite apt-get clean and apt-get update as I show in my console session log post ?

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.

I don’t know what is unique / different about your installation other than you stating you’re using “debian TESTING”.

I can only confirm it works as it should on the 14.04 and 16.04 official distribution images I have.

well, this is my sources.list
deb http://deb.debian.org/debian/ testing main contrib non-free
deb-src http://deb.debian.org/debian/ testing main contrib non-free

deb http://deb.debian.org/debian/ testing-updates main contrib non-free
deb-src http://deb.debian.org/debian/ testing-updates main contrib non-free

deb http://deb.debian.org/debian-security testing/updates main
deb-src http://deb.debian.org/debian-security testing/updates main
and my system is up to date. I just dont know how to get more information about this problem.

You’re running ‘testing’. This is my point.

Until such time as it is ‘released’ , all bets are off by definition of the word ‘testing’.

If you create a production distro VM and have difficulty, i will be able to address it. There is no logic in supporting ‘testing.’

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.”

So i changed my plexmediaserver.list to
deb [allow-insecure=yes allow-downgrade-to-insecure=yes] https://downloads.plex.tv/repo/deb ./public main
and now apt update gives me:
[…]
Ign:10 https://downloads.plex.tv/repo/deb ./public InRelease
[…]
Ign:13 https://downloads.plex.tv/repo/deb ./public Release
[…]
Ign:15 https://downloads.plex.tv/repo/deb ./public/main all Packages
[…]
Ign:18 https://downloads.plex.tv/repo/deb ./public/main amd64 Packages
Ign:19 https://downloads.plex.tv/repo/deb ./public/main Translation-de_DE
Ign:20 https://downloads.plex.tv/repo/deb ./public/main Translation-en
Ign:21 https://downloads.plex.tv/repo/deb ./public/main Translation-de
Ign:15 https://downloads.plex.tv/repo/deb ./public/main all Packages
Ign:18 https://downloads.plex.tv/repo/deb ./public/main amd64 Packages
Ign:19 https://downloads.plex.tv/repo/deb ./public/main Translation-de_DE
Ign:20 https://downloads.plex.tv/repo/deb ./public/main Translation-en
Ign:21 https://downloads.plex.tv/repo/deb ./public/main Translation-de
Ign:15 https://downloads.plex.tv/repo/deb ./public/main all Packages
Ign:18 https://downloads.plex.tv/repo/deb ./public/main amd64 Packages
Ign:19 https://downloads.plex.tv/repo/deb ./public/main Translation-de_DE
Ign:20 https://downloads.plex.tv/repo/deb ./public/main Translation-en
Ign:21 https://downloads.plex.tv/repo/deb ./public/main Translation-de
Ign:15 https://downloads.plex.tv/repo/deb ./public/main all Packages
Ign:18 https://downloads.plex.tv/repo/deb ./public/main amd64 Packages
Ign:19 https://downloads.plex.tv/repo/deb ./public/main Translation-de_DE
Ign:20 https://downloads.plex.tv/repo/deb ./public/main Translation-en
Ign:21 https://downloads.plex.tv/repo/deb ./public/main Translation-de
Ign:15 https://downloads.plex.tv/repo/deb ./public/main all Packages
Ign:18 https://downloads.plex.tv/repo/deb ./public/main amd64 Packages
Ign:19 https://downloads.plex.tv/repo/deb ./public/main Translation-de_DE
Ign:20 https://downloads.plex.tv/repo/deb ./public/main Translation-en
Ign:21 https://downloads.plex.tv/repo/deb ./public/main Translation-de
Ign:15 https://downloads.plex.tv/repo/deb ./public/main all Packages
Err:18 https://downloads.plex.tv/repo/deb ./public/main amd64 Packages
404 Not Found [IP: 2400:cb00:2048:1::6814:609 443]
Ign:19 https://downloads.plex.tv/repo/deb ./public/main Translation-de_DE
Ign:20 https://downloads.plex.tv/repo/deb ./public/main Translation-en
Ign:21 https://downloads.plex.tv/repo/deb ./public/main Translation-de
Fetched 227 kB in 4s (53.5 kB/s)
Reading package lists… Done
W: The repository ‘https://downloads.plex.tv/repo/deb ./public Release’ no longer has a Release file.
W: This is normally not allowed, but the option Acquire::AllowDowngradeToInsecureRepositories was given to
override it.
W: The repository ‘https://downloads.plex.tv/repo/deb ./public Release’ does not have a Release file.
N: Data from such a repository can’t be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch https://downloads.plex.tv/repo/deb/dists/./public/main/binary-amd64/Packages 404 Not Found
[IP: 2400:cb00:2048:1::6814:609 443]
E: Some index files failed to download. They have been ignored, or old ones used instead.

Also i just noticed after doing this and doing apt remove plexmediaserver and apt install plexmediaserver it installs
plexmediaserver (1.7.5.4035-313f93718)

What does this command say?

apt-cache policy plexmediaserver

note: i installed 1.8.4 manually

plexmediaserver:
Installed: 1.8.4.4249-3497d6779
Candidate: 1.8.4.4249-3497d6779
Version table:
*** 1.8.4.4249-3497d6779 100
100 /var/lib/dpkg/status
1.7.5.4035-313f93718 500
500 https://downloads.plex.tv/repo/deb ./public/main amd64 Packages
1.5.7.4016-25d94bad9 500
500 https://downloads.plex.tv/repo/deb ./public/main amd64 Packages
1.5.6.3790-4613ce077 500
500 https://downloads.plex.tv/repo/deb ./public/main amd64 Packages
1.5.5.3634-995f1dead 500
500 https://downloads.plex.tv/repo/deb ./public/main amd64 Packages
1.5.4.3596-0d2d8c2be 500
500 https://downloads.plex.tv/repo/deb ./public/main amd64 Packages
1.5.3.3580-4b377d295 500
500 https://downloads.plex.tv/repo/deb ./public/main amd64 Packages
1.4.4.3495-edef59192 500
500 https://downloads.plex.tv/repo/deb ./public/main amd64 Packages
1.4.3.3433-03e4cfa35 500
500 https://downloads.plex.tv/repo/deb ./public/main amd64 Packages
1.3.4.3285-b46e0ea 500
500 https://downloads.plex.tv/repo/deb ./public/main amd64 Packages
1.3.3.3165-ed2f710 500
500 https://downloads.plex.tv/repo/deb ./public/main amd64 Packages
1.3.3.3148-b38628e 500
500 https://downloads.plex.tv/repo/deb ./public/main amd64 Packages
1.3.2.3112-1751929 500
500 https://downloads.plex.tv/repo/deb ./public/main amd64 Packages
1.2.7.2987-1bef33a 500
500 https://downloads.plex.tv/repo/deb ./public/main amd64 Packages
1.1.4.2757-24ffd60 500
500 https://downloads.plex.tv/repo/deb ./public/main amd64 Packages
1.1.3.2700-6f64a8d 500
500 https://downloads.plex.tv/repo/deb ./public/main amd64 Packages
1.0.3.2461-35f0caa 500
500 https://downloads.plex.tv/repo/deb ./public/main amd64 Packages
1.0.2.2413-7caf41d 500
500 https://downloads.plex.tv/repo/deb ./public/main amd64 Packages