Skip to content

Upgrading Ryot

Most updates only need a new image and a restart. Moving to a new major version, such as from v10 to v11, needs extra steps that are described on this page.

Images are published to Docker Hub and the GitHub Container Registry. A release such as v11.2.3 is tagged v11.2.3, v11.2, v11, latest and sha-<commit>. Use the v11 tag to receive every v11 update and never jump to a new major version by surprise.

  1. Back up your server.

  2. Pull the new image and restart Ryot. With Docker Compose:

    Terminal window
    docker compose pull ryot
    docker compose up -d ryot

    On Kubernetes, run helm upgrade with the same values you installed with. See the chart’s upgrade notes.

  3. Wait for <FRONTEND_URL>/api/system/health to respond. Ryot applies any database changes before it starts answering requests.

Run only one Ryot server against your database at a time. Stop the old one before you start the new one; a second server refuses to start while the first is running. Docker Compose and the Helm chart already do this.

You cannot skip major versions. To upgrade from a version older than v10, follow each major version’s steps in order, starting in Older migrations.

Ryot v11 is a rewrite. Your data is converted automatically the first time v11 starts, but the upgrade needs a few extra steps. Read this whole section before you start.

  1. Upgrade to v10.5.5 and make a full backup.
  2. Change the image to v11, add a storage volume (or keep your S3 settings), and check FRONTEND_URL and SERVER_ADMIN_ACCESS_TOKEN.
  3. Rename the environment variables that changed and delete the ones that were removed.
  4. Turn off automatic restarts, start v11, and let the conversion finish.
  5. Check the Migration report in Instance Admin, and send everyone a password reset link.
  6. Update your OIDC redirect URL, if you use OIDC.
  1. Upgrade the server to v10.5.5 so that all v10 database changes are applied. In your Docker Compose file, set:

    docker-compose.yml
    image: ignisda/ryot:v10.5.5

    If you currently use the latest tag, switch to v10.5.5 now so that you do not move to v11 before you are ready.

  2. Back up your database. Follow the whole-server backup guide. If you use S3 for file storage, back up your bucket too.

  3. Have your metadata provider credentials ready, such as your TMDB access token. You will add them under their new names in step 3 below.

v11 needs a volume for the files you upload, unless you use S3. Change the image and add the volume:

docker-compose.yml
services:
ryot-db:
image: postgres:18-alpine
# ...unchanged
ryot:
image: ignisda/ryot:v10
image: ignisda/ryot:v11
pull_policy: always
container_name: ryot
restart: unless-stopped
ports:
- "8000:8000"
environment:
- TZ=Europe/Amsterdam
- FRONTEND_URL=https://ryot.your-domain.com
- DATABASE_URL=postgres://postgres:postgres@ryot-db:5432/postgres
- SERVER_ADMIN_ACCESS_TOKEN=your-admin-access-token
volumes:
- ryot_storage:/home/ryot/storage
volumes:
ryot_storage:
postgres_storage:

Two settings are now stricter:

  • FRONTEND_URL is required. Set it to the exact address you open Ryot at, such as https://ryot.your-domain.com, with nothing after the domain or port.
  • SERVER_ADMIN_ACCESS_TOKEN must be at least 32 characters long. If yours is shorter, generate a new one, for example with openssl rand -hex 16.

Many settings have new names. Rename any of these that you use:

Old name New name
MOVIES_AND_SHOWS_TMDB_ACCESS_TOKEN RYOT_PLUGIN__RYOT__MEDIA__TMDB_ACCESS_TOKEN
MOVIES_AND_SHOWS_TVDB_API_KEY RYOT_PLUGIN__RYOT__MEDIA__TVDB_API_KEY
ANIME_AND_MANGA_MAL_CLIENT_ID RYOT_PLUGIN__RYOT__MEDIA__MAL_CLIENT_ID
BOOKS_GOOGLE_BOOKS_API_KEY RYOT_PLUGIN__RYOT__MEDIA__GOOGLE_BOOKS_API_KEY
BOOKS_HARDCOVER_API_KEY RYOT_PLUGIN__RYOT__MEDIA__HARDCOVER_API_KEY
COMIC_BOOK_METRON_USERNAME RYOT_PLUGIN__RYOT__MEDIA__METRON_USERNAME
COMIC_BOOK_METRON_PASSWORD RYOT_PLUGIN__RYOT__MEDIA__METRON_PASSWORD
MUSIC_SPOTIFY_CLIENT_ID RYOT_PLUGIN__RYOT__MEDIA__SPOTIFY_CLIENT_ID
MUSIC_SPOTIFY_CLIENT_SECRET RYOT_PLUGIN__RYOT__MEDIA__SPOTIFY_CLIENT_SECRET
PODCASTS_LISTENNOTES_API_TOKEN RYOT_PLUGIN__RYOT__MEDIA__LISTENNOTES_API_KEY
VIDEO_GAMES_TWITCH_CLIENT_ID RYOT_PLUGIN__RYOT__MEDIA__TWITCH_CLIENT_ID
VIDEO_GAMES_TWITCH_CLIENT_SECRET RYOT_PLUGIN__RYOT__MEDIA__TWITCH_CLIENT_SECRET
VIDEO_GAMES_GIANT_BOMB_API_KEY RYOT_PLUGIN__RYOT__MEDIA__GIANT_BOMB_API_KEY
SERVER_IMPORTER_TRAKT_CLIENT_ID RYOT_PLUGIN__RYOT__MEDIA__TRAKT_CLIENT_ID
SERVER_PROGRESS_UPDATE_THRESHOLD RYOT_PLUGIN__RYOT__MEDIA__PROGRESS_UPDATE_THRESHOLD_HOURS

