pabloromeo / clusterplex

ClusterPlex is an extended version of Plex, which supports distributed Workers across a cluster to handle transcoding requests.
MIT License
410 stars 33 forks source link

Distributed transcoder fails, calls local nodes aren't transcoding #256

Closed treverehrfurth closed 9 months ago

treverehrfurth commented 9 months ago

I wanted to reach out here because while I got clusterplex to run in docker containers across 3 machines, it's not looking like the other machines are picking up any transcoding jobs. I get distributed transcoder failed, calling local on the plex server but not sure if that means its not receiving or if because my LOCAL_RELAY_ENABLED = 1, it will always fail and is still sending?

Here is a pic of the log from clusterplex-plex-1: image

in proxmox for the vm, it looks like the one where clusterplex is on and the orchestrator, that is getting hit but on my other 2 nodes where I just have the worker jobs running in docker containers, those vm's aren't getting much of any cpu hit with 5 people streaming and transcoding.

Here is my docker Container on the main node:

version: '3.8'

services:
  plex:
    image: ghcr.io/linuxserver/plex:latest
    deploy:
      mode: replicated
      replicas: 1
    network_mode: host
    environment:
      DOCKER_MODS: "ghcr.io/pabloromeo/clusterplex_dockermod:latest"
      VERSION: docker
      PUID: 1000
      PGID: 1000
      TZ: America/Chicago
      ORCHESTRATOR_URL: http://localhost:3500
      PMS_IP: localhost     # This service. If you disable Local Relay then you must use PMS_IP instead
      PMS_PORT: "32400"
      TRANSCODE_OPERATING_MODE: both #(local|remote|both)
      TRANSCODER_VERBOSE: "1"   # 1=verbose, 0=silent
      LOCAL_RELAY_ENABLED: "1"
      LOCAL_RELAY_PORT: "32499"
    healthcheck:
      test: curl -fsS http://localhost:32400/identity > /dev/null || exit 1
      interval: 15s
      timeout: 15s
      retries: 5
      start_period: 30s
    volumes:
      - /srv/dockerdata/plex/config:/config
      - /mnt/share/dockerdata/dizquetv:/dizquetv
      - /mnt/share/treshare/Torrents/Completed/TV:/tv
      - /mnt/share/treshare/Torrents/Completed/Movies:/movies
      - /mnt/share/treshare:/treshare
      - /mnt/share/treshare/transcode/plex:/transcode
    restart: unless-stopped
    ports:
      - 32499:32499     # LOCAL_RELAY_PORT
      - 32400:32400
      - 3005:3005
      - 8324:8324
      - 1900:1900/udp
      - 32410:32410/udp
      - 32412:32412/udp
      - 32413:32413/udp
      - 32414:32414/udp

  plex-orchestrator:
    image: ghcr.io/pabloromeo/clusterplex_orchestrator:latest
    deploy:
      mode: replicated
      replicas: 1
      update_config:
        order: start-first
    healthcheck:
      test: curl -fsS http://localhost:3500/health > /dev/null || exit 1
      interval: 15s
      timeout: 15s
      retries: 5
      start_period: 30s
    environment:
      TZ: America/Chicago
      LISTENING_PORT: 3500
      WORKER_SELECTION_STRATEGY: "LOAD_RANK" # RR | LOAD_CPU | LOAD_TASKS | LOAD_RANK (default)
    volumes:
      - /etc/localtime:/etc/localtime:ro
    restart: unless-stopped
    ports:
      - 3500:3500

  plex-worker:
    image: ghcr.io/linuxserver/plex:latest
    hostname: "plex-worker-{{.Node.Hostname}}"
    deploy:
      mode: replicated
      replicas: 2
    environment:
      DOCKER_MODS: "ghcr.io/pabloromeo/clusterplex_worker_dockermod:latest"
      VERSION: docker
      PUID: 1000
      PGID: 1000
      TZ: America/Chicago
      LISTENING_PORT: 3501      # used by the healthcheck
      STAT_CPU_INTERVAL: 2000   # interval for reporting worker load metrics
      ORCHESTRATOR_URL: http://localhost:3500
      EAE_SUPPORT: "1"
    healthcheck:
      test: curl -fsS http://localhost:3501/health > /dev/null || exit 1
      interval: 15s
      timeout: 15s
      retries: 5
      start_period: 240s
    volumes:
      - /mnt/share/dockerdata/plex/codecs:/codecs # (optional)
      - /mnt/share/dockerdata/dizquetv:/dizquetv
      - /mnt/share/treshare/Torrents/Completed/TV:/tv
      - /mnt/share/treshare/Torrents/Completed/Movies:/movies
      - /mnt/share/treshare:/treshare
      - /mnt/share/treshare/transcode/plex:/transcode
    restart: unless-stopped

Here is my worker docker compose running on the other 2 nodes:

version: '3.8'

services:
  plex-worker:
    image: ghcr.io/linuxserver/plex:latest
    hostname: "plex-worker-{{.Node.Hostname}}"
    deploy:
      mode: replicated
      replicas: 2
    environment:
      DOCKER_MODS: "ghcr.io/pabloromeo/clusterplex_worker_dockermod:latest"
      VERSION: docker
      PUID: 1000
      PGID: 1000
      TZ: America/Chicago
      LISTENING_PORT: 3501      # used by the healthcheck
      STAT_CPU_INTERVAL: 2000   # interval for reporting worker load metrics
      ORCHESTRATOR_URL: http://192.168.1.147:3500
      EAE_SUPPORT: "1"
    healthcheck:
      test: curl -fsS http://localhost:3501/health > /dev/null || exit 1
      interval: 15s
      timeout: 15s
      retries: 5
      start_period: 240s
    volumes:
      - /mnt/share/dockerdata/plex/codecs:/codecs # (optional)
      - /mnt/share/dockerdata/dizquetv:/dizquetv
      - /mnt/share/treshare/Torrents/Completed/TV:/tv
      - /mnt/share/treshare/Torrents/Completed/Movies:/movies
      - /mnt/share/treshare/transcode/plex:/transcode
    restart: unless-stopped

This is one of my node worker logs:

[tcp @ 0x7f5572babe40] Connected attempt failed: Address not available
[tcp @ 0x7f5572babe40] Connection to tcp://localhost:32499 failed: Address not available
[tcp @ 0x7f5572babcc0] Starting connection attempt to 127.0.0.1 port 32499
[tcp @ 0x7f5572babcc0] Connection attempt to 127.0.0.1 port 32499 failed: Connection refused
[tcp @ 0x7f5572babcc0] Starting connection attempt to ::1 port 32499
[tcp @ 0x7f5572babcc0] Connected attempt failed: Address not available
[tcp @ 0x7f5572babcc0] Connection to tcp://localhost:32499 failed: Address not available
Error while decoding stream #0:1: Generic error in an external library
[tcp @ 0x7f556c2cee40] Starting connection attempt to 127.0.0.1 port 32499
[tcp @ 0x7f556c2cee40] Connection attempt to 127.0.0.1 port 32499 failed: Connection refused
[tcp @ 0x7f556c2cee40] Starting connection attempt to ::1 port 32499
[tcp @ 0x7f556c2cee40] Connected attempt failed: Address not available
[tcp @ 0x7f556c2cee40] Connection to tcp://localhost:32499 failed: Address not available
Error while decoding stream #0:1: Generic error in an external library
[tcp @ 0x7f556c2ce9c0] Starting connection attempt to 127.0.0.1 port 32499
[tcp @ 0x7f556c2ce9c0] Connection attempt to 127.0.0.1 port 32499 failed: Connection refused
[tcp @ 0x7f556c2ce9c0] Starting connection attempt to ::1 port 32499
[tcp @ 0x7f556c2ce9c0] Connected attempt failed: Address not available
[tcp @ 0x7f556c2ce9c0] Connection to tcp://localhost:32499 failed: Address not available
Error while decoding stream #0:1: Generic error in an external library
[tcp @ 0x7f556cc221c0] Starting connection attempt to 127.0.0.1 port 32499
[tcp @ 0x7f556cc221c0] Connection attempt to 127.0.0.1 port 32499 failed: Connection refused
[tcp @ 0x7f556cc221c0] Starting connection attempt to ::1 port 32499
[tcp @ 0x7f556cc221c0] Connected attempt failed: Address not available
[tcp @ 0x7f556cc221c0] Connection to tcp://localhost:32499 failed: Address not available
Error while decoding stream #0:1: Generic error in an external library
[tcp @ 0x7f5572bab1c0] Starting connection attempt to 127.0.0.1 port 32499
[tcp @ 0x7f5572bab1c0] Connection attempt to 127.0.0.1 port 32499 failed: Connection refused
[tcp @ 0x7f5572bab1c0] Starting connection attempt to ::1 port 32499
[tcp @ 0x7f5572bab1c0] Connected attempt failed: Address not available
[tcp @ 0x7f5572bab1c0] Connection to tcp://localhost:32499 failed: Address not available
Error grabbing logs: invalid character 'l' after object key:value pair

Here is the plex service on the main node:

