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

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

Anyone notice the plugins not allowing their array to start.  I posted a syslog in the 12a announce thread (http://lime-technology.com/forum/index.php?topic=15049.msg143992#msg143992), once I removed these and the dyndns one the array started fine.

You must wait until the array has started before attempting to start processes attempting to open files on the array.
  • Author

the apps should autostart after the array has started (if the apps are enabled).

i'll put in some extra checks.

 

do you have your datafolder/installfolder on an array drive or the cache drive? or do you use an extra drive?

sickbeard was stopping my array from starting at first, it was because i was starting it as nobody and the logs were going to /var/logs where it didnt have permissions. changed it to cache drive and it startrs fine now

the apps should autostart after the array has started (if the apps are enabled).

i'll put in some extra checks.

 

do you have your datafolder/installfolder on an array drive or the cache drive? or do you use an extra drive?

 

Only the dyndns was configured this was a reboot after installing these for the first time there was no configuration done to them at all.

What is the proper location for the data directory?

 

I already have all three installed before this so would I simply use that directory for the data directory, also?

Also, Is there a advantages to installing to /usr/local ? does it read the config from the data directory?

 

I guess I'm unsure what the install/data directories refer to. What is the optimum setup for someone who already has these installed but want to move them to be plugins?

all three hang at: Starting sabnzbd: sudo -u nobody python /mnt/cache/.custom/sabnzbd/SABnzbd.py -d -s 0.0.0.0:1234 --config-file /usr/local/sabnzbd --pid /var/run/sabnzbd > /dev/null 2>&1

 

Or if it gets to the point that says its running, it isn't accessible via the browser... any suggestions?

I use an add-in for firefox that sends the information from, say, nzbmatrix directly to sabnzbd.

 

The problem is that sabnzbd running as nobody cannot create directory in /tmp.

If I telnet in and run "newperms /tmp" it will work fine........

 

However, if I put this at the end of my GO script it doesnt seem to work. Any ideas?

 

It seems that the sabnzbd needs to create a tmpfile to add it to the queue and doesnt have permission. It worked fine on 5b12a running as root but I then had to manually run newperms on the output so that samba could see the files.

 

(unraid5b12a, nzbdstatus add-in, firefox on a mac)

My installation was also stuck "Starting..." and in fact was stuck in that position for 14 hours. Stupid. I noticed that the Read number on each of my discs was increasing so I figured it was doing something and I would let it run it's course. Turns out the problem was a few plugin's I'd installed from this posting.

 

A ps -ef revealed that there were some processes trying to start, first one sick beard plugin. I killed them. Then couch potato, I killed them too - then badda bing, the array came online. Lame!

My couchpotato install wasn't working and I'm pretty sure it's because the plugin installed the files into /mnt/cache/.couchpotato/RuudBurger-CouchPotato-964cd71

 

When I went to run it from the unRaid web GUI > Settings > CouchPotato, the install directory was set to /mnt/cache/.couchpotato/. It wasn't looking in the RuudBurgernanana. I moved all the files from the RuudBuger sub-dir into /mnt/cache/.couchpotato, and badda bing, works like a charm.

badda bing

 

;D ;D ;D ;D ;D ;D

Started to use these plugins but settings that I enter are not saving. I started with sabnzbd and entered my settings but when I click "Apply", everything reverts back to the default settings.

Enable sabnzbd: No

Install directory: /usr/local/sabnzbd

Data directory: /mnt/cache/Apps/sabnzbd

Port: 8081

Run as user: nobody

it doesnt save unless you use "yes"

 

Well that worked  :) Thanks!

 

1. How come I don't get "Sabnzbd is running" message even though it is running? I get a "SickBeard is running" message after I set up Sickbeard.

2. Although sickbeard and couchpotato are running, I can't access their GUI. I'm using 8082 and 8083 ports.

  • Author

Well that worked  :) Thanks!

 

