- Update Jellyfin Docker Compose configuration - Add qBittorrent manual setup documentation
3.4 KiB
3.4 KiB
qBittorrent Manual Setup Guide
This guide provides step-by-step instructions for manually configuring qBittorrent through the web UI to work with the existing NAS directory structure.
Prerequisites
- qBittorrent container running via Docker
- NAS directory structure set up at
/mnt/nas/torrent/ - Nginx reverse proxy configured for
/qbt/path
Current NAS Structure
The following directory structure should already exist:
/mnt/nas/torrent/
├── watch/
│ ├── music/
│ ├── videos/
│ ├── documents/
│ └── private/
└── complete/
├── music/
├── videos/
├── documents/
└── private/
Manual Configuration Steps
1. Access qBittorrent Web UI
- Open your browser and navigate to:
https://ak-homelab.duckdns.org/qbt/ - Login with:
- Username:
admin - Password: Check Docker logs for temporary password:
docker logs qbittorrent 2>&1 | grep "temporary password"
- Username:
- IMPORTANT: Change the default password on first login
2. Configure Basic Settings
- Go to Tools → Options → Downloads
- Set Default Torrent Management Mode:
Automatic - Set Default Save Path:
/downloads/complete - Enable Auto managed torrents
- Click Apply
3. Create Download Categories
Right-click in the main torrent area and select Add category for each:
| Category | Save Path |
|---|---|
music |
/downloads/complete/music |
videos |
/downloads/complete/videos |
documents |
/downloads/complete/documents |
private |
/downloads/complete/private |
4. Set Up Watch Folders
- Go to Tools → Options → Downloads
- Navigate to Monitored Folder section
- Click Add to create watch folders:
| Watch Folder Path | Category |
|---|---|
/downloads/watch/music |
music |
/downloads/watch/videos |
videos |
/downloads/watch/documents |
documents |
/downloads/watch/private |
private |
5. Test Configuration
- Download a test
.torrentfile - Drop it into
/mnt/nas/torrent/watch/music/ - Verify it appears in qBittorrent with the correct category
- Confirm it downloads to
/mnt/nas/torrent/complete/music/
6. Optional: Hardlink Organization
After confirming downloads work correctly, you can set up automatic hardlinking to organize files for Jellyfin access:
./scripts/organize-torrents.py
This creates hardlinks from completed torrents to appropriate media directories without duplicating files.
Troubleshooting
Common Issues
- Permission errors: Ensure qBittorrent container has read/write access to mounted volumes
- Watch folders not working: Check that the paths are correctly mapped in docker-compose.yml
- Categories not auto-assigning: Verify watch folder paths match exactly
Docker Volume Mapping
Ensure your docker-compose.yml includes these volume mappings:
volumes:
- /mnt/nas/torrent:/downloads
- qbittorrent-config:/config
Logs
Check container logs for issues:
docker logs qbittorrent
Security Recommendations
- Change default admin password immediately
- Enable 2FA if available in your qBittorrent version
- Consider using authentication bypass only for local network access
- Regularly update the container image for security patches