Linux sickbeard not accessing tvdb cured

edogg

Inactive User
Joined
Feb 24, 2006
Messages
4,055
Reaction score
723
for sometime now my raspi running sickbeard and sabnzbd has been failing to connect to the tvdb I have now installed sickrage which is a branch of sickbeard which you can shoose to use tv rage or tvdb or both as indexers

these are the steps I followed
update the pi
sudo apt-get update

upgrade any packages
sudo apt-get upgrade -y


Install dependencies

sudo apt-get install python-cheetah git-core -y

Install a working unrar for the Raspberry Pi

wget=http://sourceforge.net/projects/bananapi/files/unrar_5.0.10-1_armhf.deb]Confidentialité- France

Install the unrar package

sudo dpkg -i unrar_5.0.10-1_armhf.deb

Git clone the SickRage installation into Raspbian

sudo git clone https://github.com/SiCKRAGETV/SickRage.git /opt/sickrage

Make pi the owner

sudo chown -R pi:pi /opt/sickrage

Test to see if it works

sudo python /opt/sickrage/SickBeard.py -d

sudo apt-get install upstart

Enter Yes, do as I say! to confirm the upstart installation

Create the SickRage upstart script file

sudo nano /etc/init/sickrage.conf

Paste this SickRage upstart script
Raspbmc Note: if you are running Raspbmc remove the setuid and setgid lines. Change the exec line to su – pi -c “exec /opt/sickrage/SickBeard.py”

#author "HTPCGuides.com"
#description "Upstart Script to run SickRage as a service on Ubuntu/Debian based systems"

#Set username for the process. Should probably be what you use for logging in
setuid pi
setgid pi

start on runlevel [2345]
stop on runlevel [016]

respawn


exec /opt/sickrage/SickBeard.py

Hit Ctrl+x, press Y and then Enter

Run the service to see if it works

sudo service sickrage start ( I havent got this script to work so I just use the test start)

You should see a message like this
sickrage start/running, process 14827

You may still not be able to access it unless you reboot

sudo reboot
It can take a minute or two before the web interface is ready after booting, just be patient :).

many thanks to mike from htpcguides
 
Last edited:
Back
Top