Sickrage plugin will not start after last update

Sparx

Contributor
Joined
Apr 18, 2017
Messages
107
Uhu. If it only were that simple. =)
I dont have the pbi folder, since im running iocage jail. I fixed it when sickrage broke. But didnt write everything down.
 

Supa

Patron
Joined
Jan 10, 2014
Messages
204
Code:
root@sickrage_1:/ # service sickrage start
Starting sickrage.
Traceback (most recent call last):
  File "/usr/pbi/sickrage-amd64/share/sickrage/SickRage/SickBeard.py", line 69,																																							  in <module>
	import sickbeard
  File "/usr/pbi/sickrage-amd64/share/sickrage/SickRage/sickbeard/__init__.py",																																							  line 46, in <module>
	from sickbeard import (auto_postprocessor, dailysearcher, db, helpers, logge																																							 r, metadata, naming, post_processing_queue, properFinder, providers, scheduler,
  File "/usr/pbi/sickrage-amd64/share/sickrage/SickRage/sickbeard/naming.py", li																																							 ne 27, in <module>
	from sickbeard import common, logger, tv
  File "/usr/pbi/sickrage-amd64/share/sickrage/SickRage/sickbeard/tv.py", line 3																																							 6, in <module>
	from sickbeard import db, helpers, image_cache, logger, network_timezones, n																																							 otifiers, postProcessor, subtitles
  File "/usr/pbi/sickrage-amd64/share/sickrage/SickRage/sickbeard/subtitles.py",																																							  line 50, in <module>
	provider_manager.register('itasa = sickrage.providers.subtitle.itasa:ItaSAPr																																							 ovider')
  File "/usr/pbi/sickrage-amd64/share/sickrage/SickRage/lib/subliminal/extension																																							 s.py", line 64, in register
	ext = self._load_one_plugin(ep, False, (), {}, False)
  File "/usr/pbi/sickrage-amd64/share/sickrage/SickRage/lib/stevedore/extension.																																							 py", line 225, in _load_one_plugin
	plugin = ep.load(require=verify_requirements)
  File "/usr/pbi/sickrage-amd64/share/sickrage/SickRage/lib/pkg_resources.py", l																																							 ine 1958, in load
	entry = __import__(self.module_name, globals(),globals(), ['__name__'])
  File "/usr/pbi/sickrage-amd64/share/sickrage/SickRage/sickrage/providers/__ini																																							 t__.py", line 35, in <module>
	from feedparser import FeedParserDict
ImportError: cannot import name FeedParserDict
/usr/local/etc/rc.d/sickrage: WARNING: failed to start sickrage


Trying Joshua's fetch command just gives an authentication error.

Code:
service sickrage onestop
rm -r /usr/pbi/sickrage-amd64/share/sickrage/SickRage
fetch --no-verify-peer "https://github.com/SickChill/SickChill/archive/master.tar.gz"
tar -zxf master.tar.gz
mv SickChill-master /usr/pbi/sickrage-amd64/share/sickrage/SickRage
chown -R media:media /usr/pbi/sickrage-amd64/share/sickrage/SickRage
rm master.tar.gz
service sickrage start


Code:
29217:error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol ve
rsion:/usr/src/secure/lib/libssl/../../../crypto/openssl/ssl/s23_clnt.c:585:	
fetch: https://github.com/SickChill/SickChill/archive/master.tar.gz: Authenticat
ion error




Tried a variety of options to fix the auth error:

Code:
pkg install ca_root_nss
ln -s /usr/local/share/certs/ca-root-nss.crt /etc/ssl/cert.pem


and

Code:
fetch https://security.freebsd.org/patchs/sa-14:30/unbound.patch


but no go....

**update**

Ok so I have the SickChill-master contents within usr/pbi/sickrage-amd64/share/sickrage/SickRage

but the jail still won't start.

st9OyhO.png

ztZv4Wq.png


Build:
FreeNAS-9.10.2-U6 (561f0d7a1)
 
Last edited:

Oded

Explorer
Joined
Apr 20, 2014
Messages
66
Now I understand why my fans were at full speed in the last few weeks. Probably due to bitcoin mining. This is unbelievable.
I think I'll move to Sonarr just in case.
 

Oded

Explorer
Joined
Apr 20, 2014
Messages
66
Code:
sed -i '.bak' -e 's@^git_remote_url = .*$@git_remote_url = https://github.com/SickChill/SickChill.git@g' /var/db/sickrage/config.ini*
rm config.ini.bak*

rm -r /usr/pbi/sickrage-amd64/share/sickrage/SickRage
wget https://github.com/SickChill/SickChill/archive/v2018.10.13-2.tar.gz
tar xzf v2018.10.13-2.tar.gz
mv SickChill-2018.10.13-2 /usr/pbi/sickrage-amd64/share/sickrage/SickRage
chown -R media:media /usr/pbi/sickrage-amd64/share/sickrage/SickRage
rm v2018.10.13-2.tar.gz
service sickrage restart



Fixed a few things in your code, it worked when I did service sickrage start but the plugin showed it was off. I restarted the jail and it reverted to another commit. Not sure why.

EDIT: after a few tries, deleting all my old config backups, and skipping service sickrage restart in favor of just turning it on via gui. I was finally able to update to the most current version on two different installs I've had for a few years.

This works great! Thanks everyone for solving my headache :)
 

