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

Is there a place you're hosting these plugins so I can tell if I've got the latest one? I'm using the ones from google code, but you seem to update them in this thread and there's no changelog in them!

 

I also had to add this to start() for sickbeard:

 

   if [[ ! -e "/var/log/sickbeard" ]]; then
        mkdir /var/log/sickbeard
        chown $RUNAS:users /var/log/sickbeard
    fi

 

Or it bombed out with an error that it couldn't write to the log.

 

Good work though!

 

Did you change sickbeard to write the logs to there? It shouldn't be trying to write anything to that directory. At the very least, it should look for /var/log/plugins/sickbeard, which is created when the plug-in installs.

 

My whole sickbeard config came from my previous unmenu package version of this, so I expect that's where the setting comes from. I didn't see the plugin trying to set the log folder, so i'll update it to write to the "proper" place.

 

Edit: After having a proper look at it:

  • The plugin creates a file called /var/log/plugins/sickbeard
  • The plugin doesn't tell SickBeard where to put the logs at any time
  • SickBeard config has a line that specifies the directory for the log, mine says: log_dir = /var/log/sickbeard
  • I don't know where the logs go by default (if you don't specify a log_dir)

 

Can you have a quick check where your log file is and what your config.ini says please?

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

On a separate note: Why isn't the master branch of Sab on github used like the other two, instead of asking what the latest packed up version is and downloading using that method?

 

It's wouldn't be much effort copying and pasting

Ok, let's see if I can address these real quick, :) . If I miss someone's question I will get to it, just using my phone so I can't see all the questions when replying.

 

Hilly, you definitely have some permission issues. The code I posted was an example, you might have to modify it for your directories. In linux, you.have to use the forward slash  to escape any spaces or illegal characters. With normal use a space should be the only thing you need to escape.

 

Skank, dropbox is creating top level folders. By design unraid creates user shares for all top level folders. If the folders are on cache and you do not want them on your array, you can go in the GUI and make them cache only shares, and can delete the folders from your array. You.can also set it to not export the shares so you don't see them on any networked pc.

 

Mike, the plugin doesnt use the same code right now. It use to get the latest release and download that but SourceForge has been messed up lately so in the temp fix sabnzbd_hardcoded.plg it is coded to download 0.7.0 only until a fix can be put in. Since there are no betas or any other new release, this is fine for now and bought a little time. It will be addressed. Other than that we have used their released source as its a bit more elegant than pulling the code from git. A release is generally tested, they can accidentally push broken code to git. Then I'd have a whole other set of questions to try and answer on here!

 

I have, however, thought about doing it this way, I've talked to the Sab devs and they use git the way it was designed so the master branch should be safe, bar any accidental pushes.

 

I think that's all, will get to any remaining questions when I can! Feel free to pm me if I have missed yours

 

Sent from my HTC Vivid

Ok I did miss a few. I looked into dropbox and it indeed runs as root, so Sab will not be able to access that folder. In order for Sab to work seemlessly and you have access to what you download Sab should be ran as nobody. It looks like they are close to a fix in the dropbox thread.

 

Mike, if you don't set a log directory, it will use your data directory by default. It's not hurting anything with the code you added, I have done the same myself, although manually. Keeping the log off the data directory drive will allow the drive to spin down, permitting no other app is writing to the drive, for logs or otherwise. Couchpotato seems to be the only app that writes often enough to its log to keep the drive from spinning down.

 

Sent from my HTC Vivid

With sab and dropbox:

 

Im still having permissions problems although i fiexd it, and the fact i have to reactivate my dropbox every time...

Mike, the plugin doesnt use the same code right now. It use to get the latest release and download that but SourceForge has been messed up lately so in the temp fix sabnzbd_hardcoded.plg it is coded to download 0.7.0 only until a fix can be put in. Since there are no betas or any other new release, this is fine for now and bought a little time. It will be addressed. Other than that we have used their released source as its a bit more elegant than pulling the code from git. A release is generally tested, they can accidentally push broken code to git. Then I'd have a whole other set of questions to try and answer on here!

 

I have, however, thought about doing it this way, I've talked to the Sab devs and they use git the way it was designed so the master branch should be safe, bar any accidental pushes.

 

I made the 0.7.0 fix myself before I found your thread, but just thought as the other two plugins use git to get a master branch that could have accidental bugs in too they'd all be in the same boat.

 

The way we keep a guaranteed stable branch is to have a branch called tags and just catchup from the master every time we have a stable/tested version. Could suggest this to the sab dev's if you're already in conversation with them :)

I could suggest it, and although yes the others could have the accidental bug but thats why we used the official releases. I may just move to git anyway, they have assured me it stays stable.

Sent from my HTC Vivid

On my netbook, the lower part of Sabnzbd settings page looks like this:

 

HNbt9.png

 

The white border ruins it, as it's not possible to scroll down enough to see the submit buttons.

What were the labels on those two buttons again?

 

Apply and cancel I believe

 

Sent from my HTC Vivid

Influencer, you gonna take a look at dropbox plugin tomorrow? So i can combine with sabnzb, cause now i have permissions problems and i need to reactivate dropbox every time

The power went out the other night, and ever since then I've been having troubles.  First sickbeard couchpotato and sab wouldn't start.  They would cause the server to hang.  So i got the latest files from github and installed them.  Now however it says none of them are installed, and when i press the install button nothing happens.  And when I change the settings then hit enable, the page hangs.  So when I refresh all the settings i changed go back to their defaults and its not running.

 