Calling external transcoder: /app/transcoder.js
ON_DEATH: debug mode enabled for pid [50376]
Local Relay enabled, traffic proxied through PMS local port 32499
Setting VERBOSE to ON
Sending request to orchestrator on: http://localhost:3500
cwd => "/transcode/Transcode/Sessions/plex-transcode-06c1d6a9-4eef-4485-b0ca-bf70dddb9e9e-503-65f91595-5f95-4365-974f-7e83cdcc4496"
args => ["-codec:0","mp3","-analyzeduration","20000000","-probesize","20000000","-i","/config/Library/Application Support/Plex Media Server/Metadata/TV Shows/2/65174bb10ef5d0b1c6391e8817b16482b90dfe7.bundle/Contents/_combined/themes/tv.plex.agents.series_2af1377bf908795574d1e27ee0d9e5d161af4177","-filter_complex","[0:0] aresample=async=1:ochl='stereo':rematrix_maxval=0.000000dB:osr=44100:rematrix_volume=-25.000000dB[0]","-map","[0]","-codec:0","libmp3lame","-q:0","0","-f","segment","-segment_format","mp3","-segment_time","1","-segment_header_filename","header","-segment_start_number","0","-segment_list","http://localhost:32499/video/:/transcode/session/06c1d6a9-4eef-4485-b0ca-bf70dddb9e9e-503/65f91595-5f95-4365-974f-7e83cdcc4496/manifest?X-Plex-Http-Pipeline=infinite","-segment_list_type","csv","-segment_list_unfinished","1","-segment_list_size","5","-segment_list_separate_stream_times","1","-map_metadata","-1","-map_chapters","-1","chunk-%05d","-y","-nostats","-loglevel","verbose","-loglevel_plex","verbose","-progressurl","http://localhost:32499/video/:/transcode/session/06c1d6a9-4eef-4485-b0ca-bf70dddb9e9e-503/65f91595-5f95-4365-974f-7e83cdcc4496/progress"]
env => {"PUID":"1000","PLEX_ARCH":"amd64","HOSTNAME":"plex","S6_CMD_WAIT_FOR_SERVICES_MAXTIME":"0","LANGUAGE":"en_US.UTF-8","TRANSCODE_OPERATING_MODE":"both","ORCHESTRATOR_URL":"http://localhost:3500","PWD":"/transcode/Transcode/Sessions/plex-transcode-06c1d6a9-4eef-4485-b0ca-bf70dddb9e9e-503-65f91595-5f95-4365-974f-7e83cdcc4496","PLEX_DOWNLOAD":"https://downloads.plex.tv/plex-media-server-new","PLEX_MEDIA_SERVER_MAX_PLUGIN_PROCS":"6","NVIDIA_DRIVER_CAPABILITIES":"compute,video,utility","PMS_IP":"localhost","TZ":"America/Chicago","PLEX_MEDIA_SERVER_USER":"abc","HOME":"/root","LANG":"en_US.UTF-8","PGID":"1000","VIRTUAL_ENV":"/lsiopy","S6_VERBOSITY":"1","S6_STAGE2_HOOK":"/docker-mods","TERM":"xterm","PLEX_MEDIA_SERVER_INFO_VENDOR":"Docker","PLEX_MEDIA_SERVER_HOME":"/usr/lib/plexmediaserver","DOCKER_MODS":"ghcr.io/pabloromeo/clusterplex_dockermod:latest","X_PLEX_TOKEN":"local-5c9f33bc-594c-4c90-aee8-3ff1d48122b8","PLEX_MEDIA_SERVER_INFO_MODEL":"x86_64","SHLVL":"0","LD_LIBRARY_PATH":"/usr/lib","PLEX_MEDIA_SERVER_INFO_PLATFORM_VERSION":"5.15.0-83-generic","LIBVA_DRIVERS_PATH":"/config/Library/Application Support/Plex Media Server/Cache/va-dri-linux-x86_64","LSIO_FIRST_PARTY":"true","PMS_PORT":"32400","PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR":"/config/Library/Application Support","PATH":"/command:/lsiopy/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin","VERSION":"docker","LOCAL_RELAY_PORT":"32499","LOCAL_RELAY_ENABLED":"1","DEBIAN_FRONTEND":"noninteractive","PLEX_MEDIA_SERVER_INFO_DEVICE":"Docker Container (LinuxServer.io)","FFMPEG_EXTERNAL_LIBS":"/config/Library/Application\\ Support/Plex\\ Media\\ Server/Codecs/8217c1c-4578-linux-x86_64/","TRANSCODER_VERBOSE":"1"}
JobPoster connected, announcing
Orchestrator requesting pending work
Sending request to orchestrator on: http://localhost:3500
Distributed transcoder failed, calling local
Calling external transcoder: /app/transcoder.js
ON_DEATH: debug mode enabled for pid [50443]
Local Relay enabled, traffic proxied through PMS local port 32499
Setting VERBOSE to ON
Sending request to orchestrator on: http://localhost:3500
cwd => "/transcode/Transcode/Sessions/plex-transcode-06c1d6a9-4eef-4485-b0ca-bf70dddb9e9e-526-7fc64e6a-e517-44be-97c5-e6ff562a4294"
args => ["-codec:0","mp3","-analyzeduration","20000000","-probesize","20000000","-i","/config/Library/Application Support/Plex Media Server/Metadata/TV Shows/2/65174bb10ef5d0b1c6391e8817b16482b90dfe7.bundle/Contents/_combined/themes/tv.plex.agents.series_2af1377bf908795574d1e27ee0d9e5d161af4177","-filter_complex","[0:0] aresample=async=1:ochl='stereo':rematrix_maxval=0.000000dB:osr=44100:rematrix_volume=-25.000000dB[0]","-map","[0]","-codec:0","libmp3lame","-q:0","0","-f","segment","-segment_format","mp3","-segment_time","1","-segment_header_filename","header","-segment_start_number","0","-segment_list","http://localhost:32499/video/:/transcode/session/06c1d6a9-4eef-4485-b0ca-bf70dddb9e9e-526/7fc64e6a-e517-44be-97c5-e6ff562a4294/manifest?X-Plex-Http-Pipeline=infinite","-segment_list_type","csv","-segment_list_unfinished","1","-segment_list_size","5","-segment_list_separate_stream_times","1","-map_metadata","-1","-map_chapters","-1","chunk-%05d","-y","-nostats","-loglevel","verbose","-loglevel_plex","verbose","-progressurl","http://localhost:32499/video/:/transcode/session/06c1d6a9-4eef-4485-b0ca-bf70dddb9e9e-526/7fc64e6a-e517-44be-97c5-e6ff562a4294/progress"]
env => {"PUID":"1000","PLEX_ARCH":"amd64","HOSTNAME":"plex","S6_CMD_WAIT_FOR_SERVICES_MAXTIME":"0","LANGUAGE":"en_US.UTF-8","TRANSCODE_OPERATING_MODE":"both","ORCHESTRATOR_URL":"http://localhost:3500","PWD":"/transcode/Transcode/Sessions/plex-transcode-06c1d6a9-4eef-4485-b0ca-bf70dddb9e9e-526-7fc64e6a-e517-44be-97c5-e6ff562a4294","PLEX_DOWNLOAD":"https://downloads.plex.tv/plex-media-server-new","PLEX_MEDIA_SERVER_MAX_PLUGIN_PROCS":"6","NVIDIA_DRIVER_CAPABILITIES":"compute,video,utility","PMS_IP":"localhost","TZ":"America/Chicago","PLEX_MEDIA_SERVER_USER":"abc","HOME":"/root","LANG":"en_US.UTF-8","PGID":"1000","VIRTUAL_ENV":"/lsiopy","S6_VERBOSITY":"1","S6_STAGE2_HOOK":"/docker-mods","TERM":"xterm","PLEX_MEDIA_SERVER_INFO_VENDOR":"Docker","PLEX_MEDIA_SERVER_HOME":"/usr/lib/plexmediaserver","DOCKER_MODS":"ghcr.io/pabloromeo/clusterplex_dockermod:latest","X_PLEX_TOKEN":"local-5c9f33bc-594c-4c90-aee8-3ff1d48122b8","PLEX_MEDIA_SERVER_INFO_MODEL":"x86_64","SHLVL":"0","LD_LIBRARY_PATH":"/usr/lib","PLEX_MEDIA_SERVER_INFO_PLATFORM_VERSION":"5.15.0-83-generic","LIBVA_DRIVERS_PATH":"/config/Library/Application Support/Plex Media Server/Cache/va-dri-linux-x86_64","LSIO_FIRST_PARTY":"true","PMS_PORT":"32400","PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR":"/config/Library/Application Support","PATH":"/command:/lsiopy/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin","VERSION":"docker","LOCAL_RELAY_PORT":"32499","LOCAL_RELAY_ENABLED":"1","DEBIAN_FRONTEND":"noninteractive","PLEX_MEDIA_SERVER_INFO_DEVICE":"Docker Container (LinuxServer.io)","FFMPEG_EXTERNAL_LIBS":"/config/Library/Application\\ Support/Plex\\ Media\\ Server/Codecs/8217c1c-4578-linux-x86_64/","TRANSCODER_VERBOSE":"1"}
JobPoster connected, announcing
Orchestrator requesting pending work
Sending request to orchestrator on: http://localhost:3500
Distributed transcoder failed, calling local
Completed local transcode
The '--scan' operation is deprecated and will be removed in future versions of Plex Media Server.
Calling external transcoder: /app/transcoder.js
ON_DEATH: debug mode enabled for pid [51819]
Local Relay enabled, traffic proxied through PMS local port 32499
Setting VERBOSE to ON
Sending request to orchestrator on: http://localhost:3500
cwd => "/transcode/Transcode/Sessions/plex-transcode-39e9c477-b14c-4018-a926-d93a6facdbdc-1735-8984eba4-73c7-4eb2-be66-fbb2ba773d45"
args => ["-codec:0","mp3","-analyzeduration","20000000","-probesize","20000000","-i","/config/Library/Application Support/Plex Media Server/Metadata/TV Shows/f/003e052b155c4b6f9222e14f920662b43f9cc91.bundle/Contents/_combined/themes/tv.plex.agents.series_aa276c23167239c5bcf7c15f476f2bae1601645c","-filter_complex","[0:0] aresample=async=1:ochl='stereo':rematrix_maxval=0.000000dB:osr=44100:rematrix_volume=-25.000000dB[0]","-map","[0]","-codec:0","libmp3lame","-q:0","0","-f","segment","-segment_format","mp3","-segment_time","1","-segment_header_filename","header","-segment_start_number","0","-segment_list","http://localhost:32499/video/:/transcode/session/39e9c477-b14c-4018-a926-d93a6facdbdc-1735/8984eba4-73c7-4eb2-be66-fbb2ba773d45/manifest?X-Plex-Http-Pipeline=infinite","-segment_list_type","csv","-segment_list_unfinished","1","-segment_list_size","5","-segment_list_separate_stream_times","1","-map_metadata","-1","-map_chapters","-1","chunk-%05d","-y","-nostats","-loglevel","verbose","-loglevel_plex","verbose","-progressurl","http://localhost:32499/video/:/transcode/session/39e9c477-b14c-4018-a926-d93a6facdbdc-1735/8984eba4-73c7-4eb2-be66-fbb2ba773d45/progress"]
env => {"PUID":"1000","PLEX_ARCH":"amd64","HOSTNAME":"plex","S6_CMD_WAIT_FOR_SERVICES_MAXTIME":"0","LANGUAGE":"en_US.UTF-8","TRANSCODE_OPERATING_MODE":"both","ORCHESTRATOR_URL":"http://localhost:3500","PWD":"/transcode/Transcode/Sessions/plex-transcode-39e9c477-b14c-4018-a926-d93a6facdbdc-1735-8984eba4-73c7-4eb2-be66-fbb2ba773d45","PLEX_DOWNLOAD":"https://downloads.plex.tv/plex-media-server-new","PLEX_MEDIA_SERVER_MAX_PLUGIN_PROCS":"6","NVIDIA_DRIVER_CAPABILITIES":"compute,video,utility","PMS_IP":"localhost","TZ":"America/Chicago","PLEX_MEDIA_SERVER_USER":"abc","HOME":"/root","LANG":"en_US.UTF-8","PGID":"1000","VIRTUAL_ENV":"/lsiopy","S6_VERBOSITY":"1","S6_STAGE2_HOOK":"/docker-mods","TERM":"xterm","PLEX_MEDIA_SERVER_INFO_VENDOR":"Docker","PLEX_MEDIA_SERVER_HOME":"/usr/lib/plexmediaserver","DOCKER_MODS":"ghcr.io/pabloromeo/clusterplex_dockermod:latest","X_PLEX_TOKEN":"local-5c9f33bc-594c-4c90-aee8-3ff1d48122b8","PLEX_MEDIA_SERVER_INFO_MODEL":"x86_64","SHLVL":"0","LD_LIBRARY_PATH":"/usr/lib","PLEX_MEDIA_SERVER_INFO_PLATFORM_VERSION":"5.15.0-83-generic","LIBVA_DRIVERS_PATH":"/config/Library/Application Support/Plex Media Server/Cache/va-dri-linux-x86_64","LSIO_FIRST_PARTY":"true","PMS_PORT":"32400","PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR":"/config/Library/Application Support","PATH":"/command:/lsiopy/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin","VERSION":"docker","LOCAL_RELAY_PORT":"32499","LOCAL_RELAY_ENABLED":"1","DEBIAN_FRONTEND":"noninteractive","PLEX_MEDIA_SERVER_INFO_DEVICE":"Docker Container (LinuxServer.io)","FFMPEG_EXTERNAL_LIBS":"/config/Library/Application\\ Support/Plex\\ Media\\ Server/Codecs/8217c1c-4578-linux-x86_64/","TRANSCODER_VERBOSE":"1"}
JobPoster connected, announcing
Orchestrator requesting pending work
Sending request to orchestrator on: http://localhost:3500
The '--scan' operation is deprecated and will be removed in future versions of Plex Media Server.
Calling external transcoder: /app/transcoder.js
ON_DEATH: debug mode enabled for pid [53237]
Local Relay enabled, traffic proxied through PMS local port 32499
Setting VERBOSE to ON
Sending request to orchestrator on: http://localhost:3500
cwd => "/transcode/Transcode/Sessions/plex-transcode-yzn7vgt7p3mirs27irp51sqh-cb6f63b4-6603-49c0-b5ec-8f9ad6e3a479"
args => ["-codec:0","mp3","-analyzeduration","20000000","-probesize","20000000","-i","/config/Library/Application Support/Plex Media Server/Metadata/TV Shows/d/86ba9f62eb2103e7d488fee6bbccb265ee0af57.bundle/Contents/_combined/themes/tv.plex.agents.series_ef270a2aa2f6319be2a58c7bf5307374c2087180","-filter_complex","[0:0] aresample=async=1:ochl='stereo':rematrix_maxval=0.000000dB:osr=44100:rematrix_volume=-25.000000dB[0]","-map","[0]","-codec:0","aac","-b:0","182k","-f","segment","-segment_format","matroska","-segment_format_options","live=1","-segment_time","1","-segment_header_filename","header","-segment_start_number","0","-segment_list","http://localhost:32499/video/:/transcode/session/yzn7vgt7p3mirs27irp51sqh/cb6f63b4-6603-49c0-b5ec-8f9ad6e3a479/manifest?X-Plex-Http-Pipeline=infinite","-segment_list_type","csv","-segment_list_unfinished","1","-segment_list_size","5","-segment_list_separate_stream_times","1","-avoid_negative_ts","disabled","-map_metadata","-1","-map_chapters","-1","chunk-%05d","-start_at_zero","-copyts","-y","-nostats","-loglevel","verbose","-loglevel_plex","verbose","-progressurl","http://localhost:32499/video/:/transcode/session/yzn7vgt7p3mirs27irp51sqh/cb6f63b4-6603-49c0-b5ec-8f9ad6e3a479/progress"]
env => {"PUID":"1000","PLEX_ARCH":"amd64","HOSTNAME":"plex","S6_CMD_WAIT_FOR_SERVICES_MAXTIME":"0","LANGUAGE":"en_US.UTF-8","TRANSCODE_OPERATING_MODE":"both","ORCHESTRATOR_URL":"http://localhost:3500","PWD":"/transcode/Transcode/Sessions/plex-transcode-yzn7vgt7p3mirs27irp51sqh-cb6f63b4-6603-49c0-b5ec-8f9ad6e3a479","PLEX_DOWNLOAD":"https://downloads.plex.tv/plex-media-server-new","PLEX_MEDIA_SERVER_MAX_PLUGIN_PROCS":"6","NVIDIA_DRIVER_CAPABILITIES":"compute,video,utility","PMS_IP":"localhost","TZ":"America/Chicago","PLEX_MEDIA_SERVER_USER":"abc","HOME":"/root","LANG":"en_US.UTF-8","PGID":"1000","VIRTUAL_ENV":"/lsiopy","S6_VERBOSITY":"1","S6_STAGE2_HOOK":"/docker-mods","TERM":"xterm","PLEX_MEDIA_SERVER_INFO_VENDOR":"Docker","PLEX_MEDIA_SERVER_HOME":"/usr/lib/plexmediaserver","DOCKER_MODS":"ghcr.io/pabloromeo/clusterplex_dockermod:latest","X_PLEX_TOKEN":"local-5c9f33bc-594c-4c90-aee8-3ff1d48122b8","PLEX_MEDIA_SERVER_INFO_MODEL":"x86_64","SHLVL":"0","LD_LIBRARY_PATH":"/usr/lib","PLEX_MEDIA_SERVER_INFO_PLATFORM_VERSION":"5.15.0-83-generic","LIBVA_DRIVERS_PATH":"/config/Library/Application Support/Plex Media Server/Cache/va-dri-linux-x86_64","LSIO_FIRST_PARTY":"true","PMS_PORT":"32400","PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR":"/config/Library/Application Support","PATH":"/command:/lsiopy/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin","VERSION":"docker","LOCAL_RELAY_PORT":"32499","LOCAL_RELAY_ENABLED":"1","DEBIAN_FRONTEND":"noninteractive","PLEX_MEDIA_SERVER_INFO_DEVICE":"Docker Container (LinuxServer.io)","FFMPEG_EXTERNAL_LIBS":"/config/Library/Application\\ Support/Plex\\ Media\\ Server/Codecs/8217c1c-4578-linux-x86_64/","TRANSCODER_VERBOSE":"1"}
JobPoster connected, announcing
Orchestrator requesting pending work
Sending request to orchestrator on: http://localhost:3500
Distributed transcoder failed, calling local
Completed local transcode
Calling external transcoder: /app/transcoder.js
ON_DEATH: debug mode enabled for pid [54106]
Local Relay enabled, traffic proxied through PMS local port 32499
Setting VERBOSE to ON
Sending request to orchestrator on: http://localhost:3500
cwd => "/transcode/Transcode/Sessions/plex-transcode-aa65b406dec582cb-com-plexapp-android-06c80be7-0358-428e-9187-81379172444e"
args => ["-codec:0","hevc","-codec:1","aac","-analyzeduration","20000000","-probesize","20000000","-i","/movies/Indiana Jones and the Kingdom of the Crystal Skull (2008)/Indiana Jones and the Kingdom of the Crystal Skull (2008).mkv","-analyzeduration","20000000","-probesize","20000000","-i","/transcode/Transcode/Sessions/plex-transcode-aa65b406dec582cb-com-plexapp-android-06c80be7-0358-428e-9187-81379172444e/temp-0.srt","-filter_complex","[0:0]scale=w=720:h=300:force_divisible_by=4[0];[0]format=pix_fmts=yuv420p|nv12[1]","-map","[1]","-codec:0","libx264","-crf:0","19","-maxrate:0","1687k","-bufsize:0","3374k","-r:0","23.975999999999999","-preset:0","veryfast","-level:0","4.2","-x264opts:0","subme=3:me_range=4:rc_lookahead=10:me=hex","-force_key_frames:0","expr:gte(t,n_forced*8)","-filter_complex","[0:1] aresample=async=1:ochl='stereo':rematrix_maxval=0.000000dB:osr=48000[2]","-map","[2]","-metadata:s:1","language=eng","-codec:1","libopus","-b:1","193k","-map","1:s:0","-metadata:s:2","language=eng","-codec:2","ass","-strict_ts:2","0","-map","0:t?","-codec:t","copy","-segment_format","matroska","-f","ssegment","-individual_header_trailer","0","-flags","+global_header","-segment_header_filename","header","-segment_time","8","-segment_start_number","0","-segment_copyts","1","-segment_time_delta","0.0625","-segment_list","http://localhost:32499/video/:/transcode/session/aa65b406dec582cb-com-plexapp-android/06c80be7-0358-428e-9187-81379172444e/manifest?X-Plex-Http-Pipeline=infinite","-segment_list_type","csv","-segment_list_size","5","-segment_list_separate_stream_times","1","-segment_list_unfinished","1","-segment_format_options","output_ts_offset=10","-max_delay","5000000","-avoid_negative_ts","disabled","-map_metadata:g","-1","-map_metadata:c","-1","-map_chapters","-1","media-%05d.ts","-start_at_zero","-copyts","-vsync","cfr","-y","-nostats","-loglevel","verbose","-loglevel_plex","verbose","-progressurl","http://localhost:32499/video/:/transcode/session/aa65b406dec582cb-com-plexapp-android/06c80be7-0358-428e-9187-81379172444e/progress"]
env => {"PUID":"1000","PLEX_ARCH":"amd64","HOSTNAME":"plex","S6_CMD_WAIT_FOR_SERVICES_MAXTIME":"0","LANGUAGE":"en_US.UTF-8","TRANSCODE_OPERATING_MODE":"both","ORCHESTRATOR_URL":"http://localhost:3500","PWD":"/transcode/Transcode/Sessions/plex-transcode-aa65b406dec582cb-com-plexapp-android-06c80be7-0358-428e-9187-81379172444e","PLEX_DOWNLOAD":"https://downloads.plex.tv/plex-media-server-new","PLEX_MEDIA_SERVER_MAX_PLUGIN_PROCS":"6","NVIDIA_DRIVER_CAPABILITIES":"compute,video,utility","PMS_IP":"localhost","TZ":"America/Chicago","PLEX_MEDIA_SERVER_USER":"abc","HOME":"/root","LANG":"en_US.UTF-8","PGID":"1000","VIRTUAL_ENV":"/lsiopy","S6_VERBOSITY":"1","S6_STAGE2_HOOK":"/docker-mods","TERM":"xterm","PLEX_MEDIA_SERVER_INFO_VENDOR":"Docker","PLEX_MEDIA_SERVER_HOME":"/usr/lib/plexmediaserver","DOCKER_MODS":"ghcr.io/pabloromeo/clusterplex_dockermod:latest","X_PLEX_TOKEN":"local-5c9f33bc-594c-4c90-aee8-3ff1d48122b8","PLEX_MEDIA_SERVER_INFO_MODEL":"x86_64","SHLVL":"0","LD_LIBRARY_PATH":"/usr/lib","PLEX_MEDIA_SERVER_INFO_PLATFORM_VERSION":"5.15.0-83-generic","LIBVA_DRIVERS_PATH":"/config/Library/Application Support/Plex Media Server/Cache/va-dri-linux-x86_64","LSIO_FIRST_PARTY":"true","PMS_PORT":"32400","PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR":"/config/Library/Application Support","PATH":"/command:/lsiopy/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin","VERSION":"docker","LOCAL_RELAY_PORT":"32499","LOCAL_RELAY_ENABLED":"1","DEBIAN_FRONTEND":"noninteractive","PLEX_MEDIA_SERVER_INFO_DEVICE":"Docker Container (LinuxServer.io)","FFMPEG_EXTERNAL_LIBS":"/config/Library/Application\\ Support/Plex\\ Media\\ Server/Codecs/8217c1c-4578-linux-x86_64/","TRANSCODER_VERBOSE":"1"}
JobPoster connected, announcing
Orchestrator requesting pending work
Sending request to orchestrator on: http://localhost:3500
Distributed transcoder failed, calling local
Calling external transcoder: /app/transcoder.js
ON_DEATH: debug mode enabled for pid [54189]
Local Relay enabled, traffic proxied through PMS local port 32499
Setting VERBOSE to ON
Sending request to orchestrator on: http://localhost:3500
cwd => "/transcode/Transcode/Sessions/plex-transcode-aa65b406dec582cb-com-plexapp-android-627cdaf9-7f1f-4090-9b88-139abb876fa8"
args => ["-codec:0","hevc","-codec:1","aac","-ss","872","-analyzeduration","20000000","-probesize","20000000","-i","/movies/Indiana Jones and the Kingdom of the Crystal Skull (2008)/Indiana Jones and the Kingdom of the Crystal Skull (2008).mkv","-ss","872","-analyzeduration","20000000","-probesize","20000000","-i","/transcode/Transcode/Sessions/plex-transcode-aa65b406dec582cb-com-plexapp-android-627cdaf9-7f1f-4090-9b88-139abb876fa8/temp-0.srt","-filter_complex","[0:0]scale=w=720:h=300:force_divisible_by=4[0];[0]format=pix_fmts=yuv420p|nv12[1]","-map","[1]","-codec:0","libx264","-crf:0","19","-maxrate:0","1687k","-bufsize:0","3374k","-r:0","23.975999999999999","-preset:0","veryfast","-level:0","4.2","-x264opts:0","subme=3:me_range=4:rc_lookahead=10:me=hex","-force_key_frames:0","expr:gte(t,n_forced*8)","-filter_complex","[0:1] aresample=async=1:ochl='stereo':rematrix_maxval=0.000000dB:osr=48000[2]","-map","[2]","-metadata:s:1","language=eng","-codec:1","libopus","-b:1","193k","-map","1:s:0","-metadata:s:2","language=eng","-codec:2","ass","-strict_ts:2","0","-map","0:t?","-codec:t","copy","-segment_format","matroska","-f","ssegment","-individual_header_trailer","0","-flags","+global_header","-segment_header_filename","header","-segment_time","8","-segment_start_number","109","-segment_copyts","1","-segment_time_delta","0.0625","-segment_list","http://localhost:32499/video/:/transcode/session/aa65b406dec582cb-com-plexapp-android/627cdaf9-7f1f-4090-9b88-139abb876fa8/manifest?X-Plex-Http-Pipeline=infinite","-segment_list_type","csv","-segment_list_size","5","-segment_list_separate_stream_times","1","-segment_list_unfinished","1","-segment_format_options","output_ts_offset=10","-max_delay","5000000","-avoid_negative_ts","disabled","-map_metadata:g","-1","-map_metadata:c","-1","-map_chapters","-1","media-%05d.ts","-start_at_zero","-copyts","-y","-nostats","-loglevel","verbose","-loglevel_plex","verbose","-progressurl","http://localhost:32499/video/:/transcode/session/aa65b406dec582cb-com-plexapp-android/627cdaf9-7f1f-4090-9b88-139abb876fa8/progress"]
env => {"PUID":"1000","PLEX_ARCH":"amd64","HOSTNAME":"plex","S6_CMD_WAIT_FOR_SERVICES_MAXTIME":"0","LANGUAGE":"en_US.UTF-8","TRANSCODE_OPERATING_MODE":"both","ORCHESTRATOR_URL":"http://localhost:3500","PWD":"/transcode/Transcode/Sessions/plex-transcode-aa65b406dec582cb-com-plexapp-android-627cdaf9-7f1f-4090-9b88-139abb876fa8","PLEX_DOWNLOAD":"https://downloads.plex.tv/plex-media-server-new","PLEX_MEDIA_SERVER_MAX_PLUGIN_PROCS":"6","NVIDIA_DRIVER_CAPABILITIES":"compute,video,utility","PMS_IP":"localhost","TZ":"America/Chicago","PLEX_MEDIA_SERVER_USER":"abc","HOME":"/root","LANG":"en_US.UTF-8","PGID":"1000","VIRTUAL_ENV":"/lsiopy","S6_VERBOSITY":"1","S6_STAGE2_HOOK":"/docker-mods","TERM":"xterm","PLEX_MEDIA_SERVER_INFO_VENDOR":"Docker","PLEX_MEDIA_SERVER_HOME":"/usr/lib/plexmediaserver","DOCKER_MODS":"ghcr.io/pabloromeo/clusterplex_dockermod:latest","X_PLEX_TOKEN":"local-5c9f33bc-594c-4c90-aee8-3ff1d48122b8","PLEX_MEDIA_SERVER_INFO_MODEL":"x86_64","SHLVL":"0","LD_LIBRARY_PATH":"/usr/lib","PLEX_MEDIA_SERVER_INFO_PLATFORM_VERSION":"5.15.0-83-generic","LIBVA_DRIVERS_PATH":"/config/Library/Application Support/Plex Media Server/Cache/va-dri-linux-x86_64","LSIO_FIRST_PARTY":"true","PMS_PORT":"32400","PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR":"/config/Library/Application Support","PATH":"/command:/lsiopy/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin","VERSION":"docker","LOCAL_RELAY_PORT":"32499","LOCAL_RELAY_ENABLED":"1","DEBIAN_FRONTEND":"noninteractive","PLEX_MEDIA_SERVER_INFO_DEVICE":"Docker Container (LinuxServer.io)","FFMPEG_EXTERNAL_LIBS":"/config/Library/Application\\ Support/Plex\\ Media\\ Server/Codecs/8217c1c-4578-linux-x86_64/","TRANSCODER_VERBOSE":"1"}
JobPoster connected, announcing
Orchestrator requesting pending work
Sending request to orchestrator on: http://localhost:3500
Distributed transcoder failed, calling local
Calling external transcoder: /app/transcoder.js
ON_DEATH: debug mode enabled for pid [54683]
Local Relay enabled, traffic proxied through PMS local port 32499
Setting VERBOSE to ON
Sending request to orchestrator on: http://localhost:3500
cwd => "/transcode/Transcode/Sessions/plex-transcode-pr2ew60hvl9f0hybd2rfxgqu-0c6a01a2-2faf-4c7f-b022-f62e856bd4a7"
args => ["-codec:0","h264","-codec:1","ac3","-ss","0","-noaccurate_seek","-analyzeduration","20000000","-probesize","20000000","-i","/movies/Talk to Me (2023)/Talk to Me (2023).mkv","-map","0:0","-metadata:s:0","language=eng","-codec:0","copy","-filter_complex","[0:1] aresample=async=1:ochl='stereo':rematrix_maxval=0.000000dB:osr=48000[0]","-map","[0]","-metadata:s:1","language=eng","-codec:1","aac","-b:1","256k","-f","dash","-seg_duration","5","-dash_segment_type","mp4","-init_seg_name","init-stream$RepresentationID$.m4s","-media_seg_name","chunk-stream$RepresentationID$-$Number%05d$.m4s","-window_size","5","-delete_removed","false","-skip_to_segment","1","-time_delta","0.0625","-manifest_name","http://localhost:32499/video/:/transcode/session/pr2ew60hvl9f0hybd2rfxgqu/0c6a01a2-2faf-4c7f-b022-f62e856bd4a7/manifest?X-Plex-Http-Pipeline=infinite","-avoid_negative_ts","disabled","-map_metadata","-1","-map_chapters","-1","dash","-start_at_zero","-copyts","-vsync","cfr","-y","-nostats","-loglevel","verbose","-loglevel_plex","verbose","-progressurl","http://localhost:32499/video/:/transcode/session/pr2ew60hvl9f0hybd2rfxgqu/0c6a01a2-2faf-4c7f-b022-f62e856bd4a7/progress"]
env => {"PUID":"1000","PLEX_ARCH":"amd64","HOSTNAME":"plex","S6_CMD_WAIT_FOR_SERVICES_MAXTIME":"0","LANGUAGE":"en_US.UTF-8","TRANSCODE_OPERATING_MODE":"both","ORCHESTRATOR_URL":"http://localhost:3500","PWD":"/transcode/Transcode/Sessions/plex-transcode-pr2ew60hvl9f0hybd2rfxgqu-0c6a01a2-2faf-4c7f-b022-f62e856bd4a7","PLEX_DOWNLOAD":"https://downloads.plex.tv/plex-media-server-new","PLEX_MEDIA_SERVER_MAX_PLUGIN_PROCS":"6","NVIDIA_DRIVER_CAPABILITIES":"compute,video,utility","PMS_IP":"localhost","TZ":"America/Chicago","PLEX_MEDIA_SERVER_USER":"abc","HOME":"/root","LANG":"en_US.UTF-8","PGID":"1000","VIRTUAL_ENV":"/lsiopy","S6_VERBOSITY":"1","S6_STAGE2_HOOK":"/docker-mods","TERM":"xterm","PLEX_MEDIA_SERVER_INFO_VENDOR":"Docker","PLEX_MEDIA_SERVER_HOME":"/usr/lib/plexmediaserver","DOCKER_MODS":"ghcr.io/pabloromeo/clusterplex_dockermod:latest","X_PLEX_TOKEN":"local-5c9f33bc-594c-4c90-aee8-3ff1d48122b8","PLEX_MEDIA_SERVER_INFO_MODEL":"x86_64","SHLVL":"0","LD_LIBRARY_PATH":"/usr/lib","PLEX_MEDIA_SERVER_INFO_PLATFORM_VERSION":"5.15.0-83-generic","LIBVA_DRIVERS_PATH":"/config/Library/Application Support/Plex Media Server/Cache/va-dri-linux-x86_64","LSIO_FIRST_PARTY":"true","PMS_PORT":"32400","PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR":"/config/Library/Application Support","PATH":"/command:/lsiopy/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin","VERSION":"docker","LOCAL_RELAY_PORT":"32499","LOCAL_RELAY_ENABLED":"1","DEBIAN_FRONTEND":"noninteractive","PLEX_MEDIA_SERVER_INFO_DEVICE":"Docker Container (LinuxServer.io)","FFMPEG_EXTERNAL_LIBS":"/config/Library/Application\\ Support/Plex\\ Media\\ Server/Codecs/8217c1c-4578-linux-x86_64/","TRANSCODER_VERBOSE":"1"}
JobPoster connected, announcing
Orchestrator requesting pending work
Sending request to orchestrator on: http://localhost:3500
Distributed transcoder failed, calling local
Calling external transcoder: /app/transcoder.js
ON_DEATH: debug mode enabled for pid [54711]
Local Relay enabled, traffic proxied through PMS local port 32499
Setting VERBOSE to ON
Sending request to orchestrator on: http://localhost:3500
cwd => "/transcode/Transcode/Sessions/plex-transcode-pr2ew60hvl9f0hybd2rfxgqu-332f7a65-72dd-466c-8022-5128c2337e34"
args => ["-codec:0","h264","-codec:1","ac3","-ss","2565","-noaccurate_seek","-analyzeduration","20000000","-probesize","20000000","-i","/movies/Talk to Me (2023)/Talk to Me (2023).mkv","-map","0:0","-metadata:s:0","language=eng","-codec:0","copy","-filter_complex","[0:1] aresample=async=1:ochl='stereo':rematrix_maxval=0.000000dB:osr=48000[0]","-map","[0]","-metadata:s:1","language=eng","-codec:1","aac","-b:1","256k","-f","dash","-seg_duration","5","-dash_segment_type","mp4","-init_seg_name","init-stream$RepresentationID$.m4s","-media_seg_name","chunk-stream$RepresentationID$-$Number%05d$.m4s","-window_size","5","-delete_removed","false","-skip_to_segment","514","-time_delta","0.0625","-manifest_name","http://localhost:32499/video/:/transcode/session/pr2ew60hvl9f0hybd2rfxgqu/332f7a65-72dd-466c-8022-5128c2337e34/manifest?X-Plex-Http-Pipeline=infinite","-avoid_negative_ts","disabled","-map_metadata","-1","-map_chapters","-1","dash","-start_at_zero","-copyts","-y","-nostats","-loglevel","verbose","-loglevel_plex","verbose","-progressurl","http://localhost:32499/video/:/transcode/session/pr2ew60hvl9f0hybd2rfxgqu/332f7a65-72dd-466c-8022-5128c2337e34/progress"]
env => {"PUID":"1000","PLEX_ARCH":"amd64","HOSTNAME":"plex","S6_CMD_WAIT_FOR_SERVICES_MAXTIME":"0","LANGUAGE":"en_US.UTF-8","TRANSCODE_OPERATING_MODE":"both","ORCHESTRATOR_URL":"http://localhost:3500","PWD":"/transcode/Transcode/Sessions/plex-transcode-pr2ew60hvl9f0hybd2rfxgqu-332f7a65-72dd-466c-8022-5128c2337e34","PLEX_DOWNLOAD":"https://downloads.plex.tv/plex-media-server-new","PLEX_MEDIA_SERVER_MAX_PLUGIN_PROCS":"6","NVIDIA_DRIVER_CAPABILITIES":"compute,video,utility","PMS_IP":"localhost","TZ":"America/Chicago","PLEX_MEDIA_SERVER_USER":"abc","HOME":"/root","LANG":"en_US.UTF-8","PGID":"1000","VIRTUAL_ENV":"/lsiopy","S6_VERBOSITY":"1","S6_STAGE2_HOOK":"/docker-mods","TERM":"xterm","PLEX_MEDIA_SERVER_INFO_VENDOR":"Docker","PLEX_MEDIA_SERVER_HOME":"/usr/lib/plexmediaserver","DOCKER_MODS":"ghcr.io/pabloromeo/clusterplex_dockermod:latest","X_PLEX_TOKEN":"local-5c9f33bc-594c-4c90-aee8-3ff1d48122b8","PLEX_MEDIA_SERVER_INFO_MODEL":"x86_64","SHLVL":"0","LD_LIBRARY_PATH":"/usr/lib","PLEX_MEDIA_SERVER_INFO_PLATFORM_VERSION":"5.15.0-83-generic","LIBVA_DRIVERS_PATH":"/config/Library/Application Support/Plex Media Server/Cache/va-dri-linux-x86_64","LSIO_FIRST_PARTY":"true","PMS_PORT":"32400","PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR":"/config/Library/Application Support","PATH":"/command:/lsiopy/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin","VERSION":"docker","LOCAL_RELAY_PORT":"32499","LOCAL_RELAY_ENABLED":"1","DEBIAN_FRONTEND":"noninteractive","PLEX_MEDIA_SERVER_INFO_DEVICE":"Docker Container (LinuxServer.io)","FFMPEG_EXTERNAL_LIBS":"/config/Library/Application\\ Support/Plex\\ Media\\ Server/Codecs/8217c1c-4578-linux-x86_64/","TRANSCODER_VERBOSE":"1"}
JobPoster connected, announcing
Orchestrator requesting pending work
Sending request to orchestrator on: http://localhost:3500
Distributed transcoder failed, calling local
The '--scan' operation is deprecated and will be removed in future versions of Plex Media Server.

