New unMENU packages for SABnzbd, Sick Beard and Couch Potato


Recommended Posts

  • Replies 221
  • Created
  • Last Reply

Top Posters In This Topic

I can't get SAB working still. I cleared out everything and redownloaded it all with the updated script but it seems like something is wrong with the start scripts.

 

SABnzbd-0.5.6-src.tar.gz installation:

 

Verifying package python-2.6.4-i486-1.txz.

Installing package python-2.6.4-i486-1.txz:

PACKAGE DESCRIPTION:

# python (object-oriented interpreted programming language)

#

# Python is an interpreted, interactive, object-oriented programming

# language that combines remarkable power with very clear syntax. 

# Python's basic power can be extended with your own modules written in

# C or C++.  Python is also adaptable as an extension language for

# existing applications.

#

Executing install script for python-2.6.4-i486-1.txz.

Package python-2.6.4-i486-1.txz installed.

 

Verifying package python-cheetah-2.4.2.1-i486-1alien.tgz.

Installing package python-cheetah-2.4.2.1-i486-1alien.tgz:

PACKAGE DESCRIPTION:

# python-cheetah (python template engine)

#

# Cheetah is an open source template engine and code generation tool.

# It can be used standalone or combined with other tools and frameworks.

# Web development is its principle use, but Cheetah is very flexible

# and is also being used to generate C++ game code, Java, sql,

# form emails and even Python code.

#

# python-cheetah home: http://www.cheetahtemplate.org/

#

Package python-cheetah-2.4.2.1-i486-1alien.tgz installed.

 

Verifying package python-yenc-0.3-i486-1alien.tgz.

Installing package python-yenc-0.3-i486-1alien.tgz:

PACKAGE DESCRIPTION:

# python-yenc (yEnc module for python)

#

# python-yenc is a yEnc decoding library for Python.

# yEnc is a binary-to-text encoding scheme for transferring

# binary files in messages on Usenet or via e-mail.

#

# yenc home: http://sabnzbd.sourceforge.net/

#

Package python-yenc-0.3-i486-1alien.tgz installed.

 

Verifying package par2cmdline-0.4-i486-1alien.tgz.

Installing package par2cmdline-0.4-i486-1alien.tgz:

PACKAGE DESCRIPTION:

# par2cmdline (command line implementation of PAR v2.0)

#

# PAR provides a tool to apply the data-recovery capability concepts

# of RAID-like systems to the posting & recovery of multi-part archives

# on Usenet.

#

# par2cmdline is a command line implementation

# of the PAR v2.0 specification.

#

# par2cmdline homepage: http://parchive.sourceforge.net/

#

Package par2cmdline-0.4-i486-1alien.tgz installed.

 

Verifying package sqlite-3.6.23.1-i486-1.txz.

Installing package sqlite-3.6.23.1-i486-1.txz:

PACKAGE DESCRIPTION:

# SQLite (simple, self contained database engine)

#

# SQLite is a small C library that implements a self-contained,

# embeddable, zero-configuration SQL database engine.

#

# The SQLite distribution comes with a standalone command-line access

# program (sqlite) that can be used to administer an SQLite database

# and which serves as an example of how to use the SQLite library.

#

# Homepage:  http://www.sqlite.org/

#

Executing install script for sqlite-3.6.23.1-i486-1.txz.

Package sqlite-3.6.23.1-i486-1.txz installed.

 

Verifying package unrar-3.9.10-i486-2alien.tgz.

Installing package unrar-3.9.10-i486-2alien.tgz:

PACKAGE DESCRIPTION:

# unrar (unpacker for the RAR archive format)

#

# This package includes freeware Unrar.

# Unrar source is subset of RAR and generated from RAR source

# automatically.

#

# More about unrar at http://www.rarlab.com/rar_add.htm

#

Package unrar-3.9.10-i486-2alien.tgz installed.

 

Verifying package infozip-5.52-i486-2.tgz.

Installing package infozip-5.52-i486-2.tgz:

PACKAGE DESCRIPTION:

# infozip (Info-ZIP's zip and unzip utilities)

#

# zip is a compression and file packaging utility for Unix, VMS, MSDOS,

# OS/2, Windows NT, Minix, Atari and Macintosh, Amiga and Acorn RISC OS.

# It is analogous to a combination of the UNIX commands tar(1) and

# compress(1) and is compatible with PKZIP (Phil Katz's ZIP).  A

