How to Install SickChill on Debian Latest?
SickChill is an automatic Video Library Manager for TV Shows. It's an open-source fork of SickBeard. SickChill helps to automatically download new episodes of your favorite TV Shows as soon as they are available on the internet. In this tutorial, we will guide you on how to install and set up SickChill on Debian Latest.
Prerequisites
Before we start, make sure you have the following prerequisites:
- A Linux-based Operating System (Debian Latest)
- A user with root privileges.
- A stable internet connection.
Step 1: Update and Upgrade System
The first step is to update and upgrade the Debian system packages to the latest version available in the repository. To perform update and upgrade, run the following commands:
sudo apt update
sudo apt upgrade
Step 2: Install Python 3 and pip3
SickChill runs on Python 3. So, make sure you have Python 3 and pip installed on your system. We can install them using the following command:
sudo apt install python3 python3-pip -y
Step 3: Install Git
Next, we need to install Git to clone the SickChill Github Repository.
sudo apt install git -y
Step 4: Clone SickChill Repository
Now, we will clone the SickChill repository from Github using the following command:
sudo git clone https://github.com/SickChill/SickChill.git /opt/sickchill
Step 5: Install SickChill Dependencies
Before running SickChill, we need to install some dependencies. We can install all dependencies using the pip3 command:
pip3 install -r /opt/sickchill/requirements.txt
Step 6: Create SickChill Systemd Service
To start and stop the SickChill service automatically, we need to create a systemd service file. We will create a service file with the following command:
sudo nano /etc/systemd/system/sickchill.service
And paste the following text into the file:
[Unit]
Description=SickChill Daemon
After=network.target
[Service]
User=root
Group=root
Type=simple
ExecStart=/usr/bin/python3 /opt/sickchill/SickBeard.py -q --daemon --nolaunch --datadir=/opt/sickchill/data/
TimeoutStopSec=20
KillMode=process
Restart=on-failure
RestartSec=5s
[Install]
WantedBy=multi-user.target
Once you have added the previous text to the file, save it and exit.
Then run:
sudo systemctl daemon-reload
Step 7: Start SickChill Service
To start the SickChill service, use the following command:
sudo systemctl start sickchill
Step 8: Enable SickChill Service
To enable the SickChill service at system startup, use the following command:
sudo systemctl enable sickchill
Step 9: Access SickChill Web Interface
SickChill web interface is accessible on port 8081 by default. Open your web browser and navigate to http://your-server-ip:8081.
Conclusion
In this tutorial, we have successfully installed SickChill on Debian Latest by cloning the SickChill Github repository. We have also created a systemd service for SickChill, which ensures that the service starts and stops automatically with the system. You can now use SickChill to manage your TV Show library.