-
-
Notifications
You must be signed in to change notification settings - Fork 601
SickChill installation Debian Ubuntu 14 15 16
The following instructions are for installing SickChill on Ubuntu 14.x 15.x 16.x 18.x 20.x 22.x
The installation is applicable to up to and including Ubuntu 22.04 LTS, the provided script can distinguish the difference between systemd/init/upstart for you.
The installation assumes that you're not using the root user to install/run sickchill - the entries for user:group throughout the document will be set as sickchill:sickchill and you will have to modify if you want it to match your user configuration.
If you trust us and would like us to just do it for you just paste this:
curl https://raw.githubusercontent.com/SickChill/SickChill/master/contrib/debian-ubuntu-install.sh | sudo bash
Otherwise:
- Update repositories and install SickChill dependencies.
This will give you unrar-free (guess) and git to pull the repo, as well as any other requirements for building the package. The name of thepython3-venv
package you need to install may be different to what is listed here - in this case you will be prompted with the updated version at a later step.
sudo apt-get update && sudo apt-get install unrar-free openssl libssl-dev python3 python3-pip python3.10-venv
- Create sickchill user and group, and switch to
sickchill
.
This makes sure that sickchill is isolated and is best practice for security
sudo addgroup --system sickchill
sudo adduser --disabled-password --system --home /var/lib/sickchill --gecos "SickChill" --ingroup sickchill sickchill
sudo su sickchill
- Set up a Python virtual environment
python3 -m venv /opt/sickchill
- Install the required dependencies with pip
/opt/sickchill/bin/pip install -U pip setuptools wheel
- Install SickChill
/opt/sickchill/bin/pip install -U sickchill
For Init Systems
6. Copy init.d service
sudo curl https://raw.githubusercontent.com/SickChill/SickChill/master/contrib/runscripts/init.ubuntu -o /etc/init.d/sickchill
- Make sure your new service has correct permissions
sudo chown root:root /etc/init.d/sickchill && sudo chmod 644 /etc/init.d/sickchill
- Update and start your new service
sudo update-rc.d sickchill defaults && sudo service sickchill start
For Upstart Systems
6. Copy init.d service
sudo curl https://raw.githubusercontent.com/SickChill/SickChill/master/contrib/runscripts/init.upstart -o /etc/init/sickchill.conf
- Make sure your new service has correct permissions
sudo chown root:root /etc/init/sickchill.conf && sudo chmod 644 /etc/init/sickchill.conf
- Update and start your new service
sudo service sickchill start
For Systemd Systems
6. Copy systemd service
sudo curl https://raw.githubusercontent.com/SickChill/SickChill/master/contrib/runscripts/init.systemd -o /etc/systemd/system/sickchill.service
- Make sure your new service has correct permissions
sudo chown root:root /etc/systemd/system/sickchill.service && sudo chmod 644 /etc/systemd/system/sickchill.service
- Enable, start, and then check the status of your new service
sudo systemctl enable sickchill && sudo systemctl start sickchill && sudo systemctl status sickchill
All done, verify that SickChill is accessible at: http://localhost:8081/
Main
Wiki Home
What is SickChill?
Installation/Setup Guides
Donations and support
Installation packages
Contributing
Developers
Debugging
FAQ's and Fixes
Scene exceptions
Settings
Main settings explained
Show settings explained
Remaining settings explained
NZBtoMedia
MetaData
Post-Processing
Quality Settings