1. How come I don't get "Sabnzbd is running" message even though it is running? I get a "SickBeard is running" message after I set up Sickbeard.

2. Although sickbeard and couchpotato are running, I can't access their GUI. I'm using 8082 and 8083 ports.

 

1. reload page. does it display the running message now?

2. try stopping and starting the apps from terminal using "/etc/rc.d/rc.sickbeard stop" and "/etc/rc.d/rc.sickbeard start". (replace sickbeard with couchpotato for the couchpotato app)

do you get any error messages?

Well that worked  :) Thanks!

 

1. How come I don't get "Sabnzbd is running" message even though it is running? I get a "SickBeard is running" message after I set up Sickbeard.

2. Although sickbeard and couchpotato are running, I can't access their GUI. I'm using 8082 and 8083 ports.

 

1. reload page. does it display the running message now?

2. try stopping and starting the apps from terminal using "/etc/rc.d/rc.sickbeard stop" and "/etc/rc.d/rc.sickbeard start". (replace sickbeard with couchpotato for the couchpotato app)

do you get any error messages?

 

1. After reloading page, the running message still does not show up. Also, setting "Enable sabnzbd" to "No" and clicking "Apply" does not stop Sabnzbd. Running " /etc/rc.d/rc.sabnzbd stop" does nothing and also doesn't kill the Sabnzbd process.

2. When initiating "/etc/rc.d/rc.sickbeard stop" I get the following and it never ends until I abort using CTRL+C

Stopping sickbeard...

/etc/rc.d/rc.sickbeard: line 42: kill: pid: arguments must be process or job IDs

 

When initiating "/etc/rc.d/rc.couchpotato start" I get the following and it never ends until I abort using CTRL+C. I think this is the same issue as dkerlee was getting.

installing latest Version of couchpotato

mv: cannot move `/usr/local/RuudBurger-CouchPotato-ef710a8' to `/usr/local/couchpotato/RuudBurger-CouchPotato-ef710a8': Directory not empty

Starting couchpotato:  sudo -u nobody python /usr/local/couchpotato/CouchPotato.py -d --datadir /mnt/cache/Apps/couchpotato --pidfile /var/run/couchpotato/couchpotato.pid > /dev/null 2>&1python: can't open file '/usr/local/couchpotato/CouchPotato.py': [Errno 2] No such file or directory

 

 

 

Hey all.

 

What are the requirements for SABNZBD?

I mean hardware wise, I am currently running a Micro Server with 2GB of ram and wondering if this will cover it? I don't care if it's slow but it does need to run.

  • Author

When initiating "/etc/rc.d/rc.couchpotato start" I get the following and it never ends until I abort using CTRL+C. I think this is the same issue as dkerlee was getting.

installing latest Version of couchpotato

mv: cannot move `/usr/local/RuudBurger-CouchPotato-ef710a8' to `/usr/local/couchpotato/RuudBurger-CouchPotato-ef710a8': Directory not empty

Starting couchpotato:  sudo -u nobody python /usr/local/couchpotato/CouchPotato.py -d --datadir /mnt/cache/Apps/couchpotato --pidfile /var/run/couchpotato/couchpotato.pid > /dev/null 2>&1python: can't open file '/usr/local/couchpotato/CouchPotato.py': [Errno 2] No such file or directory

ok, let's start with this bug. it's a bit annoying, since this happens after you use the integrated updater function in couchpotato. it won't work correct, when installing couchpotato and it's datadir to different disks. i already submitted a fix to the developer, but so far, he hasn't integrated it.

 

to fix your problem, run "rm -r /usr/local/couchpotato" and then start it again via webinterface. (it will install the latest build automatically.)

 

1. After reloading page, the running message still does not show up. Also, setting "Enable sabnzbd" to "No" and clicking "Apply" does not stop Sabnzbd. Running " /etc/rc.d/rc.sabnzbd stop" does nothing and also doesn't kill the Sabnzbd process.

