NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
fayraz
Jul 16, 2009Aspirant
How to install NZBGET?
Hi,
I have just received my ReadyNas Duo and want to install NZBGET so it can handle all my downloads.
Is there a step by step guide I can follow on how to install?
I have just received my ReadyNas Duo and want to install NZBGET so it can handle all my downloads.
Is there a step by step guide I can follow on how to install?
34 Replies
Replies have been turned off for this discussion
- lchapuisAspiranthi,
* first, download PHP addon viewtopic.php?f=47&t=21458
* install PHP addon in frontview --> system --> update --> local
* reboot your nas
* install NZGET addon viewtopic.php?f=47&t=21791
* reboot your NAS
* stop NZBget service in frontview --> service --> installed add-ons (uncheck the box and save)
* then edit the file nzbget.conf in \\nas_ip\addons-config\Nzbget to setup your newsgroup server parameters
* start NZBget service in frontview --> service --> installed add-ons (check the box and save)
* and launch the web ui with http://nas_ip/nzbget/
Installation Notes:
username is user
password is pass
files are downloaded in media share under nzbget/download
monitor directory is in media share under nzbget/download/nzb
I think it's complete :) - Harrie381AspirantIs there also some sort of manual how to get the downloaded files automatically unrarred?
There are some posts about the problems, but even if I follow them all I'm unable to get the files Parred and Unrarred automatically.
Please help me with this one out.
I have a Readynas Pro Business edition with Radiator 4.2.5 and Nzbget 2.2 and PHP 1.0. - fayrazAspirant
lchapuis wrote: hi,
* first, download PHP addon viewtopic.php?f=47&t=21458
* install PHP addon in frontview --> system --> update --> local
* reboot your nas
* install NZGET addon viewtopic.php?f=47&t=21791
* reboot your NAS
* stop NZBget service in frontview --> service --> installed add-ons (uncheck the box and save)
* then edit the file nzbget.conf in \\nas_ip\addons-config\Nzbget to setup your newsgroup server parameters
* start NZBget service in frontview --> service --> installed add-ons (check the box and save)
* and launch the web ui with http://nas_ip/nzbget/
Installation Notes:
username is user
password is pass
files are downloaded in media share under nzbget/download
monitor directory is in media share under nzbget/download/nzb
I think it's complete :)
Thanks for the info, I am stuck on another problem.
I have installed OpenDNS Updater and I get to the line:
edit /c/addons-scripts/OpenDNS/opendns_updater and put your username/password in it
What do I do here, how do I get access to that directory is there anything extra I need to install? - Harrie381Aspirant
Harrie38 wrote: Is there also some sort of manual how to get the downloaded files automatically unrarred?
There are some posts about the problems, but even if I follow them all I'm unable to get the files Parred and Unrarred automatically.
Please help me with this one out.
I have a Readynas Pro Business edition with Radiator 4.2.5 and Nzbget 2.2 and PHP 1.0.
Is there really no one that can tell exactly how to get NZBGET working correctly to UNPAR and UNRAR automatically?
I'd really appreciate the help of an expert! - kid_buuAspirantI have par checking / unrarring working with NZBget, I shall show you relevant parts of nzbget.conf.
##############################################################################
### PAR CHECK/REPAIR AND POSTPROCESSING ###
# Reload Post-processor-queue on start, if it exists (yes, no)
# For this option to work the options "SaveQueue" and "ReloadQueue" must
# be also enabled.
ReloadPostQueue=yes
# How many par2-files to load (none, all, one)
# none - all par2-files must be automatically paused
# all - all par2-files must be downloaded
# one - only one main par2-file must be dowloaded and other must be paused
# Paused files remain in queue and can be unpaused by parchecker when needed
LoadPars=one
# Automatic par-verification (yes, no)
# To download only needed par2-files (smart par-files loading) set also
# the option "loadpars" to "one". If option "loadpars" is set to "all",
# all par2-files will be downloaded before verification and repair starts.
# The option "renamebroken" must be set to "no", otherwise the par-checker
# may not find renamed files and fail
ParCheck=yes
# Automatic par-repair (yes, no)
# If option "parcheck" is enabled and "parrepair" is not, the program
# only verifies downloaded files and downloads needed par2-files, but does
# not start repair-process. This is useful if the server does not have
# enough CPU power, since repairing of large files may take too much
# resources and time on a slow computers.
# This option has effect only if the option "parcheck" is enabled
ParRepair=yes
# Use only par2-files with matching names (yes, no)
# If par-check needs extra par-blocks it searches for par2-files
# in download queue, which can be unpaused and used for restore.
# These par2-files should have the same base name as the main par2-file,
# currently loaded in par-checker. Sometimes extra par files (especially if
# they were uploaded by a different poster) have not matching names.
# Normally par-checker does not use these files, but you can allow it
# to use these files by setting "strictparname" to "no".
# This has however a side effect: if NZB-file contains more than one collection
# of files (with different par-sets), par-checker may download par-files from
# a wrong collection. This increases you traffic (but not harm par-check).
# NOTE: par-checker always uses only par-files added from the same NZB-file
# and the option "strictparname" does not change this behavior
StrictParName=yes
# Pause download queue during check/repair (yes, no)
# Enable the option to give CPU more time for par-check/repair. That helps
# to speed up check/repair on slow CPUs with fast connection (e.g. NAS-devices).
# NOTE: if parchecker needs additional par-files it temporary unpauses queue
# NOTE: See also option <PostPauseQueue>.
ParPauseQueue=yes
# Cleanup download queue after successful check/repair (yes, no)
# Enable this option for automatic deletion of unneeded (paused) par-files
# from download queue after successful check/repair.
# NOTE: before cleaning up the program checks if all paused files are par-files.
# If there are paused non-par-files (this means that you have paused them
# manually), the cleanup will be skipped for this collection.
ParCleanupQueue=yes
# Delete source nzb-file after successful check/repair (yes, no)
# Enable this option for automatic deletion of nzb-file from incoming directory
# after successful check/repair.
NzbCleanupDisk=yes
# Set path to program, that must be executed after the download of nzb-file
# or one collection in nzb-file (if par-check enabled and nzb-file contains
# multiple collections; see note below for the definition of "collection")
# is completed and possibly par-checked/repaired.
# Arguments passed to that program:
# 1 - path to destination dir, where downloaded files are located;
# 2 - name of nzb-file processed;
# 3 - name of par-file processed (if par-checked) or empty string (if not);
# 4 - result of par-check:
# 0 - not checked: par-check disabled or nzb-file does not contain any
# par-files;
# 1 - checked and failed to repair;
# 2 - checked and sucessfully repaired;
# 3 - checked and can be repaired but repair is disabled;
# 5 - state of nzb-job:
# 0 - there are more collections in this nzb-file queued;
# 1 - this was the last collection in nzb-file;
# 6 - indication of failed par-jobs for current nzb-file:
# 0 - no failed par-jobs;
# 1 - current par-job or any of the previous par-jobs for the
# same nzb-files failed;
# 7 - category assigned to nzb-file (can be empty string).
#
# NOTE: The parameter "state of nzb-job" is very important and MUST be checked
# even in the simplest scripts.
# If par-check is enabled and nzb-file contains more than one collection
# of files the postprocess-program is called after each collection is completed
# and par-checked. If you want to unpack files or clean up the directory
# (delete par-files, etc.) there are two possibilities, when you can do this:
# 1) you parse the "name of par-file processed" to find out the base name
# of collection and clean up only files from this collection (not reliable,
# because par-files sometimes have different names than rar-files);
# 2) or you just check the parameters "state of nzb-job" and "indication of
# failed par-jobs" and do the processing, only if they are set to "1"
# (which means, that this was the last collection in nzb-file and all files
# are now completed) and to "0" (no failed par-jobs) respectively;
# NOTE 2: if the option "ParCheck" is disabled nzbget calls PostProcess
# only once, not after every collection, because the detection of collection
# is disabled in this case;
# NOTE 3: the term "collection" in the above description actually means
# "par-set". To determine what "collections" are present in nzb-file nzbget
# looks for par-sets. If any collection of files within nzb-file does
# not have any par-files, this collection will not be detected.
# For example, for nzb-file containing three collections but only two par-sets,
# the postprocess will be called two times - after processing of each par-set.
# NOTE 4: an example script for unrarring is provided within distribution
# in file <postprocess-example.sh>
# NOTE 5: do not forget to uncomment the next line
PostProcess=/c/addons-config/Nzbget/unpak.sh
# Allow multiple post-processing for the same nzb-file (yes,no)
# After the post-processing (par-check and call of a postprocess-script) is
# completed, nzbget adds the nzb-file to a list of completed-jobs. The nzb-file
# stays in the list until the last file from that nzb-file is deleted from
# the download queue (it occurs straight away if the par-check was successful
# and the option "ParCleanupQueue" is enabled).
# That means, if a paused file from a nzb-collection becomes unpaused
# (manually or from a post-process-script) after the collection was allready
# postprocessed nzbget will not post-process nzb-file again.
# This prevents the unwanted multiple post-processings of the same nzb-file.
# But it might be needed if the par-check/-repair are performed not directly
# by nzbget but from a post-process-script.
# NOTE 1: enable this option only if you were advised to do that by the author
# of the post-process-script
# NOTE 2: by enabling "AllowReProcess" you should disable the option "ParCheck"
# to prevent multiple par-checking
AllowReProcess=yes
# Set the default message-kind for output received from postprocess-script
# (None, Detail, Info, Warning, Error, Debug).
# NZBGet checks if the line written by the script to stdout or stderr starts
# with special character-sequence, determining the message-kind, e.g.:
# [INFO] bla-bla
# [DETAIL] bla-bla
# [WARNING] bla-bla
# [ERROR] bla-bla
# [DEBUG] bla-bla
# If the message-kind was detected the text is added to log with detected type.
# Otherwise the message becomes the default kind, specified in this option.
ProcessLogKind=Detail
# Pause download queue during executing of postprocess-script (yes, no)
# Enable the option to give CPU more time for postprocess-script. That helps
# to speed up postprocess on slow CPUs with fast connection (e.g. NAS-devices).
# NOTE: See also option <ParPauseQueue>.
PostPauseQueue=yes
Also you will have to create a file called unpak.sh with the follow content. Don't forget to chmod it 777, place the file in the same directory as nzbget.conf. Which by default is /c/addons-config/Nzbget/.
#!/bin/sh
#
# NZBGet post-process script
# Script will unrar downloaded rar files, join ts-files and rename img-files to iso.
#
# Copyright (C) 2008 Peter Roubos <peterroubos @ hotmail.com>
# Copyright (C) 2008 Otmar Werner
# Copyright (C) 2008 Andrei Prygounkov <hugbug @ users.sourceforge.net>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#
#
####################### Settings section #######################
# Set the full path to unrar if it is not in your PATH
UnrarCmd=unrar
# Delete rar-files after unpacking (1, 0)
DeleteRarFiles=1
# Joint TS-files (1, 0)
JoinTS=1
# Rename img-files to iso (1, 0)
RenameIMG=0
####################### End of settings section #######################
# Parameters passed to script by nzbget:
# 1 - path to destination dir, where downloaded files are located;
# 2 - name of nzb-file processed;
# 3 - name of par-file processed (if par-checked) or empty string (if not);
# 4 - result of par-check:
# 0 - not checked: par-check disabled or nzb-file does not contain any
# par-files;
# 1 - checked and failed to repair;
# 2 - checked and sucessfully repaired;
# 3 - checked and can be repaired but repair is disabled;
# 5 - state of nzb-job:
# 0 - there are more collections in this nzb-file queued;
# 1 - this was the last collection in nzb-file;
# 6 - indication of failed par-jobs for current nzb-file:
# 0 - no failed par-jobs;
# 1 - current par-job or any of the previous par-jobs for the
# same nzb-files failed;
DownloadDir="$1"
NzbFile="$2"
ParCheck=$4
NzbState=$5
ParFail=$6
# Check if all is downloaded and repaired
if [ "$#" -lt 6 ]
then
echo "*** NZBGet post-process script ***"
echo "This script is supposed to be called from nzbget."
exit
fi
echo "[INFO] Unpack: Post-process script successfully started"
echo "[INFO] Download Dir: $DownloadDir"
echo "[INFO] NZB File: $NzbFile"
# Check if all is downloaded and repaired
if [ ! "$NzbState" -eq 1 ]
then
echo "[INFO] Unpack: Not the last collection in nzb-file, exiting"
exit
fi
if [ ! "$ParCheck" -eq 2 ]
then
echo "[WARNING] Unpack: Par-check failed or disabled, exiting"
exit
fi
if [ ! "$ParFail" -eq 0 ]
then
echo "[WARNING] Unpack: Previous par-check failed, exiting"
exit
fi
# All OK, processing the files
cd "$DownloadDir"
# Make a temporary directory to store the unrarred files
mkdir extracted
# Remove the Par files
echo "[INFO] Unpack: Deleting par2-files"
rm *.[pP][aA][rR]2
# Unrar the files (if any) to the temporary directory, if there are no rar files this will do nothing
if (ls *.rar >/dev/null)
then
echo "[INFO] Unpack: Unraring"
$UnrarCmd x -y -p- -o+ "*.rar" ./extracted/
fi
if [ $JoinTS -eq 1 ]
then
# Join any split .ts files if they are named xxxx.0000.ts xxxx.0001.ts
# They will be joined together to a file called xxxx.0001.ts
if (ls *.ts >/dev/null)
then
echo "[INFO] Unpack: Joining ts-files"
tsname=`find . -name "*0001.ts" |awk -F/ '{print $NF}'`
cat *0???.ts > ./extracted/$tsname
fi
# Remove all the split .ts files
echo "[INFO] Unpack: Deleting source ts-files"
rm *0???.ts
fi
# Remove the rar files
if [ $DeleteRarFiles -eq 1 ]
then
echo "[INFO] Unpack: Deleting rar-files"
rm *.r[0-9][0-9]
rm *.rar
rm *.s[0-9][0-9]
fi
# Comment out don't unpack Rars in Rars
# Go to the temp directory and try to unrar again.
# If there are any rars inside the extracted rars then these will no also be unrarred
# cd extracted
# if (ls *.rar >/dev/null)
# then
# echo "[INFO] Unpack: Calling unrar (second pass)"
# $UnrarCmd x -y -p- -o+ "*.rar"
# Delete the Rar files
# if [ $DeleteRarFiles -eq 1 ]
# then
# echo "[INFO] Unpack: Deleting rar-files (second pass)"
# rm *.r[0-9][0-9]
# rm *.rar
# rm *.s[0-9][0-9]
# fi
# fi
# Move everything back to the Download folder
cd extracted
mv * ..
cd ..
# Clean up the temp folder
echo "[INFO] Unpack: Cleaning up"
rmdir extracted
chmod -R a+rw .
rm *.nzb
rm *.1
rm .sfv
rm _brokenlog.txt
if [ $RenameIMG -eq 1 ]
then
# Rename img file to iso
# It will be renamed to .img.iso so you can see that it has been renamed
if (ls *.img >/dev/null)
then
echo "[INFO] Unpack: Renaming img-files to iso"
imgname=`find . -name "*.img" |awk -F/ '{print $NF}'`
mv $imgname $imgname.iso
fi
fi
You also need unrar and par2 packages. You can install those via SSH. You need SSH access and apt-get addons, which you can get at the follow locations.
http://www.readynas.com/download/addons/4.00/EnableRootSSH_1.0.bin
http://www.readynas.com/download/addons/4.00/APT_1.0.bin
apt-get update
apt-get install par2
apt-get install unrar - fayrazAspirantHow do you get access to the directory structure to modify files in directories?
- kid_buuAspirant
fayraz wrote: How do you get access to the directory structure to modify files in directories?
Check your network places. There has been an extra share added: addons-config.
Another way is to access it via SSH. - johnybAspirantHi could use some help with the install for this. Followed the steps below, but when try to open the app, http://192.168.0.32/nzbget/ , I browser dialogue :-
You have chosen to open
Which is a: application / x-http-php
What should firefox do with this file?
Any ideas?lchapuis wrote: hi,
* first, download PHP addon http://www.readynas.com/forum/viewtopic.php?f=47&t=21458
* install PHP addon in frontview --> system --> update --> local
* reboot your nas
* install NZGET addon http://www.readynas.com/forum/viewtopic.php?f=47&t=21791
* reboot your NAS
* stop NZBget service in frontview --> service --> installed add-ons (uncheck the box and save)
* then edit the file nzbget.conf in \\nas_ip\addons-config\Nzbget to setup your newsgroup server parameters
* start NZBget service in frontview --> service --> installed add-ons (check the box and save)
* and launch the web ui with http://nas_ip/nzbget/
Installation Notes:
username is user
password is pass
files are downloaded in media share under nzbget/download
monitor directory is in media share under nzbget/download/nzb
I think it's complete :) - johnybAspirantFrom some strange reason, after powering down the device overnight - i now tried the nzbget and it works!!!
Strange since I rebooted the device after both PHP & NZbget installs.... Anyone know why this is? - ourdaveAspirantHi there,
I've had a good look through the forums, but I can't find the info I'm after.
I didn't think I was stupid where computers are concerned, but there seems to be an assumption that you'd know how to configure the conf file.
I took one look at mine, and thought "huh!".
I've installed the PHP add-on, I've installed NZBget, I can get in to the gui....but I've no idea where to put my file server details. Usually I use newsleecher to get stuff from Astraweb - but I just can't see how I enter that - either in the config, or in the conf file.
Can someone kindly point me in the right direction?
Cheers
Dave
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!