Sickbeard does not start, reports error: fail

594 views
Skip to first unread message

Keon91

unread,
Sep 8, 2012, 1:00:40 PM9/8/12
to al...@googlegroups.com

I updated my sickbeard using the update function in the gui of sickbeard.

After install sickbeard doesn't start anymore.
Not even when I completely remove the install and install the package again.

In the sickbeard.log I get these errors:

Sep-08 18:46:33 DEBUG    MAIN :: config_version -> 0
Sep-08 18:46:33 INFO     MAIN :: Attempting to back up /etc/sickbeard.conf before migration...
Sep-08 18:46:33 DEBUG    MAIN :: Unknown value passed in, ignoring it:  (13:)
Sep-08 18:46:33 INFO     MAIN :: Error while trying to back up /etc/sickbeard.conf: 13
Sep-08 18:46:34 INFO     MAIN :: Trying again.
Sep-08 18:46:34 INFO     MAIN :: Attempting to back up /etc/sickbeard.conf before migration...
Sep-08 18:46:34 DEBUG    MAIN :: Unknown value passed in, ignoring it:  (13:)
Sep-08 18:46:34 INFO     MAIN :: Error while trying to back up /etc/sickbeard.conf: 13
Sep-08 18:46:35 INFO     MAIN :: Trying again.
Sep-08 18:46:35 INFO     MAIN :: Attempting to back up /etc/sickbeard.conf before migration...
Sep-08 18:46:35 DEBUG    MAIN :: Unknown value passed in, ignoring it:  (13:)
Sep-08 18:46:35 INFO     MAIN :: Error while trying to back up /etc/sickbeard.conf: 13
Sep-08 18:46:36 INFO     MAIN :: Trying again.
Sep-08 18:46:36 INFO     MAIN :: Attempting to back up /etc/sickbeard.conf before migration...
Sep-08 18:46:36 DEBUG    MAIN :: Unknown value passed in, ignoring it:  (13:)
Sep-08 18:46:36 INFO     MAIN :: Error while trying to back up /etc/sickbeard.conf: 13
Sep-08 18:46:37 INFO     MAIN :: Trying again.
Sep-08 18:46:37 INFO     MAIN :: Attempting to back up /etc/sickbeard.conf before migration...
Sep-08 18:46:37 DEBUG    MAIN :: Unknown value passed in, ignoring it:  (13:)
Sep-08 18:46:37 INFO     MAIN :: Error while trying to back up /etc/sickbeard.conf: 13
Sep-08 18:46:38 INFO     MAIN :: Trying again.
Sep-08 18:46:38 INFO     MAIN :: Attempting to back up /etc/sickbeard.conf before migration...
Sep-08 18:46:38 DEBUG    MAIN :: Unknown value passed in, ignoring it:  (13:)
Sep-08 18:46:38 INFO     MAIN :: Error while trying to back up /etc/sickbeard.conf: 13
Sep-08 18:46:39 INFO     MAIN :: Trying again.
Sep-08 18:46:39 INFO     MAIN :: Attempting to back up /etc/sickbeard.conf before migration...
Sep-08 18:46:39 DEBUG    MAIN :: Unknown value passed in, ignoring it:  (13:)
Sep-08 18:46:39 INFO     MAIN :: Error while trying to back up /etc/sickbeard.conf: 13
Sep-08 18:46:40 INFO     MAIN :: Trying again.
Sep-08 18:46:40 INFO     MAIN :: Attempting to back up /etc/sickbeard.conf before migration...
Sep-08 18:46:40 DEBUG    MAIN :: Unknown value passed in, ignoring it:  (13:)
Sep-08 18:46:40 INFO     MAIN :: Error while trying to back up /etc/sickbeard.conf: 13
Sep-08 18:46:41 INFO     MAIN :: Trying again.
Sep-08 18:46:41 INFO     MAIN :: Attempting to back up /etc/sickbeard.conf before migration...
Sep-08 18:46:41 DEBUG    MAIN :: Unknown value passed in, ignoring it:  (13:)
Sep-08 18:46:41 INFO     MAIN :: Error while trying to back up /etc/sickbeard.conf: 13
Sep-08 18:46:42 INFO     MAIN :: Trying again.
Sep-08 18:46:42 INFO     MAIN :: Attempting to back up /etc/sickbeard.conf before migration...
Sep-08 18:46:42 DEBUG    MAIN :: Unknown value passed in, ignoring it:  (13:)
Sep-08 18:46:42 INFO     MAIN :: Error while trying to back up /etc/sickbeard.conf: 13
Sep-08 18:46:43 INFO     MAIN :: Trying again.
Sep-08 18:46:43 INFO     MAIN :: Unable to back up /etc/sickbeard.conf, please do it manually.

