Error Acquiring Certificate after Password Reset

Hey Chuck (appreciate the efforts you and @dane22 are making covering up for others mess :slight_smile: )

I’ve done both from same internal network, and directly on my QNAP NAS

I’ve even now removed Friends and Plex Home setups so it’s as clean as possible - and for whatever reason I don’t get a claim option, I can no longer see the server even though I’m literally on it, and the server /identity still comes up as claimed=‘0’


I’ve signed out and back in a number of times - can’t seem to get it to reclaim for whatever reason. When I use the ClaimIt app I keep getting 401 errors

And I’ve followed the guide here https://support.plex.tv/articles/204281528-why-am-i-locked-out-of-server-settings-and-how-do-i-get-in/

As of now it’s giving me the option to try and add a server, and prompting me to download software - as though it can’t even see I am on the active server

Hey Gazmeist - can you talk me through how you were able to use ClaimIT?

Details here > Home · ukdtom/ClaimIt Wiki · GitHub

I’m on a docker instance on my QNAP NAS, so SSHd into my NAS and followed the Linux instructions from the Wiki

Hi Chuck,

I initially replied elsewhere before seeing this specific list so hopefully this helps:

  1. Yes.
  2. Yes
  3. Yes
  4. Deep Space 9, running on macOS 10.15.7

Thank you.

@gazmeist

If you want to be a purist, we can get down to the command line and ‘just get’er done’
which is easy on a QNAP.

Second Choice (hard reset) is what you want.

If this doesn’t work, grab the logs (ZIP/tar.gz) and let me see them please.

I think purist is all I’ve got left to go with :). Will take a look

ps already had the logs from my last restart/login handy
Plex Media Server.log (443.4 KB)

@gazmeist

Aug 25, 2022 11:15:24.127 [0x7f7a26030b00] DEBUG - MyPlex: mapping state set to 'Mapped - Not Published (Bad Authentication)'.

The container is definitely not authenticating.

Before giving instructions:

  1. Do you have the /config saved to a storage location OUTSIDE the container?
  2. Are you using Docker compose or Docker run ?

OH - I tried that already and effectively get the same error as the ClaimIt process - the curl command gives me an error

What does this setting do exactly? Should I change it as well perhaps?
PublishServerOnPlexOnlineKey="1"

[/share/CACHEDEV2_DATA/Container/container-station-data/lib/docker/containers/plex] # curl -X POST ‘http://127.0.0.1:32400/myplex/claim?token=claim-TxjtghF2NzSPYazdUtDX
curl: (7) Failed to connect to 127.0.0.1 port 32400 after 0 ms: Connection refused

what does it give you?

Config within the container but in a specified folder

Using docker-compose

yml file

version: ‘3’
services:
plex:
container_name: plex
image: linuxserver/plex:latest
restart: always
#network_mode: host
environment:
- TZ=Australia/Sydney
- VERSION=docker
ports:
- 32400:32400
- 32469:32469
- 32401:32401
- 32402:32402
- 32403:32403
- 3005:3005
- 8324:8324
- 32410:32410/udp
- 32412:32412/udp
- 32413:32413/udp
- 32414:32414/udp
volumes:
- /share/CACHEDEV2_DATA/Container/container-station-data/lib/docker/volumes/plexconfig/_data:/config
- /share/CACHEDEV2_DATA/Container/container-station-data/lib/docker/volumes/plextranscode/_data:/transcode
- /share/CACHEDEV3_DATA/Movies:/share/Movies
- /share/CACHEDEV3_DATA/TV:/share/TV
- /share/CACHEDEV3_DATA/TempStore:/share/TempStore
- /share/external/.nd/0/014675ae7-4305-4dd2-8f44-5b26b0529482/:/share/Gary-LT
- /share/external/.nd/0/03b4529a8-cb66-456d-89bd-7db986ceaa60/:/share/Gary-PC-TC
- /share/external/.nd/0/040312366-4cf1-47ff-bb13-37853e82e4b3/:/share/Gary-PC
- /share/external/.nd/0/088de1224-742f-4b12-ae3c-88ae89fe9399/:/share/N42
- /share/external/.nd/0/0a81ea914-99a3-4b56-8fa9-7a255ff270ba/:/share/TS451A
networks:
default:
external:
name: gazdocker_network

The error was there?

@gazmeist

you need to add PLEX_CLAIM=paste_claim-xxxxxx_token_here and then generate the container and start it.

(being on a different subnet makes this grossly and overly awkward)

Are you using docker on QNAP for the tonemapping?

I am having the same issues. Can someone please reset my server’s IP? Thanks in advance!

Thanks - got it running. Unfortunately same error as yourself “Status 401”

Dane22- Seems like this is same issue everyone looks to have (internal works) plex.tv fails Do we need to request a reset one by one? I have 2 plex boxes, ones a backup of primary

@Jereme_Hancock

I have reset your certificate. It’s ready to go.

Restart the server

1 Like

Where in the yml do I put this exactly? Environment I presume?

Ignore the error - some pasted hidden character before the hyphen I’ve managed to clear

What is tonemapping? Doing everything via Docker

the \t is a tab character. You want spaces.

I do it via docker run.

sudo docker run \
-d \
--name plex \
--network=host \
-e PLEX_CLAIM="claim-2rZSB3JW2t56cJngN9kt" \
-e TZ="EST" \
-e LANG="en_US.UTF-8" \
-e PLEX_UID=1000 \
-e PLEX_GID=1000 \
-e PUID=1000 \
-e PGID=1000 \
-h dockerplex \
-v /sata/dockerplex:/config \
-v /sata/dockerplex/tmp:/tmp \
-v /sata/dockerplex/transcode:/transcode \
-v /vie:/data \
--device=/dev/dri:/dev/dri \
plexinc/pms-docker:plexpass

#docker start plex
#docker update --restart=unless-stopped plex
[chuck@lizum docker.620]$ 

Works the same and easier (IMHO)

Tonemapping == Allows HDR UHD (4K ) to be converted to 1080p SDR in hardware.

Your J4025 CPU will do this if you enable it.

Thank you so much!! Also, thank you all for handling this situation so well. Stuff like this is always hard to deal with, but you guys have done a great job!

1 Like

Yeah corrected my post already :slight_smile: