Forum

Full Version: How to install SickRage, CouchPotato and Transmission on XBian
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
==== Creating Xbian image with CouchPotato, SickRage and Transmission for Raspberry Pi ====
Below is a link to updated instructions (included script for autoremoving completed torrents)

=== Creating Xbian image on MicroSD/SD card ===

Recommended at least 8gb card with a speed of reading and writing 40Mbps

1. Download Xbian installer from http://www.xbian.org/getxbian/

2. Select version: Xbian 2014.12.15 rpi
Additional information: Some early version cannot be updated and you have to change update servers.

3. Insert your microSD/SD card into Raspberry Pi, follow wizard to end (if you don't finish wizard, you won't be able to connect via ssh).


=== Connecting to ssh via Mac Os X Terminal ===
Change ip address of your xbian (default username - xbian).
ssh xbian@192.168.x.x
Enter password: raspberry or raspberry

Steps to use commands in right order:

1. Check and get new updates
sudo apt-get update
2. Install package p7zip for extraction zip files
sudo apt-get install p7zip-full
3. Upgrading all packages to the latest version
sudo apt-get upgrade –y

4. Installing CouchPotato:
sudo apt-get install -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" xbian-package-couchpotato


5. Installing Transmission:
sudo apt-get install -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" xbian-package-transmission

6. Install dependencies:
sudo apt-get install python-cheetah git-core -y

If for some strange reason this code doesn't work, please go to: http://www.htpcguides.com/install-sickrage-raspberry-pi-usenet-torrent-tv/ and copy it from there. Then will definitely work.

7. Install a working unrar for the Raspberry Pi:
wget http://sourceforge.net/projects/bananapi/files/unrar_5.0.10-1_armhf.deb


8. Install the unrar package:
sudo dpkg -i unrar_5.0.10-1_armhf.deb

9. Git clone the SickRage installation into Raspbian:
sudo git clone https://github.com/SiCKRAGE/SickRage.git /opt/sickrage

10. Make Xbian owner:
sudo chown -R xbian:xbian /opt/sickrage

11. Test to see if it works:
python /opt/sickrage/SickBeard.py –d

12. Install Upstart:
sudo apt-get install upstart
Confirm with Yes

13. Create the SickRage upstart script file
sudo nano /etc/init/sickrage.conf

Paste this SickRage upstart script (without long line)
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 xbian
setgid xbian

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

respawn

exec /opt/sickrage/SickBeard.py
___________________________________________________________________________

Hit Ctrl+x, press Y and then Enter

14. Run the service to see if it works:
sudo service sickrage start

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

16. You may still not be able to access it unless you reboot:
sudo reboot


=== Extra information: ===

At step 4. you can use one of these packages:

nzbget
sudo apt-get install -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" xbian-package-nzbget

sickbeard
sudo apt-get install -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" xbian-package-sickbeard

headphones
sudo apt-get install -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" xbian-package-headphones

This include all of them with couchpotato and transmission
sudo apt-get install -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" xbian-package-download

=== Default port of packages: ===

Transmission: http://x.x.x.x:9091/

NZBGet: http://x.x.x.x:9092/

Headphones: http://x.x.x.x:9093/

Sick Beard: http://x.x.x.x:9094/

CouchPotato: http://x.x.x.x:9095/

CouchPotato Wizard: http://x.x.x.x:9095/wizard

SickRage: http://x.x.x.x:8081/

=== If you have some problems with SickRage, you could try this: ===
Removing folder:

cd /
cd opt
sudo rm -r -f sickrage

Now repeat steps from 9 to 14.

=== Samba write access: ===
1. Connect to Xbian via terminal or Putty.

1. Enter default username: xbian and password: raspberry or raspberrz

2. At the prompt, enter:
sudo nano /etc/usbmount/usbmount.conf
3. In Nano (a text editor) find the line:

SMBSHARE=no

4. Change

SMBSHARE=no
to
SMBSHARE=yes

5.Exit Nano and save (Control+X, Y).

6.Reboot
sudo reboot
7.You should now be able to connect to you Pi in Windows using SMB with \\XBIAN\ or \\192.168.1.149\ (check your ip on Xbian) or find your Pi in your Network and have write permission.

=== Samba share protected with password ===

