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

I downloaded it from the link above and installed it without any modification.

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

I'm going to close up shop on google code, any changes I make in the future I'll make to WW's github. Much simpler for users and devs to have one version, instead of multiple floating around, and seeing as WW has already setup the github, might as well use that, :)

I downloaded it from the link above and installed it without any modification.

 

I had a similar issue once.  I downloaded again, verified the hash and it worked fine.  you might want to just try it again.

Everyone who is interested in this plugins should check my github.  Pull request are welcome :)

May 23 21:24:16 Tower sudo: root : TTY=console ; PWD=/ ; USER=nobody ; COMMAND=/usr/bin/python /mnt/user/Sickbeard/install/SABnzbd.py -d -s 0.0.0.0:8888 --config-file /mnt/user/Sickbeard --pid /var/run/sabnzbd > /dev/null 2>&1

 

You have some mishmash in your command line. I see sickbeard and sabnzbd in one command line. You should correct it.

Also when I do this, the prompt from the unraid machine says OSError: [Errno 13] Permission denied: '/mnt/usenet'.

 

Are you using the Mount Any Drive Plugin or Snap Plugin? If not, then you should change the data directory from /mnt/usenet/.apps/sabnzbd or install Benni-chan's Mount Any Drive Plugin.

 

Benni-chan's examples are using his Mount Any Drive Plugin for the data directory location: http://lime-technology.com/forum/index.php?topic=14742.msg138819#msg138819

 

You may want to read this entire thread from the beginning (even if you already did, it may help you catch something you missed).

 

What should i change the data directory to if I'm not using the mount any drive plugin?  I've read through most of the thread, but I think I'm so far lost that none of it is making sense.

 

I deleted the sabnzbd .plg file from my flash drive and tried to just do it again, and now I am getting an error that says run_cmd: etc/rc.d/rc.sabnzbd enable nobody 8080 /usr/local/sabnzbd /usr/local/sabnzbd /etc/rc.d/rc.rabnzbd: line 90: [: missing ']'

Post your sabnzbd plugin file to pastebin or something. The error seems like its a problem with the plugin itself and not your setup. That error is saying there is a missing "]" in /etc/rc.d/rc.sabnzbd on line 90

It sounds like old version of the plugin with the 1] that needs to be changed to 1 ]

 

I suggest you download and install the latest modifications from Influencer's signature. That, and several other enhancements and fixes are in that version.

I downloaded that one and it says it was successfully installed.  It seems now as if it is working as I can get into the sabnzbd settings after I enable it.  However, after I enabled it, I still got the same error with the line 90: [: missing ']'.

 

What should my data directory be if I don't have a cache drive?

For it to stay after a reboot, put it on the array, you can make another share and point the plugin to that, for instance, /mnt/user/Apps/sabnzbd

 

EDIT: Download the fixed version here:

WW & Influencers Plug-ins

 

Me and WW are collaborating on the plug-ins now, and that error is fixed in that release. Simply right click and save as, :)

the link doesn't work, something about https

Hey Influencer or WW

Im getting this error when trying to start couchpotato_v2 as nobody

Traceback (most recent call last):
  File "CouchPotato.py", line 119, in <module>
    l = Loader()
  File "CouchPotato.py", line 43, in __init__
    os.makedirs(self.data_dir)
  File "/usr/lib/python2.6/os.py", line 157, in makedirs
    mkdir(name, mode)
OSError: [Errno 13] Permission denied: '/.couchpotato'

Traceback (most recent call last):
  File "CouchPotato.py", line 119, in <module>
    l = Loader()
  File "CouchPotato.py", line 43, in __init__
    os.makedirs(self.data_dir)
  File "/usr/lib/python2.6/os.py", line 157, in makedirs
    mkdir(name, mode)
OSError: [Errno 13] Permission denied: '/.couchpotato'

It will start if I am root though, after being root and killing couchpotato I changed the ownership of all the files to nobody but still it was no good.

I ended up starting from scratch removing the plugins folder and restarting the server.  Still happened, I ended up changing the permissions to the directory /usr/local/couchpotato_v2 and tried one last time and it worked...

Sorry! Meant to answer this yesterday but I was WAY to hungover to think.

 

I'll add a line to the plug-in to change permissions for the install directory so this doesn't happen. Not sure quite why it was, never done that to me.... But a simple change to avoid the issue altogether

I've updated to the latest Sickbeard plugin from WW's GitHub site. Everything is up and running fine except updates.

 

On the Sickbeard pluing page I see:

