Skip to content

Plugin Updates

Leandro Battochio edited this page Nov 8, 2026 · 3 revisions

How trackarr downloads the official plugins from trackarr-plugins on every start. Your overrides and custom plugins are never touched; Managing plugins explains what happens to an override when its official plugin changes.

On every start the app downloads the official plugins from the plugin source (PluginSource__Url, by default the main branch of trackarr-plugins on GitHub). It does not wait for the download: integrations sync right away with the plugins already on disk. The result (time, source, index hash, per-plugin outcome and errors) is shown in Settings > About, and updated plugins appear in What's New.

sequenceDiagram
    autonumber
    participant App as trackarr
    participant Disk as Data__Directory/plugins
    participant Source as Plugin source
    App->>Disk: official/ empty? Seed it from the snapshot in the image
    App->>Disk: Official file edited on disk? Move it to overrides/
    Note over App: Start serving requests and syncs with the plugins on disk
    App->>Source: GET index.json
    alt Source unreachable or index malformed
        App->>Disk: Keep every file, record the error for About
    else Index OK
        loop Every plugin in the index
            alt Needs a newer schema than this trackarr supports
                App->>App: Keep the installed version, mark it Incompatible
            else sha256 equals the installed file
                App->>App: Nothing to download
            else New or changed
                App->>Source: GET plugins/{id}.yaml
                App->>App: Check sha256 against the index and validate
                App->>Disk: Write official/{id}.yaml, or keep the old file on failure
            end
        end
        App->>Disk: Plugins gone from the index: delete, or keep as Orphan or Deprecated
        App->>Disk: Record the result in state.json for About and What's New
    end
Loading

Since trackarr 0.5.3 the index also lists plugin bases, which hold what the plugins of one tracker engine share (see Writing a plugin). They are stored in <Data__Directory>/plugins/bases/ and downloaded before the plugins, so a plugin that extends a base is checked against the new base. A base update reaches every plugin that extends it, overrides and custom plugins included, without a new plugin version, and appears in What's New and Settings > About. A base removed from the index stays on disk.

Every file is checked against the sha256 in index.json. Overrides and custom plugins are never written. The Docker image embeds a snapshot of trackarr-plugins taken at build time, so a first start without internet still has the official plugins.

Clone this wiki locally