Here is the orchestrator on the main node:

Queueing job 2abd30be-3af8-49f4-8e9e-d12d2acf5d43
Queueing task 93c485f3-fa67-449b-8748-6e72fc01bbba
Client disconnected: 4pYKyCm1aMh45spbAAGv
Removing job-poster fcc48a56-de4f-43a7-a195-d50f63dd135c|plex from pool
Killing job 2abd30be-3af8-49f4-8e9e-d12d2acf5d43
Job 2abd30be-3af8-49f4-8e9e-d12d2acf5d43 killed
Client connected: H4vuKl-ogbRsFBUDAAGx
Registered new job poster: 07c40b22-9c54-4942-8144-369e07dc1798|plex
Creating single task for the job
Queueing job 36fb6b15-502e-47dc-9cf9-7b3283eacdd9
Queueing task 15856e33-bf2b-430d-b540-e0713e0d1877
Running task 15856e33-bf2b-430d-b540-e0713e0d1877
Forwarding work request to a959f0ab-fa71-4008-8677-e12e9b699c66|plex-worker-{{.Node.Hostname}}
Received update for task 15856e33-bf2b-430d-b540-e0713e0d1877, status: received
Received update for task 15856e33-bf2b-430d-b540-e0713e0d1877, status: inprogress
Received update for task 15856e33-bf2b-430d-b540-e0713e0d1877, status: done
Task 15856e33-bf2b-430d-b540-e0713e0d1877 complete, result: false
Task 15856e33-bf2b-430d-b540-e0713e0d1877 complete
Job 36fb6b15-502e-47dc-9cf9-7b3283eacdd9 complete, tasks: 1, result: false
JobPoster notified
Removing job 36fb6b15-502e-47dc-9cf9-7b3283eacdd9
Job 36fb6b15-502e-47dc-9cf9-7b3283eacdd9 complete
Client disconnected: H4vuKl-ogbRsFBUDAAGx
Removing job-poster 07c40b22-9c54-4942-8144-369e07dc1798|plex from pool
Client connected: VkfVTc_DrS68jZ1IAAGz
Registered new job poster: 77959fac-b692-4288-be07-946dbaaa0688|plex
Creating single task for the job
Queueing job b6edbd11-14ad-47c1-86c1-ab880328eccc
Queueing task 600bbb0b-a6a5-4463-8e87-5ba8bea7bd44
Running task 600bbb0b-a6a5-4463-8e87-5ba8bea7bd44
Forwarding work request to a959f0ab-fa71-4008-8677-e12e9b699c66|plex-worker-{{.Node.Hostname}}
Received update for task 600bbb0b-a6a5-4463-8e87-5ba8bea7bd44, status: received
Received update for task 600bbb0b-a6a5-4463-8e87-5ba8bea7bd44, status: inprogress
Received update for task 600bbb0b-a6a5-4463-8e87-5ba8bea7bd44, status: done
Task 600bbb0b-a6a5-4463-8e87-5ba8bea7bd44 complete, result: false
Task 600bbb0b-a6a5-4463-8e87-5ba8bea7bd44 complete
Job b6edbd11-14ad-47c1-86c1-ab880328eccc complete, tasks: 1, result: false
JobPoster notified
Removing job b6edbd11-14ad-47c1-86c1-ab880328eccc
Job b6edbd11-14ad-47c1-86c1-ab880328eccc complete
Client disconnected: VkfVTc_DrS68jZ1IAAGz
Removing job-poster 77959fac-b692-4288-be07-946dbaaa0688|plex from pool
Client connected: b_YZCrVbL5xGNS80AAG1
Registered new job poster: 32896e79-1a53-42c1-8992-c04fbda50dbc|plex
Creating single task for the job
Queueing job 55227861-7af8-43f8-a12f-fa468c2db474
Queueing task 116f3081-d6e4-4e1c-aa35-0f0c43b746f4
Running task 116f3081-d6e4-4e1c-aa35-0f0c43b746f4
Forwarding work request to a959f0ab-fa71-4008-8677-e12e9b699c66|plex-worker-{{.Node.Hostname}}
Received update for task 116f3081-d6e4-4e1c-aa35-0f0c43b746f4, status: received
Received update for task 116f3081-d6e4-4e1c-aa35-0f0c43b746f4, status: inprogress
Received update for task 116f3081-d6e4-4e1c-aa35-0f0c43b746f4, status: done
Task 116f3081-d6e4-4e1c-aa35-0f0c43b746f4 complete, result: false
Task 116f3081-d6e4-4e1c-aa35-0f0c43b746f4 complete
Job 55227861-7af8-43f8-a12f-fa468c2db474 complete, tasks: 1, result: false
JobPoster notified
Removing job 55227861-7af8-43f8-a12f-fa468c2db474
Job 55227861-7af8-43f8-a12f-fa468c2db474 complete
Client connected: hAUxh3Ev79jbznT2AAG4
Client connected: InHH61TW89jmw7zXAAG5
Registering worker f26a20bf-20d1-42c0-860b-57c18020cd1c|plex-worker-{{.Node.Hostname}}
Registered new worker: f26a20bf-20d1-42c0-860b-57c18020cd1c|plex-worker-{{.Node.Hostname}}
Registering worker 6cd2e878-f98b-48c8-bde3-849e80182ad4|plex-worker-{{.Node.Hostname}}
Registered new worker: 6cd2e878-f98b-48c8-bde3-849e80182ad4|plex-worker-{{.Node.Hostname}}
Client connected: YdP6ptHYy8c0pqfUAAG7
Registered new job poster: 45c066d3-0dd5-4dba-add7-dff6f9498efd|plex
Creating single task for the job
Queueing job 9d11bbba-f19e-428f-922a-05a977c42f03
Queueing task 71c169f3-404c-47d2-a38a-4dac4f799e0b
Running task 71c169f3-404c-47d2-a38a-4dac4f799e0b
Forwarding work request to a959f0ab-fa71-4008-8677-e12e9b699c66|plex-worker-{{.Node.Hostname}}
Received update for task 71c169f3-404c-47d2-a38a-4dac4f799e0b, status: received
Received update for task 71c169f3-404c-47d2-a38a-4dac4f799e0b, status: inprogress
Received update for task 71c169f3-404c-47d2-a38a-4dac4f799e0b, status: done
Task 71c169f3-404c-47d2-a38a-4dac4f799e0b complete, result: false
Task 71c169f3-404c-47d2-a38a-4dac4f799e0b complete
Job 9d11bbba-f19e-428f-922a-05a977c42f03 complete, tasks: 1, result: false
JobPoster notified
Removing job 9d11bbba-f19e-428f-922a-05a977c42f03
Job 9d11bbba-f19e-428f-922a-05a977c42f03 complete
Client disconnected: YdP6ptHYy8c0pqfUAAG7
Removing job-poster 45c066d3-0dd5-4dba-add7-dff6f9498efd|plex from pool
Client connected: WxAz5CLC35OsZGOSAAG9
Registered new job poster: 45e495eb-21b6-483e-a131-e0d49c693556|plex
Creating single task for the job
Queueing job 4cbd61d9-af6b-482e-9ddf-c72f58febb28
Queueing task e6e6031f-5afa-4d38-9fae-453d3320e7fb
Running task e6e6031f-5afa-4d38-9fae-453d3320e7fb
Forwarding work request to a959f0ab-fa71-4008-8677-e12e9b699c66|plex-worker-{{.Node.Hostname}}
Received update for task e6e6031f-5afa-4d38-9fae-453d3320e7fb, status: received
Received update for task e6e6031f-5afa-4d38-9fae-453d3320e7fb, status: inprogress
Received update for task e6e6031f-5afa-4d38-9fae-453d3320e7fb, status: done
Task e6e6031f-5afa-4d38-9fae-453d3320e7fb complete, result: false
Task e6e6031f-5afa-4d38-9fae-453d3320e7fb complete
Job 4cbd61d9-af6b-482e-9ddf-c72f58febb28 complete, tasks: 1, result: false
JobPoster notified
Removing job 4cbd61d9-af6b-482e-9ddf-c72f58febb28
Job 4cbd61d9-af6b-482e-9ddf-c72f58febb28 complete
Client disconnected: b_YZCrVbL5xGNS80AAG1
Removing job-poster 32896e79-1a53-42c1-8992-c04fbda50dbc|plex from pool

