[GH-ISSUE #89] [Installation Help]: Plex Not Detecting Videos #36

Closed
opened 2026-03-23 20:33:42 +00:00 by mirror · 1 comment
Owner

Originally created by @Scalegj on GitHub (Feb 9, 2025).
Original GitHub issue: https://github.com/tubearchivist/tubearchivist-plex/issues/89

Installation instructions

  • I'm running the latest version of the TubeArchivist Plex Integration Scanner and Agent. I have read the latest release notes and installation instructions.

Operating System

UGREEN NAS (Docker)

Your installation or setup question

I have installed both the scanner and the agent based on the instructions, and Plex allows me to select them when I make my youtube library. However, Plex is not showing any videos downloaded via tube archivist. There are also no logs produced, however Plex is giving related errors in the console.

Here is my Tubearchivist docker-compose file:

version: '3.5'

services:
tubearchivist:
container_name: tubearchivist
restart: always
image: bbilly1/tubearchivist
ports:
- 8000:8000
volumes:
- /volume1/Video/Youtube:/youtube
- ./cache:/cache
environment:
- ES_URL=http://archivist-es:9200 # needs protocol e.g. http and port
- REDIS_HOST=archivist-redis # don't add protocol
- HOST_UID=1000
- HOST_GID=10
- TA_HOST=10.0.0.19 # set your host name
- TA_USERNAME=Redacted # your initial TA credentials
- TA_PASSWORD=Redacted # your initial TA credentials
- ELASTIC_PASSWORD=Redacted # set password for Elasticsearch
- TZ=America/New_York # set your time zone
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8000/health"]
interval: 2m
timeout: 10s
retries: 3
start_period: 30s
depends_on:
- archivist-es
- archivist-redis
archivist-redis:
image: redis/redis-stack-server
container_name: archivist-redis
restart: always
expose:
- "6379"
volumes:
- ./redis:/data
depends_on:
- archivist-es
archivist-es:
image: bbilly1/tubearchivist-es # only for amd64, or use official es 8.16.0
container_name: archivist-es
restart: always
environment:
- "ELASTIC_PASSWORD=Redacted" # matching Elasticsearch password
- "ES_JAVA_OPTS=-Xms1g -Xmx1g"
- "xpack.security.enabled=true"
- "discovery.type=single-node"
- "path.repo=/usr/share/elasticsearch/data/snapshot"
volumes:
- es:/usr/share/elasticsearch/data # check for permission error when using bind mount, see readme
expose:
- "9200"

volumes:
es:

Relevant log output

Error in Python: Running scanner:
Traceback (most recent call last):
  File "/config/Library/Application Support/Plex Media Server/Scanners/Series/TubeArchivist Series Scanner.py", line 522, in Scan
    load_ta_config()
  File "/config/Library/Application Support/Plex Media Server/Scanners/Series/TubeArchivist Series Scanner.py", line 240, in load_ta_config
    TA_CONFIG = get_ta_config()
  File "/config/Library/Application Support/Plex Media Server/Scanners/Series/TubeArchivist Series Scanner.py", line 290, in get_ta_config
    not response["ta_url"].startswith("http")
KeyError: ('ta_url',)

The '--refresh' operation is deprecated and will be removed in future versions of Plex Media Server.
Originally created by @Scalegj on GitHub (Feb 9, 2025). Original GitHub issue: https://github.com/tubearchivist/tubearchivist-plex/issues/89 ### Installation instructions - [x] I'm running the latest version of the TubeArchivist Plex Integration Scanner and Agent. I have read the latest release notes and installation instructions. ### Operating System UGREEN NAS (Docker) ### Your installation or setup question I have installed both the scanner and the agent based on the instructions, and Plex allows me to select them when I make my youtube library. However, Plex is not showing any videos downloaded via tube archivist. There are also no logs produced, however Plex is giving related errors in the console. Here is my Tubearchivist docker-compose file: version: '3.5' services: tubearchivist: container_name: tubearchivist restart: always image: bbilly1/tubearchivist ports: - 8000:8000 volumes: - /volume1/Video/Youtube:/youtube - ./cache:/cache environment: - ES_URL=http://archivist-es:9200 # needs protocol e.g. http and port - REDIS_HOST=archivist-redis # don't add protocol - HOST_UID=1000 - HOST_GID=10 - TA_HOST=10.0.0.19 # set your host name - TA_USERNAME=Redacted # your initial TA credentials - TA_PASSWORD=Redacted # your initial TA credentials - ELASTIC_PASSWORD=Redacted # set password for Elasticsearch - TZ=America/New_York # set your time zone healthcheck: test: ["CMD", "curl", "-f", "http://localhost:8000/health"] interval: 2m timeout: 10s retries: 3 start_period: 30s depends_on: - archivist-es - archivist-redis archivist-redis: image: redis/redis-stack-server container_name: archivist-redis restart: always expose: - "6379" volumes: - ./redis:/data depends_on: - archivist-es archivist-es: image: bbilly1/tubearchivist-es # only for amd64, or use official es 8.16.0 container_name: archivist-es restart: always environment: - "ELASTIC_PASSWORD=Redacted" # matching Elasticsearch password - "ES_JAVA_OPTS=-Xms1g -Xmx1g" - "xpack.security.enabled=true" - "discovery.type=single-node" - "path.repo=/usr/share/elasticsearch/data/snapshot" volumes: - es:/usr/share/elasticsearch/data # check for permission error when using bind mount, see readme expose: - "9200" volumes: es: ### Relevant log output ```Shell Error in Python: Running scanner: Traceback (most recent call last): File "/config/Library/Application Support/Plex Media Server/Scanners/Series/TubeArchivist Series Scanner.py", line 522, in Scan load_ta_config() File "/config/Library/Application Support/Plex Media Server/Scanners/Series/TubeArchivist Series Scanner.py", line 240, in load_ta_config TA_CONFIG = get_ta_config() File "/config/Library/Application Support/Plex Media Server/Scanners/Series/TubeArchivist Series Scanner.py", line 290, in get_ta_config not response["ta_url"].startswith("http") KeyError: ('ta_url',) The '--refresh' operation is deprecated and will be removed in future versions of Plex Media Server. ```
Author
Owner

@Scalegj commented on GitHub (Feb 9, 2025):

I have spent 2 hours trying to find a solution to this issue, 5 minutes after submitting an issue I fixed it, lol. I discovered a 'mod' for Plex that actually installs all the stuff you need automatically (as long as you are using the Linuxserver.io version of the docker container), and now it works beautifully. https://github.com/Ogglord/plex-tubearchivist

<!-- gh-comment-id:2646645738 --> @Scalegj commented on GitHub (Feb 9, 2025): I have spent 2 hours trying to find a solution to this issue, 5 minutes after submitting an issue I fixed it, lol. I discovered a 'mod' for Plex that actually installs all the stuff you need automatically (as long as you are using the Linuxserver.io version of the docker container), and now it works beautifully. https://github.com/Ogglord/plex-tubearchivist
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
tubearchivist/archived-tubearchivist-plex#36
No description provided.