In default is enabled Public=Yes, but with this option on windows, doesn't require password and guest user have full permission, to disable this, follow these steps:

If you want to check if this is enable, type command:

sudo testparm -s

First you have to change password and enable username for samba share:

Change password for username:
sudo smbpasswd -a xbian

Enable account:
sudo smbpasswd -e xbian

sudo net conf setparm xbmc-backup "guest ok" no

Try this if step before didn't worked:
sudo net conf setparm Name_Of_USB_Drive "guest ok" no

Now there shouldn't be anymore: Public = Yes, check with:

sudo testparm -s

Reboot sytem:
sudo reboot

Try on Windows, open Explorer (WIN+E), at address bar type \\ip.of.your.xbian and try to open folder. Now should ask for username and password.


=== Change username and password for Transmission: ===
sudo service transmission stop</code>
cd /
cd etc
cd transmission
sudo nano settings.json

find rpc-password= “insertyournewpassword“

find rpc-username= “insertyournewusername”

CTRL+X, Y in ENTER

<code>sudo service transmission start</code>

=== Access to web gui remote to Transmission: ===

cd /
cd etc
cd transmission
sudo nano settings.json

find "rpc-enabled": no,

change to

"rpc-enabled": yes,

find "rpc-whitelist": "here are some ip addresses that could access to transmission",

change it if you want to access from everywhere. Change to:

"rpc-whitelist": "*.*.*.*",

Option to enable or disable restriction of rpc-whitelist:

Enabled:

"rpc-whitelist-enabled": true,

Disabled:

"rpc-whitelist-enabled": false,

=== CouchPotato ===
In settings must be different folder for downloaded movies, otherwise movies wouldn't be moved/copied to your folder!! (Settings->Downloaders->Transmission->Directory)

Example:
/home/xbian/downloads/Movies/

=== If Xbian Config Gui doesn't start in XBMC/KODI ===

rename 30_packages.py to 30_packages.tmp

xbmc
mv /usr/local/share/xbmc/addons/plugin.xbianconfig/categories/30_packages.py /usr/local/share/xbmc/addons/plugin.xbianconfig/categories/30_packages.tmp


kodi
mv /usr/local/share/xbmc/kodi/addons/plugin.xbianconfig/categories/30_packages.py /usr/local/share/xbmc/kodi/addons/plugin.xbianconfig/categories/30_packages.tmp


=== Steps for SickRage were taken from this site:===
http://www.htpcguides.com/install-sickrage-raspberry-pi-usenet-torrent-tv/

Some additional information were added, please take a look at:
http://wiki.xbian.org/doku.php/xbian_cp_sk_tr
@CurlyMo could this be somehow used in our Wiki?
Wiki can be edited by everyone with a forum account.
@Nenad
as @CurlyMo mentioned, would you be interested put all this together on our Wiki pages?
appreciate
(13th Jan, 2015 04:46 AM)rikardo1979 Wrote: [ -> ]@Nenad
as @CurlyMo mentioned, would you be interested put all this together on our Wiki pages?
appreciate

Sure, do i put it under Creating a Clean image? or should i create new like Creating Xbian image with CouchPotato, SickRage and Transmission for Raspberry Pi?
The wiki is moderated by the users so feel free. When something is off, others will correct it.
(14th Jan, 2015 12:04 AM)CurlyMo Wrote: [ -> ]The wiki is moderated by the users so feel free. When something is off, others will correct it.

I added steps for installation:
http://wiki.xbian.org/doku.php/xbian_cp_sk_tr
(14th Jan, 2015 01:14 AM)Nenad Wrote: [ -> ]
(14th Jan, 2015 12:04 AM)CurlyMo Wrote: [ -> ]The wiki is moderated by the users so feel free. When something is off, others will correct it.

I added steps for installation:
http://wiki.xbian.org/doku.php/xbian_cp_sk_tr

thank you for your time and afford, appreciate
Thanks for your fantastic tutorial! I have a question. On my Linux desktop Couchpotato has the following version:
Code:
Version f46cda99 (22-2-2015 17:42:37)
Updater git, master

On XBian Couchpotato shows this version:
Code:
Version 95cf203c (25-11-2014 10:05:33)
Updater git, master

