Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Sickbeard

Featured Replies

Wondering if anyone could help me figure out who my sickbeard keeps closing or stopping.  I start it... Then a day or so goes by and I try to open it back up via web and it doesn't come up.  So I telnet back in and run it again and poof it comes back up via web. 

 

What info would someone need? It's in my go script...  Would u want a log or what?

Hi,

 

Logs are always helpful. What version of python are you running? What command do you use to launch SB?

As above, sickbeard logs extensively both to the console and to it's own log files...

  • Author

Okay so just tried my sickbeard again... and it is no longer running again....  I am thinking it may have some thing to do with the mover script that runs every night....  here is my go script:

 

#!/bin/bash

# Start the Management Utility

/usr/local/sbin/emhttp &

 

cd /boot/packages && find . -name '*.auto_install' -type f -print | sort | xargs -n1 sh -c

 

/boot/unmenu/uu

# determine if cache drive online, retry upto 7 times

for i in 0 1 2 3 4 5 6 7

do

   if [ ! -d /mnt/cache ]

   then

     sleep 10

   fi

done

 

# If Cache drive is online, start SABNzbd

if [ -d /mnt/cache ]; then

 # Start SABnzbd and sickbeard

 installpkg /boot/custom/SABnzbdDependencies-1.3-i486-unRAID.tgz

 python /mnt/cache/.custom/sabnzbd/SABnzbd.py -d -s 192.168.1.110:88

 nohup python /mnt/cache/.custom/sickbeard/SickBeard.py &

fi

 

and here is a pastebin of the log:

 

http://pastebin.com/xes3g7tW

 

 

What sickbeard logs are you talking about.....??  Is there a way to turn off the mover to see if sickbeard stays running, if that is disabled?

I seen no errors logged.

 

Try using the dependencies package version 2.0 Romir posted in the Sabnzbd package. Do you have enough ram?

  • Author

I have 4gbs of ram.  I can try that package, where is it?  But why would that dependency package for sabnzbd have anything to do with sickbeard?

  • Author

Thanks for the info, I don't know much about Linux so I was thinking python was built into unraid.... I will try it out...

What sickbeard logs are you talking about.....??  Is there a way to turn off the mover to see if sickbeard stays running, if that is disabled?

 

There is a logs subdirectory within your sickbeard path which should have quite extensive logs in it.

 

There is also a logs and errors tab within sickbeard - though not much good if it's not running at the time.

 

Finally you can start sickbeard interactively from your ssh session etc and it should log quite verbosely to there whilst it runs.

 

i.e don't start it backgrounded with nohup and &.

 

I'm running an oldish version of sickbeard so possible the logging has been toned down but you should have some logs somewhere.

  • Author

Updated everything, that it was working great.  It lasted a couple days, then went back to it today and it was closed....

Updated everything, that it was working great.  It lasted a couple days, then went back to it today and it was closed....

 

SB crashed for no apparent reason the first three times I was using it. Now it's running more than 1 month 24/7 without any glitches. I keep my fingers crossed, just run it again and hope the next run will be longer than a few days.

  • 3 months later...

Hi Guys,

Set this up today and got a few shows running and sync'ing with my SabNZBD+

 

Only issue is it wont actually copy the files from the downloads folder on my cache drive, to the locations I set out on another disk.

 

Looked through a couple of guides and cannot seem to work out what I missed.

 

Episodes are sending over to Sabnzbd+ fine.

Downloading fine.

Sick Beard gets history updated with snatched/downloaded.

Sick beard has added the covers etc to the correct destination folders.

Sabnzbd+ categories script for 'tv' is set to sabToSickbeard.py

 

Any help appreciated,

M

 

Updated everything, that it was working great.  It lasted a couple days, then went back to it today and it was closed....

 

Get the latest git (source) of Sickbeard which includes a new daemon mode.. Run sickbeard with:

 

python SickBeard.py --daemon

stradle - did you copy autoProcessTV.cfg.sample to autoProcessTV.cfg and edit it with the Sickbeard port, user name and password?

 

Peter

Hi Guys,

Set this up today and got a few shows running and sync'ing with my SabNZBD+

 

Only issue is it wont actually copy the files from the downloads folder on my cache drive, to the locations I set out on another disk.

 

Looked through a couple of guides and cannot seem to work out what I missed.

 

Episodes are sending over to Sabnzbd+ fine.

Downloading fine.

Sick Beard gets history updated with snatched/downloaded.

Sick beard has added the covers etc to the correct destination folders.

Sabnzbd+ categories script for 'tv' is set to sabToSickbeard.py

 

Any help appreciated,

M

 

 

Make sure your post-processing script for your "tv" category is set to sabToSickBeard.py

 

This script is located in Sickbeard/autoProcessTV. You'll also need to configure autoProcessTV.cfg with your server settings (there's a .sample to guide you). If you don't use any other post-processing scripts with SABnzbd, it's safe to go into the SAB config and set the script post-processing dir to /path/to/sickbeard/autoProcessTV (Config -> Folders -> Post-Processing Scripts Folder). Otherwise, copy autoProcessTV.cfg and sabToSickBeard.py to your scripts directory.

 