Let me know if anything seems wrong.... or if it all does. I have no idea whats right or wrong in those.

pabloromeo commented 9 months ago

One issue I'm seeing is that your PMS_IP is set to localhost, which won't work. Try setting that to that node's actual IP. Because the way this works is, workers will connect to that PMS_IP on the Relay port to report transcoding progress, and from that relay port traffic is then locally forwarded to the real Plex port. That's to have plex believe the progress report is coming from itself and not a remote location (which makes it reject it).

treverehrfurth commented 9 months ago

Ahh, I made that change and its looking like the nodes are communicating with the orchestrator/plex and finally passing along transcodes. Thanks again! This is an awesome job you've done here, allowing me to use my various home lab servers to handle a worst case scenario of 40 streams (in my use case) without having to shell out for a super expensive moba(s) and gpu's! Appreciate the help.

treverehrfurth commented 9 months ago

Do you suggest 1 or 2 worker replicas per node and why? And do I need a worker job on the main node? Or will the plex service handle those transcodes itself? Because I think I only see it registering 2 workers, or maybe it just doesn't log the worker running on the server of pms and orchestrator?

pabloromeo commented 9 months ago

As always with technology, it depends lol. No, but seriously, in a default scenario of just doing cpu transcoding, one worker per node would be enough. Since you're sharing the same physical cpu resource there isn't much benefit to running multiple. Now, if you manage to get hardware transcoding working and you have let's say an igpu plus an Nvidia gpu, you could probably run one worker for each dedicated hardware and make use of them all. But I haven't actually tried that setup configuration. Regarding the running of a worker along with pms, it's not required but if you want that physical machine to also transcode you could have it. Now, you should be seeing it registering in the orchestrator though. If you're not then something is not properly configured on that worker.