Any Idea?

Keon91

unread,
Sep 9, 2012, 7:11:01 AM9/9/12
to al...@googlegroups.com
I found the problem!

The config file seems to have changed.
I started sickbeard using python SickBeard.py.
Sickbeard made an config.ini and that one was different from the sickbeard.conf.
So I copied the settings from the sickbeard.conf to the config.ini.
Renamed it to sickbeard.conf and pasted under /etc.

Now sickbeard starts just fine!

Maybe you can change your package, so it not uses a stock sickbeard.conf but a script that changes some values in the config script.

New sickbeard.conf:

[General]
log_dir = Logs
web_port = 8081
web_host = 0.0.0.0
web_ipv6 = 0
web_log = 0
web_root = ""
web_username = ""
web_password = ""
use_api = 0
api_key = ""
enable_https = 0
https_cert = /etc/ssl/certs/server.crt
https_key = /etc/ssl/certs/server.key
use_nzbs = 1
use_torrents = 0
nzb_method = blackhole
usenet_retention = 500
search_frequency = 60
download_propers = 1
quality_default = 3
status_default = 5
flatten_folders_default = 0
provider_order = nzbs_r_us newzbin nzbs_org womble_s_index nzbmatrix tvtorrents ezrss nzbs_org_old btn sick_beard_index
version_notify = 1
naming_pattern = ""
naming_custom_abd = 0
naming_abd_pattern = ""
naming_multi_ep_type = 1
launch_browser = 1
use_banner = 0
use_listview = 0
metadata_xbmc = 0|0|0|0|0|0
metadata_mediabrowser = 0|0|0|0|0|0
metadata_ps3 = 0|0|0|0|0|0
metadata_wdtv = 0|0|0|0|0|0
metadata_tivo = 0|0|0|0|0|0
metadata_synology = 0|0|0|0|0|0
cache_dir = cache
root_dirs = 0|/mnt/harddisk/Sickbeard
tv_download_dir = ""
keep_processed_dir = 0
move_associated_files = 0
process_automatically = 1
rename_episodes = 1
create_missing_show_dirs = 0
add_shows_wo_dir = 0
extra_scripts = ""
git_path = ""
ignore_words = "german,french,core2hd,dutch,swedish"
config_version = 1
[Blackhole]
nzb_dir = "/mnt/harddisk/Sickbeard"
torrent_dir = ""
[EZRSS]
ezrss = 0
[TVTORRENTS]
tvtorrents = 0
tvtorrents_digest = ""
tvtorrents_hash = ""
[BTN]
btn = 0
btn_api_key = ""
[NZBs]
nzbs = 0
nzbs_uid = ""
nzbs_hash = ""
[NZBsRUS]
nzbsrus = 0
nzbsrus_uid = ""
nzbsrus_hash = ""
[NZBMatrix]
nzbmatrix = 0
nzbmatrix_username = ""
nzbmatrix_apikey = ""
[Newzbin]
newzbin = 0
newzbin_username = ""
newzbin_password = ""
[Womble]
womble = 1
[SABnzbd]
sab_username = ""
sab_password = ""
sab_apikey = "6dbd44db6c0d40ae87c31abade28b543"
sab_category = tv
sab_host = localhost:8082
[NZBget]
nzbget_password = ""
nzbget_category = tv
nzbget_host = localhost:6789
[XBMC]
use_xbmc = 0
xbmc_notify_onsnatch = 0
xbmc_notify_ondownload = 0
xbmc_update_library = 0
xbmc_update_full = 0
xbmc_host = ""
xbmc_username = ""
xbmc_password = ""
[Plex]
use_plex = 0
plex_notify_onsnatch = 0
plex_notify_ondownload = 0
plex_update_library = 0
plex_server_host = ""
plex_host = ""
plex_username = ""
plex_password = ""
[Growl]
use_growl = 0
growl_notify_onsnatch = 0
growl_notify_ondownload = 0
growl_host = ""
growl_password = ""
[Prowl]
use_prowl = 0
prowl_notify_onsnatch = 0
prowl_notify_ondownload = 0
prowl_api = ""
prowl_priority = 0
[Twitter]
use_twitter = 0
twitter_notify_onsnatch = 0
twitter_notify_ondownload = 0
twitter_username = ""
twitter_password = ""
twitter_prefix = Sick Beard
[Notifo]
use_notifo = 0
notifo_notify_onsnatch = 0
notifo_notify_ondownload = 0
notifo_username = ""
notifo_apisecret = ""
[Boxcar]
use_boxcar = 0
boxcar_notify_onsnatch = 0
boxcar_notify_ondownload = 0
boxcar_username = ""
[Pushover]
use_pushover = 0
pushover_notify_onsnatch = 0
pushover_notify_ondownload = 0
pushover_userkey = ""
[Libnotify]
use_libnotify = 0
libnotify_notify_onsnatch = 0
libnotify_notify_ondownload = 0
[NMJ]
use_nmj = 0
nmj_host = ""
nmj_database = ""
nmj_mount = ""
[Synology]
use_synoindex = 0
[Trakt]
use_trakt = 0
trakt_username = ""
trakt_password = ""
trakt_api = ""
[pyTivo]
use_pytivo = 0
pytivo_notify_onsnatch = 0
pytivo_notify_ondownload = 0
pyTivo_update_library = 0
pytivo_host = ""
pytivo_share_name = ""
pytivo_tivo_name = ""
[NMA]
use_nma = 0
nma_notify_onsnatch = 0
nma_notify_ondownload = 0
nma_api = ""
nma_priority = 0
[Newznab]
[GUI]
coming_eps_layout = banner
coming_eps_display_paused = 0
coming_eps_sort = date


