How to install CouchPotato and SickRage on Raspberry Pi


#102

I looked at my version of sickrage and is the same as yours. Hmm… Weird, I looked at versions on both sickrage pages and i didn’t find this version. i don’t understands what happened :smiley: you can use my script for creating backup of settings and data of sickrage couchpotato and transmission. Or you can manualy copy this files somewhere. Sickrage:
cache.db,config.ini,failed.db,sickbeard.db. and after installation, you have to stop service and then replace it, after this start again service. I will look or even try the same thing later or tomorrow. If you will try before me, could you please report back if it’s helped?


#103

I try but didn’t work for me. Keeps show “no update needed”


#104

Funny thing :slight_smile: It’s happened the same to me. I need to search on internet about that or about newer version. If I will find solution, I will reply.


#105

Thanks! I appreciate that! But for now I’m happy that I have automatic post processing again.


#106

I think I know now what is the problem, wrong git repo. Sometime back they say there is new repo for sickrage and I update it. But now it’s look that this one is not the right one, but I know there where updates while back. I tried to use other repo, but it doesnt start. I will create backup and restore on fresh copy of installation or uninstall and install with new repo. I think this version should be used and testet: https://github.com/SiCKRAGETV/SiCKRAGE.git
When I wil test it and if it would work fine, then I will update my guide and my scripts.


#107

Great, I’ll wait!


#108

Actually I don’t now what’s happening but I’m able to update:


#109

Did you use the source from previous reply? Below on the help & info page you have source and link which source you are using. Can you give me this info? I have problem with my sdcard, everything I change, returns back to previous state (little funny, I tried to format it like 10 times, got errors, but there wasn’t any change :smile:), today I will buy new and try with other source in nexts days.


#110

I haven’t changed nothing, idk what’s happen. This link:


#111

I tried 3 or 5 times with repo https://github.com/SiCKRAGETV/SiCKRAGE.git and with no success. Sickrage doesn’t start and I don’t know why. I will have version from my guide, because it’s now updated and working fine. For now I didn’t have any problems with it :smile:


#112

Hello @nenad,
Thanks for these scripts, makes it much easier!
I used to have a raspi 1 and used it as a media center with OSMC, sickrage couchpotato and transmission
It had a lot of problems of permissions and I was always in the terminal doing some annoying chmod 777
It feels like with your scripts I won’t have to do this it’s very exciting!
I just got a new raspi 3 and I’m setting it up.
Do you have any advice on how to setup transmission? I remember that it had a lot of settings that I had to play with.
Thanks in advance
Jean


#113

Install it from the app store, that’s it for me!


#114

Hi Martin,
thanks for your reply.
I have installed it from the app store but I’ve encountered some permission problems already.
The first torrent I downloaded couldn’t be post-processed by sickrage…
How do you use it?


#115

Check the permissions on the download folder, make sure the owner and group have correct permissions:

osmc@osmc:~$ ls -la YOUR-DOWNLOAD-FOLDER
total 8
drwxrwxrwx 2 osmc osmc 4096 Sep 17 05:34 .
drwxrwxrwx 5 osmc osmc 4096 Sep  3 20:46 ..

Then check the the tv shows directory:

osmc@osmc:~$ ls -la YOUR-TV-SHOW-FOLDER
total 84
drwxrwxr-x 21 osmc osmc 4096 Aug 19 02:05 .
drwxrwxr-x  3 osmc osmc 4096 Aug 25 10:42 ..
drwxrwxr-x  2 osmc osmc 4096 Jul 19 21:56 Random TV Show

Then finally you need to make sure the group owner of the folders (should be osmc as in my instance) has the user sickrage within it:

osmc@osmc:~$ cat /etc/group | grep sickrage
osmc:x:1000:sickrage
sickrage:x:1002:osmc

If the output for each command doesn’t look similar to mine you may need to change permissions / owners on the 2 directories or add the user sickrage to the osmc group.


#116

Thanks for your reply
I’ve got the same thing for the two first one but the third command gives me something different
osmc@osmc:/media/Stockage$ cat /etc/group | grep sickrage
osmc:x:1000:couchpotato,sickrage
sickrage:x:1002:

I’ve tried adding sickrage to osmc group with
sudo usermod -a -G osmc sickrage
but it doesn’t change the output of
osmc@osmc:/media/Stockage$ cat /etc/group | grep sickrage

Am I misreading this?


#117

Can you paste the output of the ls -la?

Should all be working from what you’ve described.


#118

Sure, here you go

I use the incomplete folder for transmission

osmc@osmc:~$ ls -la /media/Stockage/torrent-incomplet/
total 8
drwxr-xr-x  2 osmc osmc 4096 Sep 20 03:22 .
drwxrwxrwx 30  777 osmc 4096 Sep 16 17:09 .. 

Then when they are finished they are put in