Meaning, the way it currently works (affected by the operating_mode) is that it tries to first do a remote transcode and if that fails or there are no workers available it falls back to a local transcode on pms.

treverehrfurth commented 9 months ago

That would be really cool to use both igpu and gpu! I played around for a day trying to get Proxmox > Ubuntu > Docker > Plex/Container to get GPU access and man... was that a struggle of outdated tutorials. I went down that route thinking i'd never get this clusterplex configured for my scenario right. I had lots of service restarts when I was running plex on a NFS share from Truenas Scale. The second I ran plex config on the local VM storage.... it was golden. No crashes or reboots anymore. I really wanted both Proxmox HA and Docker Swarm HA but it was such a headache. And adding GPU and PCIE passthrough into the mix was also a nightmare.

I got GPU in docker and Plex to work really easy in a baremetal instance of ubuntu but missed the oversight in proxmox. But now that I have clusterplex running smoothly, there's no need for those additional headaches of gpu passthrough.

Per your explanation, I have reduced my replicas down to 1 on all nodes including the main. I do see in orchestrator it registering all the workers and handing off transcodes to them!

And again, I can't thank you enough for this, an awesome project well done. I do video work on the side and once I get some time, I definitely want to make a tutorial vid on how to get this setup properly so more people can make use of this repo!

treverehrfurth commented 9 months ago

These are my logs as of recent from my workers, when transcoding. There isn't many people on so transcoding so not sure if this is just because of something else or if something is wrong but lots of refused connection messages:

Worker Node 1:

[tcp @ 0x7f48538dcec0] Starting connection attempt to 192.168.1.147 port 32499
[tcp @ 0x7f48538dcec0] Connection attempt to 192.168.1.147 port 32499 failed: Connection refused
[tcp @ 0x7f48538dcec0] Connection to tcp://192.168.1.147:32499 failed: Connection refused
[dash @ 0x7f484fe1b440] Opening 'chunk-stream1-00033.m4s.tmp' for writing
[tcp @ 0x7f48537ea640] Starting connection attempt to 192.168.1.147 port 32499
[tcp @ 0x7f48537ea640] Connection attempt to 192.168.1.147 port 32499 failed: Connection refused
[tcp @ 0x7f48537ea640] Connection to tcp://192.168.1.147:32499 failed: Connection refused
[dash @ 0x7f484fe1b440] Opening 'chunk-stream0-00033.m4s.tmp' for writing
[tcp @ 0x7f485388fe80] Starting connection attempt to 192.168.1.147 port 32499
[tcp @ 0x7f485388fe80] Connection attempt to 192.168.1.147 port 32499 failed: Connection refused
[tcp @ 0x7f485388fe80] Connection to tcp://192.168.1.147:32499 failed: Connection refused
[AVIOContext @ 0x7f48538db200] Statistics: 9743 bytes written, 0 seeks, 1 writeouts
[tcp @ 0x7f48537d3440] Starting connection attempt to 192.168.1.147 port 32499
[tcp @ 0x7f48537d3440] Connection attempt to 192.168.1.147 port 32499 failed: Connection refused
[tcp @ 0x7f48537d3440] Connection to tcp://192.168.1.147:32499 failed: Connection refused
[dash @ 0x7f484fe1b440] Representation 0 media segment 34 written to: chunk-stream0-00033.m4s
[tcp @ 0x7f48537ea640] Starting connection attempt to 192.168.1.147 port 32499
[tcp @ 0x7f48537ea640] Connection attempt to 192.168.1.147 port 32499 failed: Connection refused
[tcp @ 0x7f48537ea640] Connection to tcp://192.168.1.147:32499 failed: Connection refused
[AVIOContext @ 0x7f484cd51380] Statistics: 571 bytes written, 0 seeks, 1 writeouts
[tcp @ 0x7f485206b240] Starting connection attempt to 192.168.1.147 port 32499
[tcp @ 0x7f485206b240] Connection attempt to 192.168.1.147 port 32499 failed: Connection refused
[tcp @ 0x7f485206b240] Connection to tcp://192.168.1.147:32499 failed: Connection refused
[dash @ 0x7f484fe1b440] Representation 1 media segment 34 written to: chunk-stream1-00033.m4s
[tcp @ 0x7f485388fe80] Starting connection attempt to 192.168.1.147 port 32499
[tcp @ 0x7f485388fe80] Connection attempt to 192.168.1.147 port 32499 failed: Connection refused
[tcp @ 0x7f485388fe80] Connection to tcp://192.168.1.147:32499 failed: Connection refused
[dash @ 0x7f484fe1b440] Opening 'http://192.168.1.147:32499/video/:/transcode/session/ryicsm9212kgtnz535bc1o61/b8960e81-822a-46a2-9329-6fdcfa85ff65/manifest?X-Plex-Http-Pipeline=infinite' for writing
[tcp @ 0x7f4852085680] Starting connection attempt to 192.168.1.147 port 32499
[tcp @ 0x7f4852085680] Connection attempt to 192.168.1.147 port 32499 failed: Connection refused
[tcp @ 0x7f4852085680] Connection to tcp://192.168.1.147:32499 failed: Connection refused
[tcp @ 0x7f48537d3440] Starting connection attempt to 192.168.1.147 port 32499
[tcp @ 0x7f485206b240] Starting connection attempt to 192.168.1.147 port 32499
[tcp @ 0x7f485206b240] Connection attempt to 192.168.1.147 port 32499 failed: Connection refused
[tcp @ 0x7f485206b240] Connection to tcp://192.168.1.147:32499 failed: Connection refused
[tcp @ 0x7f48537d3440] Connection attempt to 192.168.1.147 port 32499 failed: Connection refused
[tcp @ 0x7f48537ea640] Starting connection attempt to 192.168.1.147 port 32499
[tcp @ 0x7f48537ea640] Connection attempt to 192.168.1.147 port 32499 failed: Connection refused
[tcp @ 0x7f48537ea640] Connection to tcp://192.168.1.147:32499 failed: Connection refused
[tcp @ 0x7f48537d3440] Connection to tcp://192.168.1.147:32499 failed: Connection refused
[tcp @ 0x7f485206b280] Starting connection attempt to 192.168.1.147 port 32499
[tcp @ 0x7f485206b280] Connection attempt to 192.168.1.147 port 32499 failed: Connection refused
[tcp @ 0x7f485206b280] Connection to tcp://192.168.1.147:32499 failed: Connection refused
[dash @ 0x7f484fe1b440] Unable to open http://192.168.1.147:32499/video/:/transcode/session/ryicsm9212kgtnz535bc1o61/b8960e81-822a-46a2-9329-6fdcfa85ff65/manifest?X-Plex-Http-Pipeline=infinite for writing: Connection refused
[tcp @ 0x7f48537ea680] Starting connection attempt to 192.168.1.147 port 32499
[tcp @ 0x7f48537ea680] Connection attempt to 192.168.1.147 port 32499 failed: Connection refused
[tcp @ 0x7f48537ea680] Connection to tcp://192.168.1.147:32499 failed: Connection refused
[tcp @ 0x7f4852085640] Starting connection attempt to 192.168.1.147 port 32499
[tcp @ 0x7f4852085640] Connection attempt to 192.168.1.147 port 32499 failed: Connection refused
[tcp @ 0x7f4852085640] Connection to tcp://192.168.1.147:32499 failed: Connection refused
frame=  239 fps=0.0 q=-1.0 Lsize=N/A time=00:00:09.86 bitrate=N/A speed=17.2x    
[tcp @ 0x7f48537d9f00] Starting connection attempt to 192.168.1.147 port 32499
[tcp @ 0x7f48537d9f00] Connection attempt to 192.168.1.147 port 32499 failed: Connection refused
[tcp @ 0x7f48537d9f00] Connection to tcp://192.168.1.147:32499 failed: Connection refused
video:1045kB audio:160kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
[tcp @ 0x7f485206b240] Starting connection attempt to 192.168.1.147 port 32499
[tcp @ 0x7f485206b240] Connection attempt to 192.168.1.147 port 32499 failed: Connection refused
[tcp @ 0x7f485206b240] Connection to tcp://192.168.1.147:32499 failed: Connection refused
Input file #0 (/tv/It's Always Sunny in Philadelphia/Season 08/It's Always Sunny in Philadelphia - S08E08 - Charlie Rules the World.mkv):
[tcp @ 0x7f4852085680] Starting connection attempt to 192.168.1.147 port 32499
[tcp @ 0x7f4852085680] Connection attempt to 192.168.1.147 port 32499 failed: Connection refused
[tcp @ 0x7f4852085680] Connection to tcp://192.168.1.147:32499 failed: Connection refused
  Input stream #0:0 (video): 239 packets read (1070396 bytes); 
