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.

SABnzbd+ SickBeard CouchPotato Plugin/Installer for v5b11+

Featured Replies

If anyone wants it I modified the sickbeard plugin to work with the anime branch.  It will work alongside the regular sickbeard plugin, if you want to keep them seperate (as I did).  Its a very lazy edit, but it seems to work well.  I am also attaching my script files because they needed some editing, they are renamed so again it can work along side the original version.  I use port 8086 for this one.

 

Remove .txt on the files with that extension also if you are finding the script files aren't working, check their permissions.

 

*edit* - miss-typed the sickbeard download so it was getting the master instead of the branch, should be fixed now.

autoProcessTVanime.cfg

autoProcessTVanime.py.txt

sabToSickBeardanime.py.txt

sickbeardanime-0.4a.anime-i468-1bw.plg.txt

  • Replies 1.2k
  • Views 252.7k
  • Created
  • Last Reply

I am having a problem with couchpotato. I can install, start and configure it. Works wonderfully but if I powerdown the unraid server and start it up again couchpotato does not start. Sickbeard and sabnzbd are both working flawlessly. Does anyone know why this would be? I dont even see anything couchpotato related coming up in the log.

Post a syslog. If you have my headphones plug-in installed there is a problem with the two where couchpotato doesn't start, I'm working on a fix for it now.

I've released a modified version of the SABnzbd+ plug-in to allow the installation of Beta versions. Please backup your current sab data directory, I've tested and the plug-in does not over-write or reset any information, but its always best to be safe.

 

See HERE for download!

Do you have sickbeard set to run as nobody?

 

Well now I feel pretty stupid. I looked all over within the sickbeard GUI and the config files in the folder but couldn't find anything. Didn't occur to me to check the plugin settings. Thanks

No problem, glad it was an easy fix.

Can't get CouchPotato to run. SAB and Sick work flawlessly. Can't figure out what's going on. Here is my log.

 

 

00:15:24 INFO  [            app.config.db] Initializing Database.
00:15:25 INFO  [        app.lib.qualities] Creating custom=False quality: dvdrip
00:15:25 INFO  [        app.lib.qualities] Creating custom=False quality: cam
00:15:25 INFO  [        app.lib.qualities] Creating custom=False quality: ts
00:15:25 INFO  [        app.lib.qualities] Creating custom=False quality: r5
00:15:25 INFO  [        app.lib.qualities] Creating custom=False quality: dvdr
00:15:25 INFO  [        app.lib.qualities] Creating custom=False quality: brrip
00:15:26 INFO  [        app.lib.qualities] Creating custom=False quality: 720p
00:15:26 INFO  [        app.lib.qualities] Creating custom=False quality: 1080p
00:15:26 INFO  [        app.lib.qualities] Creating custom=False quality: tc
00:15:26 INFO  [        app.lib.qualities] Creating custom=False quality: scr
00:15:27 INFO  [                   ENGINE] Listening for SIGHUP.
00:15:27 INFO  [                   ENGINE] Listening for SIGTERM.
00:15:27 INFO  [                   ENGINE] Listening for SIGUSR1.
00:15:27 INFO  [                   ENGINE] Bus STARTING
00:15:27 INFO  [                   ENGINE] Forking once.
00:15:27 INFO  [                   ENGINE] Daemonized to PID: 26091
00:15:27 INFO  [                   ENGINE] Forking twice.
00:15:27 INFO  [       app.config.updater] Updating CP to git version.
00:15:29 ERROR [       app.config.updater] Failed overwriting file: [Errno 18] Invalid cross-device link
00:15:29 ERROR [       app.config.updater] Failed overwriting file: [Errno 18] Invalid cross-device link
00:15:29 ERROR [       app.config.updater] Failed overwriting file: [Errno 18] Invalid cross-device link
00:15:29 ERROR [       app.config.updater] Failed overwriting file: [Errno 18] Invalid cross-device link

... (got this error a couple hundred times, removed most so the post would fit the character limit)...