Supa

Patron
Joined
Jan 10, 2014
Messages
204
This works great! Thanks everyone for solving my headache :)

Nothing works for me... I tried that solution as well.... but when I use wget...

Code:
OpenSSL: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
Unable to establish SSL connection.



Tried running 'pkg update' and 'pkg upgrade' in the sickrage jail... but still no go.

Can someone explain this:

"You have to install openssl and nginx from ports and enable the openssl module in nginx. The package version of nginx is pre compiled to use the base openssl version."
 
Last edited:

Maturola

Explorer
Joined
Jun 26, 2014
Messages
85
I;m still having this issue,

First I get
Code:
root@sabnzbd_1:/ # fetch --no-verify-peer "https://github.com/SickChill/SickChill/archive/master.tar.gz"

68823:error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version:/usr/src/secure/lib/libssl/../../../crypto/openssl/ssl/s23_clnt.c:585:

fetch: https://github.com/SickChill/SickChill/archive/master.tar.gz: Authentication error


Also tried from the post above and I get the same output

Code:
root@sabnzbd_1:/ # wget https://github.com/SickChill/SickChill/archive/v2018.10.13-2.tar.gz

--2018-11-14 14:59:33--  https://github.com/SickChill/SickChill/archive/v2018.10.13-2.tar.gz

Resolving github.com (github.com)... 192.30.253.113, 192.30.253.112

Connecting to github.com (github.com)|192.30.253.113|:443... connected.

OpenSSL: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version

Unable to establish SSL connection.


Edit: I manually downloaded the file in another computer and SCP to the jail, after that the instructions here worked
 
Last edited:

Supa

Patron
Joined
Jan 10, 2014
Messages
204
I;m still having this issue,

First I get
Code:
root@sabnzbd_1:/ # fetch --no-verify-peer "https://github.com/SickChill/SickChill/archive/master.tar.gz"

68823:error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version:/usr/src/secure/lib/libssl/../../../crypto/openssl/ssl/s23_clnt.c:585:

fetch: https://github.com/SickChill/SickChill/archive/master.tar.gz: Authentication error


Also tried from the post above and I get the same output

Code:
root@sabnzbd_1:/ # wget https://github.com/SickChill/SickChill/archive/v2018.10.13-2.tar.gz

--2018-11-14 14:59:33--  https://github.com/SickChill/SickChill/archive/v2018.10.13-2.tar.gz

Resolving github.com (github.com)... 192.30.253.113, 192.30.253.112

Connecting to github.com (github.com)|192.30.253.113|:443... connected.

OpenSSL: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version

Unable to establish SSL connection.


Edit: I manually downloaded the file in another computer and SCP to the jail, after that the instructions here worked

