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

Sickbeard failing all TVDB searches after update #4113

Closed
gramster opened this issue Aug 9, 2020 · 5 comments
Closed

Sickbeard failing all TVDB searches after update #4113

gramster opened this issue Aug 9, 2020 · 5 comments

Comments

@gramster
Copy link

gramster commented Aug 9, 2020

For new Package Requests, see the guidelines

Setup

Package Name: Sickbear Custom
Package Version: 20200804-8

NAS Model: DS1517+
NAS Architecture: Intel
DSM version: 6.2.3-25426 Update 2

Expected behavior

Searches should succeed

Actual behavior

I updated Sickbeard Custom via the Syno Package Manager and now all the TVDB searches fail. I tried uninstalling and reinstalling Sickbeard but still have an issue (and now all my existing shows are gone because Sickbeard can't seem to add them back without TVDB).

Steps to reproduce

Search for a new show. Response is almost immediate with no results.

Package log

Check Package Center or /usr/local/{package}/var/

This is after a reboot and a search:

2020-08-09 07:57:11 INFO     SEARCHQUEUE-RSS-SEARCH :: No needed episodes found on the RSS feeds
2020-08-09 07:56:22 ERROR    CP Server Thread-9 :: Unable to get URL: http://thetvdb.com/api/GetSeries.php?seriesname=big+mouth&language=en
2020-08-09 07:56:22 WARNING  CP Server Thread-9 :: URL error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:727) while loading URL http://thetvdb.com/api/GetSeries.php?seriesname=big+mouth&language=en
2020-08-09 07:54:04 INFO     CHECKVERSION :: No scene exceptions update needed
2020-08-09 07:54:03 INFO     SEARCHQUEUE-RSS-SEARCH :: Clearing Sick Beard Index cache and updating with new information
2020-08-09 07:53:58 INFO     CHECKVERSION :: Check scene exceptions update
2020-08-09 07:53:58 INFO     CHECKVERSION :: No update needed
2020-08-09 07:53:57 ERROR    SEARCHQUEUE-RSS-SEARCH :: Error loading Womble's Index URL: http://newshost.co.za/rss/?sec=tv-dvd&fr=false
2020-08-09 07:53:57 WARNING  SEARCHQUEUE-RSS-SEARCH :: URL error [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:727) while loading URL http://newshost.co.za/rss/?sec=tv-dvd&fr=false
2020-08-09 07:53:57 ERROR    SEARCHQUEUE-RSS-SEARCH :: Error loading Womble's Index URL: http://newshost.co.za/rss/?sec=tv-x264&fr=false
2020-08-09 07:53:57 WARNING  SEARCHQUEUE-RSS-SEARCH :: URL error [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:727) while loading URL http://newshost.co.za/rss/?sec=tv-x264&fr=false
2020-08-09 07:53:57 INFO     SEARCHQUEUE-RSS-SEARCH :: Searching all providers for any needed episodes
2020-08-09 07:53:57 INFO     SEARCHQUEUE-RSS-SEARCH :: Beginning search for new episodes on RSS
2020-08-09 07:53:57 INFO     SEARCHQUEUE-RSS-SEARCH :: Changing all old missing episodes (UNAIRED) to status WANTED
2020-08-09 07:53:57 INFO     CHECKVERSION :: Checking if git needs an update
2020-08-09 07:53:57 INFO     MAIN :: Loading initial show list
2020-08-09 07:53:57 INFO     MAIN :: Starting Sick Beard on http://0.0.0.0:8083/
2020-08-09 07:51:22 INFO     MAIN :: Writing PID: 18838 to /volume1/@appstore/sickbeard-custom/var/sickbeard-custom.pid
2020-08-09 07:51:21 INFO     MAIN :: No orphan episodes, check passed
2020-08-09 07:51:21 INFO     MAIN :: No duplicate episode, check passed
2020-08-09 07:51:21 INFO     MAIN :: No duplicate show, check passed
2020-08-09 07:51:21 INFO     MAIN :: Checking database structure...
2020-08-09 07:51:21 INFO     MAIN :: Checking database structure...

Other logs

E.g. /var/log/messages or /var/log/synopkg.log

Insert log here
@gramster
Copy link
Author

It seems like this might be from TVDB forcing SSL usage. I had to add this line:

ssl._create_default_https_context = ssl._create_unverified_contex

after the import ssl in /volume1/@appstore/sickbeard-custom/var/SickBeard/lib/httplib2/__init__.py

@ymartin59
Copy link
Contributor

@gramster It may be worth to report this upstream to "sickbeard" fork you have selected.

@gramster
Copy link
Author

gramster commented Aug 18, 2020 via email

@blueflame2020
Copy link

I have the same issue. (#4137) What you write here is more a temporary workaround and definitely not a fix for the underlying problem. Disabling certificate verification is something you should only do with the utmost caution.

I suggest you do the same as I did:
backup your sickbeard directory (/volume1/@appdata/sickbeard-custom/var)
remove sickbeard and python
install previous version of python (found here: https://synocommunity.com/package/python, place it somewhere on the NAS and install using synopkg install <path to .spk file>)
install sickbeard-custom (without starting it after install)
move the config.ini, cache.db, cache directory and sickbeard.db back to the sickbeard directory and fix permissions and ownership of the files.
start sickbeard-custom

And then wait for a fix of the python package by the maintainers :)

@gramster
Copy link
Author

gramster commented Aug 19, 2020 via email

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

3 participants