Page 13 of 14
Re: (Unofficial) Ubuntu repository for SABnzbd+
Posted: March 20th, 2010, 11:51 pm
by couchboy
getting strange error. kind of new to linux perhaps you could provide a suggestion?
W: GPG error:
http://ppa.launchpad.net intrepid Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 2A8E3034D018A4CE
Re: (Unofficial) Ubuntu repository for SABnzbd+
Posted: March 21st, 2010, 5:33 am
by rosarch
Hi - Well impressed with how this has all moved on since I last looked, I am using this succesfully on one PC but am having some issues on a new setup.
Basically I have been dual booting between Windows & and Ubuntu 9.10 but have just been intorduced to virtualbox, so am now running a test ubuntu guest ontop of windows 7 using VB
I follow the setup an all looks good, however when I complete the wizard it goes into a loop and restarts the wizard each time I go to sabnzbd in a browser. I have tried this twice with the same results, is this because a file is not writeable?
Any guidance will be appreciated
Re: (Unofficial) Ubuntu repository for SABnzbd+
Posted: March 21st, 2010, 6:03 am
by jcfp
rosarch wrote:I follow the setup an all looks good, however when I complete the wizard it goes into a loop and restarts the wizard each time I go to sabnzbd in a browser. I have tried this twice with the same results, is this because a file is not writeable?
Could well be. Wizard comes up if there's no server defined (iirc). Anyway, set logging to max ('-l 2' command line option - that's a lowercase L there) and check.
Re: (Unofficial) Ubuntu repository for SABnzbd+
Posted: March 21st, 2010, 6:03 am
by jcfp
couchboy wrote:2A8E3034D018A4CE
Not our key. Freenx ppa?
Re: (Unofficial) Ubuntu repository for SABnzbd+
Posted: March 21st, 2010, 6:11 am
by rosarch
jcfp wrote:
rosarch wrote:I follow the setup an all looks good, however when I complete the wizard it goes into a loop and restarts the wizard each time I go to sabnzbd in a browser. I have tried this twice with the same results, is this because a file is not writeable?
Could well be. Wizard comes up if there's no server defined (iirc). Anyway, set logging to max ('-l 2' command line option - that's a lowercase L there) and check.
My bad - server details were wrong - thanks jcfp
Re: (Unofficial) Ubuntu repository for SABnzbd+
Posted: July 1st, 2010, 12:33 pm
by th3joker
Will the new version be added to the repository so we can update.
I'm getting some strange renaming errors where it's adding tv series info to non tv items.
Re: (Unofficial) Ubuntu repository for SABnzbd+
Posted: July 21st, 2010, 4:16 pm
by Eoghlear
JCFP,
I have been using your repo to install and run Sabnzbdplus for a while. Untill a few days ago i had no problems.
But after a reinstall of my Ubuntu 10.04 system it won't autostart everytime.
I have added my username in /etc/default/sabnzbdplus but on occasion it does not autostart. If i reboot the system, it will work agiain.
Is this a bug, or is there something else wrong? Our could i add Sabnzbd to the startup programs (how does one that?).
Thanks in advance.
Paul
PS. When i use [sudo sh -x /etc/init.d/sabnzbdplus start] i get this output:
+ DAEMON=/usr/bin/sabnzbdplus
+ SETTINGS=/etc/default/sabnzbdplus
+ [ -x /usr/bin/sabnzbdplus ]
+ [ -r /etc/default/sabnzbdplus ]
+ DESC=SABnzbd+ binary newsgrabber
+ DEFOPTS=--daemon
+ sed -n 1s/^#\!\([a-z0-9\.\/]\+\)\(.*\)/\1(\2)?/p /usr/bin/sabnzbdplus
+ PYTHONEXEC=^/usr/bin/python( -OO)?
+ PIDFILE=/var/run/sabnzbdplus.pid
+ PATH=/sbin:/usr/sbin:/bin:/usr/bin
+ unset USER CONFIG HOST PORT EXTRAOPTS
+ . /lib/lsb/init-functions
+ FANCYTTY=
+ [ -e /etc/lsb-base-logging.sh ]
+ . /etc/lsb-base-logging.sh
+ load_settings
+ . /etc/default/sabnzbdplus
+ USER=paul
+ CONFIG=
+ HOST=
+ PORT=
+ EXTRAOPTS=
+ [ -z paul ]
+ OPTIONS=--daemon
+ [ -n ]
+ [ -n ]
+ SERVER=
+ [ -n ]
+ [ -n ]
+ [ -n ]
+ return 0
+ is_running
+ pgrep -f -x -u paul ^/usr/bin/python( -OO)? /usr/bin/sabnzbdplus --daemon.*
+ PID=
+ RET=1
+ [ 1 -gt 1 ]
+ return 1
+ log_daemon_msg Starting SABnzbd+ binary newsgrabber
+ [ -z Starting SABnzbd+ binary newsgrabber ]
+ log_use_usplash
+ [ n = y ]
+ type usplash_write
+ log_use_fancy_output
+ TPUT=/usr/bin/tput
+ EXPR=/usr/bin/expr
+ [ -t 1 ]
+ [ xxterm-color != x ]
+ [ xxterm-color != xdumb ]
+ [ -x /usr/bin/tput ]
+ [ -x /usr/bin/expr ]
+ /usr/bin/tput hpa 60
+ FANCYTTY=0
+ false
+ echo * Starting SABnzbd+ binary newsgrabber
* Starting SABnzbd+ binary newsgrabber
+ COL=
+ start-stop-daemon --quiet --chuid paul --start --exec /usr/bin/sabnzbdplus -- --daemon
+ check_retval
+ [ 0 -eq 0 ]
+ log_end_msg 0
+ [ -z 0 ]
+ log_use_usplash
+ [ n = y ]
+ type usplash_write
+ [ ]
+ [ 0 -eq 0 ]
+ echo ...done.
...done.
+ return 0
+ return 0
+ dirname /var/run/sabnzbdplus.pid
+ [ -w /var/run ]
+ pgrep -f -x -n -u paul ^/usr/bin/python( -OO)? /usr/bin/sabnzbdplus --daemon
+ exit 0
Re: (Unofficial) Ubuntu repository for SABnzbd+
Posted: July 23rd, 2010, 2:13 pm
by jcfp
Eoghlear wrote:
I have added my username in /etc/default/sabnzbdplus but on occasion it does not autostart. If i reboot the system, it will work agiain.
Is this a bug, or is there something else wrong? Our could i add Sabnzbd to the startup programs (how does one that?).
These kind of occasional failures are very hard to diagnose; very little changed in the init script since the previous release. All the output looks normal and indicates a properly configured and working install. I'll keep an eye for it, since there's two of you complaining about this, but I don't see any obvious cause right now.
Re: (Unofficial) Ubuntu repository for SABnzbd+
Posted: July 26th, 2010, 3:49 pm
by Eoghlear
Thanks for looking in to it when you have the time.
It happend in about 3 out of 10 times since my last reboot/starting the system up.
Re: (Unofficial) Ubuntu repository for SABnzbd+
Posted: August 30th, 2010, 2:59 am
by deviant
Adding the repo this way doesn't work under Linux Mint.
Follow jcfp's guide, then in terminal:
sudo gedit /etc/apt/sources.list
Find deb
http://ppa.launchpad.net/jcfp/ppa/ubuntu Isadora main
Change Mint version (currently Isadora) to Ubuntu version (currently lucid)
Save, exit, then:
sudo apt-get update; sudo apt-get upgrade.
Re: (Unofficial) Ubuntu repository for SABnzbd+
Posted: September 18th, 2010, 1:16 pm
by Fjerpje
Hi there,
I'm having an Asrock 330HT with Ubuntu 10.4 with XBMCfreak Live CD Beta 1 with an updated version of XBMC to Beta 2.
Next to XBMC i installed Sabnzbdplus and follow the tutorial as described above. I modified my /etc/default/sabnzbdplus. Wich is here:
Code: Select all
# This file is sourced by /etc/init.d/sabnzbdplus
#
# When SABnzbd+ is started using the init script, the
# --daemon option is always used, and the program is
# started under the account of $USER, as set below.
#
# Each setting is marked either "required" or "optional";
# leaving any required setting unconfigured will cause
# the service to not start.
# [required] user or uid of account to run the program as:
USER="xbmc"
# [optional] full path to the configuration file of your choice;
# otherwise, the default location (in $USER's home
# directory) is used:
CONFIG=
# [optional] hostname/ip and port number to listen on:
HOST=192.168.1.171
PORT=9090
# [optional] extra command line options, if any:
EXTRAOPTS=
And here is the output when i execute the follow code "sudo sh -x /etc/init.d/sabnzbdplus start":
Code: Select all
[sudo] password for xbmc:
+ DAEMON=/usr/bin/sabnzbdplus
+ SETTINGS=/etc/default/sabnzbdplus
+ [ -x /usr/bin/sabnzbdplus ]
+ [ -r /etc/default/sabnzbdplus ]
+ DESC=SABnzbd+ binary newsgrabber
+ DEFOPTS=--daemon
+ sed -n 1s/^#\!\([a-z0-9\.\/]\+\)\(.*\)/\1(\2)?/p /usr/bin/sabnzbdplus
+ PYTHONEXEC=^/usr/bin/python( -OO)?
+ PIDFILE=/var/run/sabnzbdplus.pid
+ SETTINGS_LOADED=FALSE
+ unset USER CONFIG HOST PORT EXTRAOPTS
+ . /lib/lsb/init-functions
+ FANCYTTY=
+ [ -e /etc/lsb-base-logging.sh ]
+ . /etc/lsb-base-logging.sh
+ start_sab
+ load_settings
+ [ FALSE != TRUE ]
+ . /etc/default/sabnzbdplus
+ USER=xbmc
+ CONFIG=
+ HOST=192.168.1.171
+ PORT=9090
+ EXTRAOPTS=
+ [ -z xbmc ]
+ OPTIONS=--daemon
+ [ -n ]
+ [ -n 192.168.1.171 ]
+ SERVER=192.168.1.171
+ [ -n 9090 ]
+ SERVER=192.168.1.171:9090
+ [ -n 192.168.1.171:9090 ]
+ OPTIONS=--daemon --server 192.168.1.171:9090
+ [ -n ]
+ SETTINGS_LOADED=TRUE
+ return 0
+ is_running
+ pgrep -f -x -u xbmc ^/usr/bin/python( -OO)? /usr/bin/sabnzbdplus --daemon.*
+ PID=
+ RET=1
+ [ 1 -gt 1 ]
+ return 1
+ log_daemon_msg Starting SABnzbd+ binary newsgrabber
+ [ -z Starting SABnzbd+ binary newsgrabber ]
+ log_use_usplash
+ [ n = y ]
+ type usplash_write
+ log_use_fancy_output
+ TPUT=/usr/bin/tput
+ EXPR=/usr/bin/expr
+ [ -t 1 ]
+ [ xxterm != x ]
+ [ xxterm != xdumb ]
+ [ -x /usr/bin/tput ]
+ [ -x /usr/bin/expr ]
+ /usr/bin/tput hpa 60
+ /usr/bin/tput setaf 1
+ [ -z ]
+ FANCYTTY=1
+ true
+ /usr/bin/tput xenl
+ /usr/bin/tput cols
+ COLS=80
+ [ 80 ]
+ [ 80 -gt 6 ]
+ /usr/bin/expr 80 - 7
+ COL=73
+ printf * Starting SABnzbd+ binary newsgrabber
* Starting SABnzbd+ binary newsgrabber + /usr/bin/expr 80 - 1
+ /usr/bin/tput hpa 79
+ printf
+ start-stop-daemon --quiet --chuid xbmc --start --exec /usr/bin/sabnzbdplus -- --daemon --server 192.168.1.171:9090
Error:
Can't write to logfile
+ check_retval
+ [ 2 -eq 0 ]
+ log_end_msg 1
+ [ -z 1 ]
+ log_use_usplash
+ [ n = y ]
+ type usplash_write
+ [ 73 ]
+ [ -x /usr/bin/tput ]
+ printf \r
+ /usr/bin/tput hpa 73
+ [ 1 eq 0 ]
+ printf [
[+ /usr/bin/tput setaf 1
+ printf fail
fail+ /usr/bin/tput op
+ echo ]
]
+ return 1
+ exit 1
The problem is that Sabnzbdplus does not autostart when i turn on the machine. Since i'm no Linux expert i really don't know where to look or what to do so i am in need of some help of experienced Linux programmers. So if anyone can identify a problem and maybe knows a solution than please feel free to comment!
Thanks in advance,
Fjerpje
Re: (Unofficial) Ubuntu repository for SABnzbd+
Posted: September 19th, 2010, 2:57 pm
by jcfp
Fjerpje wrote:Code: Select all
+ start-stop-daemon --quiet --chuid xbmc --start --exec /usr/bin/sabnzbdplus -- --daemon --server 192.168.1.171:9090
Error:
Can't write to logfile
Check permissions and ownership of the
log file (and/or log directory). It has to be writetable for the user running the application ('xmbc' in your case). Most likely cause of this issue is running the application itself via sudo, which creates files in the home dir of the sudoer (xmbc account) but owned by root.
Re: (Unofficial) Ubuntu repository for SABnzbd+
Posted: September 21st, 2010, 6:54 am
by Fjerpje
jcfp wrote:
Fjerpje wrote:Code: Select all
+ start-stop-daemon --quiet --chuid xbmc --start --exec /usr/bin/sabnzbdplus -- --daemon --server 192.168.1.171:9090
Error:
Can't write to logfile
Check permissions and ownership of the
log file (and/or log directory). It has to be writetable for the user running the application ('xmbc' in your case). Most likely cause of this issue is running the application itself via sudo, which creates files in the home dir of the sudoer (xmbc account) but owned by root.
Thanks for the info! It all works fine now. The developer of the XBMCfreak live CD beta 1 forgot to set the permissions of the .sabnzbd dir to the default user.
Re: (Unofficial) Ubuntu repository for SABnzbd+
Posted: November 17th, 2010, 6:37 pm
by rascalli
Will 0.5.6 Final be released soon on Ubuntu ?
---
Edit 19th November : And it is released ;-)
Re: (Unofficial) Ubuntu repository for SABnzbd+
Posted: November 21st, 2010, 11:01 pm
by daemox
Thank you jcfp! I'm very appreciative for this PPA and all the packaging work you've done.
Thank you sir and take care!
daemox