Op zaterdag 8 september 2012 19:00:40 UTC+2 schreef Keon91 het volgende:
Message has been deleted

Joao Cardoso

unread,
Sep 11, 2012, 9:09:32 PM9/11/12
to al...@googlegroups.com


On Saturday, September 8, 2012 6:00:40 PM UTC+1, Keon91 wrote:

I updated my sickbeard using the update function in the gui of sickbeard.

After install sickbeard doesn't start anymore.
Not even when I completely remove the install and install the package again.

Probably because /var/lib/sickbeard is not destroyed and after the re-install sickbeard reused the data found there.
/var/lib/<whatever> is the package "home" directory, and sometimes contains relevant data, that is the reason why it is not deleted whan a package is uninstalled.


In the sickbeard.log I get these errors: 
Sep-08 18:46:33 INFO     MAIN :: Attempting to back up /etc/sickbeard.conf before migration...
...

Sep-08 18:46:33 INFO     MAIN :: Error while trying to back up /etc/sickbeard.conf: 13
...

Sep-08 18:46:43 INFO     MAIN :: Unable to back up /etc/sickbeard.conf, please do it manually.

Any Idea?

Almost certainly a permission problem.

When sickbeard (or some other package program) are started using the webgui or the "rcsickbeard start", they run as the "sickbeard" user. If sickbeard is started by other user, it might not have enough permissions to change sickbeard (configuration) files.

So, either the sickbeard update process was not running as the sickbeard user, and that is a sickbeard issue, or you had manually started sickbeard on behalf of another user.

Joao Cardoso

unread,
Sep 11, 2012, 9:19:07 PM9/11/12
to al...@googlegroups.com


On Sunday, September 9, 2012 12:11:01 PM UTC+1, Keon91 wrote:
I found the problem!

The config file seems to have changed.
I started sickbeard using python SickBeard.py.

Under what username was you logged-in when you did that?
 
Sickbeard made an config.ini and that one was different from the sickbeard.conf.
So I copied the settings from the sickbeard.conf to the config.ini.
Renamed it to sickbeard.conf and pasted under /etc.

Can you please verify the ownership and permissions of the configuration file?
 

Now sickbeard starts just fine!

Maybe you can change your package, so it not uses a stock sickbeard.conf but a script that changes some values in the config script.

But it could be changed on each new release, and sickbeard is alpha, so it is very likely to change.
It is up to sickbeard to update a valid configuration file from an old to the current version, and I think that it attempted to do it, as it recognized the old version and attempted to back-it-up:

Keon91

unread,
Sep 12, 2012, 7:19:23 AM9/12/12
to al...@googlegroups.com
 
I logged in as root, but I only did that to get the config.ini.

After I made changes to the sickbeard.conf I made sure that the permissions and ownership were right.

Somehow it fails to backup the old config file but I don't know why.
Already tried changing permissions etc.
Only changing the config file to the newer one worked from me!


Op woensdag 12 september 2012 03:19:07 UTC+2 schreef Joao Cardoso het volgende:

Joao Cardoso

unread,
Dec 14, 2012, 12:47:13 PM12/14/12
to al...@googlegroups.com


On Wednesday, September 12, 2012 12:19:23 PM UTC+1, Keon91 wrote:
 
I logged in as root, but I only did that to get the config.ini.

After I made changes to the sickbeard.conf I made sure that the permissions and ownership were right.

Somehow it fails to backup the old config file but I don't know why.
Already tried changing permissions etc.
Only changing the config file to the newer one worked from me!

I think it is now fixed, see Update sabnzbd and couchpotato
Reply all
Reply to author
Forward
0 new messages