teach me... lol.

OK my idiot self got it to start:

Step 1: Download this file: https://github.com/SickChill/SickChill/archive/v2018.10.13-2.tar.gz
Step 2: Transfer that file to the jail (I just sent mine to /usr/pbi/sickrage-amd64/share/sickrage )
Step 3: CD "to wherever you transferred it" (Navigate to that directory)
Step 3: tar xzf SickChill-2018.10.13-2.tar.gz (This unzips the tar.gz package)
Step 4: mv SickChill-2018.10.13-2 /usr/pbi/sickrage-amd64/share/sickrage/SickRage (Moves the contents to appropriate folder)
Step 5: chown -R media:media /usr/pbi/sickrage-amd64/share/sickrage/SickRage (Permissions)
Step 6: rm SickChill-2018.10.13-2.tar.gz (Removes compressed file)
Step 7: service sickrage restart

Hope this helps someone...
 
Last edited:

Maturola

Explorer
Joined
Jun 26, 2014
Messages
85
teach me... lol. Did you just move the sickchill folder into

/usr/pbi/sickrage-amd64/share/sickrage/SickRage

?

Download the file from any other computer using a browser (I have a mac and just used Chrome)

Then transfer the file using SSH

from the computer you had downloaded the file (If you are in windows you can use PUTTY)

Code:
cd /path/to/the/directory/

Code:
scp SickChill-master.tar.gz 10.10.10.10:/mnt/HomeNAS_POOL/jails/sabnzbd_1/


Where 10.10.10.10 is the IP address of your FREENAS box, and /mnt/HomeNAS_POOL/jails/sabnzbd_1/ is the destination folder of SickChill-master.tar.gz

In your NAS, your jail's files are store in /mnt/<YOUR POOL NAME>/jails/<YOUR JAIL NAME>/

in my case that was "/mnt/HomeNAS_POOL/jails/sabnzbd_1/"

Once I did that I just resume the steps mentioned before after the WGET step

EDIT: forgot to mentioned, next step are done inside jail, so you need to SSH in your FREENAS box, do jls to see your jail number and then

Code:
jls
jexec 7 tcsh


where "7" is your Jail number (mine was 7 at this time).

Code:
tar -zxf SickChill-master.tar.gz
mv SickChill-master /usr/pbi/sickrage-amd64/share/sickrage/SickRage
chown -R media:media /usr/pbi/sickrage-amd64/share/sickrage/SickRage
rm SickChill-master.tar.gz
service sickrage start
 

Supa

Patron
Joined
Jan 10, 2014
Messages
204


Download the file from any other computer using a browser (I have a mac and just used Chrome)

Then transfer the file using SSH

from the computer you had downloaded the file (If you are in windows you can use PUTTY)

Code:
cd /path/to/the/directory/

Code:
scp SickChill-master.tar.gz 10.10.10.10:/mnt/HomeNAS_POOL/jails/sabnzbd_1/


Where 10.10.10.10 is the IP address of your FREENAS box, and /mnt/HomeNAS_POOL/jails/sabnzbd_1/ is the destination folder of SickChill-master.tar.gz

In your NAS, your jail's files are store in /mnt/<YOUR POOL NAME>/jails/<YOUR JAIL NAME>/

in my case that was "/mnt/HomeNAS_POOL/jails/sabnzbd_1/"

Once I did that I just resume the steps mentioned before after the WGET step

EDIT: forgot to mentioned, next step are done inside jail, so you need to SSH in your FREENAS box, do jls to see your jail number and then

Code:
jls
jexec 7 tcsh


where "7" is your Jail number (mine was 7 at this time).

Code:
tar -zxf SickChill-master.tar.gz
mv SickChill-master /usr/pbi/sickrage-amd64/share/sickrage/SickRage 
chown -R media:media /usr/pbi/sickrage-amd64/share/sickrage/SickRage	
rm SickChill-master.tar.gz
service sickrage start

Sorry I figured it out and updated my post! Wrote some easy directions too for anyone else.


Update:

