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

Im aware Couchpotato cannot be updated, but is there a way to make it know which version it's running, without updating? It currently stays at UNKNOWN.

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

Im aware Couchpotato cannot be updated, but is there a way to make it know which version it's running, without updating? It currently stays at UNKNOWN.

 

just did a test.

 

open "DATADIR/cache/updates/history.txt" and remove all lines

then add this line:

RuudBurger-CouchPotato-1d99335.tar.gz

 

after restarting couchpotato, there should be no longer an update info.

i'll have a look at my installer script to do this automatically, until the updater bug is fixed.

That has done the trick, good find Benni. Will look forward to future updates.

@Benni

 

First off, thanks for working with me to resolve my problems. Changing the host to 0.0.0.0 fixed things perfectly.

 

I have now tried to set the server to a fixed IP address so I can set up portforwarding on my router to enable external access. I did this by editing the network.cfg file in the /boo/config directory, changing DHCP to no and setting the parameters below;

 

IP ADDR=192.168.0.100

SUBNET MASK=255.255.255.0

GATEWAY=192.168.0.1 (my routers IP address)

 

FYI - these are the details I get when typing "ifconfig" into the console when running with DHCP on.

 

However, with the above settings none of he packages seem to want to start! I did manage to get couchpotato started by changing its install dir from the default RAMDRIVE location to a physical hard drive but couchpotato couldnt access the net at all. I wonder if this is something to do with the GATEWAY address I specified above or are the more file I need to edit to specify a fixed IP address?

 

Once again, thanks for helping.

  • Author

That has done the trick, good find Benni. Will look forward to future updates.

 

just uploaded version 0.5 of the plugin. (see first post)

 

it has an extra install button, which you can use to reinstall or update couchpotato. (the button is only visible, when couchpotato isn't running)

also now the settings get saved without enabling the plugin.

 

let me know, if something doesn't work :)

 

@Benni

 

First off, thanks for working with me to resolve my problems. Changing the host to 0.0.0.0 fixed things perfectly.

 

I have now tried to set the server to a fixed IP address so I can set up portforwarding on my router to enable external access. I did this by editing the network.cfg file in the /boo/config directory, changing DHCP to no and setting the parameters below;

 

IP ADDR=192.168.0.100

SUBNET MASK=255.255.255.0

GATEWAY=192.168.0.1 (my routers IP address)

 

FYI - these are the details I get when typing "ifconfig" into the console when running with DHCP on.

 

However, with the above settings none of he packages seem to want to start! I did manage to get couchpotato started by changing its install dir from the default RAMDRIVE location to a physical hard drive but couchpotato couldnt access the net at all. I wonder if this is something to do with the GATEWAY address I specified above or are the more file I need to edit to specify a fixed IP address?

 

Once again, thanks for helping.

 

you should edit your network config from the unraid webgui (to make sure you edited every necessary variable).

as far as i see, you didn't setup a dns server. set it to the same ip as your router and your network should work again.

 

without setting a dns server, your unraid doesn't know which ip is behind a url, so it doesn't know how to connect to any server.

when using dhcp, the dns server adress was set automatically.

@Benni

 

I was thinking it could be a DNS issue but since i didn't see an entry for it in the .cfg file I assumed it was getting the dns info from somewhere else. Gonna give that a try now.

 

A couple more questions for you;

 

I want to keep a permanent record of the settings so I don't need to keep re-configuring the apps on each server reboot and I've figured out how to do that by storing the config files on the flash drive, specifying "/boot/config/SABnzbd" etc as the Data dir in the plugin.

 

Now this has got me thinking about the install DIR. Should I stick with the default RAMDRIVE location for speed or is it considered 'best practice' to install to either one of the hard drives or the Flash drive. And what would the speed implications of each option be?

 

I have a 4Gig Flash drive so its got plenty of free space on it and I am guessing its fairly reliable as a means of storage, at least I imagine it to be more reliable than a hard drive?

 

However, I only have the stock 1Gig of RAM in my HP ProLiant Microserver so I am wondering if I should NOT install the apps to RAM so as to preserve RAM for the OS.

 

Whats you opinion on the above???

  • Author

installing the apps to the ram disk should not have an recognizable impact on the RAM for the OS. the apps are small enough (a few MBs)...

but of course you can install them to any other location.

 

but i would advise to not install to your unraid usb stick. every usb stick has a limited number of writes. so installing apps on the usb stick (and more important the datadir, where the logs are saved) will cause a lot of writes to the stick and shorten its life. (it would probably still work for several years, but better safe than sorry :) )

 

