New unMENU packages for SABnzbd, Sick Beard and Couch Potato


Recommended Posts

Just used this after upgrading and tidying up the server.

Worked brilliant, thanks a bunch for it.

 

For some reason though, although Start and Stop scripts have been created in the file system, only buttons for:

 

Start Couch Potato

Start SABnzbd

Stop SABnzbd

Stop Sick Beard

 

So I am missing....

 

Stop Couch Potato

Start Sick Beard

 

Does anyone know why this would be?

 

Another question I had is a bit amateur I am sure, but before I had these starting up in my GO script, are you all just starting them manually from the User Scripts using the buttons now, or are you still doing something to kick them off when the server boots up?

 

Thanks in advance,

Martin

 

 

EDIT: Now thinking it might be because I set the Packages to re-install on a reboot, so I disabled them all and rebooted.

This time, I have only the Start, Stop for SABnzbd and none of the others showing up.

When I try starting it, I also get this error "The rc.unraid_sabnzbd script does not exist, please try reinstalling the application"

 

From that I take it I should be enabling it to reinstall from the package menu, but when I did this initially it booted in to the SABnazbd install wizard, Sick Beard had errors and Couch Potato just wouldnt load. Could it be because I changed the install path slightly for them all by editing the configuration variables in the Pkg Manager?

Link to comment
  • Replies 221
  • Created
  • Last Reply

Top Posters In This Topic

  • 2 weeks later...

I have been using Sickbeard and SABnzbd on unRAID 4.7 for a few days now and for the most part its working great.  However, I've ran into a problem where the sabToSickBeard.py script is failing because it appears to not be able to handle non-ascii characters.  Here is the error I'm getting from sabToSickBeard.py:

 

500 Internal Server Error

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

 

Traceback (most recent call last):

  File "/mnt/disk1/.sickbeard/cherrypy/_cprequest.py", line 660, in respond

    response.body = self.handler()

  File "/mnt/disk1/.sickbeard/cherrypy/lib/encoding.py", line 193, in __call__

    self.body = self.oldhandler(*args, **kwargs)

  File "/mnt/disk1/.sickbeard/cherrypy/_cpdispatch.py", line 25, in __call__

    return self.callable(*self.args, **self.kwargs)

  File "/mnt/disk1/.sickbeard/sickbeard/webserve.py", line 1371, in processEpisode

    result = processTV.processDir(dir, nzbName)

  File "/mnt/disk1/.sickbeard/sickbeard/processTV.py", line 97, in processDir

    process_result = processor.process()

  File "/mnt/disk1/.sickbeard/sickbeard/postProcessor.py", line 705, in process

    ep_obj.createMetaFiles()

  File "/mnt/disk1/.sickbeard/sickbeard/tv.py", line 1265, in createMetaFiles

    self.createNFO(force)

  File "/mnt/disk1/.sickbeard/sickbeard/tv.py", line 1277, in createNFO

    result = cur_provider.create_episode_metadata(self) or result

  File "/mnt/disk1/.sickbeard/sickbeard/metadata/generic.py", line 195, in create_episode_metadata

    return self.write_ep_file(ep_obj)

  File "/mnt/disk1/.sickbeard/sickbeard/metadata/tivo.py", line 287, in write_ep_file

    data = self._ep_data(ep_obj)

  File "/mnt/disk1/.sickbeard/sickbeard/metadata/tivo.py", line 235, in _ep_data

    data += ("vActor : " + str(actor) + "\n")

UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 8: ordinal not in range(128)

 

I did some searching around the internet and found this thread:

 

http://sickbeard.com/forums/viewtopic.php?f=4&t=1102&p=4926&hilit=ascii%27+codec+can%27t+encode+character#p4926

 

So I tried running some python command to figure out what locale python is using and this is the output I got:

 

Python 2.6.4 (r264:75706, Dec  5 2009, 21:18:28)

[GCC 4.3.3] on linux2

Type "help", "copyright", "credits" or "license" for more information.

>>> import locale

>>> locale.setlocale(locale.LC_ALL, '')

Traceback (most recent call last):

  File "<stdin>", line 1, in <module>

  File "/usr/lib/python2.6/locale.py", line 513, in setlocale

    return _setlocale(category, locale)

locale.Error: unsupported locale setting

>>> locale.getpreferredencoding();

'ANSI_X3.4-1968'

 

From what I've read ANSI_X3.4-1968 can't handle non-ASCII characters.  I need to use something like UTF-8

 

I also found this discussion thread within SABnzbd forum:

 

