docker-plex-media-server icon indicating copy to clipboard operation
docker-plex-media-server copied to clipboard

X_PLEX_TOKEN

Open laouache opened this issue 9 years ago • 3 comments

Hi,

I tried to use your docker with x_plex_token or PLEX_LOGIN to configure automatically the docker to run under à specific user at startup.

But when i go to parameters/server i have an error message : parameters are not available.

I use the configuration of docker-compose below :

docker-compose with PLEX_LOGIN OR X_PLEX_TOKEN

plex-media-server:
  image: "wernight/plex-media-server:latest"
  container_name: plex-media-server
  ports:
      - "32400:32400"
  environment:
    PLEX_LOGIN: ${PLEX_LOGIN}
    PLEX_PASSWORD: ${PLEX_PASSWORD}
  volumes:
      - ${MEDIA}:/media
      - ${PLEX_CONFIG}:/config
  restart: always
  hostname: ${PLEX_HOSTNAME}

Could you help me ? Do you want more logs ?

laouache avatar Jun 20 '16 20:06 laouache

I guess you've exported the environment variable PLEX_LOGIN etc. you're using here. You normally don't need the hostname line. Please include the log when you run plex (docker-compose logs plex-media-server).

wernight avatar Jun 21 '16 08:06 wernight

Here are logs :

plex-media-server-docker.txt

laouache avatar Jun 21 '16 19:06 laouache

From that log it looks like authentication succeeded but had after done TLS handshake failure. I was more thinking about the Docker log and not Plex log (you have me Plex log no, and not Docker log). What makes you say that something is wrong btw?

wernight avatar Jun 21 '16 22:06 wernight