[tcp @ 0x7f48537d9ec0] Starting connection attempt to 192.168.1.147 port 32499
[tcp @ 0x7f48537d9ec0] Connection attempt to 192.168.1.147 port 32499 failed: Connection refused
[tcp @ 0x7f48537d9ec0] Connection to tcp://192.168.1.147:32499 failed: Connection refused
  Input stream #0:1 (audio): 466 packets read (163452 bytes); 
[tcp @ 0x7f485206b280] Starting connection attempt to 192.168.1.147 port 32499
[tcp @ 0x7f485206b280] Connection attempt to 192.168.1.147 port 32499 failed: Connection refused
[tcp @ 0x7f485206b280] Connection to tcp://192.168.1.147:32499 failed: Connection refused
  Total: 705 packets (1233848 bytes) demuxed
[tcp @ 0x7f48531a1840] Starting connection attempt to 192.168.1.147 port 32499
[tcp @ 0x7f48531a1840] Connection attempt to 192.168.1.147 port 32499 failed: Connection refused
[tcp @ 0x7f48531a1840] Connection to tcp://192.168.1.147:32499 failed: Connection refused
Output file #0 (dash):
[tcp @ 0x7f4852085640] Starting connection attempt to 192.168.1.147 port 32499
[tcp @ 0x7f4852085640] Connection attempt to 192.168.1.147 port 32499 failed: Connection refused
[tcp @ 0x7f4852085640] Connection to tcp://192.168.1.147:32499 failed: Connection refused
  Output stream #0:0 (video): 239 packets muxed (1070396 bytes); 
[tcp @ 0x7f4852448640] Starting connection attempt to 192.168.1.147 port 32499
[tcp @ 0x7f4852448640] Connection attempt to 192.168.1.147 port 32499 failed: Connection refused
[tcp @ 0x7f4852448640] Connection to tcp://192.168.1.147:32499 failed: Connection refused
  Output stream #0:1 (audio): 466 packets muxed (163452 bytes); 
[tcp @ 0x7f485206b240] Starting connection attempt to 192.168.1.147 port 32499
[tcp @ 0x7f485206b240] Connection attempt to 192.168.1.147 port 32499 failed: Connection refused
[tcp @ 0x7f485206b240] Connection to tcp://192.168.1.147:32499 failed: Connection refused
  Total: 705 packets (1233848 bytes) muxed
[tcp @ 0x7f485388fe80] Starting connection attempt to 192.168.1.147 port 32499
[tcp @ 0x7f485388fe80] Connection attempt to 192.168.1.147 port 32499 failed: Connection refused
[tcp @ 0x7f485388fe80] Connection to tcp://192.168.1.147:32499 failed: Connection refused
[AVIOContext @ 0x7f48538db040] Statistics: 1300736 bytes read, 3 seeks
[tcp @ 0x7f48537d3440] Starting connection attempt to 192.168.1.147 port 32499
[tcp @ 0x7f48537d3440] Connection attempt to 192.168.1.147 port 32499 failed: Connection refused
[tcp @ 0x7f48537d3440] Connection to tcp://192.168.1.147:32499 failed: Connection refused
Conversion failed!
[tcp @ 0x7f48537ea640] Starting connection attempt to 192.168.1.147 port 32499
[tcp @ 0x7f48537ea640] Connection attempt to 192.168.1.147 port 32499 failed: Connection refused
[tcp @ 0x7f48537ea640] Connection to tcp://192.168.1.147:32499 failed: Connection refused
Completed transcode
Removing process from taskMap

Worker Node 2:

[tcp @ 0x7feae1de41c0] Connection attempt to 192.168.1.147 port 32499 failed: Connection refused
[tcp @ 0x7feae1de41c0] Connection to tcp://192.168.1.147:32499 failed: Connection refused
  Input stream #0:1 (audio): 467 packets read (159494 bytes); 467 frames decoded (478208 samples); 
[tcp @ 0x7feae1de45c0] Starting connection attempt to 192.168.1.147 port 32499
[tcp @ 0x7feae1de45c0] Connection attempt to 192.168.1.147 port 32499 failed: Connection refused
[tcp @ 0x7feae1de45c0] Connection to tcp://192.168.1.147:32499 failed: Connection refused
  Total: 707 packets (1238149 bytes) demuxed
[tcp @ 0x7feae1de4680] Starting connection attempt to 192.168.1.147 port 32499
[tcp @ 0x7feae1de4680] Connection attempt to 192.168.1.147 port 32499 failed: Connection refused
[tcp @ 0x7feae1de4680] Connection to tcp://192.168.1.147:32499 failed: Connection refused
Output file #0 (dash):
[tcp @ 0x7feae1de45c0] Starting connection attempt to 192.168.1.147 port 32499
[tcp @ 0x7feae1de45c0] Connection attempt to 192.168.1.147 port 32499 failed: Connection refused
[tcp @ 0x7feae1de45c0] Connection to tcp://192.168.1.147:32499 failed: Connection refused
  Output stream #0:0 (video): 213 frames encoded; 193 packets muxed (153627 bytes); 
[tcp @ 0x7feae1de4680] Starting connection attempt to 192.168.1.147 port 32499
[tcp @ 0x7feae1de4680] Connection attempt to 192.168.1.147 port 32499 failed: Connection refused
[tcp @ 0x7feae1de4680] Connection to tcp://192.168.1.147:32499 failed: Connection refused
  Output stream #0:1 (audio): 431 frames encoded (441344 samples); 432 packets muxed (123474 bytes); 
[tcp @ 0x7feae1de41c0] Starting connection attempt to 192.168.1.147 port 32499
[tcp @ 0x7feae1de41c0] Connection attempt to 192.168.1.147 port 32499 failed: Connection refused
[tcp @ 0x7feae1de41c0] Connection to tcp://192.168.1.147:32499 failed: Connection refused
  Total: 625 packets (277101 bytes) muxed
[tcp @ 0x7feae1de45c0] Starting connection attempt to 192.168.1.147 port 32499
[tcp @ 0x7feae1de45c0] Connection attempt to 192.168.1.147 port 32499 failed: Connection refused
[tcp @ 0x7feae1de45c0] Connection to tcp://192.168.1.147:32499 failed: Connection refused
[libx264 @ 0x7feae5341080] frame I:4     Avg QP:23.05  size: 10282
[tcp @ 0x7feae1de4680] Starting connection attempt to 192.168.1.147 port 32499
[tcp @ 0x7feae1de4680] Connection attempt to 192.168.1.147 port 32499 failed: Connection refused
[tcp @ 0x7feae1de4680] Connection to tcp://192.168.1.147:32499 failed: Connection refused
[libx264 @ 0x7feae5341080] frame P:56    Avg QP:26.62  size:  1444
[tcp @ 0x7feae1de4740] Starting connection attempt to 192.168.1.147 port 32499
[tcp @ 0x7feae1de4740] Connection attempt to 192.168.1.147 port 32499 failed: Connection refused
[tcp @ 0x7feae1de4740] Connection to tcp://192.168.1.147:32499 failed: Connection refused
[libx264 @ 0x7feae5341080] frame B:153   Avg QP:31.10  size:   240
[tcp @ 0x7feae1de41c0] Starting connection attempt to 192.168.1.147 port 32499
[tcp @ 0x7feae1de41c0] Connection attempt to 192.168.1.147 port 32499 failed: Connection refused
[tcp @ 0x7feae1de41c0] Connection to tcp://192.168.1.147:32499 failed: Connection refused
[libx264 @ 0x7feae5341080] consecutive B-frames:  2.8%  1.9%  7.0% 88.3%
[tcp @ 0x7feae1de45c0] Starting connection attempt to 192.168.1.147 port 32499
[tcp @ 0x7feae1de45c0] Connection attempt to 192.168.1.147 port 32499 failed: Connection refused
[tcp @ 0x7feae1de45c0] Connection to tcp://192.168.1.147:32499 failed: Connection refused
[libx264 @ 0x7feae5341080] mb I  I16..4:  2.9%  9.7% 87.4%
[tcp @ 0x7feae1de4680] Starting connection attempt to 192.168.1.147 port 32499
[tcp @ 0x7feae1de4680] Connection attempt to 192.168.1.147 port 32499 failed: Connection refused
[tcp @ 0x7feae1de4680] Connection to tcp://192.168.1.147:32499 failed: Connection refused
[libx264 @ 0x7feae5341080] mb P  I16..4:  0.5%  2.8%  3.9%  P16..4: 37.5% 17.8% 10.1%  0.0%  0.0%    skip:27.5%
[tcp @ 0x7feae1de4740] Starting connection attempt to 192.168.1.147 port 32499
[tcp @ 0x7feae1de4740] Connection attempt to 192.168.1.147 port 32499 failed: Connection refused
[tcp @ 0x7feae1de4740] Connection to tcp://192.168.1.147:32499 failed: Connection refused
[libx264 @ 0x7feae5341080] mb B  I16..4:  0.1%  0.6%  0.3%  B16..8: 20.8%  6.1%  0.5%  direct: 2.0%  skip:69.7%  L0:36.1% L1:43.1% BI:20.8%
[tcp @ 0x7feae1de41c0] Starting connection attempt to 192.168.1.147 port 32499
[tcp @ 0x7feae1de41c0] Connection attempt to 192.168.1.147 port 32499 failed: Connection refused
[tcp @ 0x7feae1de41c0] Connection to tcp://192.168.1.147:32499 failed: Connection refused
[libx264 @ 0x7feae5341080] 8x8 transform intra:30.1% inter:26.6%
[tcp @ 0x7feae1de45c0] Starting connection attempt to 192.168.1.147 port 32499
[tcp @ 0x7feae1de45c0] Connection attempt to 192.168.1.147 port 32499 failed: Connection refused
[tcp @ 0x7feae1de45c0] Connection to tcp://192.168.1.147:32499 failed: Connection refused
[libx264 @ 0x7feae5341080] coded y,uvDC,uvAC intra: 84.5% 86.8% 54.0% inter: 7.5% 3.7% 0.6%
[tcp @ 0x7feae1de4680] Starting connection attempt to 192.168.1.147 port 32499
[tcp @ 0x7feae1de4680] Connection attempt to 192.168.1.147 port 32499 failed: Connection refused
[tcp @ 0x7feae1de4680] Connection to tcp://192.168.1.147:32499 failed: Connection refused
[libx264 @ 0x7feae5341080] i16 v,h,dc,p: 34% 44%  7% 14%
[tcp @ 0x7feae1de4740] Starting connection attempt to 192.168.1.147 port 32499
[tcp @ 0x7feae1de4740] Connection attempt to 192.168.1.147 port 32499 failed: Connection refused
[tcp @ 0x7feae1de4740] Connection to tcp://192.168.1.147:32499 failed: Connection refused
[libx264 @ 0x7feae5341080] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 33% 18% 12%  6%  4%  5%  5%  8%  9%
[tcp @ 0x7feae1de41c0] Starting connection attempt to 192.168.1.147 port 32499
[tcp @ 0x7feae1de41c0] Connection attempt to 192.168.1.147 port 32499 failed: Connection refused
[tcp @ 0x7feae1de41c0] Connection to tcp://192.168.1.147:32499 failed: Connection refused
[libx264 @ 0x7feae5341080] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 29% 16% 10%  6%  7%  8%  8%  8%  8%
[tcp @ 0x7feae1de45c0] Starting connection attempt to 192.168.1.147 port 32499
[tcp @ 0x7feae1de45c0] Connection attempt to 192.168.1.147 port 32499 failed: Connection refused
[tcp @ 0x7feae1de45c0] Connection to tcp://192.168.1.147:32499 failed: Connection refused
[libx264 @ 0x7feae5341080] i8c dc,h,v,p: 42% 22% 26% 11%
[tcp @ 0x7feae1de4680] Starting connection attempt to 192.168.1.147 port 32499
[tcp @ 0x7feae1de4680] Connection attempt to 192.168.1.147 port 32499 failed: Connection refused
[tcp @ 0x7feae1de4680] Connection to tcp://192.168.1.147:32499 failed: Connection refused
[libx264 @ 0x7feae5341080] Weighted P-Frames: Y:0.0% UV:0.0%
[tcp @ 0x7feae1de4740] Starting connection attempt to 192.168.1.147 port 32499
[tcp @ 0x7feae1de4740] Connection attempt to 192.168.1.147 port 32499 failed: Connection refused
[tcp @ 0x7feae1de4740] Connection to tcp://192.168.1.147:32499 failed: Connection refused
[libx264 @ 0x7feae5341080] kb/s:142.93
[tcp @ 0x7feae1de41c0] Starting connection attempt to 192.168.1.147 port 32499
[tcp @ 0x7feae1de41c0] Connection attempt to 192.168.1.147 port 32499 failed: Connection refused
[tcp @ 0x7feae1de41c0] Connection to tcp://192.168.1.147:32499 failed: Connection refused
[aac @ 0x7feae5341b00] Qavg: 678.630
[tcp @ 0x7feae9099640] Starting connection attempt to 192.168.1.147 port 32499
[tcp @ 0x7feae9099640] Connection attempt to 192.168.1.147 port 32499 failed: Connection refused
[tcp @ 0x7feae9099640] Connection to tcp://192.168.1.147:32499 failed: Connection refused
[AVIOContext @ 0x7feae8cbc580] Statistics: 1299411 bytes read, 3 seeks
[tcp @ 0x7feae9443e40] Starting connection attempt to 192.168.1.147 port 32499
[tcp @ 0x7feae9443e40] Connection attempt to 192.168.1.147 port 32499 failed: Connection refused
[tcp @ 0x7feae9443e40] Connection to tcp://192.168.1.147:32499 failed: Connection refused
Conversion failed!
[tcp @ 0x7feae915af40] Starting connection attempt to 192.168.1.147 port 32499
[tcp @ 0x7feae915af40] Connection attempt to 192.168.1.147 port 32499 failed: Connection refused
[tcp @ 0x7feae915af40] Connection to tcp://192.168.1.147:32499 failed: Connection refused
Completed transcode
Removing process from taskMap

