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'm having a problem getting sabnzbd started. I can access the web guis of sickbeard ( port 8081 ) and couchpotato ( port 5000 ) fine. However I tried to access sabnzbd on port 8082 and it would not load. On the console it says:

 

/etc/rc.d/rc.sabnzbd: line 90: [ : missing ']'

 

awk: (FILENAME=- FNR=4) warning: error writing standard output (Broken pipe)

 

Any idea why this is?

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

What does your config look like?

Is there any way to install the anime fork in addition to the regular sickbeard? That would really be helpful to me.

I just installed the packages and that appears to have worked properly. The Sabnzbd, CouchPotato, and Sickbeard icons have shown up in my settings tab of unraid. When I change the "Enable sabnzbd" switch from No to Yes, the browser begins to load and at which point i receive the following text:

 

"Starting sabnzbd: sudo -u nobody python /usr/local/sabnzbd/SABnzbd.py -d -s 0.0.0.0:8082 --config-file /usr/local/sabnzbd --pid /var/run/sabnzbd > /dev/null 2>&1"

 

After displaying this, the browser never finishes loading, and SABnzbd's webgui is not accessible. This problem occurs with CouchPotato and SickBeard as well. Any thoughts? Thanks in advance.

 

- Greg

It never finishes loading because sabnzbd doesn't start, the page waits until the pid file is written before starting.

 

It sounds like a permissions issue, when installing does everything say success? If you restarted to install the first time, you can use this command to install again.

 

installplg /boot/config/plugins/sabnzbd-0.4c-i468-bw.plg

 

Use that from telnet and then look at the output, making sure everything was a success. Some will say already exists and thats fine.

 

If everything is right, check the permissions for the install directory and the pid directory

#check permissions and ownership for files in sabnzbd install directory
ls -l /usr/local/sabnzbd/
#check permissions and ownership for sabznbd pid directory
ls -l /var/run/

 

make sure that Sabnzbd has execute(x) privledges in the install directory and write(w) privledges in the pid directory. Also make sure that the both are owned by nobody:users

These are my results when I type "installplg /boot/config/plugins/sabnzbd-0.4c-i468-bw.plg":

 

file /boot/packages/python-2.6.4-i486-1.txz: already exists
  upgradepkg --install-new /boot/packages/python-2.6.4-i486-1.txz ... 
+==============================================================================
| Skipping package python-2.6.4-i486-1 (already installed)
+==============================================================================


success
file /boot/packages/python-cheetah-2.4.2.1-i486-1alien.tgz: already exists
  upgradepkg --install-new /boot/packages/python-cheetah-2.4.2.1-i486-1alien.tgz ... 
+==============================================================================
| Skipping package python-cheetah-2.4.2.1-i486-1alien (already installed)
+==============================================================================


success
file /boot/packages/python-yenc-0.3-i486-1alien.tgz: already exists
  upgradepkg --install-new /boot/packages/python-yenc-0.3-i486-1alien.tgz ... 
+==============================================================================
| Skipping package python-yenc-0.3-i486-1alien (already installed)
+==============================================================================


success
file /boot/packages/sqlite-3.6.23.1-i486-1.txz: already exists
  upgradepkg --install-new /boot/packages/sqlite-3.6.23.1-i486-1.txz ... 
+==============================================================================
| Skipping package sqlite-3.6.23.1-i486-1 (already installed)
+==============================================================================


success
file /boot/packages/unrar-3.9.10-i486-2alien.tgz: already exists
  upgradepkg --install-new /boot/packages/unrar-3.9.10-i486-2alien.tgz ... 
+==============================================================================
| Skipping package unrar-3.9.10-i486-2alien (already installed)
+==============================================================================


success
file /boot/packages/infozip-5.52-i486-2.tgz: already exists
  upgradepkg --install-new /boot/packages/infozip-5.52-i486-2.tgz ... 
+==============================================================================
| Skipping package infozip-5.52-i486-2 (already installed)
+==============================================================================


success
file /boot/packages/openssl-0.9.8n-i486-1.txz: already exists
  upgradepkg --install-new /boot/packages/openssl-0.9.8n-i486-1.txz ... 
+==============================================================================
| Skipping package openssl-0.9.8n-i486-1 (already installed)
+==============================================================================


success
file /boot/packages/pyopenssl-0.10-i486-2sl.txz: already exists
  upgradepkg --install-new /boot/packages/pyopenssl-0.10-i486-2sl.txz ... 
+==============================================================================
| Skipping package pyopenssl-0.10-i486-2sl (already installed)
+==============================================================================


success
file /boot/packages/par2cmdline_tbb-0.4-i486-1kh.tgz: already exists
  upgradepkg --install-new /boot/packages/par2cmdline_tbb-0.4-i486-1kh.tgz ... 
+==============================================================================
| Skipping package par2cmdline_tbb-0.4-i486-1kh (already installed)
+==============================================================================


success
file /boot/config/plugins/sabnzbd/sabnzbd.png: already exists
file /tmp/sabnzbd-cleanup: successfully wrote INLINE file contents
  /bin/bash /tmp/sabnzbd-cleanup ... success
file /boot/config/plugins/sabnzbd/sabnzbd.cfg: already exists
file /etc/rc.d/rc.sabnzbd: successfully wrote INLINE file contents
  successfully changed file mode
file /usr/local/emhttp/plugins/sabnzbd/sabnzbd.page: successfully wrote INLINE file contents
file /usr/local/emhttp/plugins/sabnzbd/sabnzbd.png: successfully copied LOCAL file
file /usr/local/emhttp/plugins/sabnzbd/sabnzbd.php: successfully wrote INLINE file contents
file /usr/local/emhttp/plugins/sabnzbd/event/disks_mounted: successfully wrote INLINE file contents
  successfully changed file mode
file /usr/local/emhttp/plugins/sabnzbd/event/unmounting_disks: successfully wrote INLINE file contents
  successfully changed file mode
file /tmp/sabnzbd-install: successfully wrote INLINE file contents
  /bin/bash /tmp/sabnzbd-install ... success
file /var/log/plugins/sabnzbd: already exists
plugin successfully installed

 

Correct me if I'm wrong, but I think everything went ok there.

 

At that point I typed the following code "ls -l /usr/local/sabnzbd/":

 

/bin/ls: cannot access /usr/local/sabnzbd: No such file or directory

 

This is probably a problem...

 

Here are the results when I type "ls -l /var/run/":

 

total 52
-rw-r--r-- 1 root   root     5 Apr 15 01:14 acpid.pid
srw-rw-rw- 1 root   root     0 Apr 15 01:14 acpid.socket=
-rw-r--r-- 1 root   root     5 Apr 15 01:14 atd.pid
drwxr-xr-x 2 avahi  avahi    0 Apr 15 01:20 avahi-daemon/
-rw-r--r-- 1 root   root     6 Apr 15 01:20 avahi-dnsconfd.pid
drwxrwxrwx 2 nobody users    0 Apr 15 01:14 couchpotato/
drwxr-xr-x 2 root   root     0 Apr 15 01:14 dbus/
-rw-r--r-- 1 root   root     5 Apr 15 01:14 inetd.pid
-rw-r--r-- 1 root   root     4 Apr 15 01:14 klogd.pid
drwxr-xr-x 2 root   root     0 Nov 20  2008 nscd/
-rw-r--r-- 1 root   root     4 Apr 15 01:14 ntpd.pid
-rw------- 1 root   root    74 Apr 15 01:14 portmap_mapping
-rw-r--r-- 1 root   root     5 Apr 15 01:14 rpc.statd.pid
drwxrwxrwx 2 nobody users    0 Apr 15 01:14 sabnzbd/
drwxrwxrwx 2 nobody users    0 Apr 15 01:14 sickbeard/
-rw------- 1 root   root     5 Apr 15 01:14 sm-notify.pid
-rw-r--r-- 1 root   root     4 Apr 15 01:14 syslogd.pid
-rw-r--r-- 1 root   root     5 Apr 15 01:14 unmenu.pid
-rw-rw-r-- 1 root   utmp  4224 Apr 15 11:41 utmp

 

Looks ok to me there.

 

Thanks for all your help. Total unraid/linux newbie here, and I really do appreciate the help!

 

- Greg

Ok, if I'm not mistaken sabnzbd doesn't actually download until the first time you enable it, which as long as I understand correctly you tried to do and it never loaded.

 

In telnet type

/etc/rc.d/rc.sabnzbd install

 

post the output to make sure everything goes smoothly, then try the other command again:

ls -l /usr/local/sabnzbd/

 

If files appear in that directory, you should be able to start sabnzbd. You can go to the config page and try to enable sabnzbd again.

Here are the results:

 

/etc/rc.d/rc.sabnzbd install
installing latest Version (0.6.15)

 

ls -l /usr/local/sabnzbd/
total 604
-rw-r--r-- 1 nobody users   2270 Apr 15 16:56 ABOUT.txt
-rw-r--r-- 1 nobody users  53372 Apr 15 16:56 CHANGELOG.txt
-rw-r--r-- 1 nobody users   1071 Apr 15 16:56 COPYRIGHT.txt
-rw-r--r-- 1 nobody users  17990 Apr 15 16:56 GPL2.txt
-rw-r--r-- 1 nobody users  35147 Apr 15 16:56 GPL3.txt
-rw-r--r-- 1 nobody users   5335 Apr 15 16:56 INSTALL.txt
-rw-r--r-- 1 nobody users   4268 Apr 15 16:56 ISSUES.txt
-rw-r--r-- 1 nobody users    311 Apr 15 16:56 PKG-INFO
-rw-r--r-- 1 nobody users    935 Apr 15 16:56 README.txt
-rw-r--r-- 1 nobody users   5316 Apr 15 16:56 SABHelper.py
-rwxr-xr-x 1 nobody users  62010 Apr 15 16:56 SABnzbd.py*
-rw-r--r-- 1 nobody users    421 Apr 15 16:56 Sample-PostProc.cmd
-rwxr-xr-x 1 nobody users    433 Apr 15 16:56 Sample-PostProc.sh*
drwxr-xr-x 5 nobody users      0 Apr 15 16:56 cherrypy/
drwxr-xr-x 2 nobody users      0 Apr 15 16:56 email/
drwxr-xr-x 2 nobody users      0 Apr 15 16:56 gntp/
drwxr-xr-x 7 nobody users      0 Apr 15 16:56 interfaces/
drwxr-xr-x 2 nobody users      0 Apr 15 16:56 licenses/
drwxr-xr-x 9 nobody users      0 Apr 15 16:56 locale/
-rw-r--r-- 1 nobody users  96689 Apr 15 16:56 nzb.ico
drwxr-xr-x 5 nobody users      0 Apr 15 16:56 po/
drwxr-xr-x 3 nobody users      0 Apr 15 16:56 sabnzbd/
-rw-r--r-- 1 nobody users 287934 Apr 15 16:56 sabnzbd.ico
drwxr-xr-x 2 nobody users      0 Apr 15 16:56 tools/
drwxr-xr-x 2 nobody users      0 Apr 15 16:56 util/

 

Still unable to enable Sabnzbd.

 

Thanks for the help. Any other thoughts?

Try enabling via telnet and see if any errors pop up.

 

/etc/rc.d/rc.sabnzbd enable

 

If it gets stuck not loading(you don't get the # sign back) you can CTRL+C to stop it.

Ok thanks for the help. I had to go out for a few hours, but I'll try when I get home and post the results here. Thanks again.

 

- Greg

Does anyone know where I'd find the autoProcessTV.cfg.sample file? Had a look but cannot find it in either the sickbeard install or data directory :(

Just looked, its in (installdir)/sickbeard/autoprocesstv/  . On a regular default install it would be:

/usr/local/sickbeard/autoprocesstv/

eh I dont know how to find that file. if i look in tower I have disk 1 - 4 flash and printer. I checked every file but can't see it.

just type this into telnet:

cp /usr/local/sickbeard/autoProcessTV/autoProcessTV.cfg.sample /boot/autoProcessTV.cfg

 

make sure to get the capitalization exactly as I have it. You can copy/paste it(paste to putty is just right click in the window)

 

That will put it in the root of your flash share. From there you can move it wherever you need

apparently there is no such file or directory :S

did you change the install directory? If its the default directory than thats where it is(I tested it here to make sure), if not you need to replace the path with your install directory.

 

Otherwise, run

/etc/rc.d/rc.sickbeard install

 

and try the code above again

well, I reinstall with that command and tried again but it says the same thing. I just want to know how to access the autoprocessTV.cfg.sample so I can change it to the correct form. I don't understand why it doesn't appear with the other sickbeard files?

I'm not sure, I've deleted my install and re-installed, and it shows up exactly where I'm pointing you to.

 

You never answered before if you changed the install directory in the config.

 

Regardless, here's the copy of it, you can edit it and place it where its needed.

 

http://dl.dropbox.com/u/1574928/autoProcessTV.cfg

 

I just want to know how to access the autoprocessTV.cfg.sample so I can change it to the correct form. I don't understand why it doesn't appear with the other sickbeard files?

 

Those commands would let you know if its there or not, and the re-install would put it there just in case it got deleted for some reason. If the directory isn't found then the install directory must be different, I was giving you the commands for the default install directory

I didnt change the install dir. I check and it actually says the install dir. is usr/local/sickbeard. I dont know Ill leave it for now and try again later

Definitely odd that its not showing up then. Either way that link I posted is a copy of the autoProcessTV.cfg, you can put it anywhere and point sabnzbd to it or put it in the sabnzbd scripts folder(data dir).

After some mucking around I downloaded the windows sickbeard version and installed it. I dragged the AutoprocessTV file over to my unraid server and and linked sab to the folder I placed it in on the folders config page. When I go to categories and the dropdown menu for scripts sab recognises the files!!! I have a few to choose from:

 

autoProcessTV.cfg

autoProcessTV.py

hellatoSickBeard.py

sabtosickbeard.exe

sabtosickbeard.py

 

Which one should i use?

After typing in "/etc/rc.d/rc.sabnzbd enable" I received the following code:

 

/etc/rc.d/rc.sabnzbd: line 86: [: ==: unary operator expected
/etc/rc.d/rc.sabnzbd: line 90: [: nobody: unary operator expected
Starting sabnzbd:  sudo -u  python /SABnzbd.py -d -s 0.0.0.0: --config-file  --pid /var/run/sabnzbd > /dev/null 2>&1sudo: unknown user: python

 

I then had to CTRL+C to stop it.

 

Thanks again for helping me solve this.

 

EDIT:  I thought I would add that whenever I do attempt to enable Sabnzabd, My syslog displays "root : unknown user: python"

 

- Greg

Has anybody updated CouchPotato to use the newer, CPS (CouchPotato Server)?  Since RuudBurger has stopped development on the older version I thought it about time I move over to the new one...

I am having an issue with Sickbeard post processing where it will use the root user account to move/rename the files and then I am unable to view them unless I chmod everything. Is the best way around this to change the permissions that sickbeard uses for post processing (would this cause any other issues for it?) or to set my unraid user share to show both files for nobody and root? I looked and searched and didn't see anything so my apologies if this has been answered before.

Do you have sickbeard set to run as nobody?

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.