Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't add existing shows #3

Open
gshlomi opened this issue Dec 24, 2014 · 17 comments
Open

Doesn't add existing shows #3

gshlomi opened this issue Dec 24, 2014 · 17 comments

Comments

@gshlomi
Copy link

gshlomi commented Dec 24, 2014

Gets stuck at querying TVDB.
Installation on a VM doesn't have this problem -> issue with docker, not with sickrage...
Thanks

@needo37
Copy link
Owner

needo37 commented Dec 24, 2014

This gives me absolutely no information to troubleshoot on...

What is your docker configuration?

What do the logs say?

Any thing to help me other then "It don't work." would be appreciated.

@gshlomi
Copy link
Author

gshlomi commented Dec 24, 2014

Adding an existing show, the sickrage built in log shows:
SHOWQUEUE-ADD :: theTVDB: {'useZip': True, 'apikey': 'F9C450E78D99172E', 'cache': '/config/cache/indexers/theTVDB', 'language': 'en'}
and stays at that...
Any more info I can provide ?

@needo37
Copy link
Owner

needo37 commented Dec 24, 2014

What is your docker configuration?

@gshlomi
Copy link
Author

gshlomi commented Dec 24, 2014

Default as per your docker settings, just setup the /downloads to point to /mnt/user/Downloads/ (a cache only share) and /tv to /mnt/user/Media/TV Shows/
Using unraid 6b12, if that helps

@gshlomi
Copy link
Author

gshlomi commented Dec 24, 2014

another thing to consider - first step I did after sickrage docker installation, used sickrage built-in update.

@needo37
Copy link
Owner

needo37 commented Dec 24, 2014

Dockers do not support in-app updates. Can you add the EDGE variable and see if the problem continues?

@gshlomi
Copy link
Author

gshlomi commented Dec 24, 2014

now the docker seems to start (green) but the webinterface of sickrage isn't available.
attaching the log of the docker:
*** Running /etc/my_init.d/00_regen_ssh_host_keys.sh...
No SSH host key available. Generating one...
Creating SSH2 RSA key; this may take some time ...
Creating SSH2 DSA key; this may take some time ...
Creating SSH2 ECDSA key; this may take some time ...
Creating SSH2 ED25519 key; this may take some time ...
invoke-rc.d: policy-rc.d denied execution of restart.
*** Running /etc/my_init.d/edge.sh...
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
git-man liberror-perl patch rsync
Suggested packages:
gettext-base git-daemon-run git-daemon-sysvinit git-doc git-el git-email
git-gui gitk gitweb git-arch git-bzr git-cvs git-mediawiki git-svn ed
diffutils-doc
The following NEW packages will be installed:
git git-man liberror-perl patch rsync
0 upgraded, 5 newly installed, 0 to remove and 46 not upgraded.
Need to get 3642 kB of archives.
After this operation, 22.5 MB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu/ trusty-updates/main rsync amd64 3.1.0-2ubuntu0.1 [283 kB]
Get:2 http://archive.ubuntu.com/ubuntu/ trusty/main liberror-perl all 0.17-1.1 [21.1 kB]
Get:3 http://archive.ubuntu.com/ubuntu/ trusty/main git-man all 1:1.9.1-1 [698 kB]
Get:4 http://archive.ubuntu.com/ubuntu/ trusty/main git amd64 1:1.9.1-1 [2555 kB]
Get:5 http://archive.ubuntu.com/ubuntu/ trusty-updates/main patch amd64 2.7.1-4ubuntu1 [84.4 kB]
Fetched 3642 kB in 3s (992 kB/s)
Selecting previously unselected package rsync.
(Reading database ... 16203 files and directories currently installed.)
Preparing to unpack .../rsync_3.1.0-2ubuntu0.1_amd64.deb ...
Unpacking rsync (3.1.0-2ubuntu0.1) ...
Selecting previously unselected package liberror-perl.
Preparing to unpack .../liberror-perl_0.17-1.1_all.deb ...
Unpacking liberror-perl (0.17-1.1) ...
Selecting previously unselected package git-man.
Preparing to unpack .../git-man_1%3a1.9.1-1_all.deb ...
Unpacking git-man (1:1.9.1-1) ...
Selecting previously unselected package git.
Preparing to unpack .../git_1%3a1.9.1-1_amd64.deb ...
Unpacking git (1:1.9.1-1) ...
Selecting previously unselected package patch.
Preparing to unpack .../patch_2.7.1-4ubuntu1_amd64.deb ...
Unpacking patch (2.7.1-4ubuntu1) ...
Processing triggers for ureadahead (0.100.0-16) ...
Setting up rsync (3.1.0-2ubuntu0.1) ...
Removing any system startup links for /etc/init.d/rsync ...
update-rc.d: warning: default stop runlevel arguments (0 1 6) do not match rsync Default-Stop values (none)
Adding system startup for /etc/init.d/rsync ...
/etc/rc0.d/K20rsync -> ../init.d/rsync
/etc/rc1.d/K20rsync -> ../init.d/rsync
/etc/rc6.d/K20rsync -> ../init.d/rsync
/etc/rc2.d/S20rsync -> ../init.d/rsync
/etc/rc3.d/S20rsync -> ../init.d/rsync
/etc/rc4.d/S20rsync -> ../init.d/rsync
/etc/rc5.d/S20rsync -> ../init.d/rsync
invoke-rc.d: policy-rc.d denied execution of restart.
Setting up liberror-perl (0.17-1.1) ...
Setting up git-man (1:1.9.1-1) ...
Setting up git (1:1.9.1-1) ...
Setting up patch (2.7.1-4ubuntu1) ...
Processing triggers for ureadahead (0.100.0-16) ...
Cloning into '/opt/sickrage'...
*** Running /etc/rc.local...
*** Booting runit daemon...
*** Runit started as PID 215
Your database version (42) has been incremented past what this version of SickRage supports (40).
If you have used other forks of SB, your database may be unusable due to their modifications.
Your database version (42) has been incremented past what this version of SickRage supports (40).
If you have used other forks of SB, your database may be unusable due to their modifications.