Main server:

2023-09-14 12:21:33 ERROR 404: Not Found.
Codec libxan_wc3_decoder.so does not exist. Downloading...
--2023-09-14 12:21:33--  https://downloads.plex.tv/codecs//linux-x86_64-standard/libxan_wc3_decoder.so
Resolving downloads.plex.tv (downloads.plex.tv)... 104.18.41.153, 172.64.146.103, 2606:4700:4400::6812:2999, ...
Connecting to downloads.plex.tv (downloads.plex.tv)|104.18.41.153|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2023-09-14 12:21:33 ERROR 404: Not Found.
Codec libxan_wc4_decoder.so does not exist. Downloading...
--2023-09-14 12:21:33--  https://downloads.plex.tv/codecs//linux-x86_64-standard/libxan_wc4_decoder.so
Resolving downloads.plex.tv (downloads.plex.tv)... 172.64.146.103, 104.18.41.153, 2606:4700:4400::6812:2999, ...
Connecting to downloads.plex.tv (downloads.plex.tv)|172.64.146.103|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2023-09-14 12:21:33 ERROR 404: Not Found.
Codec libxbin_decoder.so does not exist. Downloading...
--2023-09-14 12:21:33--  https://downloads.plex.tv/codecs//linux-x86_64-standard/libxbin_decoder.so
Resolving downloads.plex.tv (downloads.plex.tv)... 104.18.41.153, 172.64.146.103, 2606:4700:4400::6812:2999, ...
Connecting to downloads.plex.tv (downloads.plex.tv)|104.18.41.153|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2023-09-14 12:21:33 ERROR 404: Not Found.
Codec libxbm_decoder.so does not exist. Downloading...
--2023-09-14 12:21:33--  https://downloads.plex.tv/codecs//linux-x86_64-standard/libxbm_decoder.so
Resolving downloads.plex.tv (downloads.plex.tv)... 172.64.146.103, 104.18.41.153, 2606:4700:4400::ac40:9267, ...
Connecting to downloads.plex.tv (downloads.plex.tv)|172.64.146.103|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2023-09-14 12:21:34 ERROR 404: Not Found.
Codec libxface_decoder.so does not exist. Downloading...
--2023-09-14 12:21:34--  https://downloads.plex.tv/codecs//linux-x86_64-standard/libxface_decoder.so
Resolving downloads.plex.tv (downloads.plex.tv)... 104.18.41.153, 172.64.146.103, 2606:4700:4400::ac40:9267, ...
Connecting to downloads.plex.tv (downloads.plex.tv)|104.18.41.153|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2023-09-14 12:21:34 ERROR 404: Not Found.
Codec libxl_decoder.so does not exist. Downloading...
--2023-09-14 12:21:34--  https://downloads.plex.tv/codecs//linux-x86_64-standard/libxl_decoder.so
Resolving downloads.plex.tv (downloads.plex.tv)... 104.18.41.153, 172.64.146.103, 2606:4700:4400::ac40:9267, ...
Connecting to downloads.plex.tv (downloads.plex.tv)|104.18.41.153|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2023-09-14 12:21:34 ERROR 404: Not Found.
Codec libxma1_decoder.so does not exist. Downloading...
--2023-09-14 12:21:34--  https://downloads.plex.tv/codecs//linux-x86_64-standard/libxma1_decoder.so
Resolving downloads.plex.tv (downloads.plex.tv)... 172.64.146.103, 104.18.41.153, 2606:4700:4400::6812:2999, ...
Connecting to downloads.plex.tv (downloads.plex.tv)|172.64.146.103|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2023-09-14 12:21:34 ERROR 404: Not Found.
Codec libxma2_decoder.so does not exist. Downloading...
--2023-09-14 12:21:34--  https://downloads.plex.tv/codecs//linux-x86_64-standard/libxma2_decoder.so
Resolving downloads.plex.tv (downloads.plex.tv)... 172.64.146.103, 104.18.41.153, 2606:4700:4400::ac40:9267, ...
Connecting to downloads.plex.tv (downloads.plex.tv)|172.64.146.103|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2023-09-14 12:21:34 ERROR 404: Not Found.
Codec libxwd_decoder.so does not exist. Downloading...
--2023-09-14 12:21:34--  https://downloads.plex.tv/codecs//linux-x86_64-standard/libxwd_decoder.so
Resolving downloads.plex.tv (downloads.plex.tv)... 172.64.146.103, 104.18.41.153, 2606:4700:4400::6812:2999, ...
Connecting to downloads.plex.tv (downloads.plex.tv)|172.64.146.103|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2023-09-14 12:21:35 ERROR 404: Not Found.
Codec libyop_decoder.so does not exist. Downloading...
--2023-09-14 12:21:35--  https://downloads.plex.tv/codecs//linux-x86_64-standard/libyop_decoder.so
Resolving downloads.plex.tv (downloads.plex.tv)... 104.18.41.153, 172.64.146.103, 2606:4700:4400::6812:2999, ...
Connecting to downloads.plex.tv (downloads.plex.tv)|104.18.41.153|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2023-09-14 12:21:35 ERROR 404: Not Found.
Codec libzerocodec_decoder.so does not exist. Downloading...
--2023-09-14 12:21:35--  https://downloads.plex.tv/codecs//linux-x86_64-standard/libzerocodec_decoder.so
Resolving downloads.plex.tv (downloads.plex.tv)... 172.64.146.103, 104.18.41.153, 2606:4700:4400::6812:2999, ...
Connecting to downloads.plex.tv (downloads.plex.tv)|172.64.146.103|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2023-09-14 12:21:35 ERROR 404: Not Found.
Codec libzlib_decoder.so does not exist. Downloading...
--2023-09-14 12:21:35--  https://downloads.plex.tv/codecs//linux-x86_64-standard/libzlib_decoder.so
Resolving downloads.plex.tv (downloads.plex.tv)... 172.64.146.103, 104.18.41.153, 2606:4700:4400::6812:2999, ...
Connecting to downloads.plex.tv (downloads.plex.tv)|172.64.146.103|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2023-09-14 12:21:35 ERROR 404: Not Found.
Codec libzmbv_decoder.so does not exist. Downloading...
--2023-09-14 12:21:35--  https://downloads.plex.tv/codecs//linux-x86_64-standard/libzmbv_decoder.so
Resolving downloads.plex.tv (downloads.plex.tv)... 104.18.41.153, 172.64.146.103, 2606:4700:4400::6812:2999, ...
Connecting to downloads.plex.tv (downloads.plex.tv)|104.18.41.153|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2023-09-14 12:21:35 ERROR 404: Not Found.
EAE_SUPPORT => 1
EAE_EXECUTABLE => /codecs/-linux-x86_64-standard/EasyAudioEncoder/EasyAudioEncoder/EasyAudioEncoder
FFMPEG_HWACCEL => false
ON_DEATH: debug mode enabled for pid [916]
Computed CPU ops => 1253573
Initializing Worker 47a8b11c-93f8-4b83-bd29-8c371916f307|plex-worker-{{.Node.Hostname}}
Worker listening on port 3501
treverehrfurth commented 9 months ago

And my pms instance is showing these .run line 4 over and over