http://forums.sabnzbd.org/viewtopic.php?t=6912

 

Where somebody running sabnzbd on unRAID is having a similar issue and somebody made this comment:

 

I'm afraid your Python installation is incomplete or somehow

not connected to the language settings of the OS.

Possibly the locale package for your OS is missing.

On Ubuntu Linux you would do something like this:

apt-get install locales-all

 

Does anyone have any suggestions of how I can fix this problem? 

Link to comment

I have been using Sickbeard and SABnzbd on unRAID 4.7 for a few days now and for the most part its working great.  However, I've ran into a problem where the sabToSickBeard.py script is failing because it appears to not be able to handle non-ascii characters.  Here is the error I'm getting from sabToSickBeard.py:

 

500 Internal Server Error

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

 

Traceback (most recent call last):

  File "/mnt/disk1/.sickbeard/cherrypy/_cprequest.py", line 660, in respond

    response.body = self.handler()

  File "/mnt/disk1/.sickbeard/cherrypy/lib/encoding.py", line 193, in __call__

    self.body = self.oldhandler(*args, **kwargs)

  File "/mnt/disk1/.sickbeard/cherrypy/_cpdispatch.py", line 25, in __call__

    return self.callable(*self.args, **self.kwargs)

  File "/mnt/disk1/.sickbeard/sickbeard/webserve.py", line 1371, in processEpisode

    result = processTV.processDir(dir, nzbName)

  File "/mnt/disk1/.sickbeard/sickbeard/processTV.py", line 97, in processDir

    process_result = processor.process()

  File "/mnt/disk1/.sickbeard/sickbeard/postProcessor.py", line 705, in process

    ep_obj.createMetaFiles()

  File "/mnt/disk1/.sickbeard/sickbeard/tv.py", line 1265, in createMetaFiles

    self.createNFO(force)

  File "/mnt/disk1/.sickbeard/sickbeard/tv.py", line 1277, in createNFO

    result = cur_provider.create_episode_metadata(self) or result

  File "/mnt/disk1/.sickbeard/sickbeard/metadata/generic.py", line 195, in create_episode_metadata

    return self.write_ep_file(ep_obj)

  File "/mnt/disk1/.sickbeard/sickbeard/metadata/tivo.py", line 287, in write_ep_file

    data = self._ep_data(ep_obj)

  File "/mnt/disk1/.sickbeard/sickbeard/metadata/tivo.py", line 235, in _ep_data

    data += ("vActor : " + str(actor) + "\n")

UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 8: ordinal not in range(128)

 

I did some searching around the internet and found this thread:

 

http://sickbeard.com/forums/viewtopic.php?f=4&t=1102&p=4926&hilit=ascii%27+codec+can%27t+encode+character#p4926

 

So I tried running some python command to figure out what locale python is using and this is the output I got:

 

Python 2.6.4 (r264:75706, Dec  5 2009, 21:18:28)

[GCC 4.3.3] on linux2

Type "help", "copyright", "credits" or "license" for more information.

>>> import locale

>>> locale.setlocale(locale.LC_ALL, '')

Traceback (most recent call last):

  File "<stdin>", line 1, in <module>

  File "/usr/lib/python2.6/locale.py", line 513, in setlocale

    return _setlocale(category, locale)

locale.Error: unsupported locale setting

>>> locale.getpreferredencoding();

'ANSI_X3.4-1968'

 

From what I've read ANSI_X3.4-1968 can't handle non-ASCII characters.  I need to use something like UTF-8

 

I also found this discussion thread within SABnzbd forum:

 

http://forums.sabnzbd.org/viewtopic.php?t=6912

 

Where somebody running sabnzbd on unRAID is having a similar issue and somebody made this comment:

 

I'm afraid your Python installation is incomplete or somehow

not connected to the language settings of the OS.

Possibly the locale package for your OS is missing.

On Ubuntu Linux you would do something like this:

apt-get install locales-all

 

Does anyone have any suggestions of how I can fix this problem? 

 

I found this link showing how to change the locale to UTF-8 with UnRAID:

 

http://lime-technology.com/forum/index.php?topic=4700.msg112848;topicseen#msg112848

 

Maybe this will fix my issue?

Link to comment
  • 5 weeks later...

Having some problems with my UnRaid server. I was running sabnzbd fine, but I moved the server to my friends house, then back to mine. Now however sabnzbd would not connect to any news group. Decided to delete it all and go to try re install, but now the unmenu install package won't work, and when i try wget through telnet it says I cannot resolve host name... seems a network problem?