@gshlomi
Copy link
Author

gshlomi commented Dec 24, 2014

removed the sickrage appdata folder (with dbs & config file) and started again.
now the web interface is available, but going into settings -> general crashes.
Error

cannot find 'USE_IMDBWATCHLIST' while searching for 'sickbeard.USE_IMDBWATCHLIST'

Traceback

Traceback (most recent call last):
File "/opt/sickrage/tornado/web.py", line 1292, in _stack_context_handle_exception raise_exc_info((type, value, traceback))
File "/opt/sickrage/tornado/web.py", line 1479, in wrapper result = method(self, _args, *_kwargs)
File "/opt/sickrage/sickbeard/webserve.py", line 240, in get self.finish(self._dispatch())
File "/opt/sickrage/sickbeard/webserve.py", line 233, in _dispatch return func(**args)
File "/opt/sickrage/sickbeard/webserve.py", line 1442, in index return _munge(t)
File "/opt/sickrage/sickbeard/webserve.py", line 554, in _munge return unicode(string).encode('utf-8', 'xmlcharrefreplace')
File "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1010, in unicode return getattr(self, mainMethName)()
File "/config/cache/cheetah/_opt_sickrage_gui_slick_interfaces_default_config_general_tmpl.py", line 385, in respond if VFFSL(SL,"sickbeard.USE_IMDBWATCHLIST",True) : # generated from line 183, col 102
NotFound: cannot find 'USE_IMDBWATCHLIST' while searching for 'sickbeard.USE_IMDBWATCHLIST'

Request Info

