Page 1 of 2
Debian server unrar problems
Posted: January 17th, 2013, 5:18 am
by bmarra
Hi, I have installed sabnzbd version 0.7.9 on my x64 Debian server and everything is working as it should downloading etc but even though I am using the recommended version of unrar from here 64bit:
http://www.rarlab.com/rar/rarlinux-4.1.1.tar.gz
I still get the message "Your UNRAR version is not recommended, get it from
http://www.rarlab.com/rar_add.htm"
I have been trying for days to fix it but I'm really struggling now I wouldn't say I'm totally new to linux but I'm hardly a pro, All my downloads are going great but the files are not getting unrared I have checked my log and have this
WARNING::[sabnzbdplus:469] unrar binary... NOT found 2013-01-11 19:19:22,519::INFO::[sabnzbdplus:472] unzip binary... found (/usr/bin/unzip)
yet when I check unrar I get
UNRAR 4.11 freeware Copyright (c) 1993-2012 Alexander Roshal
which I believe should be ok, Can anyone tell me what I'm doing wrong any help at all would be great, thanks.
Re: Debian server unrar problems
Posted: January 17th, 2013, 6:08 am
by jcfp
The packaged unrar version supplied by debian
in non-free (i.e. 'unrar', not 'unrar-free') will work just fine, consider using that. Manual installs may suffer from PATH issues, where depending on the environment the (correct) binary may not be found. Init scripts especially search only a limited PATH that doesn't include anything in user homedirs, so the results can be quite different compared to what you see when running unrar in a terminal window.
Re: Debian server unrar problems
Posted: January 17th, 2013, 6:45 am
by bmarra
Thank for the reply, I just tried to install unrar but I got this
apt-get install unrar
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package unrar is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'unrar' has no installation candidate
Am I doing something wrong?, thanks again.
edit: I just uninstalled unrar and unrar-free to make sure I'm not confusing matters but even after uninstalling them when I check unrar I still get
UNRAR 4.11 freeware Copyright (c) 1993-2012 Alexander Roshal
could this be a problem?
Re: Debian server unrar problems
Posted: January 17th, 2013, 1:47 pm
by bmarra
sorry to reply to my own post but I got rid of unrar totally and reinstalled "apt-get install unrar" and now I get,
UNRAR 3.93 freeware Copyright (c) 1993-2010 Alexander Roshal
but because i'm a total idiot I hadn't realised I wasn't reading the log properly and it was finding unrar but that leaves me with a new problem,
Why is unrar being found but not unraring any of my downloads I've tried several today but everyone as finished downloading and when I have checked the folders they're all still packed, Any help would be appreciated, thanks.
Re: Debian server unrar problems
Posted: January 17th, 2013, 1:51 pm
by shypike
Do all NZBs have the "+Delete" label in the queue?
Re: Debian server unrar problems
Posted: January 17th, 2013, 2:09 pm
by bmarra
shypike wrote:Do all NZBs have the "+Delete" label in the queue?
Thanks for the reply, yes they all have +Delete
Re: Debian server unrar problems
Posted: January 17th, 2013, 4:19 pm
by shypike
What does the download report say?
Set logging level to Debug on the Status page.
Download something.
Check the log on the Status page.
The interesting bit should be at the end of the log.
Re: Debian server unrar problems
Posted: January 18th, 2013, 6:41 am
by bmarra
04:05:48,474::INFO::[newsunpack:684] Skipping unrar file check due to unreliable file names or old unrar
2013-01-18 04:05:48,475::INFO::[newsunpack:689] Unpacked 0 files/folders in 0 seconds
2013-01-18 04:05:48,475::DEBUG::[newsunpack:436] rar_unpack(): Rars: []
2013-01-18 04:05:48,475::DEBUG::[newsunpack:437] rar_unpack(): Newfiles: []
2013-01-18 04:05:48,475::INFO::[newsunpack:211] Unrar finished on
Is this the info you wanted I currently get this from unrar
UNRAR 3.93 freeware Copyright (c) 1993-2010 Alexander Roshal
Re: Debian server unrar problems
Posted: January 18th, 2013, 2:55 pm
by shypike
So SABnzbd does run the unrar tool, but somehow it doesn't unpack anything, nor does it report any errors.
Are the rar files transported to the "complete" folder in the end?
Try running the unrar tool from command prompt.
"cd" to the folder with the rar files and type
unrar x name-of-first-rar-001.rar
Re: Debian server unrar problems
Posted: January 18th, 2013, 9:16 pm
by bmarra
I'm sorry for taking so long to reply but being newish to Linux I messed up somewhere and basically I have just had to do a total reinstall, I've got everything else installed the only thing I haven't done yet is installed sabnzbd, would you advise just getting up to where I was in this thread or is there a tutorial about I should follow to avoid the problems I've had here. I followed this video the first time
http://www.linuxdistrocommunity.com/vid ... qwPyG7W9Ac
thanks for your help it's really appreciated.
Re: Debian server unrar problems
Posted: January 20th, 2013, 10:04 am
by jcfp
Installing sabnzbdplus isn't any different than other packages. Just make sure contrib and non-free are enabled on your system before you start (google knows how) or there'll be no sabnzbdplus and/or unrar packages available.
Instructions for getting the latest version in debian by using the ubuntu ppa are
here. The tutorial at linuxdistrocommunity.com you linked to essentially does the same, except that they unnecessarily make the installation of dependencies a separate step instead of relying on the package manager to take care of that.
Re: Debian server unrar problems
Posted: January 20th, 2013, 10:24 am
by bmarra
Thanks jcfp my internet was down yesterday so I just sat down to get it sorted funny enough I just followed your tut about 2 minutes ago I'm not sure how I missed it as a rule on any forum I always check the stickies and do a search. I had my configs backed up so I'm ready to go everything's running and I'm basically where I was before I messed up my server when I go to sab through the browser I get the message "No UNRAR program found, unpacking RAR files is not possible" obviously I understand but before I go any further and start installing and uninstalling unrar can you tell me which is the recommended version, cheers.
Re: Debian server unrar problems
Posted: January 20th, 2013, 10:29 am
by jcfp
Re: Debian server unrar problems
Posted: January 20th, 2013, 10:30 am
by bmarra
unrar:
Installed: (none)
Candidate: (none)
Version table:
Re: Debian server unrar problems
Posted: January 20th, 2013, 10:53 am
by jcfp
So you still don't have
non-free enabled and the unrar package from there installed...