2. When initiating "/etc/rc.d/rc.sickbeard stop" I get the following and it never ends until I abort using CTRL+C

Stopping sickbeard...

/etc/rc.d/rc.sickbeard: line 42: kill: pid: arguments must be process or job IDs

please check, if there is a pid file in /var/run/sabnzbd. it should be named "sabnzbd-<YOUR PORT>.pid

if there is a pid file with an other port number, try connecting to that port.

 

or check, if there is already a sabnzbd running: ps aux | grep sabnzbd

if yes, kill it. (run kill PIDNUMBER).

 

if nothing so far helps, try deleting your sabnzbd install dir (like i described above for couchpotato) and then start sabnzbd again (it will download the latest version)

 

Hey all.

 

What are the requirements for SABNZBD?

I mean hardware wise, I am currently running a Micro Server with 2GB of ram and wondering if this will cover it? I don't care if it's slow but it does need to run.

sabnzbd has relatively little requirements. sou should be fine with the 2GB of ram (i don't have more, and some have even less).

I tried your suggestions above and I still could not get couchpotato and sickbeard to work. Sabnzbd still won't shut down from the interface.

 

For couchpotato,

-I ran "rm -r /usr/local/couchpotato" and then re-enabled via webinterface. Looks like the "Port: " is not getting saved to the couchpotato.cfg

 

For sabnzbd,

-I checked /var/run/sabnzbd and there were no pid for sabnzbd. Since this is missing, the "Sabnzbd is running" is not appearing.

-Runing "ps aux | grep sabnzbd" give this and killing this stops sabnzbd:

  nobody  17136  0.2  1.0 285980 19852 ?        Sl  19:03  0:19 python /usr/local/sabnzbd/SABnzbd.py -d -s 0.0.0.0:8081 --config-file /mnt/cache/Apps/sabnzbd --pid /var/run/sabnzbd > /dev/null 2>&1

-deleted /usr/local/sabnzbd and reinstalled but the issu remains

 

My previews installation using prostuff1's conf files worked perfectly. I used ports 8081 (sabnzbd), 8082 (sickbeard) and 8083 (couchpotato).

 

  • Author

yes, the port of couchpotato is not saved to the couchpotato.cfg, but to the config.ini in the couchpotatao datadir. this is, because couchpotato doesn't accept a cmdline parameter for the port like the other apps do.

 

please check your datadir. what's the user permissions of the dir and the files in it? (if the files are owned by root, change it to nobody, if you wan't to run couchpotato as nobody.)

 

for sabnzb:

you can't quit it via webinterface, since there is no pid file (which is strange).

if i understand you correctly, this is the only issue. please check the permissions of the /var/run/sabnzbd folder.

it has to be writeable for your runuser (nobody?).

