Repair Worker
The Repair Worker monitors your library for missing or broken files and attempts to fix them.
How It Works
Section titled “How It Works”- Scan: Checks files against provider availability
- Detect: Identifies missing segments, broken links, or expired downloads
- Repair: Re-adds torrents/NZBs or fetches new download links
- Verify: Confirms files are accessible
Configuration
Section titled “Configuration”{ "repair": { "enabled": true, "interval": "30m", "auto_process": false, "workers": 2, "strategy": "per_file" }}| Field | Description | Default |
|---|---|---|
enabled | Enable automatic repair | false |
interval | How often to start auto-repair | 30m |
auto_process | Auto-fix detected issues | false |
workers | Concurrent repair operations | 2 |
strategy | per_file or per_torrent | per_file |
Strategies
Section titled “Strategies”Per File
Section titled “Per File”{ "repair": { "strategy": "per_file" }}Check each file independently. Faster for large torrents with few issues.
Use when:
- Large multi-file torrents
- Only occasional file failures
- Want faster repairs
Per Torrent
Section titled “Per Torrent”{ "repair": { "strategy": "per_torrent" }}Check all files in a torrent together. Ensures full torrent integrity.
Use when:
- Need complete torrent verification
- Don’t mind slower checks
- Want comprehensive validation
Auto-Process
Section titled “Auto-Process”{ "repair": { "auto_process": true }}false: Detect issues and create repair jobs (manual trigger needed)true: Automatically fix detected issues
Manual Repair
Section titled “Manual Repair”Via Web UI
Section titled “Via Web UI”- Go to Repair page
- Click Start Repair
- Review detected issues
- Click Repair on specific jobs
Via API
Section titled “Via API”Trigger manual scan:
curl -X POST http://localhost:8282/api/repair \ -H "Authorization: Bearer YOUR_API_TOKEN"Process specific job:
curl -X POST http://localhost:8282/api/repair/jobs/JOB_ID/process \ -H "Authorization: Bearer YOUR_API_TOKEN"Per-Arr Skip Repair
Section titled “Per-Arr Skip Repair”Disable repair for specific Arrs:
{ "arrs": [ { "name": "Sonarr", "skip_repair": true } ]}Or globally for Usenet:
{ "usenet": { "skip_repair": true }}Repair Workflow
Section titled “Repair Workflow”- Repair Worker scans library every
interval - Detects issues based on provider availability and file integrity
- Creates repair jobs for detected issues
- If
auto_process: true, processes jobs immediately; otherwise, waits for manual trigger - Repair process re-adds torrents/NZBs or fetches new links
- Verifies repaired files are accessible
Troubleshooting
Section titled “Troubleshooting”Repair Jobs Stuck
Section titled “Repair Jobs Stuck”Increase workers:
{ "repair": { "workers": 4 }}Too Many False Positives
Section titled “Too Many False Positives”Increase interval to reduce scan frequency:
{ "repair": { "interval": "1h" }}High Resource Usage
Section titled “High Resource Usage”- Set
auto_process: false - Reduce
workers - Increase
interval - Skip repair for less critical Arrs
Rate Limiting
Section titled “Rate Limiting”Repair operations respect Debrid provider rate limits:
{ "debrids": [ { "provider": "realdebrid", "repair_rate_limit": "60/minute" } ]}Separate from normal rate_limit to avoid impacting regular usage.