This page collects the settings that affect Sublarr’s runtime behaviour rather than its features: authentication, backups, log rotation, theme. Most users set these once during install and revisit only when the install moves to a new host or a new version ships breaking changes.
| Setting | Default | Values | Effect |
|---|
| Inbound API key | empty | string | Required X-Api-Key header on every API call. Empty = no auth. See API Keys for the dedicated page. |
| Session timeout (min) | 60 | 5–1440 | Inactive UI sessions log out after this. |
| Max login attempts | 5 | 1–20 | Failed attempts before lockout. |
| Lockout duration (min) | 15 | 1–1440 | Lockout window after threshold reached. |
| Allowed IP ranges | empty | CIDR list | When set, restricts UI access to these networks. Empty = any IP. |
| Setting | Default | Values | Effect |
|---|
| Auto-backup enabled | on | toggle | Run backup on the configured schedule. |
| Backup interval (h) | 24 | 1–168 | Hours between automatic backups. |
| Backup on startup | on | toggle | Run a backup once when the container starts. |
| Notify on failure | on | toggle | Fire backup_failed notification event. |
| Backup directory | /config/backups | absolute path | Where backup files land. |
| Retention (count) | 7 | 0–100 | Keep N most-recent; older backups deleted. 0 keeps all. |
A backup includes:
| Included | Notes |
|---|
| Database | SQLite or PostgreSQL dump. |
| Config entries | The DB rows that hold UI settings. |
| API keys (encrypted) | Wrapped with the install’s secret. |
| Glossary | Both global and per-series. |
| Translation memory | Optionally — toggle below. |
| Excluded |
|---|
| Subtitle files on disk (those live with your media library). |
| Whisper / metadata caches. |
| Plugin files (re-install after restore). |
| Setting | Default | Effect |
|---|
| Include translation memory | off | When on, TM rows are included in the backup (can grow the file by 100 MB+). |
The Restore button accepts a backup file produced by the same major version of Sublarr (or one minor version older — auto-migration runs on import). The restore happens in three stages:
- Validate the file is a Sublarr backup with the expected schema.
- Snapshot the current database to
<config>/backups/.pre-restore.<timestamp> so the restore is reversible.
- Replace the database; restart in-process.
The on-disk log file is what gets shipped to log aggregators. The viewer in Logs is independent and shows the live tail.
| Setting | Default | Values | Effect |
|---|
| Log level | INFO | DEBUG / INFO / WARNING / ERROR | Minimum severity written to the file. Tighter level = smaller log file. |
| Log file | /config/sublarr.log | path | File path. Match SUBLARR_LOG_FILE (env-loaded at startup, then UI takes over). |
| Log format | text | text / json | json for log aggregators (Loki, ELK); text for grep-by-eyeball. |
| Max size (MB) | 50 | 1–1000 | File rotates when this size is reached. |
| Retention (count) | 10 | 1–100 | Number of rotated archives kept. |
| Setting | Default | Values | Effect |
|---|
| Theme | dark | dark / light / system | UI theme. system follows OS preference. |
| Accent color | #1DB8D4 (Sublarr teal) | hex | Primary accent. Affects buttons, links, focus rings. |
The footer shows runtime details that you’ll want when filing bugs:
| Field | Reads |
|---|
| Version | The backend/VERSION shipped in the container. |
| Build SHA | Git commit the container was built from. |
| Build date | When the image was built. |
| Python | Interpreter version. |
| Database | sqlite:///<path> or postgresql://.... |
| Redis | Connected URL or “not configured”. |
| Platform | linux/amd64, linux/arm64. |
The Diagnostics page surfaces every health check Sublarr runs internally — see Diagnostics for the dedicated page. The button on this page jumps directly there.
| Setting | Default | Effect |
|---|
| Check for updates | on | Every 24h, check the GitHub releases for a newer tag. Surface in the dashboard banner if found. |
| Auto-update | off | (Reserved — currently a no-op; Sublarr doesn’t self-upgrade. The flag is plumbed for a future version.) |