# companion program (unzip(1L)), unpacks zip archives.

#

Executing install script for infozip-5.52-i486-2.tgz.

Package infozip-5.52-i486-2.tgz installed.

 

Verifying package openssl-0.9.8n-i486-1.txz.

Installing package openssl-0.9.8n-i486-1.txz:

PACKAGE DESCRIPTION:

# openssl (Secure Sockets Layer toolkit)

#

# The OpenSSL certificate management tool and the shared libraries that

# provide various encryption and decryption algorithms and protocols.

#

# This product includes software developed by the OpenSSL Project for

# use in the OpenSSL Toolkit (http://www.openssl.org).  This product

# includes cryptographic software written by Eric Young

# ([email protected]).  This product includes software written by Tim

# Hudson ([email protected]).

#

Executing install script for openssl-0.9.8n-i486-1.txz.

Package openssl-0.9.8n-i486-1.txz installed.

 

Verifying package pyopenssl-0.10-i486-2sl.txz.

Installing package pyopenssl-0.10-i486-2sl.txz:

PACKAGE DESCRIPTION:

# pyOpenSSL (OpenSSL Python interface)

#

# pyOpenSSL a Python wrapper around the OpenSSL library.

#

Package pyopenssl-0.10-i486-2sl.txz installed.

 

SABnzbd is already installed in /mnt/cache/.sabnzbd

Created init script, /etc/rc.d/unraid.d/rc.unraid_sabnzbd

Created unmenu start script, /boot/unmenu/42-unmenu_user_script_start_sabnzbd

Created unmenu start script, /boot/unmenu/42-unmenu_user_script_stop_sabnzbd

SABnzbd started.

 

Calling the unmenu or init script manually doesn't actually start SAB. I can start the .py manually as root and it runs no problem though.

 

Any ideas?

Link to comment

While waiting for a solution to installing nzbget on unRAID, I got annoyed at SABnzbd -- it uses the basic par2cmdline, so verifies everything twice when repairing and only uses one core.

 

After writing this up, I saw that someone else had implemented the TBB version of par2cmdline, but this is not in the unMENU package listed in this thread, as far as I can tell?

 

Maybe the package can be updated to include it?

 

Anyway, here's what I did in the meantime:

 

I used the Threaded Building Blocks GNU/Linux 32-bit i386/ia32 binary for kernel 2.6 version of par2cmdline, thanks to Chuchusoft.

This uses as many cores as you have, so gets you around a 2x speed bump for dual core CPUs and 4x for quad core.

 

WARNING: I am a relative Linux n00b, so don't try this unless you know what you are doing and/or some of the experts here confirm that it is safe to do so and/or provide a better way of implementing multicore par2.

 

I put par2cmdline-0.4-tbb-20090203-lin32.tar.gz in the packages folder on the flash drive and added the following to the end of my go script:

 

cd /tmp
cp /boot/packages/par2cmdline-0.4-tbb-20090203-lin32.tar.gz .
tar -zxf  par2cmdline-0.4-tbb-20090203-lin32.tar.gz
cd par2cmdline-0.4-tbb-20090203-lin32
cp par2 /usr/bin/
cp libtbb.so /usr/bin/
cp  libtbb.so.2 /usr/bin/

 

 

 

Single core par2

 

2enuqls.jpgfvi8vq.jpg

 

 

TBB multicore par2

 

2h668ab.jpgvh9owl.jpg

 

 

 

