SABnzbd¶
Client Usenet automatisé pour téléchargements via fichiers NZB.
Informations¶
| Paramètre | Valeur |
|---|---|
| Container | LXC 100 - docker-media |
| IP:Port | 192.168.1.100:8080 |
| Image | linuxserver/sabnzbd:latest |
| Version | 4.3.3 |
Configuration Docker¶
Fichier: /mnt/lxc-data/100-media/docker-compose.yml
Architecture Downloads :
- Incomplete :
/mnt/scratch/downloads/incomplete(ZFS rpool/scratch, 120GB)- Téléchargement + extraction PAR2/RAR
- Complete :
/mnt/media/downloads/complete(HDD HGST 4TB)- Stockage temporaire post-extraction
- Import vers
/mnt/media/{series,movies}par Sonarr/Radarr
Serveurs Usenet¶
Config → Servers → Add Server
Host: news.usenetprovider.com
Port: 563 (SSL) ou 119 (non-SSL)
Connections: 20 (max simultanées)
SSL: Enabled (recommandé)
Priority: 0 (plus haut = prioritaire)
Configuration optimal :
- 1 provider primaire (priority 0, 20 connections)
- 1-2 providers backup/fill (priority 1-2, 5-10 connections)
Catégories¶
Config → Categories
tv:
Folder: tv
Priority: Normal
movies:
Folder: movies
Priority: Normal
Default:
Folder: *
Priority: Normal
Paths internes container :
Integration Sonarr/Radarr¶
Settings → Download Clients → Add → SABnzbd
Name: SABnzbd
Host: 192.168.1.100
Port: 8080
API Key: [depuis SABnzbd Config → General]
Category: tv (pour Sonarr) ou movies (pour Radarr)
Voir Arr Stack pour configuration complète.
Nettoyage Automatique¶
Import et suppression :
- Sonarr/Radarr importent automatiquement depuis
/downloads/complete removeCompletedDownloads: truedans Sonarr/Radarr- Fichiers déplacés vers destination finale, puis supprimés du SSD
Configuration SABnzbd :
# /mnt/lxc-data/100-media/sabnzbd/sabnzbd.ini
history_retention_option = days
history_retention_number = 30
enable_par_cleanup = 1
Commandes Utiles¶
# Logs
pct exec 100 -- docker logs -f sabnzbd
# Restart
pct exec 100 -- docker restart sabnzbd
# Espace downloads
pct exec 100 -- df -h /mnt/scratch # Incomplete (SSD)
pct exec 100 -- df -h /mnt/media # Complete (HDD)
pct exec 100 -- du -sh /mnt/scratch/downloads/incomplete
pct exec 100 -- du -sh /mnt/media/downloads/complete
# Status queue
curl http://192.168.1.100:8080/api?mode=queue&apikey=YOUR_API_KEY
Troubleshooting¶
Permissions¶
# Sur host Proxmox
chown -R 101000:101000 /mnt/scratch/downloads
chown -R 101000:101000 /mnt/media/downloads
# Vérifier dans LXC
pct exec 100 -- ls -la /mnt/scratch/downloads
pct exec 100 -- ls -la /mnt/media/downloads
Espace Disque Saturé¶
# Vérifier espace SSD M.2 (incomplete)
pct exec 100 -- df -h /mnt/scratch
# Vérifier espace HDD (complete)
pct exec 100 -- df -h /mnt/media
# Forcer import Sonarr/Radarr
curl -X POST http://192.168.1.100:8989/api/v3/command \
-H "X-Api-Key: YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"name": "DownloadedEpisodesScan"}'