Help with post processing error

Get help with all aspects of SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
anotherjoe
Newbie
Newbie
Posts: 4
Joined: November 30th, 2016, 6:45 am

Help with post processing error

Post by anotherjoe »

Version: 2.1.0 [443efb5]
OS: Debian 8
Install-type: apt
Firewall Software: none
Are you using IPV6? no
Is the issue reproducible? yes

Hi, new install here so was never working properly. Downloads will complete if I disable post processing or for example an mp3 that is not compressed. But when I try to download a rar it fails, a couple suspicious things in the logs

Code: Select all

2017-06-17 09:10:28,250::DEBUG::[newsunpack:612] Analyzing rar file ... RAR3 found
2017-06-17 09:10:28,250::DEBUG::[newsunpack:613] Running unrar ['None', 'x', '-idp', '-o-', '-p-', '/storage/sabznb/downloading/XXXXXX-720p-Obfuscated.1/YFOlcdMKLa8M.part01.rar', '/storage/sabznb/completed/_UNPACK_XXXXXX-720p-Obfuscated.2/']
2017-06-17 09:10:28,266::ERROR::[newsunpack:506] Error "[Errno 2] No such file or directory" while running rar_unpack on XXXXXX-720p-Obfuscated
2017-06-17 09:10:28,266::DEBUG::[newsunpack:507] Traceback:
Traceback (most recent call last):
  File "/usr/share/sabnzbdplus/sabnzbd/newsunpack.py", line 492, in rar_unpack
    one_folder, nzo, rar_set, extraction_path)
  File "/usr/share/sabnzbdplus/sabnzbd/newsunpack.py", line 554, in rar_extract
    fail, new_files, rars = rar_extract_core(rarfile_path, numrars, one_folder, nzo, setname, extraction_path, password)
  File "/usr/share/sabnzbdplus/sabnzbd/newsunpack.py", line 616, in rar_extract_core
    startupinfo=stup, creationflags=creationflags)
  File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1335, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory
/usr/bin/unrar output

Code: Select all

UNRAR 4.10 freeware      Copyright (c) 1993-2012 Alexander Roshal
For the sake of troubleshooting I set all the related directories to 777, any tips??

Thanks
User avatar
safihre
Administrator
Administrator
Posts: 5338
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Help with post processing error

Post by safihre »

As you can see from this line:
2017-06-17 09:10:28,250::DEBUG::[newsunpack:613] Running unrar ['None', 'x', '-idp', '-o-', '-p-', '/storage/sabznb/downloading/XXXXXX-720p-Obfuscated.1/YFOlcdMKLa8M.part01.rar', '/storage/sabznb/completed/_UNPACK_XXXXXX-720p-Obfuscated.2/']
SABnzbd is unable to detect the path to your unrar. Are you sure that the "unrar" command is in the PATH also for the user that is running SABnzbd?
You need to make a link from "unrar" -> "/usr/bin/unrar"
You should have seen an error un startup of SABnzbd, did you not?

And while you are at it, I would strongly suggest to upgrade unrar to something 5.x, because this version will not be able to unpack RAR5 archives which are becoming more and more common.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
anotherjoe
Newbie
Newbie
Posts: 4
Joined: November 30th, 2016, 6:45 am

Re: Help with post processing error

Post by anotherjoe »

Code: Select all

root@debian:/# echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
root@debian:/# unrar

UNRAR 4.10 freeware      Copyright (c) 1993-2012 Alexander Roshal
I think there is a link isnt the above output how I how I would verify?
anotherjoe
Newbie
Newbie
Posts: 4
Joined: November 30th, 2016, 6:45 am

Re: Help with post processing error

Post by anotherjoe »

On startup it was complaining about the version

Code: Select all

2017-06-17 15:06:06,938::INFO::[sabnzbdplus:428] UNRAR binary... found (/usr/bin/unrar)
2017-06-17 15:06:06,938::WARNING::[sabnzbdplus:434] Your UNRAR version is 4.10, we recommend version 5.00 or higher.<br />
So far its is working properly after installing 5.3
User avatar
safihre
Administrator
Administrator
Posts: 5338
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Help with post processing error

Post by safihre »

So it's fixed? :)
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
anotherjoe
Newbie
Newbie
Posts: 4
Joined: November 30th, 2016, 6:45 am

Re: Help with post processing error

Post by anotherjoe »

Yes it is I have now successfully completed and post processed many downloads
Post Reply