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.
Upgrade within a major version
Section titled “Upgrade within a major version”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.
-
Pull the new image and restart Ryot. With Docker Compose:
Terminal window docker compose pull ryotdocker compose up -d ryotOn Kubernetes, run
helm upgradewith the same values you installed with. See the chart’s upgrade notes. -
Wait for
<FRONTEND_URL>/api/system/healthto 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.
Upgrade from v10 to v11
Section titled “Upgrade from v10 to v11”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.
At a glance
Section titled “At a glance”- Upgrade to
v10.5.5and make a full backup. - Change the image to
v11, add a storage volume (or keep your S3 settings), and checkFRONTEND_URLandSERVER_ADMIN_ACCESS_TOKEN. - Rename the environment variables that changed and delete the ones that were removed.
- Turn off automatic restarts, start
v11, and let the conversion finish. - Check the Migration report in Instance Admin, and send everyone a password reset link.
- Update your OIDC redirect URL, if you use OIDC.
1. Prepare
Section titled “1. Prepare”-
Upgrade the server to
v10.5.5so that allv10database changes are applied. In your Docker Compose file, set:docker-compose.yml image: ignisda/ryot:v10.5.5If you currently use the
latesttag, switch tov10.5.5now so that you do not move tov11before you are ready. -
Back up your database. Follow the whole-server backup guide. If you use S3 for file storage, back up your bucket too.
-
Have your metadata provider credentials ready, such as your TMDB access token. You will add them under their new names in step 3 below.
2. Update your Docker Compose file
Section titled “2. Update your Docker Compose file”v11 needs a volume for the files you upload, unless you use S3. Change the image and add the
volume:
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_URLis required. Set it to the exact address you open Ryot at, such ashttps://ryot.your-domain.com, with nothing after the domain or port.SERVER_ADMIN_ACCESS_TOKENmust be at least 32 characters long. If yours is shorter, generate a new one, for example withopenssl rand -hex 16.
3. Update your environment variables
Section titled “3. Update your environment variables”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_HOSTSERVER_BACKEND_PORTSERVER_CORS_ORIGINSSERVER_DISABLE_BACKGROUND_JOBSSERVER_GRAPHQL_PLAYGROUND_ENABLEDSERVER_MAX_FILE_SIZE_MBSERVER_SLEEP_BEFORE_STARTUP_SECONDSUSERS_TOKEN_VALID_FOR_DAYSFRONTEND_DASHBOARD_MESSAGEBOOKS_OPENLIBRARY_COVER_IMAGE_SIZEVIDEO_GAMES_IGDB_IMAGE_SIZE
The configuration reference lists every setting v11
understands.
4. Start v11
Section titled “4. Start v11”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.
-
Stop the
v10server. Only one Ryot server may run against the database. -
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
ryotservice’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-stoppedrestart: "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.failureThresholdand givehelm upgradean 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.
-
-
Start Ryot with the new image and watch the logs to follow progress:
Terminal window docker compose up -d ryotdocker compose logs -f ryot -
When
/api/system/healthresponds, put your normal health checks, timeouts and restart policy back, includingrestart: unless-stoppedfor Docker Compose. -
Open
<FRONTEND_URL>/instance-admin, unlock it with yourSERVER_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.
Episodes Ryot needs to look up again
Section titled “Episodes Ryot needs to look up again”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.
5. Help everyone sign in again
Section titled “5. Help everyone sign in again”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.
6. Check your integrations
Section titled “6. Check your integrations”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.
What to expect after the upgrade
Section titled “What to expect after the upgrade”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
v10cannot be imported intov11.