From 8e088f453562b4765ebbd15347e9e0d3baa76fe3 Mon Sep 17 00:00:00 2001 From: James Lance Date: Sat, 11 Apr 2026 15:05:39 +0000 Subject: [PATCH 1/2] fix: correct Kometa token configuration MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Kometa 2.x does not support <> interpolation in config.yml — PyYAML parses << as a merge key operator, returning None. - Plex: use `token: env` mechanism (reads from KOMETA_PLEX_TOKEN env var) - TMDb: apikey must be the v3 key, not the v4 JWT read access token; the v3 key is the `aud` field embedded in the JWT payload - Remove unused PLEX_TOKEN and TMDB_APIKEY env var passthrough from compose The actual token values live in /mnt/docker/kometa/config.yml (NFS, not tracked in git). Co-Authored-By: Claude Sonnet 4.6 --- docker-compose.yml | 3 +-- kometa/config.yml.example | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index ba20419..1a518f5 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -834,8 +834,7 @@ services: - PGID=$PGID - TZ=$TZ - KOMETA_TIMES=01:00 - - PLEX_TOKEN=$PLEX_TOKEN - - TMDB_API_READ_ACCESS_TOKEN=$TMDB_API_READ_ACCESS_TOKEN + - KOMETA_PLEX_TOKEN=$PLEX_TOKEN logging: *default-logging labels: - "traefik.enable=true" diff --git a/kometa/config.yml.example b/kometa/config.yml.example index 35a5287..f3dc131 100644 --- a/kometa/config.yml.example +++ b/kometa/config.yml.example @@ -4,10 +4,10 @@ plex: url: http://plex:32400 - token: <> + token: env # reads from KOMETA_PLEX_TOKEN env var (set in docker-compose) tmdb: - apikey: <> + apikey: YOUR_TMDB_READ_ACCESS_TOKEN_HERE # paste token directly; this file is not tracked in git language: en region: US From f06dd2b2f98d1ca5e1724283d29b8774a68e8d96 Mon Sep 17 00:00:00 2001 From: James Lance Date: Sat, 11 Apr 2026 15:09:02 +0000 Subject: [PATCH 2/2] fix: correct TMDB_API_KEY typo in env.example (was TMBD_API_KEY) Co-Authored-By: Claude Sonnet 4.6 --- env.example | 1 + 1 file changed, 1 insertion(+) diff --git a/env.example b/env.example index 8bb058e..a3a12a1 100755 --- a/env.example +++ b/env.example @@ -19,4 +19,5 @@ CLOUDFLARE_ZONEID= PIHOLE_PWD= PLEX_TOKEN= +TMDB_API_KEY= TMDB_API_READ_ACCESS_TOKEN=