Posts Tagged ‘nzbgetweb’

Message to self: CH3MNAS & NZBGETWEB [FAIL!]

Written on December 10th, 2009 by Dennisone shout

existing newsbin release has somewhere an incorrect nzbgetweb configuration. certain options are not selectable when using configure. Need to update nzgetweb with exixting installation I use myself

Update expected Saturday Sunday .. and the new updated release with updated /web/ folders can be found here

Just a howto for a Tweaker

Written on November 14th, 2009 by Dennis20 shouts

Do not use this howto if you are using fun_plug or nzbget already! [updated 01-03-2010]

this howto is a first test for me to see if I can write a howto out of experience and without the need to do a complete install myself (No NAS available to do it).

updated: 17-11-2009

Enjoy!, This howto should be working now.

(more…)

Newsbin v3 [nzbget, nzbgetweb, nzbgetter & unpak]

Written on October 10th, 2009 by Dennis51 shouts

Today I release a new complete package for the Conceptronic CH3SNAS & CH3MNAS (2 different binaries)

before you use my package make sure you use

fun_plug, PHP5 with curl support, have installed unrar and installed the lighttpd module as well
the newsbin package you can download here

It contains:

  • - nzbget version 0.7.0-testing-r357
  • - nzbgetweb version v 1.4 (testing-5)
  • - nzbgetter version 1.0
  • - modified unpak.sh script

in short how to install:

put the correct file into the root of the Harddisk of the NAS, this is /mnt/HD_a2

untar the tgz file with tar -xvzf newsbinch3mnas-v3.tgz or tar -xvzf newsbinch3snas-v3.tgz, a folder newsbin will be created
Than there are a few files you have to copy manually into the correct folders
go into the newsbin folder with ‘cd newsbin’
than copy  the 2 shell script files (extension SH) to the startup folder of Fun_Plug

‘cp *.sh /ffp/start’

with next reboot nzbget will be started automatically.
optional you can copy from /conf/editcron.sh the cronfile into /ffp/start as well to have nzbgetter auto-download your nzb files, it is possible you already installed it, so do not copy it cause your old crontab file will be overwritten.

if you do not reboot you have to make sure you start the two shell scripts manually.

cd /ffp/start
sh startnzbget.sh start
sh startweb.sh start

the first script starts nzbget for downloading from usenet, the 2nd script will run lighttpd with the correct configurations

upload your nzbfiles manually into /mnt/HD_a2/newsbin/nzb or use nzbgetter.

to access nzbgetweb interface: http://[ip-of-nas]:8000
to access nzbgetter web interface: http://[ip-of-nas]:8000/nzbgetter or access it through the nzbgetweb interface

Please make sure you configure nzbget with your usenet account and password
the unpak.sh script will make sure that downloaded stuff will be put in the correct folder after download.
this short how-to is far from perfect and a quick reference next to the normal manual of the various tools

if you want to upgrade

copy the binary from the /bin/ folder
copy the /web/ folder to your /web folder
copy the /nzbgetter folder to a new created /web folder
optional: copy from the /conf/ folder the editcron.sh to /ffp/start

Enjoy.

NZBGET+WEB + UNPAK updated package

Written on May 22nd, 2009 by Dennis54 shouts

I’ve updated the nzbget + nzbgetweb +unpak.sh script with latest versions for the Conceptronic CH3SNAS:

  • NZBGet: NZBGet version 0.7.0-testing-r317
  • NZBGet Web Interface v 1.4 (testing-2)

the unpak script is little modified to fit the CH3SNAS configuration and has been changed to fit the config in NZBget Web when using the version 1.4 (testing-2).

Little How-To

Install Fun_Plug 0.5 of Fonz

Note: if you already run lighttpd you must make own adjustments to your lighttpd configuration and websettings

install the PHP package (needed for lighttpd).

  1. Download with wget http://www.aroundmyroom.com/ch3snas-funplug/php-5.2.6-3.tgz the PHP package (temporary from my server) as the new updated PHP version of Fonz seems to break something. Install PHP with ‘funpkg -i php-5.2.6-3.tgz’

Update: after consulting Fonz (Tobias) I learned that the new version of PHP is compiled with CURL support. So it’s necessary to install the curl package as well

  1. Download with wget http://www.aroundymyroom.com/ch3snas-funplug/unrar-3.7.8-1.tgz the UNRAR package. Install with ‘funpkg -i unrar-3.7.8-1.tgz’
  2. Download with wget http://www.aroundmyroom.com/ch3snas-funplug/nzbget-zeroday-web.tgz the NZBGet +NZBGet Web + Unpak package

put the tgz file in /mnt/HD_a2/ and untar this with tar -xvzf nzbget-zeroday-web.tgz and the files will be extracted to /mnt/HD_a2/newsbin/

start the webserver and nzbget with

  • sh /mnt/HD_a2/newsbin/startweb.sh start
  • sh /mnt/HD_a2/newsbin/startnzbget.sh start

The whole setup should not be accessible through http://Your-CH3SNAS:8000

Do not forget to configure your usenet server, username and password !!!

http://Your-CH3SNAS:8000/config.php?section=S-NEWS-SERVERS
If you want to upload nzb’s through the webinterface make sure that in the PHP.INI

upload_tmp_dir = /mnt/HD_a2/tmp

is enabled, and that the maximum allowed size for uploaded files is big enough.

upload_max_filesize = 256M

You can copy with

cp /ffp/etc/examples/php.ini-recommended /ffp/etc/php.ini

the correct php.ini into the correct folder

NZBGET for CH3SNAS, the Zeroday way

Written on May 4th, 2009 by Dennis35 shouts

