Whatbox Logo
Login for certain variables to be updated with your slot's information

Wiki > SickRage

Automatic Video Library Manager for TV Shows. It watches for new episodes of your favorite shows, and when they are posted it does its magic. Development hosted on GitHub.

Installation

pip

  1. Install pip for Python 3

      curl -s https://bootstrap.pypa.io/get-pip.py | python3 - --user
    
  2. Add it to your PATH

      echo "PATH=\$HOME/.local/bin:\$PATH" >> ~/.bashrc && source ~/.bashrc
    

SickRage

  1. Download SickRage.

     git clone https://github.com/SiCKRAGE/SiCKRAGE.git ~/sickrage
    
  2. Install python module dependencies

     pip3 install --user -U -r sickrage/requirements.txt
    
  3. Change Your Bash Timezone. If you haven't set your Bash Timezone, your logs and television schedule will be incorrect.

  4. Start SickRage. Port 19495 has been automatically generated for you, but you may use another 5 digit port between 10000 and 65535.

     python ~/sickrage/SiCKRAGE.py -p 19495 -d
    

You can now access SickRage at http://server.whatbox.ca:19495

Node.js (optional)

Node.js is required for certain search providers to function properly. Complete only the installation section.

Automatically Restart

Below are steps to take to have your SickRage instance automatically restart if it crashes, or if the server is rebooted.

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

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

    #!/bin/bash
    if pgrep -fx "/usr/lib/python-exec/python2.7/python /home/anachronist/sickrage/SiCKRAGE.py -p 19495 -d" > /dev/null
    then
        echo "SickRage is running."
    else 
        echo "SickRage is not running, starting SickRage"
         python ~/sickrage/SiCKRAGE.py -p 19495 -d
    fi
    exit
    
  3. Save the file with Ctrl+x, y and Enter to accept overwriting.

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

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

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

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

Usage

  • Open your browser and navigate to http://server.whatbox.ca:19495 to access the SickRage web interface.