qBittorrent
aMuTorrent connects to qBittorrent via its WebUI API, allowing you to manage BitTorrent downloads alongside aMule and rTorrent.
Alternative: aMuTorrent also supports rTorrent, Deluge, and Transmission. You can use multiple BitTorrent clients simultaneously.
Requirements
Section titled “Requirements”- qBittorrent with WebUI enabled (enabled by default)
- WebUI accessible over HTTP/HTTPS from aMuTorrent
First-Time Setup
Section titled “First-Time Setup”Important: Recent versions of qBittorrent do not use a default password. Instead, a random password is generated at first boot. If running in Docker, check the container logs to find it:
Terminal window docker logs qbittorrentLook for a line like:
A temporary password is provided for this session: <password>You must open the qBittorrent WebUI and set a permanent password before configuring aMuTorrent.
- Open the qBittorrent WebUI (default:
http://localhost:8080) - Log in with the temporary password from the logs
- Go to Tools > Options > Web UI
- Set a permanent username and password
- Save the settings
Configuration
Section titled “Configuration”Via Settings UI
Section titled “Via Settings UI”- Go to Settings in aMuTorrent
- Expand the BitTorrent Integration section
- Enable qBittorrent
- Configure connection settings:
- Host: qBittorrent WebUI hostname (e.g.,
localhostorqbittorrent) - Port: WebUI port (default:
8080) - Username: WebUI username (default:
admin) - Password: WebUI password (set during first-time setup)
- URL Path: Base path if behind a reverse proxy (e.g.,
/qbittorrent) - Use SSL: Enable if WebUI uses HTTPS
- Host: qBittorrent WebUI hostname (e.g.,
Via Environment Variables
Section titled “Via Environment Variables”QBITTORRENT_ENABLED=trueQBITTORRENT_HOST=localhostQBITTORRENT_PORT=8080QBITTORRENT_PATH= # Optional: URL path for reverse proxy (e.g., /qbittorrent)QBITTORRENT_USERNAME=adminQBITTORRENT_PASSWORD=your_passwordQBITTORRENT_USE_SSL=falseVia config.json
Section titled “Via config.json”{ "qbittorrent": { "enabled": true, "host": "localhost", "port": 8080, "username": "admin", "password": "your_password", "useSSL": false }}Docker Compose Example
Section titled “Docker Compose Example”services: qbittorrent: image: linuxserver/qbittorrent:latest container_name: qbittorrent ports: - "127.0.0.1:8080:8080" # WebUI (localhost only) - "6882:6882" # BitTorrent - "6882:6882/udp" # BitTorrent DHT volumes: - ./data/qBittorrent/config:/config - ./data/qBittorrent/downloads:/downloads environment: - PUID=1000 - PGID=1000 - TZ=Europe/Rome - WEBUI_PORT=8080 - TORRENTING_PORT=6882 restart: unless-stopped
amutorrent: image: g0t3nks/amutorrent:latest environment: - QBITTORRENT_ENABLED=true - QBITTORRENT_HOST=qbittorrent - QBITTORRENT_PORT=8080 - QBITTORRENT_USERNAME=admin - QBITTORRENT_PASSWORD=your_password ports: - "4000:4000" restart: unless-stoppedFeatures
Section titled “Features”Category Sync
Section titled “Category Sync”Categories are automatically synced between aMuTorrent and qBittorrent:
- Categories created in aMuTorrent are pushed to qBittorrent
- Existing qBittorrent categories are imported on first connection
- Category path changes are kept in sync
Native File Operations
Section titled “Native File Operations”Unlike rTorrent, qBittorrent handles file moves and deletions natively via its API:
- File moves use qBittorrent’s
setLocation()- no shared volume mount needed for moves - File deletion uses qBittorrent’s API - no shared volume mount needed for deletes
Application Logs
Section titled “Application Logs”View qBittorrent application logs directly in aMuTorrent’s Logs page (requires qBittorrent to be connected).
Using Multiple BitTorrent Clients
Section titled “Using Multiple BitTorrent Clients”You can run multiple BitTorrent clients simultaneously (rTorrent, qBittorrent, Deluge, Transmission), including multiple instances of the same client type. When multiple clients are connected:
- A client selector appears when adding downloads, letting you choose the target client
- The ED2K/BT filter in the header groups all BitTorrent clients together
- Statistics combine speeds and totals from all connected clients
- Prowlarr search results can be sent to any connected BitTorrent client
- Additional instances can be added through the Settings page
Troubleshooting
Section titled “Troubleshooting”Connection Failed
Section titled “Connection Failed”- Verify qBittorrent is running and WebUI is accessible
- Test with curl:
curl http://host:8080/api/v2/app/version - Check firewall rules between containers/hosts
- Verify username/password are correct
”Temporary password” / Can’t Log In
Section titled “”Temporary password” / Can’t Log In”- New qBittorrent installs generate a random password at boot
- Check container logs:
docker logs qbittorrent - Open WebUI directly and set a permanent password first
Downloads Not Appearing
Section titled “Downloads Not Appearing”- Ensure qBittorrent integration is enabled in Settings
- Check aMuTorrent logs for connection errors
- Verify the WebUI port is correct (default:
8080)
Categories Out of Sync
Section titled “Categories Out of Sync”- Categories sync automatically when qBittorrent connects
- If categories seem wrong, restart aMuTorrent to trigger a fresh sync
- Check aMuTorrent logs for category sync messages
Permission Issues
Section titled “Permission Issues”- For file moves: qBittorrent handles moves natively, no extra permissions needed
- For volume mounts: ensure aMuTorrent and qBittorrent share the same UID/GID in Docker