Skip to main content

Unpackerr

Github | Docker compose docs | Config generator

Unpackerr runs as a daemon on your download host or seedbox. It checks for completed downloads and extracts them so Lidarr, Radarr, Readarr, and Sonarr may import them. If your problem is rar files getting stuck in your activity queue, then this is your solution.

Not a starr app user, and just need to extract files? We do that too. This application can run standalone and extract files found in a "watch" folder. In other words, you can configure this application to watch your download folder, and it will happily extract everything you download.

services:
  unpackerr:
    image: golift/unpackerr
    container_name: unpackerr
    volumes:
      - /srv/path/Files/QBittorrentVPN/downloads:/downloads
    restart: always
    user: "998:100"
    environment:
      - TZ=Europe/Paris
      - UN_DEBUG=true
      - UN_LOG_FILE=/downloads/unpackerr.log # don't change. Or see notes about log files bellow
      - UN_INTERVAL=10m
      - UN_START_DELAY=1m
      - UN_RETRY_DELAY=5m
      - UN_MAX_RETRIES=3
      - UN_PARALLEL=1
      # Sonarr Config
      - UN_SONARR_0_URL=http://
      - UN_SONARR_0_API_KEY=
      - UN_SONARR_0_PROTOCOLS=torrent
      # Radarr Config
      - UN_RADARR_0_URL=http://
      - UN_RADARR_0_API_KEY
      - UN_RADARR_0_PROTOCOLS=torrent
    networks:
      - arr

Log File

Set a log file. You'll need it to figure out what Unpackerr did. Put it in your download location. Example:

    environment:
      - UN_LOG_FILE=/downloads/unpackerr.log

Replace /downloads/unpackerr.log with /data/unpackerr.log if you mounted /data in volumes:. Or whatever download path you mounted; just put it there for ease of finding it.

For example: you can mount /logs in volumes like this:

First, create /srv/path/Unpackerr, /srv/path/Unpackerr/Logs and /srv/path/Unpackerr/Logs/unpackerr.log
Then
sudo chown -R 998:100 /srv/path/Files
sudo chmod -R 755 /srv/path/Files
 

   volumes:
      - /srv/path/Files/QBittorrentVPN/downloads:/downloads
      - /srv/path/Files/Unpackerr/Logs:/logs 

And set

      - UN_LOG_FILE=/logs/unpackerr.log