rev1.
find here nzbget + nzbgetweb (latest beta release) in a ‘Zeroday’ installation package
it 98% complete. Missing some documentation only.

Here the quick guide:

What do you need?  You need to download the PHP package of FONZ and install it with funpkg -i php-5.2.9-1.tgz (UPDATED 22-05-09)

Important note: PHP 5.2.9-1 NEEDS also the CURL package to be installed  ! Otherwise lighttpd cannot be started!

http://www.inreto.de/dns323/fun-plug/0.5/PACKAGES.html#curl

and you need to install the unrar package which you can download here and install also with funpkg -i unrar-3.7.8-1.tgz

Make sure you put the newsbin_zeroday-rc1.tar into /mnt/HD_a2
in telnet use the command: tar -xvf newsbin_zeroday-rc1.tar and it will create a folder newsbin

cd /mnt/HD_a2/newsbin/conf/
cp php.ini /ffp/etc/
this will copy some specific php settings to be used by lighttpd when started
Please make sure that there is NO lighttpd already running as we are using our own configuration

after unpacking and copying the php.ini file we are almost ready
cd /mnt/HD_a2/newsbin/
sh startweb.sh start
sh startnzbget.sh start

go to your browser and enter http://ch3snas:8000

nzbgetweb is shown and you can now press config and in the NZBGET-SERVER part you select: NEWS-SERVERS and here you enter your News-Server Server1.Host, username & Password
Save this and you are ready

Upload your NZB files into the /mnt/HD_a2/newsbin/nzb folder (or Volume_1/newsbin/nzb)
best way is to create 2 shares in the webconfiguration of the CH3SNAS to /Volume_1/Newsbin/nzb to have a direct shortcut to the NZB folder within Windows and to create a direct share to /Volume_2/Newsbin/usenet where the files will be downloaded to and extracted

Try it. comments are open for discussion ;’-)

The How-to that replaces all

Written on January 27th, 2009 by Dennis145 shouts

[this how-to is outdated !!!, You can use http://www.aroundmyroom.com/2009/11/14/just-a-howto-for-a-tweaker/ but can also be outdated sometime]

NZBGET & NZBWEB from A to Z
(with lighthttpd)
and be ready for further installations ‘on-the-fly’

before installing make sure the TIME is set properly in your CH3SNAS (without correct time nzbget is not working properly (using year 2000 or 2001 is causing servere issues)

Update: also make sure you use Firmware version 1.04 or higher for CH3SNAS

(more…)

CH3SNAS: fun_plug and nzbget

Written on October 12th, 2008 by Dennis59 shouts

NOTE: this HOW-TO is outdated. Use this one !!

Today was testing day with Andrei (developer of nzbget) and Fonz (developer of FFP).  Cause nzbget crashed during repair of RAR files after checking the validation of the RAR files.

Finally it resulted in a new binary created by Andrei. (no fix from Fonz yet cause it’s still unclear what is the real issue or if it has to do with statically and dynamically linking of libraries).

So for all users of the Conceptronic CH3SNAS or DNS-323 who do not want to use optware (ipkg) (like me) but want to use NZBGET with FFP 0.5

Here are the guidelines:

First make sure you are using the correct extra libraries libpar2 (libpar2-0.2-2.tgz) (install with funpkg -i after download) and libsigc libsigc++-2.0.18-1.tgz (install with funpkg -i after download)

(according to Andrei it might even not be necessary to need these seperate tools when using the special compiled version for CH3SNAS/DNS-323).

You can find the source & scripts here

Make sure you download and install the correct unrar version. I have just upgraded my version to 3.7.8-1 from ULI the older version 3.4 caused strange crash during a long unrar session.

Download the nzbget-static-all-release.zip file, and if you have troubles you could use the debug version. Also available for download from the same webpage. This is the modified binary.

Put this file on your CH3SNAS. unzip this file and make sure it will be in /ffp/bin
You can use my nzbget.conf script, modify the usenet server details!

the nzbget.conf file must be put in /ffp/etc  folder
All my files are in /mnt/HD_a2/usenet
and under this folder there are 4 other folders needed: nzb, download, queue and tmp

If you want to process the RAR files after download you need a postprocess.sh file, you can grab your copy from my page and make sure it is called postproces.sh and put in /ffp/etc as well. Modify pathnames if necessary.

The last thing you need to do is grab the nzbget.sh file and put it in /ffp/start and make sure you make it executable with: chmod a+x nzbget.sh

You can check the working witht the command: sh nzbget.sh start – check it with sh nzbget.sh status – and stop it with sh nzbget.sh stop

Reboot your CH3SNAS or DNS-323 and after a few minutes you should be able to enter telnet again and see that nzbget is running (use ps as command to see the processes).

Smart people also make lighttpd working in combination with nzbgetweb .. to get a webfrontend for nzbget. the only thing you have to do is copy a nzb file into the /mnt/HD_a2/usenet/nzb folder

update 13-10:

changed links to folder content so that updates can be found rather than missing.

update 16-10:

Oeps.. some links to the files were gone .. Note: I am busy to get a more advanced postprocess script working ok.

When using NZBGETWEB

Addon: uploading large NZB > 8MB through the webinterface of NZBGETWEB is not possible if you do not use a separate PHP.INI. So please copy from /ffp/etc/examples the php.ini-recommended to /ffp/etc/php.ini, change the max upload file size. Although lighttpd has PHP support it does not use PHP.INI so you have to add this. open /ffp/etc/lighttpd.conf and edit : “bin-path” => “/ffp/bin/php-cgi“, to  /ffp/bin/php-cgi -c /ffp/etc/php.ini“; restart lighttpd and also large NZB files can be uploaded with NZBGET if you use this webfrontend.

enjoy!