body:
files: {}
protocol: http
connection:
body_arguments: {}
uri: /config/general/
query_arguments: {}
start_time: 1419456812.39
headers: {'Accept-Language': 'en-US,en;q=0.8,he;q=0.6', 'Accept-Encoding': 'gzip, deflate, sdch', 'Connection': 'keep-alive', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,
/_;q=0.8', 'User-Agent': 'Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36', 'Host': '192.168.0.199:8081', 'Referer': 'http://192.168.0.199:8081/home/', 'Cookie': 'plushRefreshRate=1; advanced_toggle_checked=0; user="2|1:0|10:1418978553|4:user|44:YjFmYTMxZDU5MTI3ZDdjNGY0Zjc2YWJhYzhhYTFhYzE=|59efaf3cd02affb8a4e6055d82f03d8f43b7475e1dc0d54e8471fc6328320821"; plushHistPerPage=10; plushQueuePerPage=10; GUID=5IqXLSfkSvlu1Bvp8TVk; plushContainerWidth=100%25; plushMultiOps=1; plushNoTopMenu=0'}
host: 192.168.0.199:8081
version: HTTP/1.1
arguments: {}
_finish_time: None
query:
path: /config/general/
method: GET
remote_ip: 192.168.0.101

@gshlomi
Copy link
Author

gshlomi commented Dec 24, 2014

docker log:
*** Running /etc/my_init.d/00_regen_ssh_host_keys.sh...
*** Running /etc/my_init.d/edge.sh...
Reading package lists...
Building dependency tree...
Reading state information...
git is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 46 not upgraded.
Cloning into '/opt/sickrage'...
*** Running /etc/rc.local...
*** Booting runit daemon...
*** Runit started as PID 26
23:32:37 INFO::MAIN :: Checking database structure...
23:32:37 INFO::MAIN :: Checking database structure...
23:32:37 INFO::MAIN :: Checking database structure...
23:32:38 INFO::MAIN :: No duplicate show, check passed
23:32:38 INFO::MAIN :: No duplicate episode, check passed
23:32:38 INFO::MAIN :: No orphan episodes, check passed
23:32:38 INFO::MAIN :: No UNAIRED episodes, check passed
23:32:38 INFO::MAIN :: Loading initial show list
23:32:38 INFO::TORNADO :: Starting SickRage on http://0.0.0.0:8081/
23:32:38 INFO::DAILYSEARCHER :: Searching for new released episodes ...
23:32:38 INFO::CHECKVERSION :: Checking if git needs an update
23:32:38 INFO::DAILYSEARCHER :: No new released episodes found ...
23:32:38 INFO::MAIN :: Checking for scene exception updates for theTVDB
23:32:41 INFO::SEARCHQUEUE-DAILY-SEARCH :: Beginning daily search for new episodes
23:32:41 ERROR::SEARCHQUEUE-DAILY-SEARCH :: No NZB/Torrent providers found or enabled in the sickrage config for daily searches. Please check your settings.
23:32:41 INFO::SEARCHQUEUE-DAILY-SEARCH :: No needed episodes found
23:33:33 ERROR::TORNADO :: Uncaught exception GET /config/general/ (192.168.0.101)
HTTPServerRequest(protocol='http', host='192.168.0.199:8081', method='GET', uri='/config/general/', version='HTTP/1.1', remote_ip='192.168.0.101', headers={'Accept-Language': 'en-US,en;q=0.8,he;q=0.6', 'Accept-Encoding': 'gzip, deflate, sdch', 'Host': '192.168.0.199:8081', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,/;q=0.8', 'User-Agent': 'Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36', 'Connection': 'keep-alive', 'Referer': 'http://192.168.0.199:8081/home/', 'Cookie': 'plushRefreshRate=1; advanced_toggle_checked=0; user="2|1:0|10:1418978553|4:user|44:YjFmYTMxZDU5MTI3ZDdjNGY0Zjc2YWJhYzhhYTFhYzE=|59efaf3cd02affb8a4e6055d82f03d8f43b7475e1dc0d54e8471fc6328320821"; plushHistPerPage=10; plushQueuePerPage=10; GUID=5IqXLSfkSvlu1Bvp8TVk; plushContainerWidth=100%25; plushMultiOps=1; plushNoTopMenu=0'})
Traceback (most recent call last):
File "/opt/sickrage/tornado/web.py", line 1292, in _stack_context_handle_exception
raise_exc_info((type, value, traceback))
File "/opt/sickrage/tornado/web.py", line 1479, in wrapper
result = method(self, _args, *_kwargs)
File "/opt/sickrage/sickbeard/webserve.py", line 240, in get
self.finish(self._dispatch())
File "/opt/sickrage/sickbeard/webserve.py", line 233, in _dispatch
return func(**args)
File "/opt/sickrage/sickbeard/webserve.py", line 1442, in index
return _munge(t)
File "/opt/sickrage/sickbeard/webserve.py", line 554, in _munge
return unicode(string).encode('utf-8', 'xmlcharrefreplace')
File "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1010, in unicode
return getattr(self, mainMethName)()
File "/config/cache/cheetah/_opt_sickrage_gui_slick_interfaces_default_config_general_tmpl.py", line 385, in respond
if VFFSL(SL,"sickbeard.USE_IMDBWATCHLIST",True) : # generated from line 183, col 102
NotFound: cannot find 'USE_IMDBWATCHLIST' while searching for 'sickbeard.USE_IMDBWATCHLIST'

@gshlomi
Copy link
Author

gshlomi commented Dec 24, 2014

image

@gshlomi
Copy link
Author

gshlomi commented Dec 24, 2014

so, changed EDGE = 1, deleted the sickrage config dir and started fresh.
had the error mentioned above, then used the built-in update function, now no error when trying to access settings -> general...
Still, no show is getting added. log stuck at:
SHOWQUEUE-ADD :: theTVDB: {'useZip': True, 'apikey': 'F9C450E78D99172E', 'cache': '/config/cache/indexers/theTVDB', 'language': 'en'}

p.s - looked into your dockerfile. you're using "RUN wget https://github.com/SickragePVR/SickRage/archive/release_0.2.1.tar.gz -O /tmp/release_0.2.1.tar.gz" but this file is not available...

@needo37
Copy link
Owner

needo37 commented Dec 24, 2014

Yes, when they changed to the new github they did not move over the
release. I have not yet had time to rewrite the Docker to pull from a point
in time.

On Wed, Dec 24, 2014 at 3:58 PM, gshlomi [email protected] wrote:

so, changed EDGE = 1, deleted the sickrage config dir and started fresh.
had the error mentioned above, then used the built-in update function, now
no error when trying to access settings -> general...
Still, no show is getting added. log stuck at:
SHOWQUEUE-ADD :: theTVDB: {'useZip': True, 'apikey': 'F9C450E78D99172E',
'cache': '/config/cache/indexers/theTVDB', 'language': 'en'}

p.s - looked into your dockerfile. you're using "RUN wget
https://github.com/SickragePVR/SickRage/archive/release_0.2.1.tar.gz -O
/tmp/release_0.2.1.tar.gz" but this file is not available...


Reply to this email directly or view it on GitHub
#3 (comment).

@gshlomi
Copy link
Author

gshlomi commented Dec 24, 2014

https://github.com/SiCKRAGETV/SickRage/archive/v4.0.9.tar.gz is the latest I see in their site, if that helps...

@gshlomi
Copy link
Author

gshlomi commented Dec 24, 2014

is "zip" installed in your base image?

@needo37
Copy link
Owner

needo37 commented Dec 24, 2014

Everything is available on github. I would be happy to accept a patch or pull request with a fix if you have the time.

@gshlomi
Copy link
Author

gshlomi commented Dec 24, 2014

I'll try, but one question - why don't you use the same procedure with sickrage as you use in sickbeard? (pulling master.zip)

@needo37
Copy link
Owner

needo37 commented Dec 24, 2014

I prefer to use stable versions.

sickrage had one. sickbeard didnt. When they moved their github they broke
a lot of what I was doing.

On Wed, Dec 24, 2014 at 4:10 PM, gshlomi [email protected] wrote:

I'll try, but one question - why don't you use the same procedure with
sickrage as you use in sickbeard? (pulling master.zip)


Reply to this email directly or view it on GitHub
#3 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants