-
-
Notifications
You must be signed in to change notification settings - Fork 585
SickChill installation Debian Ubuntu 14 15 16
The following instructions are for installing SickChill on Ubuntu 14.x 15.x 16.x
The installation is applicable to the upcoming 16.04 LTS as it is the same systemd setup as 15.x. 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 sickrage - the entries for user:group throughout the document will be set as sickrage:sickrage and you will have to modify if 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
sudo apt-get update && sudo apt-get install unrar-free git-core openssl libssl-dev python2.7 -
Create sickrage user and group This makes sure that sickrage is isolated and is best practice for security
sudo addgroup --system sickrage sudo adduser --disabled-password --system --home /var/lib/sickrage --gecos "SickChill" --ingroup sickrage sickrage -
Clone SickChill git repo
sudo mkdir /opt/sickrage && sudo chown sickrage:sickrage /opt/sickrage sudo -u sickrage git clone https://github.com/SickChill/SickChill.git /opt/sickrage
For Init Systems
-
Copy init.d service
sudo cp -v /opt/sickrage/runscripts/init.ubuntu /etc/init.d/sickrage
-
Make sure your new service has correct permissions
sudo chown root:root /etc/init.d/sickrage sudo chmod 644 /etc/init.d/sickrage
-
Update and start your new service
sudo update-rc.d sickrage defaults sudo service sickrage start
For Upstart Systems
-
Copy init.d service
sudo cp -v /opt/sickrage/runscripts/init.upstart /etc/init/sickrage.conf
-
Make sure your new service has correct permissions
sudo chown root:root /etc/init/sickrage.conf sudo chmod 644 /etc/init/sickrage.conf
-
Update and start your new service
sudo service sickrage start
For Systemd Systems
-
Copy systemd service
sudo cp -v /opt/sickrage/runscripts/init.systemd /etc/systemd/system/sickrage.service
-
Make sure your new service has correct permissions
sudo chown root:root /etc/systemd/system/sickrage.service sudo chmod 644 /etc/systemd/system/sickrage.service
-
Enable, start, and then check the status of your new service
sudo systemctl enable sickrage sudo systemctl start sickrage sudo systemctl status sickrage
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