run "chmod 777 /var/run/sabnzbd" and it should fix that problem. (the folder should have that setting by default, when it's created from the plugin installer)

 

if all fails, please try to remove the datadir setting in the webinterface and then start the apps (if the apps run this way, it would indicate an error with your datadirs).

 

i'm sorry, that you have trouble getting it to work.

Got all of the plugins working great here on 5.12b except for one small issue that is baffling me.

 

I can stop sabnzbd from the web interface for it no problem.

 

But if i disable it through plugin, or try to take array offline, or run "rc.sabnzbd stop" from a terminal, i get a invalid api key on sabnzbd and it never stops.

 

I've tried this with and without a separate data directory specified, and install directory other than "/usr/local/sabnzbd",  I checked permissions on my sabnzbd.ini and they are 777. 

 

Any ideas?

  • Author

please try this:

run this command "grep -w api_key $DATADIR/sabnzbd.ini | cut -d " " -f3" (but replace $DATADIR with the value, you've set in your configuration)

i.e. run "grep -w api_key /mnt/cache/apps/sabnzbd/sabnzbd.ini | cut -d " " -f3" if your datadir is /mnt/cache/apps/sabnzbd

 

you should get the correct api key back. (please check)

Ok tried the above,

 

"grep -w api_key /mnt/cache/.apps/sabnzbd/sabnzbd.ini | cut -d " " -f3"

 

get a response of

 

root@Shaggy:/mnt/cache/.apps/sabnzbd# "grep -w api_key /mnt/cache/.apps/sabnzbd/sabnzbd.ini | cut -d " " -f3"
-bash: grep -w api_key /mnt/cache/.apps/sabnzbd/sabnzbd.ini | cut -d : No such file or directory

 

Which is even more confusing, here is a listing of the directory.

 

root@Shaggy:/mnt/cache/.apps/sabnzbd# ls -lah
total 602K
drwxrwxrwx 14 root   users  840 2011-10-13 06:56 ./
drwxrwxrwx  9 root   root   248 2011-10-11 09:07 ../
-rwxrwxrwx  1 root   users 2.3K 2011-09-14 17:32 ABOUT.txt*
-rwxrwxrwx  1 root   users  48K 2011-09-14 17:32 CHANGELOG.txt*
-rwxrwxrwx  1 root   users 1.1K 2011-09-14 17:32 COPYRIGHT.txt*
-rwxrwxrwx  1 root   users  18K 2011-09-14 17:32 GPL2.txt*
-rwxrwxrwx  1 root   users  35K 2011-09-14 17:32 GPL3.txt*
-rwxrwxrwx  1 root   users 5.3K 2011-09-14 17:32 INSTALL.txt*
-rwxrwxrwx  1 root   users 3.7K 2011-09-14 17:32 ISSUES.txt*
-rwxrwxrwx  1 root   users  309 2011-09-14 17:32 PKG-INFO*
-rwxrwxrwx  1 root   users 1.2K 2011-09-14 17:32 README.txt*
-rwxrwxrwx  1 root   users 5.2K 2011-09-14 17:32 SABHelper.py*
-rwxrwxrwx  1 root   users  59K 2011-09-14 17:32 SABnzbd.py*
-rwxrwxrwx  1 root   users  421 2011-09-14 17:32 Sample-PostProc.cmd*
-rwxrwxrwx  1 root   users  433 2011-09-14 17:32 Sample-PostProc.sh*
drwxrwxrwx  3 root   root   328 2011-10-13 00:06 admin/
drwxrwxrwx  2 root   root  1.7K 2011-09-14 17:42 cache/
drwxrwxrwx  5 root   users 1.2K 2011-09-14 17:32 cherrypy/
drwxrwxrwx  2 root   users  560 2011-09-14 17:32 email/
drwxrwxrwx  7 root   users  168 2011-09-14 17:32 interfaces/
drwxrwxrwx  2 root   users  528 2011-09-14 17:32 licenses/
drwxrwxrwx  9 root   users  216 2011-09-14 17:32 locale/
drwxrwxrwx  2 root   root   120 2011-09-23 10:34 logs/
-rwxrwxrwx  1 root   users  95K 2011-09-14 17:32 nzb.ico*
drwxrwxrwx  5 root   users  120 2011-09-14 17:32 po/
drwxrwxrwx  3 root   users 2.2K 2011-09-14 17:32 sabnzbd/
-rwxrwxrwx  1 root   users 282K 2011-09-14 17:32 sabnzbd.ico*
-rwxrwxrwx  1 nobody users 4.4K 2011-10-12 10:07 sabnzbd.ini*
drwxrwxrwx  2 root   users  112 2011-09-14 17:32 tools/
drwxrwxrwx  2 root   users  144 2011-09-14 17:32 util/

 

I can see the file there, can even open it in vi

 

any more suggestions?

The ls -al of that directory shows that the user and group (root:users) is probably what is causing the problem.

 

My SABnzb package set everything to nobody:users, just like the sabnzbs.ini file is.

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.