Those comparisons were done one after the other. After rebooting the server, I tried again and got this result doing the same repair (the repair time dropped significantly, but there's no point comparing that):

 

24zhh79.jpg

Link to comment

I can't get SAB working still. I cleared out everything and redownloaded it all with the updated script but it seems like something is wrong with the start scripts.

 

SABnzbd-0.5.6-src.tar.gz installation:

 

Verifying package python-2.6.4-i486-1.txz.

Installing package python-2.6.4-i486-1.txz:

PACKAGE DESCRIPTION:

# python (object-oriented interpreted programming language)

#

# Python is an interpreted, interactive, object-oriented programming

# language that combines remarkable power with very clear syntax. 

# Python's basic power can be extended with your own modules written in

# C or C++.  Python is also adaptable as an extension language for

# existing applications.

#

Executing install script for python-2.6.4-i486-1.txz.

Package python-2.6.4-i486-1.txz installed.

 

Verifying package python-cheetah-2.4.2.1-i486-1alien.tgz.

Installing package python-cheetah-2.4.2.1-i486-1alien.tgz:

PACKAGE DESCRIPTION:

# python-cheetah (python template engine)

#

# Cheetah is an open source template engine and code generation tool.

# It can be used standalone or combined with other tools and frameworks.

# Web development is its principle use, but Cheetah is very flexible

# and is also being used to generate C++ game code, Java, sql,

# form emails and even Python code.

#

# python-cheetah home: http://www.cheetahtemplate.org/

#

Package python-cheetah-2.4.2.1-i486-1alien.tgz installed.

 

Verifying package python-yenc-0.3-i486-1alien.tgz.

Installing package python-yenc-0.3-i486-1alien.tgz:

PACKAGE DESCRIPTION:

# python-yenc (yEnc module for python)

#

# python-yenc is a yEnc decoding library for Python.

# yEnc is a binary-to-text encoding scheme for transferring

# binary files in messages on Usenet or via e-mail.

#

# yenc home: http://sabnzbd.sourceforge.net/

#

Package python-yenc-0.3-i486-1alien.tgz installed.

 

Verifying package par2cmdline-0.4-i486-1alien.tgz.

Installing package par2cmdline-0.4-i486-1alien.tgz:

PACKAGE DESCRIPTION:

# par2cmdline (command line implementation of PAR v2.0)

#

# PAR provides a tool to apply the data-recovery capability concepts

# of RAID-like systems to the posting & recovery of multi-part archives

# on Usenet.

#

# par2cmdline is a command line implementation

# of the PAR v2.0 specification.

#

# par2cmdline homepage: http://parchive.sourceforge.net/

#

Package par2cmdline-0.4-i486-1alien.tgz installed.

 

Verifying package sqlite-3.6.23.1-i486-1.txz.

Installing package sqlite-3.6.23.1-i486-1.txz:

PACKAGE DESCRIPTION:

# SQLite (simple, self contained database engine)

#

# SQLite is a small C library that implements a self-contained,

# embeddable, zero-configuration SQL database engine.

#

# The SQLite distribution comes with a standalone command-line access

# program (sqlite) that can be used to administer an SQLite database

# and which serves as an example of how to use the SQLite library.

#

# Homepage:  http://www.sqlite.org/

#

Executing install script for sqlite-3.6.23.1-i486-1.txz.

Package sqlite-3.6.23.1-i486-1.txz installed.

 

Verifying package unrar-3.9.10-i486-2alien.tgz.

Installing package unrar-3.9.10-i486-2alien.tgz:

PACKAGE DESCRIPTION:

# unrar (unpacker for the RAR archive format)

#

# This package includes freeware Unrar.

# Unrar source is subset of RAR and generated from RAR source

# automatically.

#

# More about unrar at http://www.rarlab.com/rar_add.htm

#

Package unrar-3.9.10-i486-2alien.tgz installed.

 

Verifying package infozip-5.52-i486-2.tgz.

Installing package infozip-5.52-i486-2.tgz:

PACKAGE DESCRIPTION:

# infozip (Info-ZIP's zip and unzip utilities)

#

# zip is a compression and file packaging utility for Unix, VMS, MSDOS,

# OS/2, Windows NT, Minix, Atari and Macintosh, Amiga and Acorn RISC OS.

# It is analogous to a combination of the UNIX commands tar(1) and

# compress(1) and is compatible with PKZIP (Phil Katz's ZIP).  A

# companion program (unzip(1L)), unpacks zip archives.

#

Executing install script for infozip-5.52-i486-2.tgz.

Package infozip-5.52-i486-2.tgz installed.

 

Verifying package openssl-0.9.8n-i486-1.txz.

Installing package openssl-0.9.8n-i486-1.txz:

PACKAGE DESCRIPTION:

# openssl (Secure Sockets Layer toolkit)

#

# The OpenSSL certificate management tool and the shared libraries that

# provide various encryption and decryption algorithms and protocols.

#

# This product includes software developed by the OpenSSL Project for

# use in the OpenSSL Toolkit (http://www.openssl.org).  This product

# includes cryptographic software written by Eric Young

# ([email protected]).  This product includes software written by Tim

# Hudson ([email protected]).

#

Executing install script for openssl-0.9.8n-i486-1.txz.

Package openssl-0.9.8n-i486-1.txz installed.

 

Verifying package pyopenssl-0.10-i486-2sl.txz.

Installing package pyopenssl-0.10-i486-2sl.txz:

PACKAGE DESCRIPTION:

# pyOpenSSL (OpenSSL Python interface)

#

# pyOpenSSL a Python wrapper around the OpenSSL library.

#

Package pyopenssl-0.10-i486-2sl.txz installed.

 

SABnzbd is already installed in /mnt/cache/.sabnzbd

Created init script, /etc/rc.d/unraid.d/rc.unraid_sabnzbd

Created unmenu start script, /boot/unmenu/42-unmenu_user_script_start_sabnzbd

Created unmenu start script, /boot/unmenu/42-unmenu_user_script_stop_sabnzbd

SABnzbd started.

 

Calling the unmenu or init script manually doesn't actually start SAB. I can start the .py manually as root and it runs no problem though.

 

Any ideas?

So calling /etc/rc.d/unraid.d/rc.unraid_sabnzbd as root works, but the start script from unMENU doesn't? Looks like it installed, and if you can run it as root sounds like it is installed. Not sure why the start script wouldn't work. You can try executing the commands from the start scripts and/or the rc script one by one manually and see if any errors come up?

 

Link to comment

I'm trying to get sabnzbd running but I need some help.  I'm a little bit of a linux noob but I'm slowly getting better. I have a non-array drive (sdd) installed in my server.  After preclearing the drive I used the Disk Management tools in unMenu to put a reiserfs filesystem on sdd1.  I then mounted the drive, made it writeable, and shared the drive.  Then I installed sabnzbd onto /mnt/disk/sdd1/sabnzbd.  The package worked great.  I configured sabnzbd, grabbed a nzb and successfully downloaded a file.  I then stopped sabnzbd and unmounted the drive using unMenu's Disk Management tools and then rebooted.  After rebooting now dev/sdd1/ does not appear on the disk management page.  All I see now is /dev/sdd.  I was working under the assumption that after the reboot I would just need to remount the drive, make it writeable, and then share it.  Perhaps I need to do all this on sdd instead of sdd1.  Can someone please point me in the right direction? I really need more detail on how to initially mount my non-array drive and then make it mount automatically after rebooting (I assume I'll be editing my go file for that).

Link to comment

I'm trying to get sabnzbd running but I need some help.  I'm a little bit of a linux noob but I'm slowly getting better. I have a non-array drive (sdd) installed in my server.  After preclearing the drive I used the Disk Management tools in unMenu to put a reiserfs filesystem on sdd1.  I then mounted the drive, made it writeable, and shared the drive.  Then I installed sabnzbd onto /mnt/disk/sdd1/sabnzbd.  The package worked great.  I configured sabnzbd, grabbed a nzb and successfully downloaded a file.  I then stopped sabnzbd and unmounted the drive using unMenu's Disk Management tools and then rebooted.  After rebooting now dev/sdd1/ does not appear on the disk management page.  All I see now is /dev/sdd.  I was working under the assumption that after the reboot I would just need to remount the drive, make it writeable, and then share it.  Perhaps I need to do all this on sdd instead of sdd1.  Can someone please point me in the right direction? I really need more detail on how to initially mount my non-array drive and then make it mount automatically after rebooting (I assume I'll be editing my go file for that).

You should be able to see the partition on the disk by typing:

fdisk -l /dev/sdd

 

You can create the mount-point (the empty directory) by typing:

mkdir -p /mnt/disk/sdd1

 

mounting it should be this command:

mount -t reiserfs /dev/sdd1 /mnt/disk/sdd1

 

sharing it on the LAN would require adding these two lines to /boot/config/smb-extra.conf  (create the file if it does not exist, use an editor that does NOT put carriage-returns on the ends of lines)

 

[sAB]

        path = /mnt/disk/sdd1

 

 

 

Link to comment

^^ That worked like a charm. Thanks a lot Joe L.

 

I was using these commands (so close but yet so far) ...

mkdir /mnt/disk/sdd1

and

mount /dev/sdd1 /mnt/disk/sdd1

But it wasn't working for me. I knew I was missing something.

 

Just wondering, do I need to manually unmount the drive before rebooting my server or will clean powerdown take care of it for me since I have that installed?

Link to comment

Just for clarity so I don't have to go back through the whole thread again, what's the proper way to shutdown these apps when I need to take my array offline for a shut down or reboot?

 

I used the Unmenu Users Scripts button to "Stop" each of them last night, rebooted my server (for unrelated maintenance) and when they started up, I had to go through the setup and settings again at least for Sabnzbd and some of Sickbeard and Couch Potato settings as well.

 

I had a power outage the other day (still waiting on my new UPS Battery)  :-[ and the startup process appeared very similar even when I though I was shutting them down correctly.

Link to comment

^^ That worked like a charm. Thanks a lot Joe L.

 

I was using these commands (so close but yet so far) ...

mkdir /mnt/disk/sdd1

and

mount /dev/sdd1 /mnt/disk/sdd1

But it wasn't working for me. I knew I was missing something.

 

Just wondering, do I need to manually unmount the drive before rebooting my server or will clean powerdown take care of it for me since I have that installed?

Since the disk is not part of the protected array it will have no effect on the shutdown.  No need to do anything special.

 

Joe L.

Link to comment

Just for clarity so I don't have to go back through the whole thread again, what's the proper way to shutdown these apps when I need to take my array offline for a shut down or reboot?

 

I used the Unmenu Users Scripts button to "Stop" each of them last night, rebooted my server (for unrelated maintenance) and when they started up, I had to go through the setup and settings again at least for Sabnzbd and some of Sickbeard and Couch Potato settings as well.

 

I had a power outage the other day (still waiting on my new UPS Battery)  :-[ and the startup process appeared very similar even when I though I was shutting them down correctly.

 

OK, I've shut down Sabnzbd in 3 different ways now; power failure, stop button from unmenu and shutdown from the app itself, and each time it starts back up, it goes through the Wizard, and I've lost all my settings, and everything that was in my download queue.  Is there something I'm doing wrong, is this expected behavior?  Kinda frustrating if so.

Link to comment

where is your SABnzbd.ini set ?

 

mine is on my boot partition and i never have isues

 

see my go line

 

python /Path/to/your/servers/SABnzbd.py -d -f /boot/config/SABnzbd.ini

 

i would check where yours is and set it to save to a better place

 

It's in the root of /mnt/cache/.sabnzbd, I didn't move it, so I assume that was the default location... whats the difference between the .PY and the INI, they are both in that folder.

Link to comment

I have sabnzbd installed using the unMenu package attached in the OP but I've noticed that it's taking quite a while to repair files.  For example I downloaded a 7.2 GB file and it took ~33 minutes to repair the file. Apparently the version of par2cmdline that is included in the package will only use a single core when repairing files.  I followed the instructions provided in the post from neilt0 here for ungrading to the multi-core version of par2cmdline.  I followed his instructions exactly as they were listed and everything worked perfectly.  Now that same 7.2 GB file is repaired in ~17 minutes because it is using both cores in my e5500. It would be nice if the multi-core version of par2cmdline was included in the package but in the meantime there is a valid workaround.

Link to comment
Apparently the version of par2cmdline that is included in the package will only use a single core when repairing files.  I followed the instructions provided in the post from neilt0 here for ungrading to the multi-core version of par2cmdline.  I followed his instructions exactly as they were listed and everything worked perfectly.

 

I'm glad to see my post was useful!

Link to comment
  • 2 weeks later...
Why do I say almost? Because Sick Beard and Couch Potato are hosted on GitHub which only allows downloads over HTTPS, which the unMENU package downloader doesn't understand (yet).

 

Mr. Machine:

Do these links not work for you? They would resolve your issue as they are not https but http...

http://github.com/midgetspy/Sick-Beard/tarball/master

http://github.com/RuudBurger/CouchPotato/tarball/master

 

~dpc

Link to comment

Installed as per OP, but I still have permission problems with downloaded files.  I cannot move/delete/view/anything from my Win7 machine or my appleTVs with XBMC.

 

There is a setting in sabnzb - config/folders that sets the permissions for downloaded files. Set this to 666.

 

or see my post here: http://lime-technology.com/forum/index.php?topic=12494.0

 

Let me know if it works for you,

Tony

Link to comment

I've been trying to see what all the hubbub is about with regards to SABnzbd, Sick Beard, and Couch Potato... so I got the unMenu packages installed and am now going through the Quick Start Wizard at tower:8082/ ... sorry if I sound really unknowledgeable, but I am... what do I put in for the Server Details in Step 3?

 

Thanks for your help! This is all new to me...

Link to comment

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.