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.

Mono

An installation of Mono is required. It is currently recommended that you use the stable branch of mono. The development release may contain bugfixes that improve other applications, but it may also break compatibility for those applications. Our instructions for installing Mono can be found here.

Jackett

  1. Download the latest version of Jackett

     wget https://github.com/Jackett/Jackett/releases/download/v0.8.881/Jackett.Binaries.Mono.tar.gz
    

    Note: This may not be the latest version of Jackett. Check the Jackett releases page and use the latest Jackett.Binaries.Mono.tar.gz link instead of the one above

    Try this: 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:11299

     screen -dmS jackett mono ~/Jackett/JackettConsole.exe -p 11299 -c libcurl
    
  4. Clean up your slot

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

To update Jackett

  1. Kill the Jackett process

     pkill -f Jackett
    
  2. Download the latest version of Jackett by copying the latest Jackett.Binaries.Mono.tar.gz link from the releases page and paste it below where it says "link"

     wget "link"
    
  3. Repeat steps 2, 3, 4 in the Jackett installation section

Usage

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

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 "/home/user/bin/mono --debug /home/user/Jackett/JackettConsole.exe -p 11299 -c libcurl" > /dev/null
     then
         echo "Jackett is running."
     else 
         echo "Jackett is not running, starting Jackett"
         /home/user/bin/mono --debug /home/user/Jackett/JackettConsole.exe -p 11299 -c libcurl
     fi
     exit
    
  3. Save the file with Ctrl+x and the "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

     @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 and the "y" and Enter to accept overwriting.