Forum
NZBget 10.1 - Printable Version

+- Forum (http://forum.xbian.org)
+-- Forum: Software (/forum-6.html)
+--- Forum: Testing & Experimental (/forum-21.html)
+--- Thread: NZBget 10.1 (/thread-769.html)



NZBget 10.1 - Richdotward - 10th Apr, 2013 06:00 AM

Hi,

If anyone is interested I've just got the latest NZBget 10.1 compiled and working on my PI. The version in the xbian download package is at version 9.

When installing (from fresh SD install) I made the following notes. Code is downloaded direct from sourceforge and compiled.

Using Xbian 1.0Alpha5 all via SSH console. Other guides I've found on the internet are just not complete - error messages and bits missing. This takes the info I've read and merged into one working list. (Sorry but sources were never noted down)

Login : xbian
Password : raspberry

sudo apt-get update

Remove spaces from below line .....

wget http:// netcologne.dl.sourceforge.net/project/nzbget/nzbget-stable/10.1/nzbget-10.1.tar.gz
tar -xvf nzbget-10.1.tar.gz
rm nzbget-10.1.tar.gz
cd nzbget-10.1

sudo apt-get install libncurses5-dev
sudo apt-get install sigc++
sudo apt-get install libpar2-0-dev
sudo apt-get install libssl-dev
sudo apt-get install libgnutls-dev
sudo apt-get install g++
sudo apt-get install make
sudo apt-get install libxml2-dev
sudo apt-get install subversion

./configure --disable-libpar2-bugfixes-check

sudo make
sudo make install
cd ..
rm -rf nzbget-10.1

sudo nano /etc/nzbget.conf

$MAINDIR=/home/xbian
DestDir=${MAINDIR}/downloads
NzbDir=${MAINDIR}/torrents
QueueDir=${MAINDIR}/incomplete
TempDir=${MAINDIR}/incomplete
LockFile=/tmp/nzbget.lock
LogFile=${DestDir}/nzbget.log
Server1.Level=0
Server1.Host=my1.newsserver.com
Server1.Port=119
Server1.Username=user
Server1.Password=pass
Server1.JoinGroup=yes
Server1.Encryption=no
Server1.Connections=4
WebDir=/usr/local/share/nzbget/webui
ServerIP=0.0.0.0
ServerPort=9092
ServerPassword=

cd /etc/init.d
sudo nano nzbget-daemon

#!/bin/sh

### BEGIN INIT INFO
# Provides: NZBgte
# Required-Start: $network $remote_fs $syslog
# Required-Stop: $network $remote_fs $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Start NZBget at boot time
# Description: Start NZBget.
### END INIT INFO

case "$1" in
start) echo -n "Start services: NZBget"
/usr/local/bin/nzbget -D
;;
stop) echo -n "Stop services: NZBget"
/usr/local/bin/nzbget -Q
;;
restart)
$0 stop
$0 start
;;
*) echo "Usage: $0 start|stop|restart"
exit 1
;;
esac
exit 0

sudo chmod 755 /etc/init.d/nzbget-daemon
sudo update-rc.d nzbget-daemon defaults
sudo reboot

WORKS OK - autostarts !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

http://192.168.0.14:9092/ (Your PI ip number)

Login : nzbget
Password : (blank) "OR" default : tegbzn6789

NOTE : blank password if using above but when changing setting via the web it changes to tegbzn6789

Only issue I've came across is error in compiling as below. Any ideas how to remove them? The above still compiles and works though.

ERROR MESSAGE :

checking for libpar2/libpar2.h... yes
checking for library containing _ZN12Par2RepairerC1Ev... -lpar2
checking for libpar2 linking... yes
checking whether libpar2 supports cancelling... no
checking whether libpar2 has recent bugfixes-patch (version 2)... no
configure: error: Your version of libpar2 doesn't include the recent bugfixes-patch (version 2, updated
Dec 3, 2012). Please patch libpar2 with the patches supplied with NZBGet (see README for details).
If you cannot patch libpar2, you can use configure parameter --disable-libpar2-bugfixes-check to
suppress the check. Please note however that in this case the program may crash during par-check/repair.
The patch is highly recommended!

Directories for NZBget
======================

"/usr/local/share/nzbget/nzbget.conf"
"/usr/local/share/nzbget/webui"

Enjoy.

Rich


RE: NZBget 10.1 - CurlyMo - 13th Apr, 2013 08:33 AM

If you want to update the xbian-package-nzbget package feel free to do so. The source and instructions can be found here:
https://github.com/xbianonpi/xbian-deb-sources

Make sure to include the patches for nzbget that can be found here:
https://github.com/xbianonpi/xbian-patches/tree/master/nzbget


RE: NZBget 10.1 - Fred - 19th May, 2013 06:21 PM

(13th Apr, 2013 08:33 AM)CurlyMo Wrote:  If you want to update the xbian-package-nzbget package feel free to do so. The source and instructions can be found here:
https://github.com/xbianonpi/xbian-deb-sources

Make sure to include the patches for nzbget that can be found here:
https://github.com/xbianonpi/xbian-patches/tree/master/nzbget

I am willing to give this a try but I have no experience with this, so the instructions are not enough for me. Prior to trying this I already have some questions:

Quote:3) Copy all files and directory needed by the package and put it in your folder.

Does this mean just to extract the tar.gz into this folder?

And how can I find out what the depends of a package are?

How can I apply the patches you mentioned?


RE: NZBget 10.1 - Fred - 20th May, 2013 02:34 AM

Okay I think I figured out how to do this. Only thing is that the patch you are referring too seems to be outdated, it doesn't change the port, username, password etc. Or I might be doing something wrong.
Also I don't know how or where to include the init file.


RE: NZBget 10.1 - Fred - 28th May, 2013 05:38 AM

For who ever who wants to try nzbget 10.2:
https://github.com/xbianonpi/xbian-package-nzbget