Troubleshooting¶
Having issues with Torrentarr? This section provides solutions to common problems and debugging techniques.
Quick Links¶
- Common Issues - Frequently encountered problems and solutions
- Docker Issues - Docker-specific troubleshooting
- Database Issues - Database troubleshooting, corruption prevention, and recovery
- FAQ - Frequently asked questions
Common Problems¶
Connection Issues¶
Can't connect to qBittorrent or Arr instances?
Quick Fixes: - Verify all services are running - Check host/port configuration - Verify API keys are correct - Test connections from Torrentarr container/host
Detailed Guide: Connection Problems
Import Issues¶
Downloads complete but don't import to Arr?
Quick Fixes: - Check path mappings - Verify file permissions - Enable instant import - Check Arr logs
Detailed Guide: Import Failures
Docker Networking¶
Problems with Docker container communication?
Quick Fixes: - Use container names instead of localhost - Check Docker network configuration - Verify port mappings - Test inter-container connectivity
Detailed Guide: Docker Networking
Stalled Torrents¶
Torrents stuck and not completing?
Quick Fixes: - Check torrent health monitoring is enabled - Verify tracker connectivity - Check available disk space - Review torrent client logs
Detailed Guide: Stalled Torrents
Debugging Steps¶
1. Check Logs¶
Torrentarr logs provide detailed information about operations:
2. Verify Configuration¶
Check your configuration file for errors:
Common configuration mistakes: - Wrong API keys - Incorrect host/port - Missing required fields - Typos in service names
3. Test Connectivity¶
Verify services are accessible:
# Test qBittorrent
curl http://localhost:8080
# Test Radarr
curl http://localhost:7878/api/v3/system/status \
-H "X-Api-Key: your-api-key"
# Test Sonarr
curl http://localhost:8989/api/v3/system/status \
-H "X-Api-Key: your-api-key"
4. Check Service Status¶
Ensure all required services are running:
5. Review Permissions¶
File permission issues can cause imports to fail:
# Check ownership
ls -la /path/to/downloads
# Check Torrentarr can read files
docker exec torrentarr ls -la /downloads
Getting Help¶
Before Asking for Help¶
- Check the documentation:
- Common Issues
- Docker Troubleshooting
-
Gather information:
- Torrentarr version
- Installation method (Docker/dotnet/binary)
- Arr versions
- Relevant log excerpts
-
Configuration (redact API keys!)
-
Search existing issues:
- GitHub Issues
- Discussions
Where to Get Help¶
- GitHub Issues - For bugs and feature requests
- GitHub Discussions - For questions and community support
- Discord - Real-time help from the community
Creating a Good Issue Report¶
Include:
-
Environment:
-
Problem Description:
- What you expected to happen
- What actually happened
-
Steps to reproduce
-
Relevant Logs:
-
Configuration:
toml # Redact sensitive information! [qBit] Host = "http://qbittorrent" Port = 8080 UserName = "admin" Password = "REDACTED"
Debug Mode¶
Enable debug logging for more detailed information:
Warning: Debug logs can be very verbose and may impact performance. Only enable when troubleshooting.
Performance Issues¶
High CPU Usage¶
Symptoms: Torrentarr consuming excessive CPU
Common Causes:
-
Too frequent torrent checks:
toml [Settings] CheckInterval = 300 # Increase interval (default: 60) -
Too many concurrent health checks:
toml [Settings] MaxConcurrentChecks = 5 # Reduce concurrent operations -
Large torrent counts:
- Limit categories to only what Torrentarr needs to manage
-
Use category filtering in qBittorrent
-
FFprobe validation on large files:
toml [Settings] FFprobeAutoUpdate = false # Temporarily disable to test
Monitor Resource Usage:
# Docker
docker stats torrentarr --no-stream
# Native
ps aux | grep torrentarr
top -p $(pidof torrentarr)
High Memory Usage¶
Symptoms: Torrentarr using excessive RAM
Solutions:
-
Reduce log retention:
toml [Settings] LogRetentionDays = 7 # Reduce from default 30 -
Limit torrent history:
toml [Settings] TorrentHistoryDays = 30 # Clean old entries -
Vacuum database regularly:
-
Restart Torrentarr periodically:
- Set up a cron job or systemd timer for weekly restarts
Slow WebUI Response¶
Symptoms: WebUI is slow or unresponsive
Solutions:
- Reduce data fetching:
- Limit log entries displayed (50-100 instead of 500)
- Use filters to reduce table sizes
-
Disable auto-refresh when not actively monitoring
-
Check API response times:
-
Database optimization:
-
Browser performance:
- Clear browser cache
- Disable unnecessary browser extensions
- Try a different browser
Slow Import Processing¶
Symptoms: Torrents complete but imports take a long time
Solutions:
-
Enable instant imports:
toml [Radarr-Movies] InstantImport = true # Trigger immediate imports -
Optimize Arr refresh intervals:
toml [Radarr-Movies] RefreshDownloadsTimer = 1 # Check every 1 minute -
Check Arr instance performance:
- Review Arr logs for slow operations
- Optimize Arr database
-
Reduce Arr's own refresh intervals
-
Path mapping issues:
- Verify paths are consistent across all services
- See Path Mapping Guide
Network Issues¶
Timeout Errors¶
Symptoms: "Connection timeout" errors in logs
Solutions:
-
Increase timeout values:
toml [Settings] ConnectionTimeout = 60 # Increase from default 30 ReadTimeout = 120 # Increase from default 60 -
Check network connectivity:
-
Verify services are responding:
-
Review firewall rules:
DNS Resolution Issues¶
Symptoms: "Name or service not known" errors
Solutions:
-
Use IP addresses instead of hostnames:
toml [qBit] Host = "http://192.168.1.100" # Instead of hostname -
Check DNS configuration (Docker):
-
Verify container can resolve names:
-
Use Docker network aliases:
Connection Refused¶
Symptoms: "Connection refused" when trying to reach services
Solutions:
-
Verify service is listening:
-
Check bind address:
-
Services should bind to
0.0.0.0not127.0.0.1for Docker -
Verify port mappings (Docker):
-
Test from correct network namespace:
Configuration Issues¶
Invalid TOML Syntax¶
Symptoms: Torrentarr won't start, "Invalid configuration" error
Common Mistakes:
-
Missing quotes:
-
Wrong quotes:
-
Unclosed brackets:
-
Duplicate sections:
Validate TOML:
# .NET / runtime validation
python3 -c "import toml; toml.load(open('config.toml'))"
# Online validator
# Copy config to https://www.toml-lint.com/
Missing Required Fields¶
Symptoms: "Config key 'X' requires a value" error
Solutions:
Check these required fields are set:
[qBit]
Host = "localhost" # REQUIRED
Port = 8080
# UserName and Password (if qBit has auth enabled)
[Radarr-Movies]
URI = "http://localhost:7878" # REQUIRED
APIKey = "your-api-key" # REQUIRED
Category = "radarr" # REQUIRED (must match qBit download client)
Environment Variable Overrides Not Working¶
Symptoms: Config path environment variable not applied
Solutions:
-
Use the correct variable: Torrentarr only reads
TORRENTARR_CONFIG(path to config.toml). It does not support per-setting env overrides. -
Verify variable is passed to container:
-
In Docker Compose:
Automated Search Issues¶
Searches Not Triggering¶
Symptoms: Torrentarr doesn't search for missing content
Solutions:
-
Enable search functionality:
toml [Radarr-Movies] [Radarr.Search] SearchMissing = true -
Check search intervals:
toml SearchRequestsEvery = 300 # Search every 5 minutes -
Verify Arr has indexers:
- Radarr/Sonarr/Lidarr must have working indexers configured
-
Test indexers in Arr UI
-
Review search logs:
-
Check for rate limiting:
- Some indexers rate limit searches
- Review indexer API limits
Too Many Searches¶
Symptoms: Overwhelming indexers with searches, rate limited
Solutions:
-
Increase search interval:
toml SearchRequestsEvery = 600 # 10 minutes instead of 5 -
Reduce search limit:
toml SearchLimit = 3 # Fewer concurrent searches -
Disable upgrade searches temporarily:
toml DoUpgradeSearch = false QualityUnmetSearch = false -
Monitor indexer stats:
- Check Prowlarr for indexer statistics
- Review API hit counts
Seeding & Tracker Issues¶
Torrents Removed Too Early¶
Symptoms: Torrents deleted before reaching seeding goals
Solutions:
-
Adjust seeding limits:
toml [Radarr-Movies] [Radarr.Torrent.SeedingMode] MaxUploadRatio = 2.0 # Increase ratio MaxSeedingTime = 1209600 # 14 days in seconds RemoveTorrent = 4 # Remove only when BOTH met -
Check tracker-specific rules:
toml [[Radarr.Torrent.Trackers]] Name = "PrivateTracker" URI = "https://tracker.example.com" MaxUploadRatio = 3.0 # Higher for private trackers -
Disable automatic removal:
toml RemoveTorrent = -1 # Never auto-remove
Dead Tracker Detection Issues¶
Symptoms: Torrents marked as failed due to temporary tracker issues
Solutions:
-
Increase stall delay:
toml StalledDelay = 30 # 30 minutes before considering stalled -
Disable tracker error removal:
toml RemoveDeadTrackers = false -
Customize tracker error messages:
toml RemoveTrackerWithMessage = [ # Only remove on these specific errors "info hash is not authorized with this tracker" ]
Logging Issues¶
Too Many Logs¶
Symptoms: Log files growing too large
Solutions:
-
Reduce log level:
toml [Settings] LogLevel = "INFO" # Change from DEBUG -
Enable log rotation:
toml LogRotation = true LogMaxSize = 10485760 # 10 MB LogBackupCount = 5 -
Reduce retention:
toml LogRetentionDays = 7 # Keep only 1 week
Can't Find Logs¶
Symptoms: Don't know where logs are located
Log Locations:
Update & Upgrade Issues¶
Update Fails¶
Symptoms: Auto-update or manual update fails
Solutions:
-
Check for sufficient disk space:
-
Verify permissions: the Host process must be able to write next to (or replace) its executable and use temp space for the download.
-
Check for breaking changes:
- Review CHANGELOG.md
-
Backup config before upgrading
-
Manual update:
Version Mismatch Issues¶
Symptoms: Errors after update, incompatible features
Solutions:
-
Check version:
-
Review config migrations:
- Torrentarr auto-migrates config on version change
-
Check logs for migration messages
-
Rollback if needed:
Clean Restart¶
Sometimes a clean restart resolves issues:
Database Issues¶
If the database becomes corrupt:
-
Backup existing database:
-
Let Torrentarr recreate:
-
Recovery: Torrentarr has automatic database recovery. Check logs for recovery messages.
Still Need Help?¶
If you've tried the troubleshooting steps and still have issues:
- Review Common Issues for detailed solutions
- Check Docker-specific issues if using Docker
- Search GitHub Issues
- Ask in GitHub Discussions
We're here to help! 🚀