To set the post-processing script for the TV category, go into Config -> Categories , you'll see a tv category with a script dropdown, select sabToSickBeard.py

 

HTH

I have sickbeard set up on my cache drive and it works great.  The only issue I have is the cache drive doesn't sleep with it is running.

 

I have been through the settings a couple of times to try and see if there's a reason why but couldn't find one.  I have set it to scan for new eps every 4 hours and the backlog search every 7 days.  I'm not using the torrent blackhole feature.

 

I'm running it in nohup mode, I'll give the new daemon mode a try tonight.

 

Does anyone else have this issue?

Thanks for replies,

 

@lionelhutz - I had renamed the file from .sample already, but the host was set to localhost, so I will update that to my ip. Do you think that could have been the issue?

 

[sickBeard]

host=localhost

port=8081

username=

password=

web_root=

 

@Stokkes - cheers for detailed instructions, went through and double checked all that was done and seems to be.

 

I take it to test this, I will have to manually move my already downloaded files and download some more to see if it works?

To test don't move anything, just go to SickBeard and click the find link for an episode (or search or whatever that link in the series table view beside each episode is called). If the download works you'll get the file again. If not, it'll be left in the SAB downloads directory and you can delete it.

 

I can't check what I have for the host until I go home tonight. I have a fixed IP for my server so I might have just stuck it in there.

 

When SAB is doing a download it should say sabtosickbeard.py in the post processing column. At least the Plush interface shows this. Then once SAB is done you should be able to open the log of the script running. In Plush, the done table has the file name then to the right a bunch of icons for each step of the process. The right most icon should open the script log.

 

Peter

 

 

 

 

 

After some fiddling about and restarting, it seems to work now.

Not sure what was done, but all pulling accross nicely.

 

Do most of you keep copies of the files in your cache?

Or delete from there once the moving script has moved them to the location you picked?

 

Thanks again for all your help.

I let it delete all other downloaded files on the main file has been copied and re-named. I also let it copy and re-name to the cache disk so it's not spinning up the array.

 

Once thing I haven't done yet is change the cache drive so the mover only runs about once a week. It's not worth spinning the array up every night for a file or 2.

 

Peter

 

I have sickbeard set up on my cache drive and it works great.  The only issue I have is the cache drive doesn't sleep with it is running.

 

I have been through the settings a couple of times to try and see if there's a reason why but couldn't find one.  I have set it to scan for new eps every 4 hours and the backlog search every 7 days.  I'm not using the torrent blackhole feature.

 

I'm running it in nohup mode, I'll give the new daemon mode a try tonight.

 

Does anyone else have this issue?

I was having trouble getting my cache drive to sleep with Sab/SB.  I ended up making sure that any logs are written to /var/log (volatile, so it goes bye-bye after every boot) for both Sab and SB.  I disabled any blackhole checking, and switched the episode search to 4 hours.  It seems that every time I access the web GUI for SB it will spin up my cache drive.  Also, every time it performs a search it appears to spin up my drive as well, likely due to using its cache folder.  Also, if you're using nohup, I believe you have to specify a location to write its output to.  I had it set to /tmp/sb.txt before I switched over to using --daemon mode.

 

Hope this helps.

 

Edit: I forgot to mention, I could never get my cache drive to sleep when I was using Couchpotato despite trying just about everything.

What's the difference between something like this

 

python /mnt/cache/.SickBeard/SickBeard.py --quiet &

 

And using --daemon?

 

Peter

Not sure about that... I've never invoked it that way.  My old method was:

 

nohup python /path/SickBeard.py > /tmp/sickbeard.out 2>&1 &

 

And now I just use:

 

python /path/SickBeard.py --daemon

 

For me, the end result is the same.

--daemon adds a proper daemon (background processing mode) to sickbeard (like sabnzbd has) instead of the hack that is nohup and &.

 

Although I don't think it's added yet, it would theoretically also allow sickbeard to be shutdown gracefully instead of killing the process (which would really lead to database corruption).

 

Force-killing any application that uses a database == BAD idea.

I was having trouble getting my cache drive to sleep with Sab/SB.  I ended up making sure that any logs are written to /var/log (volatile, so it goes bye-bye after every boot) for both Sab and SB.  I disabled any blackhole checking, and switched the episode search to 4 hours.  It seems that every time I access the web GUI for SB it will spin up my cache drive.  Also, every time it performs a search it appears to spin up my drive as well, likely due to using its cache folder.  Also, if you're using nohup, I believe you have to specify a location to write its output to.  I had it set to /tmp/sb.txt before I switched over to using --daemon mode.

 

Hope this helps.

 

Edit: I forgot to mention, I could never get my cache drive to sleep when I was using Couchpotato despite trying just about everything.

 

It's likely the logs then, that's the difference between my set up and yours.  I'll give that a go tonight, many thanks.

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.