if anyone is getting this error in the sickchill log:


Request failed: Missing Node.js runtime. Node is required and must be in the PATH (check with `node -v`). Your Node binary may be called `nodejs` rather than `node`, in which case you may need to run `apt-get install nodejs-legacy` on some Debian-based systems. (Please read the cfscrape README's Dependencies section: https://github.com/Anorov/cloudflare-scrape#dependencies. ()



Just 'pkg install node' in your sickrage jail.
 
Last edited:

Grinas

Contributor
Joined
May 4, 2017
Messages
174
anyone know where the sickrage config/settings are stored in a warden jail so I can just install a fresh Sickrage jail and transfer the config files?
 

dknm

Dabbler
Joined
Aug 27, 2018
Messages
25

Thank you @Michal Sad @Joshua Parker Ruehlig for the instructions, it worked a treat (build 11.1-u6).

To start, I had to get into the jail with
Code:
service jail onestart sickrage_1

Another point - previously I was using SSL. the https URL will not work once upgraded to sickchill.

What I'll apply going forward (even with the sickchill fork) - Untick Automatically update from the General Config page!
 

strudel

Dabbler
Joined
Dec 22, 2015
Messages
20
Still having the same error :

2018-11-26 08:54:11 SEARCHQUEUE-BACKLOG-259007 :: [TorrentLeech] :: [43ec1dd] Exception while searching TorrentLeech. Error: TypeError('tuple indices must be integers, not str',)

Any ideas?
 

Supa

Patron
Joined
Jan 10, 2014
Messages
204
My problem is the post-processing fails on every file. (fixed by re-mounting the jail storage pointing to the downloads folder)


33cksOz.png


Worked fine on sickrage before all this fiasco.
 
Last edited:

dknm

Dabbler
Joined
Aug 27, 2018
Messages
25
@Supa The log used to look like that for me when after the initial download I would get a) a proper or b) a higher quality than initially snatched. It also looks that way when there's no show directory setup. Failing that...check permissions.

///
What I seem to have found is that sickchill searches for "Show.S0E0.episode.name". And it returns 0 results as a result. Is there a way to manipulate the string to ignore the episode name part?
 
Last edited:

Snow

Patron
Joined
Aug 1, 2014
Messages
309
Any one that's not having problems any more?
Jk
I love Sick Chill way better then some of the other plugins.;);)
 

Supa

Patron
Joined
Jan 10, 2014
Messages
204
@Supa The log used to look like that for me when after the initial download I would get a) a proper or b) a higher quality than initially snatched. It also looks that way when there's no show directory setup. Failing that...check permissions.

///
What I seem to have found is that sickchill searches for "Show.S0E0.episode.name". And it returns 0 results as a result. Is there a way to manipulate the string to ignore the episode name part?



Also... for some reason the path in sickchill is completely opposite of what's actually in the folder... I'm thinking this is why the post processor fails

It shows files which are deleted?
 
Last edited:

diskdiddler

Wizard
Joined
Jul 9, 2014
Messages
2,377
Is it possible your mount point is broken.

Open a shell.
Type in

iocage console <sickchill name> (mine is still called sickrage)
then type in
cd /media/downloads/TV
then type
ls

You should see what sickchill is seeing.
Also try stopping your jail and look at the mount points, see how they are configred?
 

Supa

Patron
Joined
Jan 10, 2014
Messages
204
Is it possible your mount point is broken.

Open a shell.
Type in

iocage console <sickchill name> (mine is still called sickrage)
then type in
cd /media/downloads/TV
then type
ls

You should see what sickchill is seeing.
Also try stopping your jail and look at the mount points, see how they are configred?

Fixed it... Unchecked the mount.. clicked OK. Checked the mount, clicked OK.

and now the jail is seeing the storage right.

Ughhh
 
Last edited:

diskdiddler

Wizard
Joined
Jul 9, 2014
Messages
2,377
Hmmm I'm not sure.

Wait............ Are you using this in WARDEN (old system) or iocage (new system?)
You on 11.1 or 11.2 etc?
 
Top