if you don't have a cache drive or (like me) an extra hdd for apps, i would advise to set the datadirs (and/or the installdirs) to a folder on your array.

(or use an extra usb stick for those apps, but i personally would not use the unraid usb stick.)

 

installing the app to an hdd or to the ramdisk should not impact on any speeds, but if the apps run from ramdisk, your hdds could spin down. it would be possible, that one of those apps would keep a drive spinning.

Hi Benni,

 

Just wanted to provide some feedback on your latest plugins, as I'm having one or two problems.

 

I currently have the existing unMenu plugins for both sabnzbd and sickbeard installed (thanks prostuff), and wanted to give your new style plugins a try.

I therefore stopped the unMenu plugins from installing at boot, and copied your plugins into /boot/config/plugins directory.

 

I then rebooted my system, and sure enough, your plugins installed, and appeared under the settings menu.

 

My old sabnzbd and sickbeard installations were in /mnt/cache/.sabnzbd and /mnt/cache/.sickbeard respectively.

Sickbeard was downloading to /mnt/media/sickbeard-downloads, and sabnzbd was choosing it's destination directory based on category, or /mnt/cache/.sabnzbd/downloads if none was specified.

 

With your plugins installed, I proceeded to change the installdir and the datadir in the GUI to point at my installs.

For sabnzbd, I pointed it at /mnt/cache/.sabnzbd for both. I then clicked apply, followed by done.

When I went back into the GUI, the changes appeared to have been made, so I tried to start the service. The GUI showed that it was started, but nothing worked.

When I checked on the config file in /boot/config/plugins/sabnzbd it was still pointing at the defaults.

 

I then tried to do the same for sickbeard, and pointed it at /mnt/cache/.sickbeard for both, and still the changes wouldn't stick.

 

I then changed the .cfg files manually, and tried to reboot the system. At this point, something strange has obviously happened, as the system wouldn't reboot, and appeared to have hung on emhttp_event processes connected with sabnzbd. I'm guessing that this is something to do with getting a clean shutdown of the services so that the array can stop nicely. However, this process fails badly when the state for sabnzbd is wrong. As far as your plugin was concerned, sabnzbd was running (this is what is showed in the GUI). However, no sabnzbd processes existed at this time. I had to kill the emhttp_event process for the array to stop.

 

I've also discovered that if the datadir path is incorrect for sabnzbd, e.g. I had mistyped /mnt/cache/.sabnzbd as /mnt/cache/.sabazbd, then I see the following error on the console:

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

 

I'm suspecting that a similar error would occur in the sickbeard script.

 

Upon reboot, sabnzbd did come, and appeared to work correctly. However, sickbeard did not. There were some errors on the console to do with run_cmd, but I didn't manage to capture them. Will try this again, though, when I've got some more time.

 

For now, I've gone back to using my old unMenu plugins, but I'd really appreciate your feedback on what has gone wrong here.

I'm certain that your plugins work nicely if you are doing a fresh install, but I'm not having much luck with adding an existing configuration.

 

Thanks,

 

Andy.

 

 

  • Author

@Bagpuss: thanks for the feedback.

I think you fell for a typical problem, these plugins have. the settings only get saved when enabling the plugin at the same time. (will be changed in the next version, probably coming today.)

 

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

this is a bug, a little typo, which will also be fixed. But it shouldn't disturb the usage of the plugin.

 