00:15:29 ERROR [       app.config.updater] Failed overwriting file: [Errno 18] Invalid cross-device link
00:15:29 INFO  [             app.lib.cron] Starting Cronjobs.
00:15:29 INFO  [ider.yarr.sources.newzbin] Using newzbin provider
00:15:29 INFO  [er.yarr.sources.nzbmatrix] Using NZBMatrix provider
00:15:29 INFO  [rovider.yarr.sources.nzbs] Using NZBs.org provider
00:15:29 INFO  [ider.yarr.sources.newznab] Using Newznab provider
00:15:29 INFO  [provider.yarr.sources.tpb] Using TPB.org provider
00:15:29 INFO  [rovider.yarr.sources.x264] Using #alt.binaries.hdtv.x264@EFnet provider
00:15:29 INFO  [ider.yarr.sources.nzbsrus] Using NZBsRUS provider
00:15:29 INFO  [.movie.sources.theMovieDb] Using TheMovieDb provider.
00:15:29 INFO  [movie.sources.imdbWrapper] Using IMDB provider.
00:15:29 ERROR [                   ENGINE] Error in 'start' listener <bound method CronJobs.start of <app.lib.cron.CronJobs object at 0x8d3634c>>
Traceback (most recent call last):
  File "/usr/local/couchpotato/cherrypy/process/wspbus.py", line 197, in publish
  File "/usr/local/couchpotato/app/lib/cron/__init__.py", line 43, in start
  File "/usr/local/couchpotato/app/lib/provider/movie/search.py", line 25, in __init__
  File "/usr/local/couchpotato/app/lib/provider/movie/sources/imdbWrapper.py", line 15, in __init__
  File "/usr/local/couchpotato/library/imdb/__init__.py", line 189, in IMDb
ImportError: No module named mobile

00:15:29 INFO  [                   ENGINE] PID 26091 written to '/var/run/couchpotato/couchpotato.pid'.
00:15:29 INFO  [                   ENGINE] Started monitor thread '_TimeoutMonitor'.
00:15:29 ERROR [                   ENGINE] Error in 'start' listener <bound method Server.start of <cherrypy._cpserver.Server object at 0x82e2f6c>>
Traceback (most recent call last):
  File "/usr/local/couchpotato/cherrypy/process/wspbus.py", line 197, in publish
  File "/usr/local/couchpotato/cherrypy/_cpserver.py", line 150, in start
  File "/usr/local/couchpotato/cherrypy/_cpserver.py", line 140, in httpserver_from_self
ImportError: cannot import name _cpwsgi_server

00:15:29 ERROR [                   ENGINE] Shutting down due to error in start listener:
Traceback (most recent call last):
  File "/usr/local/couchpotato/cherrypy/process/wspbus.py", line 235, in start
  File "/usr/local/couchpotato/cherrypy/process/wspbus.py", line 215, in publish
ChannelFailures: ImportError('No module named mobile',)
ImportError('cannot import name _cpwsgi_server',)

00:15:29 INFO  [                   ENGINE] Bus STOPPING
00:15:29 INFO  [                   ENGINE] HTTP Server None already shut down
00:15:29 INFO  [                   ENGINE] Stopped thread '_TimeoutMonitor'.
00:15:29 INFO  [             app.lib.cron] Stopping Cronjobs.
00:15:29 INFO  [                   ENGINE] Bus STOPPED
00:15:29 INFO  [                   ENGINE] Bus EXITING
00:15:29 INFO  [                   ENGINE] PID file removed: '/var/run/couchpotato/couchpotato.pid'.
00:15:29 INFO  [                   ENGINE] Bus EXITED

Did you by chance install the Headphones plug-in I made? If so, the first version included git and curl to update headphones. Couchpotato tries to auto-update when git is installed, and it fails miserably causing the problem you are seeing.

00:15:27 INFO  [       app.config.updater] Updating CP to git version.
00:15:29 ERROR [       app.config.updater] Failed overwriting file: [Errno 18] Invalid cross-device link
00:15:29 ERROR [       app.config.updater] Failed overwriting file: [Errno 18] Invalid cross-device link
00:15:29 ERROR [       app.config.updater] Failed overwriting file: [Errno 18] Invalid cross-device link
00:15:29 ERROR [       app.config.updater] Failed overwriting file: [Errno 18] Invalid cross-device link

 

Easiest method of fixing this is to update to the newest version of headphones and restart, or if you have GIT installed for something else, remove it and restart. This will completely remove GIT and allow couchpotato to install clean

ChronoStriker1

 

Why do you need to modify the other files, except the PLG? Where did you place those and when. after installing the anime plugin?

 

Very interested in this one as i would also like to keep them separate.

ChronoStriker1

 

Why do you need to modify the other files, except the PLG? Where did you place those and when. after installing the anime plugin?

 

Very interested in this one as i would also like to keep them separate.

You dont need to edit the plg cause I did the heavy lifting on that, just install like the normal plugin.

I edited the other files because sabnzbd only has one script folder and these would just overwrite the ones for the normal sickbeard.  Keeping them separate allows you to select this as a seperate script, and the three files are necessary as they work together.  Put them into what ever folder you set as your scripts folder in sabnzbd and don;t forget to edit the .cfg with your sickbeard-anime info (port, username and pass).

You dont need to edit the plg cause I did the heavy lifting on that, just install like the normal plugin.

