bosiwollig
Posts: 8
Joined: Fri Aug 03, 2012 9:11 am

Nzbget postprocess aaaargh :(p

Fri Aug 03, 2012 9:20 am

Hello raspberry pi's :)

I just finished installing nzbget and it is able to download files.
The only, big problem I have that it doesn't unrar and repair files :( . I don't know how to do that. I'm using the latest raspbian an nzbget 0.8.0.

In the nzbget.conf file I've set postprocess= /the/pathto/postprocess.example.sh
In postprocess.example.sh I've set the path to postprocess.example.conf.

postprocess.exaple.conf looks like this:
####################### Settings section #######################
# Set the full path to unrar if it is not in your PATH
UnrarCmd=unrar (I think this is wrong???, not sure :s)

# Delete rar-files after unpacking (1, 0)
DeleteRarFiles=0

# Joint TS-files (1, 0)
JoinTS=0

# Rename img-files to iso (1, 0)

nzbget thinks it is unraring but In fact it doesn't :s

https://dl.dropbox.com/u/64092960/unraring.jpg

Nzbget says it is unrared but nothing happened. I hope somebody can help me. This is really driving me crazy.

Thanks in advance


RenameIMG=0
####################### End of settings section #######################

nasp2000
Posts: 8
Joined: Mon Jun 18, 2012 9:21 pm

Re: Nzbget postprocess aaaargh :(p

Fri Aug 03, 2012 11:17 am

Your settings are fine.

Try to unrar a file first standalone on console.

If it fails is because the unrar-free version that you have.... i think ;)


You need to install an unrar-nonfree version!!!

wget http://ftp.debian.org/debian/pool/non-f ... _armhf.deb

bosiwollig
Posts: 8
Joined: Fri Aug 03, 2012 9:11 am

Re: Nzbget postprocess aaaargh :(p

Fri Aug 03, 2012 12:21 pm

I'm really a debian noob :s :(
What should I do with the wget link you typed?

edit:

I've typed in the command you gave me: sudo wget .....armhf.deb
and I think he downloaded something. Whath should I do next?

bosiwollig
Posts: 8
Joined: Fri Aug 03, 2012 9:11 am

Re: Nzbget postprocess aaaargh :(p

Fri Aug 03, 2012 12:57 pm

nasp2000 wrote:Your settings are fine.

Try to unrar a file first standalone on console.

If it fails is because the unrar-free version that you have.... i think ;)


You need to install an unrar-nonfree version!!!

wget http://ftp.debian.org/debian/pool/non-f ... _armhf.deb
so all I need to do is run

sudo wget http://ftp.debian.org/debian/pool/non-f ... _armhf.deb

and after that

sudo dpkg -i unrar_4.1.4-1_armhf.deb

?

nasp2000
Posts: 8
Joined: Mon Jun 18, 2012 9:21 pm

Re: Nzbget postprocess aaaargh :(p

Fri Aug 03, 2012 3:06 pm

sudo wget http://ftp.debian.org/debian/pool/non-f ... _armhf.deb
sudo dpkg -i unrar_4.1.4-1_armhf.deb

yes ;)

jdbennet
Posts: 96
Joined: Sun Jul 22, 2012 2:25 pm

Re: Nzbget postprocess aaaargh :(p

Fri Aug 03, 2012 3:09 pm

Or add non-free to your sources.list, update, and install from there using apt...

bosiwollig
Posts: 8
Joined: Fri Aug 03, 2012 9:11 am

Re: Nzbget postprocess aaaargh :(p

Sun Aug 05, 2012 8:33 am

nasp2000 wrote:sudo wget http://ftp.debian.org/debian/pool/non-f ... _armhf.deb
sudo dpkg -i unrar_4.1.4-1_armhf.deb

yes ;)
Okay I did that. But now I want to try to manually unpack a file (to test if the installation worked). What command should I use? (the file is named : cruise ship.rar)
First I need to go to the directory of the file. But what command should I type? I tried man unrar. But I find it difficult to find the right command.

bosiwollig
Posts: 8
Joined: Fri Aug 03, 2012 9:11 am

Re: Nzbget postprocess aaaargh :(p

Mon Aug 06, 2012 9:01 am

This is my output message after unzipping the unrar .deb package

sudo dpkg -i unrar_4.1.4-1_armhf.deb
Selecting previously unselected package unrar.
(Reading database ... 55547 files and directories currently installed.)
Unpacking unrar (from unrar_4.1.4-1_armhf.deb) ...
Setting up unrar (1:4.1.4-1) ...
update-alternatives: using /usr/bin/unrar-nonfree to provide /usr/bin/unrar (unrar) in auto mode.


I created a new user and removed the pi user. Might that be the problem?

bosiwollig
Posts: 8
Joined: Fri Aug 03, 2012 9:11 am

Re: Nzbget postprocess aaaargh :(p

Mon Aug 06, 2012 9:46 am

Sorry for the tripple post, but I can't edit the previous post anymore :s

This is the output when i'm trying to unrar a file

[email protected]:/mnt/disk1/share# ls
kikker.rar
[email protected]:/mnt/disk1/share# unrar e kikker.rar
Segmentation fault
[email protected]:/mnt/disk1/share# ls
kikker.rar
[email protected]:/mnt/disk1/share#

Does anybody know what the problem might be?

bosiwollig
Posts: 8
Joined: Fri Aug 03, 2012 9:11 am

Re: Nzbget postprocess aaaargh :(p

Mon Aug 06, 2012 3:04 pm

I managed to get it working :). But now I have a different question. I have a limited internet bandwith. I'm allowed to download 150 gb in one month. Is there a way I can see how much I've downloaded in a month in nzbget? Or can I limit the total download of the pi?

Auron
Posts: 15
Joined: Tue Feb 14, 2012 1:40 am

Re: Nzbget postprocess aaaargh :(p

Tue Aug 07, 2012 3:08 pm

I'm having the same segmentation fault - would you be able to let me know what the problem was please?

bosiwollig
Posts: 8
Joined: Fri Aug 03, 2012 9:11 am

Re: Nzbget postprocess aaaargh :(p

Wed Aug 08, 2012 11:47 am

Hey, I followed this installation for unrar : http://www.raspberrypi.org/phpBB3/viewt ... 66&t=11389
(thought I posted it already :s, didn't work :s )


Now I have another question.

When I download a file. Nbget stores the .rar files in a folder. Let's say
/download/dst/thenameofthefolder . Inside 'thenameofthefolder' nzbget stores the .rar file. And when it is finished downloading he extracts the files to /download/dst/thenameofthefolder/extracted/ . I don't know if it is possible but I would like that nzbget extracts the file to /download/completed/thenameofthefileorfolder/thefile.extension
When nzbget extracted the files to /download/completed/thenameofthefileorfolder/ I want that it deletes the original folder + rar files in /download/dst/

Does anybody knows how to do this?

Thanks in advance :)

Return to “Beginners”