Jul  2 14:50:53 Tower sudo:     root : TTY=console ; PWD=/tmp ; USER=nobody ; CO
MMAND=/usr/bin/python /usr/local/sickbeard/SickBeard.py --daemon --port 8081 --c
onfig --datadir /mnt/cache/.programs/sickbeard --pidfile /var/run/sickbeard/sick
beard.pid 2>&1 >/dev/null
Jul  2 14:55:33 Tower sudo:     root : TTY=console ; PWD=/tmp ; USER=nobody ; CO
MMAND=/usr/bin/python /usr/local/sabnzbd/SABnzbd.py --daemon --server 0.0.0.0:80
82 --config-file /mnt/cache/.programs/sabnzbd --pid /var/run/sabnzbd/ 2>&1 >/dev
/null

 

i have this exact issue and circumstances. the only other potential impact is that I was trying to install the latest utorrent plugin, with limited success. not sure if it messed something up as well.

 

i enable the plugin and the page hangs with the following text at the bottom:

 

Starting SABnzbd: sudo -u nobody python /mnt/user/app_cache/sabnzbd/SABnzbd.py --daemon --server 0.0.0.0:8081 --config-file /mnt/user/app_cache/sabnzbd --pid /var/run/sabnzbd/ 2>&1 >/dev/null

 

I fixed this by downloading the latest build directly from sabnzbd's website and unpacking to the install directory i have setup under /mnt/user/app_cache/sabnzbd and it runs perfectly. it doesn't even cause my array to hang on reboot (so neener neener).

Use the dropbox plugin in the wiki repository and not the WW version.....

 

Works great for me and am using Sab also....

 

Myk

 

 

Influencer, you gonna take a look at dropbox plugin tomorrow? So i can combine with sabnzb, cause now i have permissions problems and i need to reactivate dropbox every time

The Couch potato seems to hang when starting up... Sab is all good and installed on the same device where couch potato is at...not sure what I've done wrong..

 

i will add screenshots once I get home from work to be more clear

Sorry I've been absent here lately, works been hectic. I will be addressing these issues soon. Hoping to take care of the hanging issues first, then move onto other issues. If the people experiencing these hangs would pm me their system and install details it would help greatly so I don't have to dig through the thread when I have time to work on it.

 

Unraid version and license level, system specs, installed plugins, where install and data directories are set to, and brief explanation of the issue.

 

I understand many have posted this info before, but this is a very active thread and posts get buried quickly!

 

Sent from my HTC Vivid

My problem (that got buried fast yikes) was solved, after reading a bunch of pages in this thread.  First I downloaded the plg's from Influencers post on pg 72, then installed those using "installplg blah.plg".  I then used the instructions on page 75 i believe which were to install it manually via "/etc/rc.d/rc.sabnzbd install".  After that I went to my settings and enabled them all, and everything is up and running perfectly again. 

The manual install isnt working for me.  I get the following error:

 

 

Installing latest version of CouchPotato v2...

git: /usr/lib/libz.so.1: no version information available (required by git)

Cloning into CouchPotatoServer...

git-remote-https: /usr/lib/libz.so.1: no version information available (required by git-remote-https)

error: error setting certificate verify locations:

  CAfile: /usr/share/curl/curl-ca-bundle.crt

  CApath: none

while accessing https://github.com/RuudBurger/CouchPotatoServer/info/refs

 

fatal: HTTP request failed

cp: cannot stat `/tmp/CouchPotatoServer/*': No such file or directory

... OK

 

 

 

UPDATE: I dunno if this is related, but I upped the allocated memory of the vm to 8GB and everything started up fine.

 

Where did you download your plug-in from

I d/led the plugins from page 72, but everything seems to be fine now.  We'll see after I reboot again, but after upping the allocated memory on my unRaid vm to 8GB, all three plugins installed instead of just sabnzbd.

quick update - things seem to be working, just dont ask me how we got there? Some of my issues with some of my command lines were down to not taking ultra care about capitol letters etc so i have gone back into windows and made my folders all lower case with no spaces - as i know next time i will forget !

 

Still got some odd permissions issues, tried to move a folder from my backup server to my main one and got the need permission error, copied it to another share on that machine and it worked fine, then just moved it from one share to the other inside the server .... a pain but i think it will work out fine. What i did notice is the owner of the files was me:user rather than nobody:user so managed to do some changes but i do not know if this is because i get into sab etc from simple features and i get into simple features as root .... is this where the possible error is coming from? should i just log into the web front end of these apps (i have no user name and password set as only i can get at this box). I also had shares activated on the cache drive and this seemed to be adding to my problems as lots of shares seemed to be coming about, i deactivated it so i only get things in the folders i have defined

 

So maybe tonight i will be brave and do a reboot ..... and then maybe i wont ! its taken me a few weeks to get there but with a lot of help we kind of got there  8)

Anytime you add a directory or file from your windows box or telnet it will change ownership.

 

Anyway I'm glad you got it working, if you need anymore help just ask

 

Sent from my HTC Vivid

Looking forward to a fixed SAB plugin :)

Looking forward to a fixed SAB plugin :)

 

Same here. :)

Anytime you add a directory or file from your windows box or telnet it will change ownership.

 

Anyway I'm glad you got it working, if you need anymore help just ask

 

Sent from my HTC Vivid

 

Where do we get the plugins now? I just downloaded the latest Sickbeard/SABnzbd plugins from WW's github and they are no longer starting/stopping with the array correctly.

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.