SickRage Won't Start

Been up and running with everything working great for about a week. Tonight I log in and SickRage is not running. I tried a refresh and no joy, then a reboot with the same result. Here is the result of journalctl -xe:
(IP Removed)

    [jreid@noc]:(0b)~$ journalctl -xe
    Mar 31 23:53:05 noc python[5160]:   File "/home/jreid/.sickrage/SickBeard.py", line 494, in <module>
    Mar 31 23:53:05 noc python[5160]:     SickRage().start()                                                                                                                                                           
    Mar 31 23:53:05 noc python[5160]:   File "/home/jreid/.sickrage/SickBeard.py", line 242, in start                                                                                                                  
    Mar 31 23:53:05 noc python[5160]:     sickbeard.initialize(consoleLogging=self.console_logging)                                                                                                                    
    Mar 31 23:53:05 noc python[5160]:   File "/home/jreid/.sickrage/sickbeard/__init__.py", line 1100, in initialize                                                                                                   
    Mar 31 23:53:05 noc python[5160]:     helpers.manage_torrents_url(reset=True)                                                                                                                                      
    Mar 31 23:53:05 noc python[5160]:   File "/home/jreid/.sickrage/sickbeard/helpers.py", line 1897, in manage_torrents_url                                                                                           
    Mar 31 23:53:05 noc python[5160]:     sickbeard.CLIENT_WEB_URLS['torrent'] = ('', torrent_ui_url)[test_exists(torrent_ui_url)]                                                                                     
    Mar 31 23:53:05 noc python[5160]:   File "/home/jreid/.sickrage/sickbeard/helpers.py", line 1886, in test_exists                                                                                                   
    Mar 31 23:53:05 noc python[5160]:     h = requests.head(url)                                                                                                                                                       
    Mar 31 23:53:05 noc python[5160]:   File "/home/jreid/.sickrage/lib/requests/api.py", line 93, in head                                                                                                             
    Mar 31 23:53:05 noc python[5160]:     return request('head', url, **kwargs)                                                                                                                                        
    Mar 31 23:53:05 noc python[5160]:   File "/home/jreid/.sickrage/lib/requests/api.py", line 53, in request                                                                                                          
    Mar 31 23:53:05 noc python[5160]:     return session.request(method=method, url=url, **kwargs)                                                                                                                     
    Mar 31 23:53:05 noc python[5160]:   File "/home/jreid/.sickrage/lib/requests/sessions.py", line 468, in request                                                                                                    
    Mar 31 23:53:05 noc python[5160]:     resp = self.send(prep, **send_kwargs)                                                                                                                                        
    Mar 31 23:53:05 noc python[5160]:   File "/home/jreid/.sickrage/lib/requests/sessions.py", line 572, in send                                                                                                       
    Mar 31 23:53:05 noc python[5160]:     adapter = self.get_adapter(url=request.url)                                                                                                                                  
    Mar 31 23:53:05 noc python[5160]:   File "/home/jreid/.sickrage/lib/requests/sessions.py", line 646, in get_adapter                                                                                                
    Mar 31 23:53:05 noc python[5160]:     raise InvalidSchema("No connection adapters were found for '%s'" % url)                                                                                                      
    Mar 31 23:53:05 noc python[5160]: requests.exceptions.InvalidSchema: No connection adapters were found for 'scgi://xx:xx:xx:xx:10253/'                                                                            
    Mar 31 23:53:05 noc systemd[1]: [email protected]: Control process exited, code=exited status=1                                                                                                               
    Mar 31 23:53:05 noc systemd[1]: Failed to start SickRage.
    -- Subject: Unit [email protected] has failed                                                                                                                                                                 
    -- Defined-By: systemd                                                                                                                                                                                             
    -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel                                                                                                                                            
    --                                                                                                                                                                                                                 
    -- Unit [email protected] has failed.                                                                                                                                                                         
    --                                                                                                                                                                                                                 
    -- The result is failed.                                                                                                                                                                                           
    Mar 31 23:53:05 noc systemd[1]: [email protected]: Unit entered failed state.                                                                                                                                 
    Mar 31 23:53:05 noc systemd[1]: [email protected]: Failed with result 'exit-code'.                                                                                                                            
    Mar 31 23:53:05 noc polkitd(authority=local)[1232]: Unregistered Authentication Agent for unix-process:5089:93406 (system bus name :1.7, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.
    Mar 31 23:53:05 noc kernel: Firewall: *UDP_IN Blocked* IN=enp1s0 OUT= MAC= SRC=xx.xx.xx.xx DST=239.192.152.143 LEN=164 TOS=0x00 PREC=0x00 TTL=1 ID=31466 DF PROTO=UDP SPT=35313 DPT=6771 LEN=144                  
    Mar 31 23:53:09 noc kernel: Firewall: *UDP_IN Blocked* IN=enp1s0 OUT= MAC= SRC=xx.xx.xx.xx DST=239.192.152.143 LEN=164 TOS=0x00 PREC=0x00 TTL=1 ID=32012 DF PROTO=UDP SPT=35313 DPT=6771 LEN=144                  
    Mar 31 23:53:09 noc kernel: Firewall: *UDP_IN Blocked* IN=enp1s0 OUT= MAC= SRC=xx.xx.xx.xx DST=239.192.152.143 LEN=164 TOS=0x00 PREC=0x00 TTL=255 ID=32013 DF PROTO=UDP SPT=6771 DPT=6771 LEN=144                 
    Mar 31 23:53:12 noc kernel: Firewall: *UDP_IN Blocked* IN=enp1s0 OUT= MAC=6c:62:6d:78:e9:23:00:12:f2:90:b0:01:08:00 SRC=51.15.136.49 DST=xx.xx.xx.xx LEN=437 TOS=0x08 PREC=0x20 TTL=36 ID=30893 DF PROTO=UDP SPT=5
    Mar 31 23:53:12 noc kernel: Firewall: *UDP_IN Blocked* IN=enp1s0 OUT= MAC= SRC=xx.xx.xx.xx DST=239.192.152.143 LEN=164 TOS=0x00 PREC=0x00 TTL=1 ID=32501 DF PROTO=UDP SPT=35313 DPT=6771 LEN=144                  
    Mar 31 23:53:14 noc kernel: Firewall: *UDP_IN Blocked* IN=enp1s0 OUT= MAC= SRC=xx.xx.xx.xx DST=239.192.152.143 LEN=164 TOS=0x00 PREC=0x00 TTL=1 ID=32968 DF PROTO=UDP SPT=35313 DPT=6771 LEN=144                  
    Mar 31 23:53:18 noc kernel: Firewall: *UDP_IN Blocked* IN=enp1s0 OUT= MAC= SRC=xx.xx.xx.xx DST=239.192.152.143 LEN=164 TOS=0x00 PREC=0x00 TTL=1 ID=33214 DF PROTO=UDP SPT=35313 DPT=6771 LEN=144                  
    Mar 31 23:53:18 noc kernel: Firewall: *UDP_IN Blocked* IN=enp1s0 OUT= MAC= SRC=xx.xx.xx.xx DST=239.192.152.143 LEN=164 TOS=0x00 PREC=0x00 TTL=255 ID=33215 DF PROTO=UDP SPT=6771 DPT=6771 LEN=144                 
    Mar 31 23:53:21 noc kernel: Firewall: *UDP_IN Blocked* IN=enp1s0 OUT= MAC= SRC=xx.xx.xx.xx DST=239.192.152.143 LEN=164 TOS=0x00 PREC=0x00 TTL=1 ID=33247 DF PROTO=UDP SPT=35313 DPT=6771 LEN=144                  
    Mar 31 23:53:23 noc kernel: Firewall: *UDP_IN Blocked* IN=enp1s0 OUT= MAC= SRC=xx.xx.xx.xx DST=239.192.152.143 LEN=164 TOS=0x00 PREC=0x00 TTL=1 ID=33467 DF PROTO=UDP SPT=35313 DPT=6771 LEN=144                  
    Mar 31 23:53:27 noc kernel: Firewall: *UDP_IN Blocked* IN=enp1s0 OUT= MAC= SRC=xx.xx.xx.xx DST=239.192.152.143 LEN=164 TOS=0x00 PREC=0x00 TTL=1 ID=34458 DF PROTO=UDP SPT=35313 DPT=6771 LEN=144                  
    Mar 31 23:53:27 noc kernel: Firewall: *UDP_IN Blocked* IN=enp1s0 OUT= MAC= SRC=xx.xx.xx.xx DST=239.192.152.143 LEN=164 TOS=0x00 PREC=0x00 TTL=255 ID=34459 DF PROTO=UDP SPT=6771 DPT=6771 LEN=144                 
    Mar 31 23:53:30 noc kernel: Firewall: *UDP_IN Blocked* IN=enp1s0 OUT= MAC= SRC=xx.xx.xx.xx DST=239.192.152.143 LEN=164 TOS=0x00 PREC=0x00 TTL=1 ID=34783 DF PROTO=UDP SPT=35313 DPT=6771 LEN=144                  
    Mar 31 23:53:30 noc kernel: Firewall: *UDP_IN Blocked* IN=enp1s0 OUT= MAC= SRC=xx.xx.xx.xx DST=239.192.152.143 LEN=164 TOS=0x00 PREC=0x00 TTL=255 ID=34784 DF PROTO=UDP SPT=6771 DPT=6771 LEN=144                 
    Mar 31 23:53:32 noc kernel: Firewall: *UDP_IN Blocked* IN=enp1s0 OUT= MAC= SRC=xx.xx.xx.xx DST=239.192.152.143 LEN=164 TOS=0x00 PREC=0x00 TTL=1 ID=35051 DF PROTO=UDP SPT=35313 DPT=6771 LEN=144

Instead of journalctl -xe will you show the results of systemctl status sickrage@USERNAME. Also try to do a restart with systemctl restart sickrage@USERNAME

I believe the output to systemctl status sickrage@USERNAME is identical to the top half of journalctl -xe, but I will post it anyhow in case it contains anything I did not readily notice when I looked at it last night. I didnā€™t see anything interesting in the start messages either, but my inability to see why this is not starting is why I am here.

[jreid@noc]:(0b)~$ sudo su


|========================================================================|
|------------------------------------------------------------------------|
|  ###################   This Server is OFF limits   ####################|
|------------------------------------------------------------------------|
     You are running QuickBox v2.4.9
     Your logged IP is localhost:10.0
     Your BASH version is 4.3
     Sat Apr  1 08:37:52 PDT 2017
|========================================================================|


noc:/home/jreid# systemctl restart sickrage@jreid
Job for [email protected] failed because the control process exited with error code. See "systemctl status [email protected]" and "journalctl -xe" for details.
noc:/home/jreid#
noc:/home/jreid#
noc:/home/jreid# systemctl status sickrage@jreid
ā— [email protected] - SickRage
   Loaded: loaded (/etc/systemd/system/[email protected]; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Sat 2017-04-01 08:38:31 PDT; 26s ago
  Process: 20034 ExecStart=/usr/bin/python /home/%I/.sickrage/SickBeard.py -q --daemon --nolaunch --datadir=/home/%I/.sickrage (code=exited, status=1/FAILURE)

Apr 01 08:38:30 noc python[20034]:     resp = self.send(prep, **send_kwargs)
Apr 01 08:38:30 noc python[20034]:   File "/home/jreid/.sickrage/lib/requests/sessions.py", line 572, in send
Apr 01 08:38:30 noc python[20034]:     adapter = self.get_adapter(url=request.url)
Apr 01 08:38:30 noc python[20034]:   File "/home/jreid/.sickrage/lib/requests/sessions.py", line 646, in get_adapter
Apr 01 08:38:30 noc python[20034]:     raise InvalidSchema("No connection adapters were found for '%s'" % url)
Apr 01 08:38:30 noc python[20034]: requests.exceptions.InvalidSchema: No connection adapters were found for 'scgi://xx.xx.xx.xx:10253/'
Apr 01 08:38:31 noc systemd[1]: [email protected]: Control process exited, code=exited status=1
Apr 01 08:38:31 noc systemd[1]: Failed to start SickRage.
Apr 01 08:38:31 noc systemd[1]: [email protected]: Unit entered failed state.
Apr 01 08:38:31 noc systemd[1]: [email protected]: Failed with result 'exit-code'.
noc:/home/jreid#

I changed my IP address in the reply to xx.xx.xx.xx for obvious reasons, the actual message contained the correct, static, Internet routable IP address. I missed my IP address in one of the lines in my original post, and Google has already indexed it. I just changed it also.

What happens if you do su jreid then navigate to cd ~/.sickrage followed by git pull? Are you then able to reconnect to the service. Something in your configuration is bad, especially when looking at:

requests.exceptions.InvalidSchema: No connection adapters were found for ā€˜scgi://xx.xx.xx.xx:10253/ā€™


I can't think of why it would "suddenly" not work properly unless some setting got altered. Perhaps that git pull will update properly. Otherwise, you may have to make a backup of your settings and perform a reinstall of the SickRage service. I'm not really adept at troubleshooting other peoples applications in this regards. Had you installed CSF or any other rules with any other firewall?

Hi,
same thing for me. I donā€™t undestrand what happen !! But itā€™s not just a person

Here my status :

[email protected] - SickRage
Loaded: loaded (/etc/systemd/system/[email protected]; enabled)
Active: failed (Result: exit-code) since Sat 2017-04-01 14:13:11 CEST; 5h 16min ago
Process: 5488 ExecStart=/usr/bin/python2.7 /home/%I/.sickrage/SickBeard.py -q --daemon --nolaunch --  datadir=/home/%I/.sickrage (code=exited, status=1/FAILURE)

Apr 01 14:13:11 X.X.X.X python2.7[5488]: File "/home/krameurmcbaret/.sickrage/lib/requests/sessions.py", line 468, in request
Apr 01 14:13:11 X.X.X.X python2.7[5488]: resp = self.send(prep, **send_kwargs)
Apr 01 14:13:11 X.X.X.X python2.7[5488]: File "/home/krameurmcbaret/.sickrage/lib/requests/sessions.py", line 572, in send
Apr 01 14:13:11 X.X.X.X python2.7[5488]: adapter = self.get_adapter(url=request.url)
Apr 01 14:13:11 X.X.X.X python2.7[5488]: File "/home/krameurmcbaret/.sickrage/lib/requests/sessions.py", line 646, in get_adapter
Apr 01 14:13:11 X.X.X.X python2.7[5488]: raise InvalidSchema("No connection adapters were found for '%s'" % url)
Apr 01 14:13:11 X.X.X.X python2.7[5488]: requests.exceptions.InvalidSchema: No connection adapters were found for 'scgi://X.X.X.X:XXXX/'
Apr 01 14:13:11 X.X.X.X systemd[1]: [email protected]: control process exited, code=exited status=1
Apr 01 14:13:11 X.X.X.X systemd[1]: Failed to start SickRage.
Apr 01 14:13:11 X.X.X.X systemd[1]: Unit [email protected] entered failed state.

Have you attempted any of my above suggestions. I donā€™t care if itā€™s more peopleā€¦ I need more info. I will help the best I can (assuming QuickBox has some caveat that is causing this) since I am not a SickRage developer. This is a new issue to meā€¦ software rarely ā€œjust fails for no reasonā€.

yea you right, i will go to see with Sickrage.
I think itā€™s a consequence of the last update

Iā€™ll try those suggestions and post results below.

You want more info, here is some background. It has to be a bug in a package update somewhere. This was a fresh install of Ubuntu 16.04.2 LTS Server about 2 weeks ago for the exclusive purpose of installing QuickBox. The QuickBox installation was done right after the OS install, after I finished doing the initial apt-get update, apt-get upgrade, apt-get dist-upgrade, and a reboot. The only other things that have been installed were done via the Package Management Center in the QuickBox web GUI. I installed CSF (Firewall) - Technically from the shell prompt but following the instruction given on the screen, SickRage, and nothing else. Those are the only two additional add-ons installed.

I did have to do some initial configuration on SickRage of course, but that and adding a few TV shows to confirm functionality is all I have done. It is been happily grabbing episodes and adding them into Deluge for about a week and a half, until last night. The changes must have happened via some automatic upgrade somewhere or an automated rule that kicked in on CSF, because I had not logged in for a couple of days. Deluge had a bunch more episodes seeding, but SickRage had stopped.

My point is that this is an extremely vanilla install, very clean as it had never had another purpose, and fairly new as well. I have not been tweaking with it or playing with it since it was setup. In essence, this is almost a clean lab environment install and broke without hands on. Whatever changed in the last few days did so without any user involvement.

Here are the results:
I donā€™t need to su jreid because I login as jreid. It is the only user on the box. In order to run the commands posted prior I did a sudo su to get a root prompt.

[jreid@noc]:(933.4kb)~/.sickrage$ git pull
remote: Counting objects: 77, done.
remote: Compressing objects: 100% (6/6), done.
remote: Total 77 (delta 43), reused 43 (delta 43), pack-reused 28
Unpacking objects: 100% (77/77), done.
From https://github.com/SickRage/SickRage
   3dc24c9..a1f5e67  master     -> origin/master
   b556cbf..59914f5  auto-update-translations -> origin/auto-update-translations
   3dc24c9..a1f5e67  develop    -> origin/develop
 * [new branch]      fix-camelCases -> origin/fix-camelCases
 * [new branch]      grunt-improve -> origin/grunt-improve
   be1cde8..a217968  trakt-images -> origin/trakt-images
 * [new tag]         v2017.03.31-3 -> v2017.03.31-3
Updating 3dc24c9..a1f5e67
Fast-forward
 sickbeard/helpers.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
[jreid@noc]:(933.4kb)~/.sickrage$

After performing the pull I went into the web GUI and clicked refresh after SickRage. This time it started. I think this must confirm that something (an update mechanism of some kind) must have pulled an update with a bug in it that has since been fixed.

1 Like

Hi,

I found solution, itā€™s a consequence of the last update. So go to your sickrage directory (/home/USER/.sickrage) and use this command :

git fetch origin
git checkout master
git branch -u origin/master
git reset --hard origin/master
git pull

After that restart Sickrage

systemctl start sickrage@USER

Thatā€™s good, as I stated above. A git pull is all that is needed. Glad you got this sorted and yes, it looks like they released a bad update but immediately fixed it.