wernight / docker-plex-media-server

Dockerized Plex Media Server
https://registry.hub.docker.com/u/wernight/plex-media-server/
MIT License
128 stars 34 forks source link

X_PLEX_TOKEN #28

Open laouache opened 8 years ago

laouache commented 8 years ago

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 ?

wernight commented 8 years ago

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

laouache commented 8 years ago

Here are logs :

plex-media-server-docker.txt

wernight commented 8 years ago

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?