Skip to content

Cant sync new 'items' after the first plex and trakt link #242

Description

@diegocade1

Hello,

As the title says, after the first registration of the plex, then choose the user and after that register the trakt api, the first sync works great:

2026-04-13 16:47:57,477 [INFO] Fetching owner history using configured Plex server (full sync)
2026-04-13 16:47:57,498 [INFO] Scanning for manually marked watched items for owner...
2026-04-13 16:47:57,498 [INFO] Using configured Plex server for owner scanning: plex
2026-04-13 16:48:35,198 [INFO] Owner history: 99 movies and 5899 episodes
2026-04-13 16:48:35,217 [INFO] Found 99 movies and 5899 episodes in Plex history.
2026-04-13 16:48:35,218 [INFO] Plex history:   99 movies, 5899 episodes
2026-04-13 16:48:35,218 [INFO] Trakt history:  97 movies, 5827 episodes
2026-04-13 16:48:35,220 [INFO] Adding 2 movies, 523 individual episodes, and 0 shows (with episodes) to Trakt history
2026-04-13 16:48:41,111 [INFO] Trakt history updated successfully.
2026-04-13 16:48:41,961 [INFO] Successfully cached 297 total ratings across 5 sections
2026-04-13 16:48:41,961 [INFO] Using cached ratings for 5 sections
2026-04-13 16:48:53,833 [ERROR] Ratings sync (Plex -> Trakt) failed: 504 Server Error: Gateway Timeout for url: https://api.trakt.tv/sync/ratings
2026-04-13 16:48:53,834 [INFO] Sync finished.
2026-04-13 16:48:53,838 [INFO] Job "sync (trigger: interval[1:00:00], next run at: 2026-04-13 17:47:33 -04)" executed successfully

But then the next syncs, cant load the history, and always show 0 items and then Nothing new to send to Trakt.

2026-04-13 17:47:34,480 [INFO] Fetching owner history using configured Plex server since 2026-04-13T20:48:53.834327Z
2026-04-13 17:47:34,491 [INFO] Scanning for manually marked watched items for owner...
2026-04-13 17:47:34,491 [INFO] Using configured Plex server for owner scanning: plex
2026-04-13 17:48:34,490 [INFO] Owner history: 0 movies and 0 episodes
2026-04-13 17:48:34,510 [INFO] Found 0 movies and 0 episodes in Plex history.
2026-04-13 17:48:34,510 [INFO] Plex history:   0 movies, 0 episodes
2026-04-13 17:48:34,510 [INFO] Trakt history:  0 movies, 0 episodes
2026-04-13 17:48:34,510 [INFO] Nothing new to send to Trakt.
2026-04-13 17:48:35,391 [INFO] Successfully cached 297 total ratings across 5 sections
2026-04-13 17:48:35,391 [INFO] Using cached ratings for 5 sections
2026-04-13 17:48:48,978 [ERROR] Ratings sync (Plex -> Trakt) failed: 504 Server Error: Gateway Timeout for url: https://api.trakt.tv/sync/ratings
2026-04-13 17:48:48,979 [INFO] Sync finished.
2026-04-13 17:48:48,979 [INFO] Job "sync (trigger: interval[1:00:00], next run at: 2026-04-13 18:47:33 -04)" executed successfully

I regularly watch series so, at minimum there should be 3 or 4 chapters that have be synced to trakt.

services:
  plexytrack:
    image: drakonis96/plexytrack:latest
    container_name: plexytrack
    hostname: plexytrack
    ports:
      - "5030:5030"
    env_file:
      - stack.env
    healthcheck:
      test: timeout 10s bash -c ':> /dev/tcp/127.0.0.1/5030' || exit 1
      interval: 10s
      timeout: 5s
      retries: 3
      start_period: 90s
    environment:
      TZ: America/Santiago
      PLEXYTRACK_CONFIG_DIR: ${PLEXYTRACK_CONFIG_DIR}
      PLEXYTRACK_STATE_DIR: ${PLEXYTRACK_STATE_DIR}
      PLEX_BASEURL: ${PLEX_BASEURL}
      #PLEX_TOKEN: ${PLEX_TOKEN}
      TRAKT_CLIENT_ID: ${TRAKT_CLIENT_ID}
      TRAKT_CLIENT_SECRET: ${TRAKT_CLIENT_SECRET}
      TRAKT_REDIRECT_URI: ${TRAKT_REDIRECT_URI:-http://localhost:5030/oauth/trakt}
    volumes:
      - /home/docker/plexytrack-dierminator/config:/config
      - /home/docker/plexytrack-dierminator/state:/state
    network_mode: bridge2

Am I missing a config or something?

Thanks,

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions