Skip to content

Background jobs ​

In short

Scans, previews, downloads and other slow work run as jobs in Admin → Workers. You can pause a task's schedule, retry a failed job and clean up old history there.

The Admin Workers page with tasks and their jobs
Admin → Workers

What runs in the background ​

  • Library scans, which find new and changed files.
  • Metadata, which fetches artwork and descriptions.
  • Previews, which generate timeline thumbnails.
  • Downloads, which save titles for offline viewing.
  • Maintenance, such as clearing old logs and previews.

Pause a schedule ​

A task can run on a schedule, at startup, on an interval, or daily or weekly. To stop the automatic runs, pause the task. Its queue is kept, and its badge shows that it is paused.

Manual runs still work while a task is paused. Resuming starts the schedule again from now. The paused time does not run as a backlog.

Retry a failed job ​

Open the failed job and choose Retry. ReelVault queues the job again with the same data, as a new job. The failed one stays in the history, so you can see what went wrong.

Watchdog notice ​

If the server restarts while a job is running, a watchdog requeues the job. When it has done this since the server started, the workers page shows a notice with the count.

Clean up the history ​

Purge history removes old operations and jobs. Before anything is deleted, the dialog shows how many operations and jobs the filter would remove. Check the numbers, then confirm.

Time limits ​

Long jobs have a time limit, so one stuck job cannot block the others. The defaults are:

SettingDefaultWhat it limits
workers.definitions.libraryScan.timeoutMs2 hoursOne library scan
workers.definitions.downloadsProcess.timeoutMs2 hoursOne download
scanning.pathScanTimeoutMs2 minutesWalking one library folder

scanning.pathScanTimeoutMs matters most for network drives. A drive that stops responding is skipped after this time, instead of holding the scan.

When a scan gets stuck ​

  1. Open Admin → Workers and find the scan job.
  2. If it runs far longer than usual, look for errors about that library on the Logs page. See Diagnostics & logs.
  3. Check the network drive is online. Then retry the job, or start the scan again.

Next steps ​

Released under the GNU GPL v3.