SCHEDULER_INFREQUENT_CRON_JOBS_SCHEDULE now takes a cron expression. If you set it, change a value such as every midnight to 0 0 * * *.

These settings no longer exist and can be deleted:

  • SERVER_BACKEND_HOST
  • SERVER_BACKEND_PORT
  • SERVER_CORS_ORIGINS
  • SERVER_DISABLE_BACKGROUND_JOBS
  • SERVER_GRAPHQL_PLAYGROUND_ENABLED
  • SERVER_MAX_FILE_SIZE_MB
  • SERVER_SLEEP_BEFORE_STARTUP_SECONDS
  • USERS_TOKEN_VALID_FOR_DAYS
  • FRONTEND_DASHBOARD_MESSAGE
  • BOOKS_OPENLIBRARY_COVER_IMAGE_SIZE
  • VIDEO_GAMES_IGDB_IMAGE_SIZE

The configuration reference lists every setting v11 understands.

The first start converts all your data, which can take a while on a large library. Until it finishes, Ryot does not answer any requests, including /api/system/health. A failing health check during this time does not mean the upgrade has failed. Do not let anything restart Ryot while it works.

  1. Stop the v10 server. Only one Ryot server may run against the database.

  2. Turn off anything that restarts Ryot when its health check fails:

    • Docker Compose: a failing health check alone does not restart the container. Set the ryot service’s restart policy to "no", so a real error leaves it stopped for you to inspect instead of retrying again and again.

      docker-compose.yml
      services:
      ryot:
      restart: unless-stopped
      restart: "no"
    • Kubernetes: remove the Ryot container’s liveness probe and any startup probe whose time limit is too short, or raise the startup probe’s allowance to cover the whole conversion. Readiness probes can stay; they keep traffic away without restarting the container. The official Helm chart’s startup probe allows 30 minutes. For a large library, raise startupProbe.failureThreshold and give helm upgrade an equally long --timeout.

    • Hosting platforms and auto-healing tools: turn off rules that restart or replace Ryot after a failed health check, or raise their startup allowance and deployment timeout.

  3. Start Ryot with the new image and watch the logs to follow progress:

    Terminal window
    docker compose up -d ryot
    docker compose logs -f ryot
  4. When /api/system/health responds, put your normal health checks, timeouts and restart policy back, including restart: unless-stopped for Docker Compose.

  5. Open <FRONTEND_URL>/instance-admin, unlock it with your SERVER_ADMIN_ACCESS_TOKEN, and check the Migration report. It lists anything that was skipped during the upgrade, such as an episode that could not be matched or an image that could not be moved.

Some watches and reviews name an episode or season that v10 never stored for a show or podcast. Instead of skipping them, Ryot adds a Media history (JSON) import for each affected person when it first starts. The import fetches those titles again from their provider and adds the history it can place. Each person can follow it under Settings → Import data, where its report lists anything the provider does not know either.

Configure your Media providers, such as RYOT_PLUGIN__RYOT__MEDIA__TMDB_ACCESS_TOKEN, before the first start. Otherwise Ryot waits, and adds these imports on a later start once the providers are configured.

Everyone is signed out after the upgrade.

If people signed in with a username and password:

  • They now sign in with an email address instead of a username. If a username was already an email address, that is the new login. Otherwise, the login becomes the username followed by @ryot.local, such as [email protected].
  • Old passwords no longer work. Open Instance Admin → Users, choose Generate reset link for each person, and send them the link so they can choose a new password. The same page shows each person’s new login email.

If people signed in with OpenID Connect: update the redirect URL at your provider to <FRONTEND_URL>/api/auth/callback/oidc and allow the openid email profile scopes. See Authentication.

Administrator accounts no longer exist. Server administration now happens in Instance Admin, which anyone with the SERVER_ADMIN_ACCESS_TOKEN can unlock.

Your integrations and notification settings are carried over, including their passwords and API keys. Webhook URLs for integrations that send data to Ryot (Plex, Jellyfin, Emby, Kodi and the browser extension) keep working, so you do not need to change anything in those apps.

Legacy Generic JSON integrations are not carried over. Recreate them as Data webhook integrations. Manual data imports and Data webhooks use the v11 Data JSON format; v10 Generic JSON payloads are not compatible. See Data JSON.

Posters and details. Media that v10 had already fetched keeps its posters and details. Items in your Monitoring collection, podcasts, shows not from TMDB, and cast and crew pages are downloaded again as you browse, so right after the upgrade some may briefly show only their title. Recommendations are not carried over and come back when an item is refreshed.

Ratings. Your review scale carries over as the Rating scale under Settings → Preferences: out of 100, out of 10, 5 stars, or a 3-point smiley. Changing it only changes how ratings are shown and entered; your saved ratings stay the same.

Background processing. After the upgrade, Ryot works through your media history and workouts in the background to calculate analytics, progress and personal bests. This takes a while: a library with about 65,000 media history entries and 40,000 workout sets finishes in about 30 minutes. Until then, Analytics shows the values calculated so far with a note that processing is still running. Expect higher CPU and memory use during this time. You can keep using Ryot while it runs.

Not carried over:

  • Share links. To share again, publish a collection or saved view; see Share a collection.
  • Saved filters.
  • Past import reports.
  • Notification history.
  • Visibility settings and comments on reviews.

Removed:

  • The old JSON export. Use account backups instead. Exports made with v10 cannot be imported into v11.