Link to comment
  • 4 weeks later...

Just installed sabnzbd from the packages in the OP; installing consisted of installing lots of dependencies - everytime I clicked on "install sabnzbd" in unmenu, it would tell me some addon or the other was needed first, so I downloaded, installed, and set to reinstall on restart:

 

python

cheetah

openssl

unrar

unzip

 

and a few others.  We'll see if it opens and runs next restart, but for now it's running smoothly.  Copied sabnzbd settings from my desktop, pointed my firefox addon to tower instead of localhost, and tentatively clicked on a nzb from nzbmatrix; I was quiet happy to see that it did indeed start downloading just fine!

 

Thanks for your effort in these packages!  Got to figure out how to move my queue over, then it's time to figure out sickbeard next; downloading and movies tv shows around take up lots of time every week, can't wait to automate it...

 

EDIT:

 

Got Sickbeard/Couch Potato up and running too! :)

Link to comment

Hi All

 

Recent convert to unRAID and am relatively new to Linux in general, although I have "played" around with Ubuntu and Mandrake a little but only really scrathched the surface.

 

I recently bought an HP microserver and decided to install unRAID 4.7 and have just finished pre-clearing two 2TB drives so my Array is finally up and running  :)

 

I would really like to use SABnzbd, SickBeard and Couch potato, so was thrilled to find this thread.

 

I managed to install SABnzbd through unMenu's "Package Manager" and I downloaded the two files for Sickbeard and Couch Potato from the links on page 1 of this thread (using my winblows box) and placed them (still zipped) in the /boot/packages folder on my flash drive.

 

On rebooting the server, unRAID comes up no problem. However, on starting SABnzbd, it seems I have to go through the "first run" set-up wizzard - Is this normal? I assumed it would remember its settings, no?

 

Returning to unMenu, when clicking on the Package Manager I expected to see buttons to install SickBeard and Couch Potato but they are not listed anywhere among the packages. How do I go about installing these two programs?

 

Also, I read an awful lot about where people are installing these program. Can they not just be installed to the USB key? Mine is 4Gig so plenty of room for them to reside on there too, no?

Link to comment

Hi All

 

Recent convert to unRAID and am relatively new to Linux in general, although I have "played" around with Ubuntu and Mandrake a little but only really scrathched the surface.

 

I recently bought an HP microserver and decided to install unRAID 4.7 and have just finished pre-clearing two 2TB drives so my Array is finally up and running  :)

 

I would really like to use SABnzbd, SickBeard and Couch potato, so was thrilled to find this thread.

 

I managed to install SABnzbd through unMenu's "Package Manager" and I downloaded the two files for Sickbeard and Couch Potato from the links on page 1 of this thread (using my winblows box) and placed them (still zipped) in the /boot/packages folder on my flash drive.

 

On rebooting the server, unRAID comes up no problem. However, on starting SABnzbd, it seems I have to go through the "first run" set-up wizzard - Is this normal? I assumed it would remember its settings, no?

 

Returning to unMenu, when clicking on the Package Manager I expected to see buttons to install SickBeard and Couch Potato but they are not listed anywhere among the packages. How do I go about installing these two programs?

 

Also, I read an awful lot about where people are installing these program. Can they not just be installed to the USB key? Mine is 4Gig so plenty of room for them to reside on there too, no?

 

Find the threads started by me for the newest .conf files for SABnzbd, SickBeard, and CouchPotato.  They are much more updated then the ones you are using.

Link to comment
  • 2 weeks later...

I had sickbeard and sabnzb installed on Unraid but was having problems with them remembering settings on a restart or shutdown. I moved them to my desktop pc but was seeing if anyone knows how to get sickbeard to see the unraid on my network. Sickbeard only sees the drives hooked up to the desktop.

Probably have to map the drives to letters for SickBeard to see them

Link to comment

Hi guys,

 

I've installed the packages and conf files and set to re-install on boot.

 

After boot up I can only access SAbnzbd.

 

Sickbeard gives the following when I try to access the GUI:

500 Internal Server Error

 

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

 