SickBeard is running with version: 911f5d1b6c71364f8653852689c6136b0149fae7

SickBeard storage memory usage: install directory: 13M, data directory: 42M

Your data will persist after a reboot

Update available to version: b3a7afefd4eefe5f2311ff439caed56bf90cea31

Yet, hitting update results in it just spinning indefinitely. I have to exit out and check back in and the page is the same as it was. SB still is at the older version.

I cleaned all my SB installed files and re-did it from scratch. Now I am running the latest version of SB, but the plugin page now says:

SickBeard is running with version: couldn't determine the SickBeard version, please run Update Now at the top of the SickBeard web page firstt

I have done this multiple times now, but this message still says the same thing.

 

I've looked in the plg file. It appears to be checking for the version.txt file in the Data Directory, but my version file is now in the Install Directory (/usr/local/sickbeard).

if (file_exists($sickbeard_cfg["DATADIR"] . "/version.txt"))
	$sickbeard_curversion = trim(shell_exec( "cat $sickbeard_cfg[DATADIR]/version.txt" ));
else

That must be left over from when WW had the install dir and data dir in one location. Will take a look and hopefully post the fix tomorrow.

Thanks. I was going to look at editing the plg file myself, but I'm not 100% sure I would not break it.

Ill make sure that it indeed puts the version.txt in the install dir and update the plg. If you want to test it in the meantime you can replace the 'DATADIR' with 'INSTALLDIR' and reinstall the plg.

 

If something were to break you could either change  it back or redownload the plg and reinstall to fix. That line only functions on the settings page so it wont harm your data or settings.

I am still having trouble getting SABnzbd setup.  It says it is installed correctly.  However, it seems as if it gets stuck trying to install the latest version.  When I restart the tower, it says:

 

Welcome to Linux 3.0.30-unRAID (tty1)

Tower login: no  installing latest version (0.6.15) Starting sabnzbd: sudo -u nobody python /usr/local/sabnzbd/SABnzbd.py -d -s 0.0.0.0:8081 --config-file /mnt/user/Apps/sabnzbd --pid /var/run/sabnzbd > /dev/null 2>&1

 

and the array will never start up (in the array status it just says "Starting...")

 

I do not have a cache drive (only 1 data drive, 1 parity drive, and the flash drive).  The install directory is set as /usr/local/sabnzbd and the data directory is set as /mnt/user/apps/sabnzbd

 

How can I resolve this?

 

It sounds like unraid might be firing the "disks_mounted" event too early and sab trying to start is stopping the array from starting, consequently stopping sab from starting as well.

 

Im not around my server right now to test this but i can tomorrow.

 

You can set the data dir as the same as the install and see if it starts that way. If so im probably correct in my assumption. If this is the case ill talk to tom to confirm and try to find a fix in the meantime.

When I make the install directory /mnt/user/Apps/sabnzbd, it gets stuck with this status (in the sabnzbd gui): Starting sabnzbd: sudo -u nobody python /mnt/user/Apps/sabnzbd/SABnzbd.py -d -s 0.0.0.0:8081 --config-file /mnt/user/Apps/sabnzbd --pid /var/run/sabnzbd > /dev/null 2>&1

 

on the tower, it says root@tower:~# run_cmd: /etc/rc.d/rc.sabnzbd enable nobody 8081 /mnt/user/apps/sabnzbd /mnt/user/apps/sabnzbd no /etc/rc.d/rc.sabnzbd: line 90: [: missing ']'

 

when i make the data directory /usr/local/sabnzbd, and it gets the same status in the sabnzbd gui and on the tower it says the same as in the sabnzbd gui.

 

 

Thats a mistake in the plg. I thought i fixed it but maybe not.

 

If you want to fix it now instead of waiting for me to do it tomorrow you can open the plg and look for this block

sabnzbd_enable() {
  # if not already enabled, enable it
  if [ "$SERVICE" != "enable" ]; then
    SERVICE=enable
    PORT="$2"
    INSTALLDIR="$3"
DATADIR="$4"
INSTALLBETA="$5"

if [ $DATADIR == "" ]; then
	$DATADIR=$INSTALLDIR
fi

if [ $RUNAS != $1]; then
	chown -R $1:users "$INSTALLDIR"
fi

 

Add a space inbetween the $1 and the ]  in

 

if [ $RUNAS != $1]; then 

 

After that save and reinstall

Okay, I will try that now.

 

How should I have the data and install directories set? Both of them the same or how I had them originally (install directory as /usr/local/sabnzbd and the data directory as /mnt/user/apps/sabnzbd)?

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.