./run: line 4: /usr/sbin/nginx: No such file or directory
./run: line 4: /usr/sbin/nginx: No such file or directory
./run: line 4: /usr/sbin/nginx: No such file or directory
./run: line 4: /usr/sbin/nginx: No such file or directory
./run: line 4: /usr/sbin/nginx: No such file or directory
./run: line 4: /usr/sbin/nginx: No such file or directory
./run: line 4: /usr/sbin/nginx: No such file or directory
./run: line 4: /usr/sbin/nginx: No such file or directory
./run: line 4: /usr/sbin/nginx: No such file or directory
./run: line 4: /usr/sbin/nginx: No such file or directory
./run: line 4: /usr/sbin/nginx: No such file or directory
./run: line 4: /usr/sbin/nginx: No such file or directory
./run: line 4: /usr/sbin/nginx: No such file or directory
./run: line 4: /usr/sbin/nginx: No such file or directory
./run: line 4: /usr/sbin/nginx: No such file or directory
./run: line 4: /usr/sbin/nginx: No such file or directory
./run: line 4: /usr/sbin/nginx: No such file or directory
./run: line 4: /usr/sbin/nginx: No such file or directory
./run: line 4: /usr/sbin/nginx: No such file or directory
./run: line 4: /usr/sbin/nginx: No such file or directory
./run: line 4: /usr/sbin/nginx: No such file or directory
./run: line 4: /usr/sbin/nginx: No such file or directory
./run: line 4: /usr/sbin/nginx: No such file or directory
./run: line 4: /usr/sbin/nginx: No such file or directory
./run: line 4: /usr/sbin/nginx: No such file or directory
./run: line 4: /usr/sbin/nginx: No such file or directory
./run: line 4: /usr/sbin/nginx: No such file or directory
./run: line 4: /usr/sbin/nginx: No such file or directory
./run: line 4: /usr/sbin/nginx: No such file or directory
./run: line 4: /usr/sbin/nginx: No such file or directory
./run: line 4: /usr/sbin/nginx: No such file or directory
./run: line 4: /usr/sbin/nginx: No such file or directory
./run: line 4: /usr/sbin/nginx: No such file or directory
./run: line 4: /usr/sbin/nginx: No such file or directory
./run: line 4: /usr/sbin/nginx: No such file or directory
./run: line 4: /usr/sbin/nginx: No such file or directory
Calling external transcoder: /app/transcoder.js
ON_DEATH: debug mode enabled for pid [182429]
Local Relay enabled, traffic proxied through PMS local port 32499
Setting VERBOSE to ON
Sending request to orchestrator on: http://localhost:3500
cwd => "/transcode/Transcode/Sessions/plex-transcode-8d7ok3b6te9ih211tdiqwic1-c3bad9b9-e909-431f-87f7-748c4bbef02d"
args => ["-codec:0","hevc","-ss","0","-noaccurate_seek","-analyzeduration","20000000","-probesize","20000000","-i","/tv/It's Always Sunny in Philadelphia/Season 08/It's Always Sunny in Philadelphia - S08E08 - Charlie Rules the World.mkv","-map","0:0","-codec:0","copy","-map","0:1","-codec:1","copy","-f","dash","-seg_duration","5","-dash_segment_type","mp4","-init_seg_name","init-stream$RepresentationID$.m4s","-media_seg_name","chunk-stream$RepresentationID$-$Number%05d$.m4s","-window_size","5","-delete_removed","false","-skip_to_segment","1","-time_delta","0.0625","-manifest_name","http://192.168.1.147:32499/video/:/transcode/session/8d7ok3b6te9ih211tdiqwic1/c3bad9b9-e909-431f-87f7-748c4bbef02d/manifest?X-Plex-Http-Pipeline=infinite","-avoid_negative_ts","disabled","-map_metadata","-1","-map_chapters","-1","dash","-start_at_zero","-copyts","-vsync","cfr","-y","-nostats","-loglevel","verbose","-loglevel_plex","verbose","-progressurl","http://192.168.1.147:32499/video/:/transcode/session/8d7ok3b6te9ih211tdiqwic1/c3bad9b9-e909-431f-87f7-748c4bbef02d/progress"]
env => {"PUID":"1000","PLEX_ARCH":"amd64","HOSTNAME":"plex","S6_CMD_WAIT_FOR_SERVICES_MAXTIME":"0","LANGUAGE":"en_US.UTF-8","TRANSCODE_OPERATING_MODE":"both","ORCHESTRATOR_URL":"http://localhost:3500","PWD":"/transcode/Transcode/Sessions/plex-transcode-8d7ok3b6te9ih211tdiqwic1-c3bad9b9-e909-431f-87f7-748c4bbef02d","PLEX_DOWNLOAD":"https://downloads.plex.tv/plex-media-server-new","PLEX_MEDIA_SERVER_MAX_PLUGIN_PROCS":"6","NVIDIA_DRIVER_CAPABILITIES":"compute,video,utility","PMS_IP":"192.168.1.147","TZ":"America/Chicago","PLEX_MEDIA_SERVER_USER":"abc","HOME":"/root","LANG":"en_US.UTF-8","PGID":"1000","VIRTUAL_ENV":"/lsiopy","S6_VERBOSITY":"1","S6_STAGE2_HOOK":"/docker-mods","TERM":"xterm","PLEX_MEDIA_SERVER_INFO_VENDOR":"Docker","PLEX_MEDIA_SERVER_HOME":"/usr/lib/plexmediaserver","DOCKER_MODS":"ghcr.io/pabloromeo/clusterplex_dockermod:latest","X_PLEX_TOKEN":"local-72fd516c-42d2-4bf1-9dc0-7a066ff7f89d","PLEX_MEDIA_SERVER_INFO_MODEL":"x86_64","SHLVL":"0","LD_LIBRARY_PATH":"/usr/lib","PLEX_MEDIA_SERVER_INFO_PLATFORM_VERSION":"5.15.0-83-generic","LIBVA_DRIVERS_PATH":"/config/Library/Application Support/Plex Media Server/Cache/va-dri-linux-x86_64","LSIO_FIRST_PARTY":"true","PMS_PORT":"32400","PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR":"/config/Library/Application Support","PATH":"/command:/lsiopy/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin","VERSION":"docker","LOCAL_RELAY_PORT":"32499","LOCAL_RELAY_ENABLED":"1","DEBIAN_FRONTEND":"noninteractive","PLEX_MEDIA_SERVER_INFO_DEVICE":"Docker Container (LinuxServer.io)","FFMPEG_EXTERNAL_LIBS":"/config/Library/Application\\ Support/Plex\\ Media\\ Server/Codecs/55f77b3-4598-linux-x86_64/","TRANSCODER_VERBOSE":"1"}
JobPoster connected, announcing
Orchestrator requesting pending work
Sending request to orchestrator on: http://localhost:3500
./run: line 4: /usr/sbin/nginx: No such file or directory
./run: line 4: /usr/sbin/nginx: No such file or directory
./run: line 4: /usr/sbin/nginx: No such file or directory
Distributed transcoder failed, calling local
Calling external transcoder: /app/transcoder.js
ON_DEATH: debug mode enabled for pid [182460]
Local Relay enabled, traffic proxied through PMS local port 32499
Setting VERBOSE to ON
Sending request to orchestrator on: http://localhost:3500
cwd => "/transcode/Transcode/Sessions/plex-transcode-8d7ok3b6te9ih211tdiqwic1-fe5bc8c9-e336-4316-9639-18231dfcfb03"
args => ["-codec:0","hevc","-ss","195","-noaccurate_seek","-analyzeduration","20000000","-probesize","20000000","-i","/tv/It's Always Sunny in Philadelphia/Season 08/It's Always Sunny in Philadelphia - S08E08 - Charlie Rules the World.mkv","-map","0:0","-codec:0","copy","-map","0:1","-codec:1","copy","-f","dash","-seg_duration","5","-dash_segment_type","mp4","-init_seg_name","init-stream$RepresentationID$.m4s","-media_seg_name","chunk-stream$RepresentationID$-$Number%05d$.m4s","-window_size","5","-delete_removed","false","-skip_to_segment","40","-time_delta","0.0625","-manifest_name","http://192.168.1.147:32499/video/:/transcode/session/8d7ok3b6te9ih211tdiqwic1/fe5bc8c9-e336-4316-9639-18231dfcfb03/manifest?X-Plex-Http-Pipeline=infinite","-avoid_negative_ts","disabled","-map_metadata","-1","-map_chapters","-1","dash","-start_at_zero","-copyts","-y","-nostats","-loglevel","verbose","-loglevel_plex","verbose","-progressurl","http://192.168.1.147:32499/video/:/transcode/session/8d7ok3b6te9ih211tdiqwic1/fe5bc8c9-e336-4316-9639-18231dfcfb03/progress"]
env => {"PUID":"1000","PLEX_ARCH":"amd64","HOSTNAME":"plex","S6_CMD_WAIT_FOR_SERVICES_MAXTIME":"0","LANGUAGE":"en_US.UTF-8","TRANSCODE_OPERATING_MODE":"both","ORCHESTRATOR_URL":"http://localhost:3500","PWD":"/transcode/Transcode/Sessions/plex-transcode-8d7ok3b6te9ih211tdiqwic1-fe5bc8c9-e336-4316-9639-18231dfcfb03","PLEX_DOWNLOAD":"https://downloads.plex.tv/plex-media-server-new","PLEX_MEDIA_SERVER_MAX_PLUGIN_PROCS":"6","NVIDIA_DRIVER_CAPABILITIES":"compute,video,utility","PMS_IP":"192.168.1.147","TZ":"America/Chicago","PLEX_MEDIA_SERVER_USER":"abc","HOME":"/root","LANG":"en_US.UTF-8","PGID":"1000","VIRTUAL_ENV":"/lsiopy","S6_VERBOSITY":"1","S6_STAGE2_HOOK":"/docker-mods","TERM":"xterm","PLEX_MEDIA_SERVER_INFO_VENDOR":"Docker","PLEX_MEDIA_SERVER_HOME":"/usr/lib/plexmediaserver","DOCKER_MODS":"ghcr.io/pabloromeo/clusterplex_dockermod:latest","X_PLEX_TOKEN":"local-72fd516c-42d2-4bf1-9dc0-7a066ff7f89d","PLEX_MEDIA_SERVER_INFO_MODEL":"x86_64","SHLVL":"0","LD_LIBRARY_PATH":"/usr/lib","PLEX_MEDIA_SERVER_INFO_PLATFORM_VERSION":"5.15.0-83-generic","LIBVA_DRIVERS_PATH":"/config/Library/Application Support/Plex Media Server/Cache/va-dri-linux-x86_64","LSIO_FIRST_PARTY":"true","PMS_PORT":"32400","PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR":"/config/Library/Application Support","PATH":"/command:/lsiopy/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin","VERSION":"docker","LOCAL_RELAY_PORT":"32499","LOCAL_RELAY_ENABLED":"1","DEBIAN_FRONTEND":"noninteractive","PLEX_MEDIA_SERVER_INFO_DEVICE":"Docker Container (LinuxServer.io)","FFMPEG_EXTERNAL_LIBS":"/config/Library/Application\\ Support/Plex\\ Media\\ Server/Codecs/55f77b3-4598-linux-x86_64/","TRANSCODER_VERBOSE":"1"}
JobPoster connected, announcing
Orchestrator requesting pending work
Sending request to orchestrator on: http://localhost:3500
./run: line 4: /usr/sbin/nginx: No such file or directory
./run: line 4: /usr/sbin/nginx: No such file or directory
Distributed transcoder failed, calling local
./run: line 4: /usr/sbin/nginx: No such file or directory
./run: line 4: /usr/sbin/nginx: No such file or directory
./run: line 4: /usr/sbin/nginx: No such file or directory
./run: line 4: /usr/sbin/nginx: No such file or directory
./run: line 4: /usr/sbin/nginx: No such file or directory
./run: line 4: /usr/sbin/nginx: No such file or directory
./run: line 4: /usr/sbin/nginx: No such file or directory
./run: line 4: /usr/sbin/nginx: No such file or directory
./run: line 4: /usr/sbin/nginx: No such file or directory
./run: line 4: /usr/sbin/nginx: No such file or directory
./run: line 4: /usr/sbin/nginx: No such file or directory
./run: line 4: /usr/sbin/nginx: No such file or directory
./run: line 4: /usr/sbin/nginx: No such file or directory
./run: line 4: /usr/sbin/nginx: No such file or directory
./run: line 4: /usr/sbin/nginx: No such file or directory
./run: line 4: /usr/sbin/nginx: No such file or directory
./run: line 4: /usr/sbin/nginx: No such file or directory
./run: line 4: /usr/sbin/nginx: No such file or directory
./run: line 4: /usr/sbin/nginx: No such file or directory
./run: line 4: /usr/sbin/nginx: No such file or directory
./run: line 4: /usr/sbin/nginx: No such file or directory
./run: line 4: /usr/sbin/nginx: No such file or directory
./run: line 4: /usr/sbin/nginx: No such file or directory
./run: line 4: /usr/sbin/nginx: No such file or directory
./run: line 4: /usr/sbin/nginx: No such file or directory
./run: line 4: /usr/sbin/nginx: No such file or directory
./run: line 4: /usr/sbin/nginx: No such file or directory
./run: line 4: /usr/sbin/nginx: No such file or directory
./run: line 4: /usr/sbin/nginx: No such file or directory
./run: line 4: /usr/sbin/nginx: No such file or directory
./run: line 4: /usr/sbin/nginx: No such file or directory
./run: line 4: /usr/sbin/nginx: No such file or directory
./run: line 4: /usr/sbin/nginx: No such file or directory
./run: line 4: /usr/sbin/nginx: No such file or directory
./run: line 4: /usr/sbin/nginx: No such file or directory
treverehrfurth commented 9 months ago

I think I got it under wraps, pulled new, redeployed and changed around some of the localhost/ip addresses of the main instance and seems like its sending out jobs again and all are connecting fine. Will continue to monitor

albertsj1 commented 2 weeks ago

Any idea what the solution for this was? I have essentially the same docker-compose file as you except:

  1. I'm using NFS shares for the volumes
  2. I have a /config volume
  3. I also added a /tmp volume after many previous attempts to get this working, seeing errors about /tmp in docker container log files, and see at least a post or two in issues list here, with a suggestion that /tmp should be shared as well.

BTW, /usr/sbin/nginx does not exist on the any of the containers, though nginx is running in the main plex container launched by s6-supervise.

root         328  0.4  0.0    208    76 ?        S    09:04   0:28 s6-supervise nginx

@pabloromeo or anyone... any ideas?

Thanks

pabloromeo commented 2 weeks ago

Hi, I'm currently away for the next few days. I'll take a look again when I'm close to a computer again. However, if nginx isn't present it may have failed during the initialization and install stage, which would show something in the logs. You can try deleting the container and running it again while taking a look at the logs. If I remember correctly you should see entries for when it tries to install nginx along with other stuff. Maybe a networking error is preventing the download and install through apt.

albertsj1 commented 2 weeks ago

@pabloromeo Thanks for responding. After working on this more, I noticed that startup of pms showed lots of errors when running the scripts from the dockermod. I decided to instead use your custom images for everything which already include the docker mods and got past this error. All containers started up and plex is running.

Now, I'm having a transcoding issue, which I believe is because start.sh on the worker doesn't have some of the variables set, such as: CLUSTERPLEX_PLEX_CODECS_VERSION, CLUSTERPLEX_PLEX_EAE_VERSION I'll open a separate ticket for that.