Traceback (most recent call last):

  File "/mnt/cache/.sickbeard/cherrypy/_cprequest.py", line 660, in respond

  File "/mnt/cache/.sickbeard/cherrypy/lib/encoding.py", line 193, in __call__

  File "/mnt/cache/.sickbeard/cherrypy/_cpdispatch.py", line 25, in __call__

  File "/mnt/cache/.sickbeard/sickbeard/webserve.py", line 1585, in index

  File "/mnt/cache/.sickbeard/sickbeard/webserve.py", line 66, in __init__

  File "/usr/lib/python2.6/site-packages/Cheetah/Template.py", line 1259, in __init__

    self._compile(source, file, compilerSettings=compilerSettings)

  File "/usr/lib/python2.6/site-packages/Cheetah/Template.py", line 1546, in _compile

    self._fileMtime = os.path.getmtime(file)

  File "/usr/lib/python2.6/genericpath.py", line 54, in getmtime

    return os.stat(filename).st_mtime

OSError: [Errno 2] No such file or directory: '/mnt/cache/.sickbeard/data/interfaces/default/home.tmpl'

Powered by CherryPy 3.2.0rc1

 

 

and Couchpotato will not start (via the user script), it shows the following error:

 

Couch Potato could not be started because the installation directory, /mnt/cache/.couchpotato, could not be found. If Couch Potato is installed to the unRAID array and the unRAID array is stopped, use the buttons on the User Scripts page to start Couch Potato once the unRAID array is started.

 

I can't see either a .couchpotato or .sickbeard folder on my cache drive so not sure what's going on!

 

I'm on 5beta12.

 

Help - thank you!

 

Alex

 

Link to comment

Hi guys,

 

I've installed the packages and conf files and set to re-install on boot.

 

After boot up I can only access SAbnzbd.

 

Sickbeard gives the following when I try to access the GUI:

500 Internal Server Error

 

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

 

Traceback (most recent call last):

  File "/mnt/cache/.sickbeard/cherrypy/_cprequest.py", line 660, in respond

  File "/mnt/cache/.sickbeard/cherrypy/lib/encoding.py", line 193, in __call__

  File "/mnt/cache/.sickbeard/cherrypy/_cpdispatch.py", line 25, in __call__

  File "/mnt/cache/.sickbeard/sickbeard/webserve.py", line 1585, in index

  File "/mnt/cache/.sickbeard/sickbeard/webserve.py", line 66, in __init__

  File "/usr/lib/python2.6/site-packages/Cheetah/Template.py", line 1259, in __init__

    self._compile(source, file, compilerSettings=compilerSettings)

  File "/usr/lib/python2.6/site-packages/Cheetah/Template.py", line 1546, in _compile

    self._fileMtime = os.path.getmtime(file)

  File "/usr/lib/python2.6/genericpath.py", line 54, in getmtime

    return os.stat(filename).st_mtime

OSError: [Errno 2] No such file or directory: '/mnt/cache/.sickbeard/data/interfaces/default/home.tmpl'

Powered by CherryPy 3.2.0rc1

 

 

and Couchpotato will not start (via the user script), it shows the following error:

 

Couch Potato could not be started because the installation directory, /mnt/cache/.couchpotato, could not be found. If Couch Potato is installed to the unRAID array and the unRAID array is stopped, use the buttons on the User Scripts page to start Couch Potato once the unRAID array is started.

 

I can't see either a .couchpotato or .sickbeard folder on my cache drive so not sure what's going on!

 

I'm on 5beta12.

 

Help - thank you!

 

Alex

 

Did you read the first post in this thread?

What .conf files did you use?

 

 

I put red text in the very first post with links to the threads so that no one would use the .confs in this thread.

Link to comment

I spoke to soon!

 

I have used the conf files from the correct threads (i.e. links in red), however the config for all (Sab, couch and sb) is no retained on re-boot. Looking through the threads it appears to be related to using the wrong .conf files but I'm pretty sure I'm using the right ones!

 

I upgraded unMenu prior to the install.

 

Any ideas?

 

Thanks,

 

Alex.

Link to comment

I spoke to soon!

 

I have used the conf files from the correct threads (i.e. links in red), however the config for all (Sab, couch and sb) is no retained on re-boot. Looking through the threads it appears to be related to using the wrong .conf files but I'm pretty sure I'm using the right ones!

 

I upgraded unMenu prior to the install.

 

Any ideas?

 

Thanks,

 

Alex.

Post in those threads with the information I requested in the first post of those threads.

Link to comment

I put red text in the very first post with links to the threads so that no one would use the .confs in this thread.

 

So I installed the packages in this thread just a couple of days before the big red warning popped up with the newer link... d'oh!

 

What would be the best method to move to the better, newer packages?

Delete your installs using the old .conf and reinstall from scratch.  I don't feel like trying to figure out the headache if an "upgrade/move" does not work.

Link to comment
  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.