Page 2 of 3
Re: Downloads fail and do not get unrarred
Posted: July 16th, 2011, 8:27 am
by MonNeric
Yeah the entry just says "Failed" with no more details:
Code: Select all
Completed 2011-07-16 20:02:10
Name My.Download
Size 1 MB
Status Failed
Category tv
Path /media/sda4/downloads/.hidden/incomplete/My.Download
Download Downloaded in 2 seconds at an average of 502 KB/s
It doesn't even seem it is trying to unrar in fact. Note that when I select "Download" or +repair, the download fails as well (but the actual files located in incomplete are still ok)
Re: Downloads fail and do not get unrarred
Posted: July 16th, 2011, 8:53 am
by jcfp
MonNeric wrote:
Code: Select all
2011-07-16 20:02:10,673::INFO::[postproc:490] Running repair on set My.Download
2011-07-16 20:02:10,682::INFO::[newsunpack:766] Scanning "/media/sda4/downloads/.hidden/incomplete/My.Download/My.Download.vol00+1.par2"
2011-07-16 20:02:10,729::INFO::[newsunpack:781] Par verify failed on /media/sda4/downloads/.hidden/incomplete/My.Download/My.Download.vol00+1.par2!
2011-07-16 20:02:10,731::INFO::[postproc:505] Par2 check finished on My.Download
Par2 fails, is "Post-Process Only Verified Jobs" on by any chance?
Re: Downloads fail and do not get unrarred
Posted: July 17th, 2011, 12:28 am
by MonNeric
Yes it was and putting it of makes the post processing work again ! Thank you for that.
However isn't the par2 supposed to succeed ? My downloads are all in good state so it doesn't matter for those but what will happen the day they will need to be repaired ?
Again thanks and Cheers !
Re: Downloads fail and do not get unrarred
Posted: July 17th, 2011, 2:50 am
by shypike
Having the option on is the right thing.
Assuming this is a case of an NZB containing multiple rar/par sets
and one of the sets being unrepairable.
However the way SABnzbd deals with set failures in multi-set jobs is not very nice.
Currently the only way to deal with that is the following clumsy way:
When the failed job is in the History:
Set SABnzbd to paused.
Go to the job folder in the "incomplete" folder and remove all files of the failed set.
Click retry in History.
Click the job in the queue.
Remove all files of the failed set.
Resume downloading.
There needs to come a solution for this, but so far it's not clear to me exactly how
and there are lots of other high priotity things that require attention.
Re: Downloads fail and do not get unrarred
Posted: August 27th, 2011, 2:09 am
by MonNeric
Thanks both for your reply and sorry I dig this up after a month as I was away for quite some time.
Anyway, in all my previous installations of SABnzbd, I've always had the option on and it has always been able to repair the bad sets.
Is there a possibility that my par2 utility is incorrectly installed on my ubuntu ?
Cheers
Re: Downloads fail and do not get unrarred
Posted: August 27th, 2011, 7:31 am
by shypike
MonNeric wrote:
Is there a possibility that my par2 utility is incorrectly installed on my ubuntu ?
Possibly. The best way to find out it to run a repair from a bash shell.
Go to the job folder and type:
Re: Downloads fail and do not get unrarred
Posted: December 5th, 2011, 6:14 pm
by gregpeters
Hi,
I just installed sabnzbd+ and SickBeard on my NAS (
Netgear Stora). Everything is working fine, except for one thing: sabnzbd+ will download a file, check it, but it doesn't get unrared.
I'm receiving the following error warnings:
s-l-d5-xvid.nfo - Unpacking failed, [Errno 2] No such file or directory 729.13 MB Failed
Completed at 23:29:49 on Monday 05 December 2011
Download:
Downloaded in 11 minutes 20 seconds at an average of 1.07 MB/s
Repair:
[s-l-d5-xvid] Quick Check OK
Unpack:
[s-l-d5-xvid.nfo] Error "[Errno 2] No such file or directory" while unpacking RAR files
Path:
/home/USERNAME/MeineOrdner/SABnzbd/downloads/complete/_FAILED_s-l-d5-xvid.nfo
I didn't make many changes to sabnzbd+ settings. On the
Switches Configuration everything is active, except "Fail on yEnc CRC Errors" and "Prevent Duplicate Downloads".
I've installed the following packages:
Package: python
Version: 2.5-1
Depends: python25
Section: devel
Architecture: arm
Maintainer: NSLU2 Linux <
nslu2-linux@yahoogroups.com>
MD5Sum: 67b9e8866017b0969e7b5745a2a91d97
Size: 785
Filename: python_2.5-1_arm.ipk
Source: /
Description: This is a package that sets up the default python.
As said, everything is working fine: sabnzbd will download the files to a local folder and I've to unrar them manually.
Cheers,
Greg
Re: Downloads fail and do not get unrarred
Posted: December 6th, 2011, 2:44 am
by shypike
You using an old, no longer supported release on a platform we don't know and don't have access to.
There isn't an awful lot we can do.
Have you tested the unrar program separately?
Re: Downloads fail and do not get unrarred
Posted: December 6th, 2011, 5:10 am
by gregpeters
Thanks shypike,
Yes, I tested unrar. It will unrar the file if I just enter:
unrar e /PathToFile/NameOfFile.rar
I'm unsing the following versions:
unrar:
UNRAR 3.92 beta 1 freeware Copyright (c) 1993-2010 Alexander Roshal
par2:
par2cmdline version 0.4, Copyright (C) 2003 Peter Brian Clements.
Any ideas?
Cheers,
Greg
Re: Downloads fail and do not get unrarred
Posted: December 6th, 2011, 1:44 pm
by shypike
Have you tried to download with the same NZB on a PC or Mac?
To make sure it's not just a rotten post?
Other than that, I have no idea how to solve this for you.
Re: Downloads fail and do not get unrarred
Posted: December 6th, 2011, 6:21 pm
by gregpeters
Yep, this is very strange indeed.
I installed and downloaded the current SABnzbd version (0.6.12 -- Python Source) and installed it on the Stora. Again, everything is working fine. Sickbeard (also installed on the Stora) is communicating with SABZnbd, SABZnbd is downloading but then SABnzbd fails to unrar the files. I've no problems to unrar the files manually like this:
Code: Select all
unrar e /PathToFolder/SABnzbd/downloads/incomplete/FileName/FileName.rar /PathToFolder/SABnzbd/downloads/complete/FileName/
According to the SABnzbd installation note, SABnzbd is requiring
Code: Select all
unrar >= 3.90+ from http://www.rarlab.com/rar_add.htm
I've installed
Code: Select all
Package: unrar 3.9.8-1 Source: http://www.rarlab.com/rar/unrarsrc-3.9.8.tar.gz
Is there an alternative method (post script?) that let's you execute unrar?
Cheers,
Greg
Re: Downloads fail and do not get unrarred
Posted: December 6th, 2011, 6:40 pm
by gregpeters
Just installed SABnzbd on a Windows 7 and downloaded the same NZB. Everything worked fine... also it did unrar the files.
Cheers,
Greg
Re: Downloads fail and do not get unrarred
Posted: December 7th, 2011, 3:17 am
by shypike
I'm out of options, it would require an extensive debugging session.
Re: Downloads fail and do not get unrarred
Posted: December 8th, 2011, 1:30 pm
by gregpeters
okay, I found the error!
(I'm a Newbie, so please be patient

)
It actually was a permission problem, but I still can't understand (completely) why this was causing errors (see section at the end).
The problem was that I was starting SABnzbd with the following line:
Code: Select all
/home/opt/bin/python2.5 /home/USERNAME/SABnzbd-0.6.12/SABnzbd.py -d -f /home/USERNAME/.sabnzbd/sabnzbd.ini
The problem was that this started SABnzbd as root. I should have entered the following:
Code: Select all
sudo -u USERNAME -H /home/opt/bin/python2.5 /home/USERNAME/SABnzbd-0.6.12/SABnzbd.py -d -f /home/USERNAME/.sabnzbd/sabnzbd.ini
.... and before that I should have changed the permission to SABnzbd and all other folders involved with this:
Code: Select all
sudo chown -R USERNAME:USERNAME /home/USERNAME/SABnzbd-0.6.12 #the install folder
sudo chown -R USERNAME:USERNAME /home/USERNAME/MeineOrdner/SABnzbd/ #the download, log, etc folder
sudo chown -R USERNAME:USERNAME /home/USERNAME/.SABnzbd/ #the config, INI folder
Since I did that everything is working fine.
I don't -- however -- understand the following:
1) In SABnzbd | configuration | folder, I set Permissions for completed downloads to 777
2) If i activated SABnzbd | configuration | Switsches | Enable folder rename, SABnzbd would copy everything without doing unrar from the /downloads/incomplete folder to the /downloads/complete folder and would add "failed" to the folder name. So SABnzbd created directories and copied files, but didn't have sufficient permissions to unrar the files (or to be precise: didn't start unrar with sufficient permissions). puuuhhh
still learning
Cheers and thanks for the help,
Greg
Re: Downloads fail and do not get unrarred
Posted: December 8th, 2011, 2:29 pm
by shypike
The "permissions" setting is applied after unrar.
So if rights were not sufficient for unrar in teh first place, the above won't help.
The permissions setting is primarily meant to make finished downloads more public,
not to solve initial rights issues.