(Unofficial) Ubuntu repository for SABnzbd+

Support for the Debian/Ubuntu package, created by JCFP.
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
toker
Newbie
Newbie
Posts: 7
Joined: February 19th, 2010, 6:42 am

Re: (Unofficial) Ubuntu repository for SABnzbd+

Post by toker »

Working on Karmic 9.10 32bit

Issues
post-processing scripts - Fails 'Exit(-1) Cannot run script /media/Drobo/asrock330htbd/sabnzbd/scripts/xbmc-update-library.sh (More)'

I basically have a .sh script which sends commands to update 'XBMC Video Library' on completed downloads for Movies and TV categories.  The script works on 0.4.12, I also installed 'python-dbus' and 'dbus' packages, check permissions on the .sh file.

Other than that all is working.
User avatar
jcfp
Release Testers
Release Testers
Posts: 986
Joined: February 7th, 2008, 12:45 pm

Re: (Unofficial) Ubuntu repository for SABnzbd+

Post by jcfp »

toker wrote:post-processing scripts - Fails 'Exit(-1) Cannot run script /media/Drobo/asrock330htbd/sabnzbd/scripts/xbmc-update-library.sh (More)'

I basically have a .sh script which sends commands to update 'XBMC Video Library' on completed downloads for Movies and TV categories.  The script works on 0.4.12, I also installed 'python-dbus' and 'dbus' packages, check permissions on the .sh file.
Need more info than this, try the latest release (0.5.0 final), check the log and the full output under "(More)". To eliminate your script as a cause of trouble, do some small test download with /usr/share/doc/sabnzbdplus/examples/Sample-PostProc.sh as the postproc script (released with the program, doesn't do anything but print its own arguments).
toker
Newbie
Newbie
Posts: 7
Joined: February 19th, 2010, 6:42 am

Re: (Unofficial) Ubuntu repository for SABnzbd+

Post by toker »

Upgraded to 0.5.0 Final - still getting errors on post-processing script

[some stuff removed: see forum rules]

Contents of 'xbmc-update-library.sh'
xbmc-send -a "UpdateLibrary(video)"
xbmc-send -a "CleanLibrary(video)"
Last edited by jcfp on February 21st, 2010, 5:11 pm, edited 1 time in total.
toker
Newbie
Newbie
Posts: 7
Joined: February 19th, 2010, 6:42 am

Re: (Unofficial) Ubuntu repository for SABnzbd+

Post by toker »

Tested 'Sample-PostProc.sh' - Output OK, so the issue is my .sh.

[some stuff removed: see forum rules]

Started as /media/Drobo/asrock330htbd/sabnzbd/scripts/Sample-PostProc.sh

The first parameter (result-dir)  = /media/Drobo/downloads/complete/TV/How I Met Your Ubuntu iso
The second parameter (nzb-name)   = How I Met Your Ubuntu iso.nzb
The third parameter (nice name)   = How I Met Your Ubuntu iso
The fourth parameter (newzbin-id) = 1234567890
The fifth parameter (category)    = tv
The sixth parameter (group)       = alt.binaries.ubuntu-isos
The seventh parameter (status)    = 0
Last edited by jcfp on February 21st, 2010, 5:12 pm, edited 1 time in total.
User avatar
jcfp
Release Testers
Release Testers
Posts: 986
Joined: February 7th, 2008, 12:45 pm

Re: (Unofficial) Ubuntu repository for SABnzbd+

Post by jcfp »

toker wrote: Contents of 'xbmc-update-library.sh'
xbmc-send -a "UpdateLibrary(video)"
xbmc-send -a "CleanLibrary(video)"
No shebang? Like the first line of the sample script, #!/bin/sh ?
toker
Newbie
Newbie
Posts: 7
Joined: February 19th, 2010, 6:42 am

Re: (Unofficial) Ubuntu repository for SABnzbd+

Post by toker »

modified my .sh

#!/bin/sh
/usr/bin/xbmc-send -a "UpdateLibrary(video)"
/usr/bin/xbmc-send -a "CleanLibrary(video)"

Thanks, SABnzbd is now processing my script.
Usenet
Jr. Member
Jr. Member
Posts: 87
Joined: February 12th, 2008, 6:04 pm

Re: (Unofficial) Ubuntu repository for SABnzbd+

Post by Usenet »

Great work jcfp!
jcfp wrote: It's safe to use the ppa and the official repositories side by side in Ubuntu; in case both have the same release the design of the package will cause the official repositories to take precedence.
I got sabnzbnd running the "official" way by adding it using the ubuntu UI (0.4.12 I think it is). Adding your ppa should then work without any problems? Is there anything I have to do about my configuration when stepping from 0.4 to 0.5 or is this handled by SAB and the package manager? I only run SAB as a server from a dedicated SAB user...
Cheers!
User avatar
jcfp
Release Testers
Release Testers
Posts: 986
Joined: February 7th, 2008, 12:45 pm

Re: (Unofficial) Ubuntu repository for SABnzbd+

Post by jcfp »

Should just work. Configuration survives, both program and init.d-related. Obviously, the normal release notes apply here too (i.e., queue and history is lost when going from 0.4.x to 0.5 so finish any existing queue first); restarting the program is needed (but probably happens automatically if you run from init), and some users might run into minor differences in the program's behavior, like the script handling issue of 'toker'.
Usenet
Jr. Member
Jr. Member
Posts: 87
Joined: February 12th, 2008, 6:04 pm

Re: (Unofficial) Ubuntu repository for SABnzbd+

Post by Usenet »

Sounds great, I'll give it a try as soon as my downloads are finished.  ;D

EDIT: Worked without a hitch, just as you said! THANK YOU!
Last edited by Usenet on February 25th, 2010, 3:23 pm, edited 1 time in total.
sense
Newbie
Newbie
Posts: 1
Joined: March 3rd, 2010, 11:05 am

Re: (Unofficial) Ubuntu repository for SABnzbd+

Post by sense »

echo "deb http://ppa.launchpad.net/jcfp/ppa/ubuntu $(lsb_release -c -s) main" | sudo tee -a /etc/apt/sources.list

Gives me "illegal variable name" using Ubuntu 9.10 Karmic.  :'(
User avatar
jcfp
Release Testers
Release Testers
Posts: 986
Joined: February 7th, 2008, 12:45 pm

Re: (Unofficial) Ubuntu repository for SABnzbd+

Post by jcfp »

sense wrote: echo "deb http://ppa.launchpad.net/jcfp/ppa/ubuntu $(lsb_release -c -s) main" | sudo tee -a /etc/apt/sources.list

Gives me "illegal variable name" using Ubuntu 9.10 Karmic.  :'(
No idea. Copy/paste error? Or did you make some fancy changes in the wrong places (like /etc/lsb-release) on your system?
bc55
Newbie
Newbie
Posts: 4
Joined: February 28th, 2010, 1:08 pm

Re: (Unofficial) Ubuntu repository for SABnzbd+

Post by bc55 »

Hiya,
I have a technical question. All those who are familiar with Ubuntu will know this, but I am a complete noob when it comes to Ubuntu. Well, actually, if I could see what I was doing ( as I can on my laptop that is running 9.10 nicely, it would probably be easier. Anyhow, I bought one of those Sheevaplugs, that runs Ubuntu 9.04. I have access to it via SSH, and updated the libraries etc. So far so good. Are the steps I need to follow to install sabnzbd+ the same ones as in the first post of this thread ?  ???

And how do I set sabnzbd up to read my RSS feeds etc. via command line inputs ?  :-\

Anyone have a tutorial on this ? Basically, I want it to continuously check my feeds, and grab what it finds onto my USB stick. From there, I can then copy it over to my server .....

Hope you can help me out .....

Cheers
gr4
Newbie
Newbie
Posts: 2
Joined: March 10th, 2010, 7:19 am

Re: (Unofficial) Ubuntu repository for SABnzbd+

Post by gr4 »

hello

i'm experiencing big troubles with sabnzbd during last month. (almost 5 month w/o problems on INTEL)
sab seems very unstable for me when im downloading big files (many rars) (on AMD sempron)

it always stops randomly after some time of downloading (15 min - 3 hours) leaving this:

Fatal Python error: Inconsistent interned string state. Aborted

i'm using SABnzbd+ 0.5.0

I tried to remove and install python's and sab's components with no successs. Worst of all i did complete fresh install from Hardy to Lucid again with no success.

i'm lost ! :(
Last edited by gr4 on March 10th, 2010, 7:54 am, edited 1 time in total.
User avatar
jcfp
Release Testers
Release Testers
Posts: 986
Joined: February 7th, 2008, 12:45 pm

Re: (Unofficial) Ubuntu repository for SABnzbd+

Post by jcfp »

gr4 wrote:it always stops randomly after some time of downloading (15 min - 3 hours) leaving this:

Fatal Python error: Inconsistent interned string state. Aborted
This smells like hardware error, especially if you tried different Ubuntu releases. Try memtest86 (it's on the live-cd, run it from there).
gr4
Newbie
Newbie
Posts: 2
Joined: March 10th, 2010, 7:19 am

Re: (Unofficial) Ubuntu repository for SABnzbd+

Post by gr4 »

rest of the system was always pretty stable :(

memtest86+ v2.11 -    21 pass  and 0 errors  7 + hours
256MB ram
Last edited by gr4 on March 10th, 2010, 3:22 pm, edited 1 time in total.
Locked