Skip to content

Advanced Configuration

Bearcat does most work in background tasks. The web UI gives you two places to control that behavior:

  • “Background tasks” shows scheduled work, health and enable / disable switches.
  • “Configurations” contains global settings that affect background work.

Open “Background tasks” in the sidebar to see the current task list. Each background task runs on its own schedule and stores its last known state in the database.

background-tasks-page.png

The table columns mean:

  • “Name” is the task display name.
  • “Active” enables or disables future executions of that task.
  • “Status” shows “Never run”, “Running”, “Success” or “Error”.
  • “Started” and “Finished” show the timestamps of the latest run.
  • “Duration” shows how long the latest finished run took.
  • “Last error” shows the latest error message if the task failed.

Tasks are enabled by default. If you disable a task, Bearcat skips future runs of that task. Disabling a task does not cancel work that is already running at that moment. Use the “Refresh” button to reload the latest state.

Most tasks should stay enabled during normal operation. Only disable a task if you intentionally want to pause that part of the system, for example while debugging a failing hoster account or while doing maintenance on a storage folder.

Task Runs What it does
Configuration cache refresh Every 5 minutes Reloads configuration overrides from the database into the in-memory configuration cache. Saving a value in the UI also updates the cache immediately, but this task keeps the cache in sync.
Release folder automation Every 2 minutes Scans enabled release folder automations and creates releases from matching direct subfolders using the selected release template. A matching folder is only turned into a release once it looks finished (see “Folder automation” below).
Release info resolution Every 10 minutes Resolves missing scene release information, NFO files, external IDs, and movie or TV metadata through the active NFO databases and metadata sources.
Archive creation Every 20 seconds Creates missing archives for uploads that are waiting for an archive. If a matching archive already exists, it can reuse it instead of creating a new one.
Archive cleanup Every 30 minutes Deletes local archive folders after their linked uploads have completed, if automatic archive cleanup is enabled in “Configurations”.
Archive upload Every 20 seconds Uploads pending archive files to the configured hosters and updates upload progress and final upload state.
Image upload Every 30 seconds Uploads release cover images to configured image hosters when a cover image URL is available.
Upload state check Every 20 seconds Checks whether uploaded files are still online, creates initial upload records after the configured cooldown and schedules automatic reuploads when release group rules allow it.
Link crypter container creation Every 20 seconds Creates missing link crypter containers for completed uploads that have link crypter configurations.

Open “Configurations” in the sidebar to change global application behavior. Each configuration property shows its current value and its default value.

configurations-page.png

When you change a value, Bearcat stores it as an override. Overridden values show an “Override” badge. Use the reset button next to a property to remove the override and return to the default.

Configuration changes are stored in the database. They survive container restarts.

“Archive cleanup” controls whether Bearcat removes local archive folders after uploads finish.

The available setting is:

  • “Automatic cleanup” defaults to disabled.

When automatic cleanup is enabled, the “Archive cleanup” background task deletes archive folders that match all of these conditions:

  • The archive is in the “Created” state.
  • The archive is linked to at least one upload.
  • All linked uploads have a completed upload timestamp.

After deleting the archive folder from disk, Bearcat marks the archive as deleted in the database. This cleanup only affects the local archive folder that Bearcat created for upload preparation. It does not delete the release source folder and it does not delete files from the hoster.

Leave automatic cleanup disabled if you want to inspect generated archive files manually or keep them as a local backup. Enable it if your archive folder is temporary storage and you want Bearcat to free disk space after successful uploads.

“Archive repackaging” controls how Bearcat changes generated archive files when it has to create a fresh archive for an upload or reupload.

The available setting is:

  • “Repackaging strategy” defaults to “Change archive file size by 1 MB”.

Bearcat always writes a random __nonce.txt file into the release folder before packing. The repackaging strategy decides how that nonce file should affect the generated archive files:

Value UI label Behavior
NonceOnly Nonce only, no compression Packs without compression and without solid mode. Only __nonce.txt changes. This has the lowest CPU cost, but the lowest chance that every archive part gets a new MD5 hash.
SolidCompression Solid archive with compression Packs with solid mode and compression. This is the safest option for making the nonce change affect all archive files, but it uses more CPU.
IncrementArchiveFileSize Change archive file size by 1 MB Packs without compression and without solid mode, but increases the archive part size by 1 MB compared to the latest archive for the same archive configuration. This is the default.

IncrementArchiveFileSize stores the archive part size that was actually used on each archive. When Bearcat creates the next archive for the same archive configuration, it reads the latest stored value and adds 1 MB. For the first archive, Bearcat uses the “Archive file size (MB)” from the archive configuration.

RAR and 7Zip both support all three strategies.

“Folder automation” controls when a watched folder is considered finished and turned into a release by the “Release folder automation” background task.

The available settings are:

  • “Folder stability (minutes)” defaults to 5.
  • “Minimum folder size (MB)” defaults to 1.

When a matching folder is found, Bearcat does not create a release immediately. Instead it remembers the folder’s total file count and size and only creates the release once that fingerprint has stayed unchanged for at least “Folder stability (minutes)” and the folder is at least “Minimum folder size (MB)” in size.

This avoids two problems that happen when a release folder is still being filled:

  • Creating a release while files are still being copied in, which would extract the wrong media metadata (for example a too-small main video size).
  • Turning empty or near-empty folders into releases.

Bearcat compares total size and file count between scans rather than folder modification dates, because release folders are often moved or copied with their original timestamps preserved.

For example, with the defaults Bearcat creates the release once a matching folder has been quiet for about five minutes and holds at least one megabyte of files:

  • Raise “Folder stability (minutes)” if your copies are slow or pause for long stretches, so Bearcat waits longer before acting.
  • Set “Minimum folder size (MB)” to 0 to disable the size check and let even empty folders become releases.

This only affects automatic release creation. You can still create releases manually and trigger media metadata extraction yourself on a release’s “Release info” panel.

“Initial uploads” controls when Bearcat creates the first upload run for a new release.

The available setting is:

  • “Initial upload cooldown (minutes)” defaults to 5.

After you create a release and add an upload configuration, Bearcat waits until the release is older than this cooldown before it creates the first upload record. The “Upload state check” background task performs this check.

For example:

  • 5 means Bearcat waits about five minutes after release creation before scheduling the initial upload.
  • 0 means Bearcat can create the initial upload on the next “Upload state check” run.
  • A larger value gives you more time to finish release setup before Bearcat starts archiving and uploading.

Changing the cooldown affects upload configurations that do not have an upload yet. It does not cancel or delay uploads that already exist.

“Upload concurrency” controls how many archive files Bearcat uploads in parallel across all hosters.

The available setting is:

  • “Maximum parallel uploads” defaults to 10.

This is the global limit for the “Archive upload” background task. Bearcat never runs more than this many file uploads at the same time, even when several uploads are pending.

Each hoster also has its own parallel upload limit. For a single hoster, the effective number of parallel uploads is the smaller of this global limit and that hoster’s limit. You can view and, where allowed, override the per-hoster limit on the “Hoster registrations” page (see “Parallel uploads per hoster”).

Lower this value to reduce bandwidth and CPU usage during uploads. Raise it if you upload to many hosters at once and want more files to transfer in parallel.