I edited the other files because sabnzbd only has one script folder and these would just overwrite the ones for the normal sickbeard.  Keeping them separate allows you to select this as a seperate script, and the three files are necessary as they work together.  Put them into what ever folder you set as your scripts folder in sabnzbd and don;t forget to edit the .cfg with your sickbeard-anime info (port, username and pass).

 

Oh right otherwise it will just run fine alongside the normal sickbeard, the files are in case you want to run it as a TV downloader as well? I want to run them completely separately, in different data dirs :)

you'll have to run them in different data dir's anyway, the sickbeard-anime will create many of the same files in its data dir, so they must be separate to run correctly.

Chronostriker1s release doesn't work at all, but i am trying to modify it myself now.

Chronostriker1s release doesn't work at all, but i am trying to modify it myself now.

 

Any other observations? Errors its throwing out or something its not doing?

Not sure when/how he injects these modified files:

 

autoProcessTVanime.cfg

autoProcessTVanime.py

sabToSickBeardanime.py

 

It just says failed to install, trying to diagnose further now. Using custom data and install dirs to CACHE drive. Not sure if this is really needed these days...

After installing you put those files in your sabnzbd post processing script folder.

 

Try running /etc/rc.d/rc.sickbeardanime install from the command line and see what it says.

Ok after giving up and restarting i tried again and it seems to work. I had about 100 days uptime, wonder if something was going wrong there.

 

As for the scripts, i see now, but i personally don't use them, i don't see how they are better than just pointing SB to SABs anime download directory?

 

Thanks Chronostriker!

I have never used the anime version and haven't looked at the autoprocess scripts to know if they do something different than the regular processtv scripts, but basically it gives sab a way to notify sickbeard when an episode is done downloading and sickbeard processes the episode immediately.

 

Also having never pointed sickbeard to the download dir, I don't know if sickbeard watches the directory on a timer and only processes shows once an hour or once a day, or if it checks every few seconds. It could be a perfectly valid substitution to using the scripts, :).

 

If the anime branch uses different sources or does anything different during post processing than the master branch, I'd make sure that where sabnzbd downloads the anime is in a different directory than the rest of the downloads.

 

You could point it at the download dir and make sure it doesn't process regular episodes in any odd manner, and processes the anime right, if it does, then your good to go.

Well I've been playing with this for about 8 hours now, still trying to figure out what's wrong.  I've had a similar problem with all three of the plugins, sabnzbd, couchpotato and sickbeard at one time or another.  I think I've figured out couchpotato and sabnzbd (well I've been able to get them to work the past 2 reboots anyway).

 

The problem now is sickbeard.  I've seen a few previous questions with the following string, but not any real resolution that's helped me.

 

Apr 21 19:51:51 unRAID sudo:     root : TTY=console ; PWD=/ ; USER=nobody ; COMMAND=/usr/bin/python /usr/local/sickbeard/SickBeard.py -d -p 9001 --datadir /mnt/user/Usenet/sickbeard --pidfile /var/run/sickbeard/sickbeard.pid > /dev/null 2>&1

 

The above is the one and only line in my syslog that results from starting sickbeard from the webgui.  The webgui just hangs forever.  Sometimes it will time out after 30 minutes or an hour.

 

However, I CAN kill the process then run /etc/rc.d/rc.sickbeard enable and the process starts fine.  I give 'er the ole 15 count, refresh the page and the process says it's running.

 

Why isn't the webgui working?  I've made sure that 'nobody' is the owner on all the paths specified, pretty much just chmod'd everything to 777 I can think of. 

 

Are there any other logs or settings that would be helpful to post for diagnosis?

The webgui hangs for me when starting sickbeard, but if I change to another page and come back to the sickbeard setting it will say its running. I don't think its finding the pid right. I was actually planning on looking at that later to see if there is something wrong.

Been having the problem of sickbeard's post-processing restricting the permissions of downloaded files and folders due to running as the "root" user. When I "stop" the program, restart the computer and then try to start it again as the user "nobody" neither sab or sickbeard will start.

 

Any ideas?

check the permission on the data dir's and post a syslog.

The webgui hangs for me when starting sickbeard, but if I change to another page and come back to the sickbeard setting it will say its running. I don't think its finding the pid right. I was actually planning on looking at that later to see if there is something wrong.

 

Actually for me it looks like the entire webgui process is frozen/hanging. (emhttp?  sorry I'm very new to all this; I've actually been googling to figure out how to make directories and copy files, ha!)

 

Anyway, I actually can't go to another page.  I just get the Win7 toilet bowl of infinite flushing.  If I do a ps -ef and kill the sickbeard process, Win7 stops flushing and I am again able to navigate the webgui.  But until that process dies, I'm stuck.

check the permission on the data dir's and post a syslog.

 

AAAHHH permissions! haha, that's done the trick - thanks Influencer!

No problem, glad it was as easy as that!

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.