your reboot problem could have been this: there was already a sabnzbd running (at the new install location, since the directory change didn't work). then you changed the install location in the config file manually. (sabnzbd probably still running).

now you try to restart the server, so unraid (with my plugin) tries to stop sabnzbd. the plugin tires to read the config file from sabnzbd to get the api key for a clean shutdown of the app. since you changed the folder in the config file, the wrong api key was read and sabnzbd couldn't be shutdown.

there should be a failsafe, that if sabnzbd is still running after 15 seconds or so (have to check), it should have been killed. (will check this again)

(during this period, unraid can seem to hang but should come to life again after those few seconds. as i said, i'll have a look at it)

 

for your sickbeard problem, i really need those error messages, otherwise i'm in the dark ;)

@Bagpuss: thanks for the feedback.

I think you fell for a typical problem, these plugins have. the settings only get saved when enabling the plugin at the same time. (will be changed in the next version, probably coming today.)

 

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

this is a bug, a little typo, which will also be fixed. But it shouldn't disturb the usage of the plugin.

 

your reboot problem could have been this: there was already a sabnzbd running (at the new install location, since the directory change didn't work). then you changed the install location in the config file manually. (sabnzbd probably still running).

now you try to restart the server, so unraid (with my plugin) tries to stop sabnzbd. the plugin tires to read the config file from sabnzbd to get the api key for a clean shutdown of the app. since you changed the folder in the config file, the wrong api key was read and sabnzbd couldn't be shutdown.

there should be a failsafe, that if sabnzbd is still running after 15 seconds or so (have to check), it should have been killed. (will check this again)

(during this period, unraid can seem to hang but should come to life again after those few seconds. as i said, i'll have a look at it)

 

for your sickbeard problem, i really need those error messages, otherwise i'm in the dark ;)

 

Hi Benni,

 

Thanks for getting back to me. Sounds very much like what happened. Wasn't enabling the service at the same time as editing the values. Lesson learned.

Likewise for the shutdown hang. There was mention of the incorrect API key on the console. It definitely didn't recover after 15 seconds, though. I left it for at least 5 minutes before killing the process.

 

One question I did still have. What is the purpose of the data dir?

 

Is this to allow the sabnzbd/sickbeard binaries to live in one location, and then have the config files in another?

I'm assuming that this does not have any bearing on where this apps store files/TV that they download.

 

For each app, what files/directories are split off into the data dir?

 

Thanks,

 

Andy.

 

  • Author

One question I did still have. What is the purpose of the data dir?

 

Is this to allow the sabnzbd/sickbeard binaries to live in one location, and then have the config files in another?

I'm assuming that this does not have any bearing on where this apps store files/TV that they download.

 

For each app, what files/directories are split off into the data dir?

 

Yes, that's correct. You can install the app to one directory (per default on the ramdisk) and have all config files and databases of the app in the datadir on one of your harddrives.

(if you don't setup a datadir (untick the checkbox), all those config files will be written to the installdir)

 

this is what each app saves to the datadir:

SABnzbd:

configfile (sabnzbd.ini)

log files (in logs subdirectory)

databases (in admin subdirectory) (this is your download list, rss_feed data, postprocessing logs etc.)

 

Sickbeard:

configfile (config.ini)

log files (in Logs subdirectory)

database (sickbeard.db, cache.db)

cache (in cache subdirectory) (these are the images and metadata from thetvdb)

 

i also copied my autoProcessTV directory into this folder, so any changes i make on the postprocess script will be kept after a server reboot.

 

Couchpotato:

configfile (config.ini)

log files (in logs subdirectory)

database (data.db)

cache (in cache subdirectory) (these are images, meta data, etc.)

One question I did still have. What is the purpose of the data dir?

 

Is this to allow the sabnzbd/sickbeard binaries to live in one location, and then have the config files in another?

I'm assuming that this does not have any bearing on where this apps store files/TV that they download.

 

For each app, what files/directories are split off into the data dir?

 

Yes, that's correct. You can install the app to one directory (per default on the ramdisk) and have all config files and databases of the app in the datadir on one of your harddrives.

(if you don't setup a datadir (untick the checkbox), all those config files will be written to the installdir)

 

this is what each app saves to the datadir:

SABnzbd:

configfile (sabnzbd.ini)

log files (in logs subdirectory)

databases (in admin subdirectory) (this is your download list, rss_feed data, postprocessing logs etc.)

 

Sickbeard:

configfile (config.ini)

log files (in Logs subdirectory)

database (sickbeard.db, cache.db)

cache (in cache subdirectory) (these are the images and metadata from thetvdb)

 

i also copied my autoProcessTV directory into this folder, so any changes i make on the postprocess script will be kept after a server reboot.

 

Couchpotato:

configfile (config.ini)

log files (in logs subdirectory)

database (data.db)

cache (in cache subdirectory) (these are images, meta data, etc.)

 

Thanks for the information. That's what I thought, but just wanted to be sure.

 

 

New to unRaid, and am having trouble getting any plugins to work.

 

I don't have a cache disk so tried installing it to both the default location and /mnt/disk1/SABnzbd and no luck.

 

Here is the message I get.

 

Starting sabnzbd: sudo -u nobody python /mnt/disk1/SABnzbd/SABnzbd.py -d -s 0.0.0.0:8080 --config-file /mnt/disk1/SABnzbd --pid /var/run/sabnzbd > /dev/null 2>&1

 

Any ideas?  I run into the same issue with SickBeard. I imagine its something simple, but I  couldn't find a solution in this thread.

  • Author

that message is the normal starting message...

i guess sabnzbd isn't running afterwards?

 

please check, if the folder /mnt/disk1/SABnzbd was created and the sabnzbd files are inside of it.

if there is a log file inside the sabnzbd folder, check if there is an error message.

 

also you could try to enter this command yourself and check for error messages: sudo -u nobody python /mnt/disk1/SABnzbd/SABnzbd.py -d -s 0.0.0.0:8080 --config-file /mnt/disk1/SABnzbd --pid /var/run/sabnzbd > /dev/null 2>&1

 

btw. i would suggest to use /mnt/disk1/apps/SABnzbd (since every folder on the top level of a disk is seen as a user share (if user shares are activated)).

Re-posting here:

 

I am having a heck of a time getting downloads from SABnzbd/Sickbeard working with the correct permissions.  I am using the plugins, as root (the only way I can get them to launch), and am finding the downloads are coming in as root:root with -rw--rw-----, which wont allow XBMC or VLC to play them.  I am having to edit them manually, which is wearing me out.

 

I have done the change to 777 in SABnzbd folders area, and tried a bunch of other things (reinstalling plugins after repairing permissions, etc), but am having no luck.  Has anyone found a solution to this?  I'd be happy to launch the plugins as nobody, but they only start as root; maybe thats the problem I should try to fix?

 

Help..?  (And thanks in advance).

 

Edit:  I also remember being unable to chown the plugins from root to nobody (which I thought would help).  Is that the "root" of the issue so to speak (the plugins installing as root, and then only being able to run as root)? 

Hello,

 

After installing the three scripts and reboot the tower, when i want to access to sabnzbd (http://192.168.1.16:8081/home/), i've got the error:

 

500 Internal Server Error

The server encountered an unexpected condition which prevented it from fulfilling the request.

Traceback (most recent call last):
  File "/usr/local/sickbeard/cherrypy/_cprequest.py", line 660, in respond
    response.body = self.handler()
  File "/usr/local/sickbeard/cherrypy/lib/encoding.py", line 193, in __call__
    self.body = self.oldhandler(*args, **kwargs)
  File "/usr/local/sickbeard/cherrypy/_cpdispatch.py", line 25, in __call__
    return self.callable(*self.args, **self.kwargs)
  File "/usr/local/sickbeard/sickbeard/webserve.py", line 1804, in index
    t = PageTemplate(file="home.tmpl")
  File "/usr/local/sickbeard/sickbeard/webserve.py", line 62, in __init__
    super(PageTemplate, self).__init__(*args, **KWs)
  File "/usr/lib/python2.6/site-packages/Cheetah/Template.py", line 1259, in __init__
  File "/usr/lib/python2.6/site-packages/Cheetah/Template.py", line 1553, in _compile
  File "/usr/lib/python2.6/site-packages/Cheetah/Template.py", line 788, in compile
  File "_usr_local_sickbeard_data_interfaces_default_home_tmpl.py", line 21, in <module>
ImportError: No module named DummyTransaction

Powered by CherryPy 3.2.0rc1 

 

What should i supposed to do?

 

Thank you

I have restarted the tower again and now, it is working!!

 

Hello,

 

After installing the three scripts and reboot the tower, when i want to access to sabnzbd (http://192.168.1.16:8081/home/), i've got the error:

 

500 Internal Server Error

The server encountered an unexpected condition which prevented it from fulfilling the request.

Traceback (most recent call last):
  File "/usr/local/sickbeard/cherrypy/_cprequest.py", line 660, in respond
    response.body = self.handler()
  File "/usr/local/sickbeard/cherrypy/lib/encoding.py", line 193, in __call__
    self.body = self.oldhandler(*args, **kwargs)
  File "/usr/local/sickbeard/cherrypy/_cpdispatch.py", line 25, in __call__
    return self.callable(*self.args, **self.kwargs)
  File "/usr/local/sickbeard/sickbeard/webserve.py", line 1804, in index
    t = PageTemplate(file="home.tmpl")
  File "/usr/local/sickbeard/sickbeard/webserve.py", line 62, in __init__
    super(PageTemplate, self).__init__(*args, **KWs)
  File "/usr/lib/python2.6/site-packages/Cheetah/Template.py", line 1259, in __init__
  File "/usr/lib/python2.6/site-packages/Cheetah/Template.py", line 1553, in _compile
  File "/usr/lib/python2.6/site-packages/Cheetah/Template.py", line 788, in compile
  File "_usr_local_sickbeard_data_interfaces_default_home_tmpl.py", line 21, in <module>
ImportError: No module named DummyTransaction

Powered by CherryPy 3.2.0rc1 

 

What should i supposed to do?

 

Thank you

Here's what I am seeing when I attempt to run the sabnzbd plugin as nobody:

 

2011-11-11 10:17:01,190::INFO::[sABnzbd:1192] Arguments = "/mnt/user/Custom/sabnzbd/SABnzbd.py", "-d", "-s", "0.0.0.0:888", "--config-file", "/mnt/user/Custom/sabnzbd", "--pid", "/var/run/sabnzbd", ">", "/dev/null", "2>&1"

2011-11-11 10:17:01,190::INFO::[sABnzbd:1205] Read INI file /mnt/user/Custom/sabnzbd/sabnzbd.ini

2011-11-11 10:17:01,192::INFO::[__init__:862] Loading data for bookmarks.sab from /mnt/user/Custom/sabnzbd/admin/bookmarks.sab

2011-11-11 10:17:01,192::INFO::[__init__:862] Loading data for rss_data.sab from /mnt/user/Custom/sabnzbd/admin/rss_data.sab

2011-11-11 10:17:01,194::INFO::[__init__:862] Loading data for totals9.sab from /mnt/user/Custom/sabnzbd/admin/totals9.sab

2011-11-11 10:17:01,195::INFO::[postproc:89] Loading postproc queue

2011-11-11 10:17:01,195::INFO::[__init__:862] Loading data for postproc1.sab from /mnt/user/Custom/sabnzbd/admin/postproc1.sab

2011-11-11 10:17:01,195::INFO::[__init__:862] Loading data for queue9.sab from /mnt/user/Custom/sabnzbd/admin/queue9.sab

2011-11-11 10:17:01,196::INFO::[__init__:862] Loading data for watched_data.sab from /mnt/user/Custom/sabnzbd/admin/watched_data.sab

2011-11-11 10:17:01,197::INFO::[downloader:194] Resuming

2011-11-11 10:17:01,198::INFO::[downloader:238] Bandwidth limit set to 1800

2011-11-11 10:17:01,215::INFO::[__init__:289] All processes started

2011-11-11 10:17:01,216::INFO::[sABnzbd:330] Web dir is /mnt/user/Custom/sabnzbd/interfaces/Plush

2011-11-11 10:17:01,216::INFO::[sABnzbd:330] Web dir is /mnt/user/Custom/sabnzbd/interfaces/smpl

2011-11-11 10:17:01,258::INFO::[sABnzbd:453] _yenc module... found!

2011-11-11 10:17:01,259::INFO::[sABnzbd:461] par2 binary... found (/usr/bin/par2)

2011-11-11 10:17:01,259::INFO::[sABnzbd:469] unrar binary... found (/usr/bin/unrar)

2011-11-11 10:17:01,259::INFO::[sABnzbd:474] unzip binary... found (/usr/bin/unzip)

2011-11-11 10:17:01,259::INFO::[sABnzbd:480] nice binary... found (/bin/nice)

2011-11-11 10:17:01,259::INFO::[sABnzbd:484] ionice binary... found (/usr/bin/ionice)

2011-11-11 10:17:01,267::INFO::[sABnzbd:489] pyOpenSSL... found (True)

2011-11-11 10:17:01,268::INFO::[sABnzbd:1352] Starting web-interface on 0.0.0.0:888

2011-11-11 10:17:01,269::INFO::[_cplogging:55] [11/Nov/2011:10:17:01] ENGINE Bus STARTING

2011-11-11 10:17:01,272::INFO::[_cplogging:55] [11/Nov/2011:10:17:01] ENGINE Started monitor thread '_TimeoutMonitor'.

2011-11-11 10:17:01,288::ERROR::[_cplogging:55] [11/Nov/2011:10:17:01] ENGINE Error in HTTP server: shutting down

Traceback (most recent call last):

  File "/mnt/user/Custom/sabnzbd/cherrypy/process/servers.py", line 75, in _start_http_thread

    self.httpserver.start()

  File "/mnt/user/Custom/sabnzbd/cherrypy/wsgiserver/__init__.py", line 1644, in start

    raise socket.error, msg

error: [Errno 13] Permission denied

 

2011-11-11 10:17:01,288::INFO::[_cplogging:55] [11/Nov/2011:10:17:01] ENGINE Bus STOPPING

2011-11-11 10:17:01,289::INFO::[_cplogging:55] [11/Nov/2011:10:17:01] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('0.0.0.0', 888)) already shut down

2011-11-11 10:17:01,297::INFO::[_cplogging:55] [11/Nov/2011:10:17:01] ENGINE Stopped thread '_TimeoutMonitor'.

2011-11-11 10:17:01,298::INFO::[_cplogging:55] [11/Nov/2011:10:17:01] ENGINE Bus STOPPED

2011-11-11 10:17:01,298::INFO::[_cplogging:55] [11/Nov/2011:10:17:01] ENGINE Bus EXITING

2011-11-11 10:17:01,298::INFO::[_cplogging:55] [11/Nov/2011:10:17:01] ENGINE Bus EXITED

2011-11-11 10:17:01,388::ERROR::[_cplogging:55] [11/Nov/2011:10:17:01] ENGINE Error in 'start' listener <bound method Server.start of <cherrypy._cpserver.Server object at 0x823650c>>

Traceback (most recent call last):

  File "/mnt/user/Custom/sabnzbd/cherrypy/process/wspbus.py", line 147, in publish

    output.append(listener(*args, **kwargs))

  File "/mnt/user/Custom/sabnzbd/cherrypy/_cpserver.py", line 90, in start

    ServerAdapter.start(self)

  File "/mnt/user/Custom/sabnzbd/cherrypy/process/servers.py", line 62, in start

    self.wait()

  File "/mnt/user/Custom/sabnzbd/cherrypy/process/servers.py", line 97, in wait

    raise self.interrupt

error: [Errno 13] Permission denied

 

2011-11-11 10:17:01,388::ERROR::[_cplogging:55] [11/Nov/2011:10:17:01] ENGINE Shutting down due to error in start listener:

Traceback (most recent call last):

  File "/mnt/user/Custom/sabnzbd/cherrypy/process/wspbus.py", line 184, in start

    self.publish('start')

  File "/mnt/user/Custom/sabnzbd/cherrypy/process/wspbus.py", line 147, in publish

    output.append(listener(*args, **kwargs))

  File "/mnt/user/Custom/sabnzbd/cherrypy/_cpserver.py", line 90, in start

    ServerAdapter.start(self)

  File "/mnt/user/Custom/sabnzbd/cherrypy/process/servers.py", line 62, in start

    self.wait()

  File "/mnt/user/Custom/sabnzbd/cherrypy/process/servers.py", line 97, in wait

    raise self.interrupt

error: [Errno 13] Permission denied

 

2011-11-11 10:17:01,388::INFO::[_cplogging:55] [11/Nov/2011:10:17:01] ENGINE Bus STOPPING

2011-11-11 10:17:01,389::INFO::[_cplogging:55] [11/Nov/2011:10:17:01] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('0.0.0.0', 888)) already shut down

2011-11-11 10:17:01,389::INFO::[_cplogging:55] [11/Nov/2011:10:17:01] ENGINE No thread running for _TimeoutMonitor.

2011-11-11 10:17:01,389::INFO::[_cplogging:55] [11/Nov/2011:10:17:01] ENGINE Bus STOPPED

2011-11-11 10:17:01,389::INFO::[_cplogging:55] [11/Nov/2011:10:17:01] ENGINE Bus EXITING

2011-11-11 10:17:01,389::INFO::[_cplogging:55] [11/Nov/2011:10:17:01] ENGINE Bus EXITED

2011-11-11 10:17:01,390::ERROR::[sABnzbd:1367] Failed to start web-interface:

Traceback (most recent call last):

  File "/mnt/user/Custom/sabnzbd/SABnzbd.py", line 1359, in main

    cherrypy.engine.start()

  File "/mnt/user/Custom/sabnzbd/cherrypy/process/wspbus.py", line 184, in start

    self.publish('start')

  File "/mnt/user/Custom/sabnzbd/cherrypy/process/wspbus.py", line 147, in publish

    output.append(listener(*args, **kwargs))

  File "/mnt/user/Custom/sabnzbd/cherrypy/_cpserver.py", line 90, in start

    ServerAdapter.start(self)

  File "/mnt/user/Custom/sabnzbd/cherrypy/process/servers.py", line 62, in start

    self.wait()

  File "/mnt/user/Custom/sabnzbd/cherrypy/process/servers.py", line 97, in wait

    raise self.interrupt

error: [Errno 13] Permission denied

2011-11-11 10:17:01,391::ERROR::[sABnzbd:300] Failed to start web-interface : [Errno 13] Permission denied

2011-11-11 10:17:01,391::INFO::[__init__:325] SABnzbd shutting down...

2011-11-11 10:17:01,391::INFO::[__init__:838] Saving data for bookmarks.sab in /mnt/user/Custom/sabnzbd/admin/bookmarks.sab

2011-11-11 10:17:01,391::INFO::[urlgrabber:70] URLGrabber shutting down

2011-11-11 10:17:01,392::INFO::[__init__:838] Saving data for watched_data.sab in /mnt/user/Custom/sabnzbd/admin/watched_data.sab

2011-11-11 10:17:01,392::INFO::[dirscanner:254] Dirscanner shutting down

2011-11-11 10:17:01,392::INFO::[postproc:83] Saving postproc queue

2011-11-11 10:17:01,393::INFO::[__init__:838] Saving data for postproc1.sab in /mnt/user/Custom/sabnzbd/admin/postproc1.sab

2011-11-11 10:17:01,393::INFO::[nzbqueue:167] Saving queue

2011-11-11 10:17:01,393::INFO::[__init__:838] Saving data for queue9.sab in /mnt/user/Custom/sabnzbd/admin/queue9.sab

2011-11-11 10:17:01,394::INFO::[__init__:838] Saving data for totals9.sab in /mnt/user/Custom/sabnzbd/admin/totals9.sab

2011-11-11 10:17:01,394::INFO::[__init__:838] Saving data for rss_data.sab in /mnt/user/Custom/sabnzbd/admin/rss_data.sab

2011-11-11 10:17:01,396::INFO::[__init__:838] Saving data for bookmarks.sab in /mnt/user/Custom/sabnzbd/admin/bookmarks.sab

2011-11-11 10:17:01,396::INFO::[__init__:838] Saving data for watched_data.sab in /mnt/user/Custom/sabnzbd/admin/watched_data.sab

2011-11-11 10:17:01,397::INFO::[postproc:83] Saving postproc queue

2011-11-11 10:17:01,397::INFO::[__init__:838] Saving data for postproc1.sab in /mnt/user/Custom/sabnzbd/admin/postproc1.sab

2011-11-11 10:17:01,397::INFO::[__init__:385] All processes stopped

 

Looks to me like te python scripts that start with cherrypy are the issue, but when I look at them, they are rwxrwx and nobody:users.  I am able to launch as root with no issues.

 

I'd really like to get this running with nobody (along with sickbeard) so that I can solve the permissions of the downloaded files issue I am having (they are coming in as root:root, and therefore wont launch with xbmc).

 

Help...?

I've been running those plugins for a few weeks and I never got the chance to thank you for those nice automated plugins. :)

 

Lately though, sickbeard has been giving me headaches. I'm not sure what happened but suddenly, I would get error 500 constantly. I tried removing it and reinstalling it, but I always end up not being able to run it. It keeps saying it's running while it's not. I do a "ps -ef | grep sick" but I get nothing running. I tried reinstalling it but got no luck. I wanted to reinstall it fresh, and I was wondering if you had any suggestions on how to do so? Sab and couch seems to work well though.

 

Let me know what kind of info you might need from me as sickbeard has become quite useful for any TV shows I've missed and I'd really have it working on my unraid server instead of my pc. :) Thanks!

Every time I start of stop SickBeard, it hangs the unRAID menu.  Every single time.

 

How can I help diagnose and fix this problem.  I'm happy to test whatever, or read whatever necessary.

 

I wish I knew more about this, since I think maybe I could just dig in and find/fix the problem, but I'm just not very educated about Linux or plugins yet.

 

Refreshing the browser DOES NOT WORK.  That is not the answer.

 

I have provided error messages received in this and other threads, and can post them again if they would be helpful.

 

I really want to help 'fix' this.  I'm still testing out a few things, and anytime I start/stop SB, I have to wait 15 minutes to use the GUI again; and I have almost put my fist into my new monitor already due to the SEVERE frustration with this.

 

HOW CAN I HELP?

I have no problems with that. It hangs, but after a refresh. it all works fine again. Sorry.

That's fantastic for you, and seemingly most everyone else, but that is not my experience.

 

I have reinstalled again.  Not any better.  15 minutes is the norm.  Once it was 10 minutes, but that's as good as I've ever seen.

 

I'm happy to provide any information that might help determine why I'm not so lucky, but I don't know where to even start really :(

that message is the normal starting message...

i guess sabnzbd isn't running afterwards?

 

please check, if the folder /mnt/disk1/SABnzbd was created and the sabnzbd files are inside of it.

if there is a log file inside the sabnzbd folder, check if there is an error message.

 

also you could try to enter this command yourself and check for error messages: sudo -u nobody python /mnt/disk1/SABnzbd/SABnzbd.py -d -s 0.0.0.0:8080 --config-file /mnt/disk1/SABnzbd --pid /var/run/sabnzbd > /dev/null 2>&1

 

btw. i would suggest to use /mnt/disk1/apps/SABnzbd (since every folder on the top level of a disk is seen as a user share (if user shares are activated)).

 

Tried both suggestions. Files were created and I get no error log and no error messages when trying to run from the command line both as root and nobody.

 

Blarg.  So frustrated.

Hello,

 

When i try to connect to Sabnzbd on \\tower:8082 after a restart, the wizard interface is always displayed.

After submitted all needed informations, I have no error in the logs and Sabnzbd is running correctly until the next restart.

 

Has anybody reached the same problem?

 

Thank you

Might be a silly question but I presume you have set the Data Dir to something other than the RAM disk (i.e. /usr/local/sabnzbd)??

 

If not then all your settings and config are being stored in RAM and this will be lost at the next server reboot.

 

Try setting them to either your Flash drive or one of your storage disks.

 

For example my data dir for SAB sits in /boot/config/sabnzbd

 

Hope this helps.

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.