osmc@osmc:~$ ls -la /media/Stockage/torrent-sickrage/
total 8
drwxrwxrwx  2 osmc osmc 4096 Sep 20 04:22 .
drwxrwxrwx 30  777 osmc 4096 Sep 16 17:09 ..

And finally Sickrage does the post-processing from torrent-sickrage to place them in my TV Series folder :

 osmc@osmc:~$ ls -la /media/Stockage/Old/Series/
total 140
drwxrwxrwx 32 osmc     osmc     4096 Sep 19 10:13 .
drwxr-xr-x 21      501 dialout  4096 Sep 15 15:53 ..
drwxrwxrwx  2 osmc     osmc     4096 Sep 20 00:52 2 Broke Girls
drwxrwxrwx  2 osmc     osmc     4096 Sep 20 00:52 Arrow
drwxrwxrwx  2 osmc     osmc     4096 Feb 17  2016 Borgen
drwxrwxrwx  2 osmc     osmc     4096 Apr 24 09:44 Brooklyn Nine-Nine
drwxrwxrwx  2 osmc     osmc     4096 Apr 16 11:40 Daredevil
-rwxrwxrwx  1 osmc     osmc     4096 Jun  4  2015 ._.DS_Store
-rwxrwxrwx  1 osmc     osmc     6148 Jun  4  2015 .DS_Store
drwxrwxrwx  2 osmc     osmc     4096 May  9 02:47 Elementary
drwxrwxrwx  2 osmc     osmc     4096 Nov  5  2015 Family Guy
drwxrwxrwx  2 osmc     osmc     4096 Feb 18  2016 Fargo
drwxrwxrwx  2 osmc     osmc     4096 Jun 13 04:55 Game of thrones
drwxrwxrwx  3 osmc     osmc     4096 Oct 20  2015 Homeland
drwxrwxrwx  2 osmc     osmc     4096 Apr 16 23:59 House of Cards (US)
drwxrwxrwx  2 osmc     osmc     4096 Mar 18  2016 How to Get Away with Murder
drwxrwxrwx  7 osmc     osmc     4096 Nov  1  2015 Mad Men
drwxrwxrwx  2 osmc     osmc     4096 Feb 20  2016 Marvel's Jessica Jones
drwxrwxrwx  2 sickrage sickrage 4096 Sep 17 11:45 MasterChef
drwxrwxrwx  3 osmc     osmc     4096 Sep 17 00:28 Narcos
drwxrwxrwx  2 osmc     osmc     4096 May 11 03:09 New Girl
drwxrwxrwx  3 osmc     osmc     4096 Sep 15 19:49 Orange is the New Black
drwxrwxrwx  2 osmc     osmc     4096 Jun 17 08:46 Peaky Blinders
drwxrwxrwx  3 sickrage sickrage 4096 Sep 19 01:48 Poldark (2015)
drwxrwxrwx  2 osmc     osmc     4096 Apr  4 23:45 Shameless (US)
drwxrwxrwx  2 osmc     osmc     4096 Apr 23  2015 Sherlock
drwxrwxrwx  3 osmc     osmc     4096 Sep 16 18:48 Suits
drwxrwxrwx  2 osmc     osmc     4096 Sep 20 00:51 Supergirl
drwxrwxrwx  3 osmc     osmc     4096 Sep 20 04:22 The Big Bang Theory
drwxrwxrwx  2 osmc     osmc     4096 May 25 02:26 The Flash (2014)
drwxrwxrwx  2 sickrage sickrage 4096 Sep 17 11:44 The Great British Bake Off
drwxrwxrwx  6 osmc     osmc     4096 May 10  2015 Treme
drwxrwxrwx  3 sickrage sickrage 4096 Sep 19 15:22 Veep
drwxrwxrwx  2 osmc     osmc     4096 Apr 22 04:47 Vikings 

All the folders with the user sickrage have been created during the recent install, all the other folders were the ones left from my previous setup with the Pi 1

and the last command

osmc@osmc:~$ cat /etc/group | grep sickrage
osmc:x:1000:couchpotato,sickrage
sickrage:x:1002:

Do you detect any anomality?
Thanks
Jean


#119

The section in bold indicates the folder transmission downloads to doesn’t have write permissions for the group user, which sickrage is using.

Try:

sudo chmod -R 775 /media/Stockage/torrent-incomplet/

To make things right on the other folders:

sudo chown -R osmc:osmc /media/Stockage/

sudo chown -R osmc:osmc /media/Stockage/torrent-sickrage/


#120

Hi Martin,
Done all that and it all looks good now.
I’m gonna try and download a few episodes and let you know what the outcome is.
Thanks for your time
Jean


#121

Hello Martin,
I’ve managed to download episodes and they have been correctly processed by Sickrage
Thanks a lot for the help

I’m now trying to figure out why my Wifi connection is cutting out…
I’ve read something about power management, have you got any tips?
Jean