Jackett

"Jackett works as a proxy server: it translates queries from apps (Sonarr, Radarr, SickRage, CouchPotato, Mylar, etc) into tracker-site-specific http queries, parses the html response, then sends results back to the requesting software. This allows for getting recent uploads (like RSS) and performing searches. Jackett is a single repository of maintained indexer scraping & translation logic - removing the burden from other apps."

Installation

Connect to your server with SSH.

Jackett

  1. Download the latest version of Jackett

    wget `curl --silent https://api.github.com/repos/Jackett/Jackett/releases/latest | awk '/browser_download_url/ && /Jackett.Binaries.Mono.tar.gz/ { print $2 }' | sed 's/"//g'`
    
  2. Extract the archive

    tar xzvf Jackett*.tar.gz
    
  3. Start Jackett in a background screen session. Once started, Jackett is accessible at http://server.whatbox.ca:13760

    screen -dmS jackett mono ~/Jackett/JackettConsole.exe -p 13760
    

    If using a Jackett version prior to v.0.9.6, add -c libcurl at the end of the command above

  4. Clean up your slot

    rm Jackett*.tar.gz
    
  5. Disable automatic update from the Jackett WebUI.

Certificates

By default mono does not trust any root certificate authorities. Without these, Jackett will fail to connect to any external HTTPS source, as the SSL validation will fail.

Fix this by running cert-sync --user /etc/ssl/certs/ca-certificates.crt

Usage

Your Jackett web interface will be accessible at http://server.whatbox.ca:13760

Automatically Restart

mono-based applications are inherently unstable and prone to crashing. Below are steps to take to have your Jackett instance automatically restart if it crashes, or if the server is rebooted.

  1. Make a file to be used for the script. touch ~/jackett_restart.cron

  2. Edit the file and enter the text below. nano -w ~/jackett_restart.cron

    #!/bin/bash
    if pgrep -fx "mono --debug /home/user/Jackett/JackettConsole.exe -p 13760" > /dev/null
    then
        echo "Jackett is running."
    else 
        echo "Jackett is not running, starting Jackett"
        screen -dmS jackett mono --debug /home/user/Jackett/JackettConsole.exe -p 13760
    fi
    exit
    
  3. Save the file with Ctrl+x, y and Enter to accept overwriting.

  4. Make the script executable. chmod +x ~/jackett_restart.cron

  5. Open your crontab. EDITOR=nano crontab -e

  6. Enter the following text at the end of the file.

    @reboot /home/user/jackett_restart.cron >/dev/null 2>&1
    */5 * * * * /home/user/jackett_restart.cron >/dev/null 2>&1
    
  7. Save the crontab with Ctrl+x, y and Enter to accept overwriting.