Almost 3 months behind regarding updates. Couchpotato updater within webui doesn give me any updates, whereas Sickrage does on XBian. Any reason why I can update to the latest version of Couchpotato on XBian? I did try apt-get update & upgrade and made sure that my sources are right (those one from xbian.org/faq) so that shouldn be the problem.
FYI: The SickRage repository has moved to https://github.com/SickRage/SickRage.git and Cheetah has been removed as a dependancy. If you have any questions or issues you can reach us at https://github.com/SickRage/sickrage-issues/
(16th Mar, 2015 08:54 AM)Djawid Hnian Wrote: [ -> ]Thanks for your fantastic tutorial! I have a question. On my Linux desktop Couchpotato has the following version:
Code:
Version f46cda99 (22-2-2015 17:42:37)
Updater git, master

On XBian Couchpotato shows this version:
Code:
Version 95cf203c (25-11-2014 10:05:33)
Updater git, master

Almost 3 months behind regarding updates. Couchpotato updater within webui doesn give me any updates, whereas Sickrage does on XBian. Any reason why I can update to the latest version of Couchpotato on XBian? I did try apt-get update & upgrade and made sure that my sources are right (those one from xbian.org/faq) so that shouldn be the problem.

Thank you for nice words! Smile I have the same problem, maybe you could try with that method if you still need it (sorry for long response):
http://www.htpcbeginner.com/couchpotato-auto-update-to-new-release/
(1st Dec, 2015 10:04 AM)Nenad Wrote: [ -> ]
(16th Mar, 2015 08:54 AM)Djawid Hnian Wrote: [ -> ]Thanks for your fantastic tutorial! I have a question. On my Linux desktop Couchpotato has the following version:
Code:
Version f46cda99 (22-2-2015 17:42:37)
Updater git, master

On XBian Couchpotato shows this version:
Code:
Version 95cf203c (25-11-2014 10:05:33)
Updater git, master

Almost 3 months behind regarding updates. Couchpotato updater within webui doesn give me any updates, whereas Sickrage does on XBian. Any reason why I can update to the latest version of Couchpotato on XBian? I did try apt-get update & upgrade and made sure that my sources are right (those one from xbian.org/faq) so that shouldn be the problem.

Thank you for nice words! Smile I have the same problem, maybe you could try with that method if you still need it (sorry for long response):
http://www.htpcbeginner.com/couchpotato-auto-update-to-new-release/

I have the same problem... seems like the programs installed through XBIAN-CONFIG cannot detect new versions.
Do I have to make a fresh install using another tutorial??

Thank you!
(5th Jan, 2016 04:38 AM)besgum Wrote: [ -> ]
(1st Dec, 2015 10:04 AM)Nenad Wrote: [ -> ]
(16th Mar, 2015 08:54 AM)Djawid Hnian Wrote: [ -> ]Thanks for your fantastic tutorial! I have a question. On my Linux desktop Couchpotato has the following version:
Code:
Version f46cda99 (22-2-2015 17:42:37)
Updater git, master

On XBian Couchpotato shows this version:
Code:
Version 95cf203c (25-11-2014 10:05:33)
Updater git, master

Almost 3 months behind regarding updates. Couchpotato updater within webui doesn give me any updates, whereas Sickrage does on XBian. Any reason why I can update to the latest version of Couchpotato on XBian? I did try apt-get update & upgrade and made sure that my sources are right (those one from xbian.org/faq) so that shouldn be the problem.

Thank you for nice words! Smile I have the same problem, maybe you could try with that method if you still need it (sorry for long response):
http://www.htpcbeginner.com/couchpotato-auto-update-to-new-release/

I have the same problem... seems like the programs installed through XBIAN-CONFIG cannot detect new versions.
Do I have to make a fresh install using another tutorial??

Thank you!

It's new repository site for sickrage (https://github.com/SiCKRAGE/SickRage.git) and I changed to new in tutorial. Maybe just use 9 step in sickrage installation, I think that should work fine.
Are these instructions still correct?
(13th Dec, 2019 01:41 AM)gkusiak Wrote: [ -> ]Are these instructions still correct?

Don't know, but SickRage and CouchPotato is not maintained for a long time
Pages: 1 2
Reference URL's