Home / Media Center / CouchPotato / Setup Sick Beard on Ubuntu 12.04 Server
sickbeard_feature_image

Setup Sick Beard on Ubuntu 12.04 Server

Welcome back to Part 6 of the series “How-to setup a fully automated Media Portal“. Next up we will install Sick Beard – a great PVR for newsgroup Users. If you follow TVShows from overseas and can’t wait for the next Episode this tool might be for ya. It watches for new episodes or your favourite shows, download them via SABnzdb, renames them to your definition and if you want creates metadata for them. Sick Beard is a great tool so lets add it to our automation bundle.

sickbeard

 

 

 

 

 

Step 1: lets download Sick Beard

Sickbeard is available via GitHub so we can just clone the package to our Server. As before change to your ~/tmp folder and run the below command:

 

 

Step 2: move the package to /home..

lets move it to our home directory in the folder called .sickbeard

 

 

Step 3: create Sickbeard start script

next we will use the startup script written by daemox. Execute the below command to create an empty file in the init.d directory and paste the below script content into it. Also change the value of the USERNAME=”CHANGEME” to your actual username and save it.

 

 

sickbeard_config_02

 

 

 

 

 

Script:

 

Step 4: add some permissions

Make the file executable so it will actually run and update defaults.

 

 

Step 5: restart Sickbeard

Make the file executable so it will actually run and update defaults.

 

 

Step 6: download post-processing scripts

This is actually another project we will add to the Media Portal series. The post-processing scripts package from Clinton Hall have a bunch of goddies in them. Lets clone the project from GitHub.

 

 

after completion move it to your home directory like the rest.

 

 

Step 7: configure post-processing scripts

Before we can use the scripts we have to add a couple bits and bytes. First Rename the file autoProcessMedia.cfg.sample to autoProcessMedia.cfg

 

next edit the file autoProcessMedia.cfg and fill in the appropriate fields in [SickBeard], [CouchPotato], [Torrent] as they apply to your installation.

nzbtomedia_config

 

 

 

 

 

 

 

 

 

save it and you are done with command-line action. Lets open the web-interface.

Step 8: Login to the Web-Interface

To login to the Web-frontend just point your browser now to your <hostname/ip-address>:8081 where hostname in our lab example would be http://ubuntu1204:8081 or else replace the name with its IP Address. I decided to make a little video tutorial rather than adding another 20+ screenshots. Hope it makes all sense.

 

DISCLAIMER:

This post is for informational purpose only. gizmojunkee.com and its authors in no way supports or encourage illegal download of copyrighted material.

 

Check Also

Muse 5 and Rio 3 —Delightful Double dose in Wireless Earphone Technology

Muse 5 and Rio 3—Delightful Double dose in Wireless Earphone Technology

The Muse 5 and Rio 3 are advanced wireless earphones with 3D audio processing designed …

8 comments

  1. Hey,
    I commented on your youtube video yesterday, but guess something went wrong cause I can’t see my comment anymore.
    When I runned the ‘/etc/init.d/sickbeard stop’ command, I received an error: line 39: “&” unexpected. Do you have an idea how this can be fixed?
    Thanks

    • gizmojunkee

      Hey there, I think I got a pretty good idea. Its the the crappy wordpress handling of strings. The issue here is the “>” that should be the greater sign “>”. So the correct line should be: “sudo -u $USER -EH nohup python /home/$USER/.sickbeard/SickBeard.py -q > /dev/null 2>& 1 &” (sorry for that) – fixed it on the startup script too.

      • Hey,
        Thanks this fixed the error. But I still can’t access the sickbeard page on port 8081. Is there a way to check if sickbeard is even running?

      • gizmojunkee

        Hi there, sorry for the late reply. You can do a few things. For starters are you executing the browser from the same PC? If no then you might want to check your Router and ensure you forward the port 8081 to the machine on your network that has Sick Beard installed. Check if the process is running with the following command: “ps -ef | grep sickbeard | grep -v grep” That should show you the sickbeard process only – example: “frontrow 850 1 0 Oct16 ? 00:09:58 /usr/bin/python /home/frontrow/.sickbeard/SickBeard.py -q –nolaunch”. Also when you start it check your logs in /var/log/syslog for errors. (Did you execute the right permissions?) sudo chmod +x /etc/init.d/sickbeard … let me know how it goes

  2. Hi, sorry I wasn’t able to check it yesterday. I did forward the port, but that didn’t help. The command you said did not return anything. when I first run “ps -ef” it shows a list, if I then run “grep sickbeard” it just hangs. I did all the chmod commands that are in your tutorial.
    I just noticed that I can’t access my couchpotato anymore. The only things I changed were that I ran the apt-get upgrade twice, because it said that there were new files. I also mounted an extra hard drive on /home, which took a few times to get right. Could that have caused the couchpotato failure, because it worked before?
    thanks for the help. This is my first time using linux btw;)

    • gizmojunkee

      The command: ps -ef will return a list of all current running programs. If you say ps -ef | grep sickbeard it should list all of the running processes including the name “sickbeard” and also the ps command you just executed. What my extended ps command does is only to remove my ps command and return only the actually running processes with the name. Hence that means that your sick beard is not running at all. Can you confirm please that the file /etc/init.d/sickbeard exist? And the file hast the script in it that I had in the post? (without the > error). Can you do a ls -ld /etc/init.d/sickbeard please. And also can you execute sudo service sickbeard start and tell me what you see in the syslogs tail -1000 /var/log/syslog

      With regards to your extra HDD that depends on how you mounted it. See mount-points are the equivalent of a Share in Windows. If you would use the same share-name in Windows it would throw an error – however under Linux / Unix you can just over-mount another one. Can you confirm that you files are still accessible in the same places as before?

  3. The ps -ef | grep sickbeard returns: jeroenvp 2871 2745 0 19:49 pts/0 00:00:00 grep sickbeard. The file /etc/init.d/sickbeard exists and is the correct script. ls -ld /etc/init.d/sickbeard returns: -rwxr-xr-x 1 root root 1695 Oct 21 19:57 /etc/init.d/sickbeard. I noticed in the syslog with tail -1000 /var/log/syslog that my download folders have disappeared. I will follow all of your tutorials again to make shure all folders are back.
    Do I need Sabnzbd to be installed to run sickbeard?
    Thanks