Upgrade and API migration
Back up the database and configuration before upgrading. Run one Arr Dashboard
API/container per database.
Manual Search Grab. For POST /api/search/grab, replace the old
{ instanceId, result } body with { instanceId, selector, intentId }. Use the
accepted /api/search/query row's opaque grabSelector as selector. Generate
and save one UUID intentId per operator action before the first POST. Only an
empty HTTP 204 confirms a durably acknowledged submission. HTTP 202 is
pending, 422 records a provider rejection, and 502 leaves delivery
unconfirmed. A 409 conflict leaves any earlier submission's outcome open.
After a lost reply or uncertain outcome, keep the same intent and read
GET /api/search/grab/intents/:intentId. A missing or unavailable record leaves
the outcome unknown. If the operator separately confirms a new submission
after uncertainty, use a new intent UUID, a fresh selector for the identical
target, and retry: { predecessorId, duplicateRiskConfirmed: true }. Use the
recorded attempt ID as predecessorId.
Backup Restore. For both POST /api/backup/restore and
POST /api/backup/restore-from-file, replace generic success/metadata parsing
with validation of the HTTP status and the structured response together.
Terminal responses contain restoreId, outcome, success, reason,
restartRequired: true, and restart.
| HTTP | Outcome | success
| reason
|
|---|---|---|---|
200
| committed
| true
| null
|
409
| not-committed
| false
| state-changed
|
503
| unavailable
| false
| ownership-unavailable, closure-unverified, or commit-unknown
|
Pre-publication refusals have no restoreId. A bare HTTP 200, HTTP 202,
malformed reply, or connection loss leaves the outcome unconfirmed. Disable
automatic Restore retries after an unconfirmed reply.
restart is automatic-requested or manual-required, with unavailable always
requiring manual recovery. When the application returns after a committed
restore, sign in with the restored account. With a fresh authenticated session,
GET /api/backup/restore/status can confirm a commit if
latestCommitted.restoreId matches the attempt's ID. Missing or different
evidence leaves the outcome unconfirmed.
Provider cache refresh. A Plex, Jellyfin/Emby, or Tautulli refresh POST now
returns HTTP 202 with { status: "accepted", cacheType }. The cacheType is
plex, jellyfin (including Emby), or tautulli. Replace synchronous
completion and counter handling with reads of the corresponding cache
health/status endpoint to observe the refresh and its published data.
Container administrator recovery. Replace recovery commands that depend on
pnpm or tsx inside the container with the installed reset-admin-password
command. Stop every API/container using the database first, then use the same
image and service configuration in an interactive one-off container. Recovery
requires an exact existing local-password account and hidden terminal input;
password arguments, environment/file input and noninteractive stdin are not
supported. See offline password recovery.
See the API route reference for the full contracts.
TRaSH Quality Size. Before a non-default preset apply, request the read-only
preview and review the proposed changes. Send its executionToken with the
apply request. The token is scoped to the current application process, owner,
connection, repository, preset and reviewed provider definitions. On HTTP
409, request a fresh preview and review the result before submitting again.
For the separate factory-default action, check the provider to confirm the
final state.
Added
-
Native media-server inventory — Plex and Jellyfin library views include
movies, series, and episodes that have no ARR or TMDB match. The additive
ProviderNativeInventorySnapshotandProviderNativeInventoryItemmodels
retain each owned provider's published inventory across refresh attempts.
ARR matching and watch evidence are evaluated separately; unknown matches or
watch status do not authorize cleanup. -
Positive watch-count cleanup — Jellyfin and Tautulli rules can use verified
positive counts for greater-than conditions, with the exact media item, server
identity, and count checked again before execution. Tautulli checks historical
plays even when its recent cache is empty. Provider reads are bounded; reaching
the limit produces a partial result and leaves unchecked items unknown.
Changed
-
Backup Restore uses one authenticated preparation and exclusive publication
path for uploaded and stored backups. It replaces backed-up accounts and
settings, revokes sessions, and preserves destination secrets and safety
holds. -
Restore preparation memory — Preparation releases transient encrypted
input references and avoids copying immutable string values between isolated
record containers, retaining authenticated validation and the existing
50 MiB encoded-upload / 200 MiB stored ciphertext/plaintext ceilings. -
Library watch insights and progress — Incomplete media-server evidence now
returns useful read-only results with explicit unknown watch status instead of
blocking whole insight/progress endpoints with 503. Unknown candidates have no
watch-based Unmonitor action. Plex and Jellyfin progress are displayed separately,
with duplicate episode coordinates counted once. API consumers must handle
nullable totals/percentages,watchState, and the new progressstatusand
configuredfields; requested insights also distinguish request coverage from
watch coverage. Insight results alone do not authorize cleanup or provider writes.
Fixed
-
Seerr upcoming TV — Details and seasons remain available when
lastAirDateis null. Malformed details still fail validation. Includes the
compatibility correction contributed byMatosh-fr. -
Calendar Today — Initial selection, the initial month and Go to Today use
the viewer's local date without changing provider date-only values. -
Notification controls — Switches display their purposes, and Plex and
Jellyfin/Emby new-device subscriptions have distinct labels. Jellyfin-only
installations retain known client platforms between capture ticks; incomplete
history cannot establish that a platform is new. -
Radarr Auto-Tagger metadata — File-dependent criteria can use metadata
fetched for the exact current movie file when embedded fields are missing.
Missing or conflicting HDR evidence remains unknown. Scheduled and webhook
execution revalidate identity and retain the complete current resource when
updating tags. -
Runtime maintenance — Update Next.js to 16.4.5, Nodemailer to 10.6.0 and
DOMPurify resolutions to 3.4.18. -
Navigation and keyboard usability — Desktop navigation stays within the
viewport and scrolls independently. The mobile menu opens from the header,
contains keyboard focus, and closes on navigation or desktop resize. The
command palette supports modal focus, Escape, and outside dismissal, and its
documentation action opens the canonical repository. -
Radarr language custom formats — Deployment readback and new recovery
tokens accept one omittedexceptLanguagefield materialized as Boolean
false. Explicit intent and other writable drift remain strict; existing
Radarr recovery tokens retain their original checks. -
Plex refresh startup recovery — Episode work waits automatically while a
valid library refresh is running. Cache status retains validated partial
observations instead of misreporting their metadata as malformed. Interrupted
refresh claims are released at startup while completed scan units are retained
for automatic recovery. -
Truthful Jellyfin cache display — Safe positive observations can be
displayed as partial evidence while semantic omissions remain visible and
mutation authority stays fail-closed. -
Plex and Jellyfin library reads retain the last published inventory during
refresh. Jellyfin series progress can show its last verified ratio and
observation time if current evidence is incomplete. Plex collection counts
exclude collections from library item totals. -
History exposes a bounded unavailable state when reads fail. Statistics
reports gaps in source coverage and keeps native Plex reports available
during failures of optional Tautulli enrichment. -
Queue Cleaner and Library Cleanup revalidate target evidence before acting
and retain recovery state after partial or unconfirmed outcomes. qUI remains
responsive during torrent-state sync. -
TRaSH cache refresh keeps readable catalogues available when another
catalogue fails. Interrupted deployments retain guarded recovery. -
Concurrent dashboard session validation shares a request, primary mobile
controls fit the viewport, and Enter on Seerr widget actions no longer opens
the surrounding Requests link. -
Search Grab clears the sending indicator when its owning intent settles,
even if the search results have changed. Duplicate-risk checking belongs
to the active retry dialog. A check from a dismissed dialog can no longer
disable its replacement or clear the replacement's busy indicator. -
Container supervision and shutdown diagnostics improve recovery visibility.
Populated SQLite installations scan dates with lower startup allocation,
and Jellyfin refresh staging batches episode writes. -
TRaSH Quality Size and catalogues — Previews can read a complete catalogue
without publishing temporary fetches. Failed or incomplete reads preserve the
last complete cache. Non-default applies verify that the destination still
matches the reviewed state. -
TRaSH standalone Custom Formats — Deployment accounts for each requested
format and verifies provider readback before reporting completion. An
ambiguous write preserves the original endpoint's recovery hold, including
when the saved connection is repointed. -
System Settings — External URL normalization is bounded to 8,192 raw
UTF-16 code units and remains available to authenticated administrators. Accepted
values use HTTP(S) without credentials, a query string, or a fragment. -
Sonarr synchronization — Eligible episode metadata retries run
independently of torrent correlation. Routine catalogue polls retain verified
read-only episode inventory and show when it was last checked. Failed
library syncs can retain their original status without advancing the last
successful sync or replaying provider work. -
TRaSH Cache on mobile — Cache cards and their controls fit supported
mobile widths. Long labels wrap, and any horizontal scrolling stays within
the tab rail. Loading, empty and error states keep their controls reachable.
Database changes
New records persist provider inventory and observations (including
ProviderNativeInventorySnapshot and ProviderNativeInventoryItem), History
and Statistics snapshots, restore coordination, import and Grab attempts
(including SearchGrabAttempt and SearchGrabClaim), qUI and Label Sync
action evidence, and notification outbox delivery.
Backup, deployment and known limits
- Keep a verified backup of the database, configuration and secrets before
upgrading. For SQLite, use application backup or a consistent offline
snapshot and a supported writable local filesystem. For PostgreSQL, use
an appropriate consistent backup and verify the migration role has the
required privileges. Retain recovery material independently of the
application volume. - Stop the old API/container before the replacement opens the database. Keep
the existing volume or database connection and secret material, apply the
published image for your architecture, and confirm readiness before resuming
work. If startup refuses a schema change, keep the backup and investigate the migration. For a rollback after migrations,
use the previous image with its compatible backup under the documented
recovery procedure. - A complete prior cache may remain visible during an incomplete refresh. Its
observation time and current status determine whether it is suitable for
review. Keep a ledger-backed TRaSH deployment on hold when the original
upstream outcome is unknown. Inspect the original target and recovery record
before any operator decision.
Reporter confirmation and existing safeguards
- Startup and upgrade behavior was verified in disposable SQLite and PostgreSQL
installations. The exact Unraid reporter setup (#913), Plex label
propagation report (#914), TrueNAS/Jellyfin refresh variant (#889), and
Jellyfin episode-row validation report (#862) still require matching
reporter evidence. - Backup/restore safety controls (#815) and live-target verification (#836)
address their documented safety cases. An ambiguous ledger-backed TRaSH
write (#885) retains its recovery hold while the original outcome is unknown. - New integrations, additional enhancements and investigations that need
reporter evidence remain tracked separately.
Acknowledgments
Thanks to Matosh-fr for the Seerr compatibility correction, BillyOne971 for the Radarr language-format proposal in PR #879, and roachadam for the
reproduction and verification scenarios in PR #882. Thanks also to the reporters
who supplied targeted upgrade and provider evidence.