Error "[Errno 2] No such file or directory" while running rar_unpack?
I'm getting the above error message in Ubuntu. The files seem to be downloading into the temp folder but there's some sort of issue with unraring them - any ideas on what it might be?
Error "[Errno 2] No such file or directory" while running ra
Forum rules
Help us help you:
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.
Re: Error "[Errno 2] No such file or directory" while runnin
Could you switch logging to Debug (in the Status Window) and then after it happens again, post the part of the log before and after that error here.
Then we can start debugging.
Also: what version of SAB?
Then we can start debugging.
Also: what version of SAB?
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
Re: Error "[Errno 2] No such file or directory" while runnin
... and which version of unrar? Check with:
For example
Or with +Debug set in SABnzbd:
Code: Select all
unrar | head -3
Code: Select all
$ unrar | head -3
UNRAR 5.40 freeware Copyright (c) 1993-2016 Alexander Roshal
Code: Select all
$ cat ~/.sabnzbd/logs/sabnzbd.log* | grep -i "unrar binary version" | head -1
2017-02-27 18:40:49,470::DEBUG::[newsunpack:150] UNRAR binary version 5.40
Re: Error "[Errno 2] No such file or directory" while runnin
It's unrar 5.40 and SabNZBd 1.2.1 [d32cf57].
I think this is where the error is happening:
22:33:44,491::INFO::[newsunpack:452] Extracting rarfile /usr/share/sabnzbdplus/Downloads/incomplete/Its.Always.Sunny.in.Philadelphia.S12E09.720p.HDTV.x264-AVS-Scrambled/<HASH>72a3348.part01.rar (belonging to <HASH>72a3348) to /home/<USERNAME>/Temp/TV/_UNPACK_Its.Always.Sunny.in.Philadelphia.S12E09.720p.HDTV.x264-AVS-Scrambled
2017-03-02 22:33:44,491::DEBUG::[newsunpack:533] rar_extract(): Extractionpath: /home/<USERNAME>/Temp/TV/_UNPACK_Its.Always.Sunny.in.Philadelphia.S12E09.720p.HDTV.x264-AVS-Scrambled
2017-03-02 22:33:44,491::DEBUG::[newsunpack:571] Analyzing rar file ... RAR3 found
2017-03-02 22:33:44,491::DEBUG::[newsunpack:572] Running unrar ['None', 'x', '-idp', '-o-', '-p-', '/usr/share/sabnzbdplus/Downloads/incomplete/Its.Always.Sunny.in.Philadelphia.S12E09.720p.HDTV.x264-AVS-Scrambled/<HASH>72a3348.part01.rar', '/home/<USERNAME>/Temp/TV/_UNPACK_Its.Always.Sunny.in.Philadelphia.S12E09.720p.HDTV.x264-AVS-Scrambled/']
2017-03-02 22:33:44,552::INFO::[downloader:710] Thread [email protected]: Article [email protected] missing (error=430)
2017-03-02 22:33:44,569::INFO::[decoder:246] <Article: article=[email protected], bytes=398613, partnum=914, art_id=None> => missing from all servers, discarding
2017-03-02 22:33:44,601::ERROR::[newsunpack:470] Error "[Errno 2] No such file or directory" while running rar_unpack on Its.Always.Sunny.in.Philadelphia.S12E09.720p.HDTV.x264-AVS-Scrambled
2017-03-02 22:33:44,602::DEBUG::[newsunpack:471] Traceback:
Traceback (most recent call last):
File "/usr/share/sabnzbdplus/sabnzbd/newsunpack.py", line 456, in rar_unpack
one_folder, nzo, rar_set, extraction_path)
File "/usr/share/sabnzbdplus/sabnzbd/newsunpack.py", line 518, 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 575, in rar_extract_core
startupinfo=stup, creationflags=creationflags)
File "/usr/lib/python2.7/subprocess.py", line 711, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1343, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
2017-03-02 22:33:44,605::DEBUG::[bpsmeter:268] bps: 11249638.3638
2017-03-02 22:33:44,635::INFO::[newsunpack:235] Unrar finished on /usr/share/sabnzbdplus/Downloads/incomplete/Its.Always.Sunny.in.Philadelphia.S12E09.720p.HDTV.x264-AVS-Scrambled
2017-03-02 22:33:44,635::INFO::[downloader:710] Thread [email protected]: Article [email protected] missing (error=430)
2017-03-02 22:33:44,636::INFO::[postproc:383] unpack_magic finished on Its.Always.Sunny.in.Philadelphia.S12E09.720p.HDTV.x264-AVS-Scrambled
2017-03-02 22:33:44,638::DEBUG::[tvsort:210] Found TV Show (Its.Always.Sunny.in.Philadelphia.S12E09.720p.HDTV.x264-AVS-Scrambled)
2017-03-02 22:33:44,646::INFO::[decoder:246] <Article: article=[email protected], bytes=398575, partnum=915, art_id=None> => missing from all servers, discarding
2017-03-02 22:33:44,768::INFO::[postproc:582] Cleaning up Its.Always.Sunny.in.Philadelphia.S12E09.720p.HDTV.x264-AVS-Scrambled (keep_basic=True)
2017-03-02 22:33:44,768::INFO::[__init__:960] /usr/share/sabnzbdplus/Downloads/incomplete/Its.Always.Sunny.in.Philadelphia.S12E09.720p.HDTV.x264-AVS-Scrambled/__ADMIN__/SABnzbd_nzf_ll_OoP removed
2017-03-02 22:33:44,769::INFO::[__init__:960] /usr/share/sabnzbdplus/Downloads/incomplete/Its.Always.Sunny.in.Philadelphia.S12E09.720p.HDTV.x264-AVS-Scrambled/__ADMIN__/SABnzbd_nzf_S4aKV4 removed
2017-03-02 22:33:44,769::INFO::[__init__:960] /usr/share/sabnzbdplus/Downloads/incomplete/Its.Always.Sunny.in.Philadelphia.S12E09.720p.HDTV.x264-AVS-Scrambled/__ADMIN__/SABnzbd_nzf_Fmu_aS removed
2017-03-02 22:33:44,769::INFO::[__init__:960] /usr/share/sabnzbdplus/Downloads/incomplete/Its.Always.Sunny.in.Philadelphia.S12E09.720p.HDTV.x264-AVS-Scrambled/__ADMIN__/SABnzbd_nzf_RTwSUL removed
2017-03-02 22:33:44,770::INFO::[__init__:960] /usr/share/sabnzbdplus/Downloads/incomplete/Its.Always.Sunny.in.Philadelphia.S12E09.720p.HDTV.x264-AVS-Scrambled/__ADMIN__/SABnzbd_nzf_2EPghX removed
2017-03-02 22:33:44,770::INFO::[__init__:960] /usr/share/sabnzbdplus/Downloads/incomplete/Its.Always.Sunny.in.Philadelphia.S12E09.720p.HDTV.x264-AVS-Scrambled/__ADMIN__/SABnzbd_nzf_UUcs7K removed
2017-03-02 22:33:44,770::INFO::[__init__:960] /usr/share/sabnzbdplus/Downloads/incomplete/Its.Always.Sunny.in.Philadelphia.S12E09.720p.HDTV.x264-AVS-Scrambled/__ADMIN__/SABnzbd_nzf_oh8R6z removed
2017-03-02 22:33:44,773::INFO::[postproc:86] Saving postproc queue
2017-03-02 22:33:44,773::INFO::[__init__:969] Saving data for postproc2.sab in
I think this is where the error is happening:
22:33:44,491::INFO::[newsunpack:452] Extracting rarfile /usr/share/sabnzbdplus/Downloads/incomplete/Its.Always.Sunny.in.Philadelphia.S12E09.720p.HDTV.x264-AVS-Scrambled/<HASH>72a3348.part01.rar (belonging to <HASH>72a3348) to /home/<USERNAME>/Temp/TV/_UNPACK_Its.Always.Sunny.in.Philadelphia.S12E09.720p.HDTV.x264-AVS-Scrambled
2017-03-02 22:33:44,491::DEBUG::[newsunpack:533] rar_extract(): Extractionpath: /home/<USERNAME>/Temp/TV/_UNPACK_Its.Always.Sunny.in.Philadelphia.S12E09.720p.HDTV.x264-AVS-Scrambled
2017-03-02 22:33:44,491::DEBUG::[newsunpack:571] Analyzing rar file ... RAR3 found
2017-03-02 22:33:44,491::DEBUG::[newsunpack:572] Running unrar ['None', 'x', '-idp', '-o-', '-p-', '/usr/share/sabnzbdplus/Downloads/incomplete/Its.Always.Sunny.in.Philadelphia.S12E09.720p.HDTV.x264-AVS-Scrambled/<HASH>72a3348.part01.rar', '/home/<USERNAME>/Temp/TV/_UNPACK_Its.Always.Sunny.in.Philadelphia.S12E09.720p.HDTV.x264-AVS-Scrambled/']
2017-03-02 22:33:44,552::INFO::[downloader:710] Thread [email protected]: Article [email protected] missing (error=430)
2017-03-02 22:33:44,569::INFO::[decoder:246] <Article: article=[email protected], bytes=398613, partnum=914, art_id=None> => missing from all servers, discarding
2017-03-02 22:33:44,601::ERROR::[newsunpack:470] Error "[Errno 2] No such file or directory" while running rar_unpack on Its.Always.Sunny.in.Philadelphia.S12E09.720p.HDTV.x264-AVS-Scrambled
2017-03-02 22:33:44,602::DEBUG::[newsunpack:471] Traceback:
Traceback (most recent call last):
File "/usr/share/sabnzbdplus/sabnzbd/newsunpack.py", line 456, in rar_unpack
one_folder, nzo, rar_set, extraction_path)
File "/usr/share/sabnzbdplus/sabnzbd/newsunpack.py", line 518, 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 575, in rar_extract_core
startupinfo=stup, creationflags=creationflags)
File "/usr/lib/python2.7/subprocess.py", line 711, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1343, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
2017-03-02 22:33:44,605::DEBUG::[bpsmeter:268] bps: 11249638.3638
2017-03-02 22:33:44,635::INFO::[newsunpack:235] Unrar finished on /usr/share/sabnzbdplus/Downloads/incomplete/Its.Always.Sunny.in.Philadelphia.S12E09.720p.HDTV.x264-AVS-Scrambled
2017-03-02 22:33:44,635::INFO::[downloader:710] Thread [email protected]: Article [email protected] missing (error=430)
2017-03-02 22:33:44,636::INFO::[postproc:383] unpack_magic finished on Its.Always.Sunny.in.Philadelphia.S12E09.720p.HDTV.x264-AVS-Scrambled
2017-03-02 22:33:44,638::DEBUG::[tvsort:210] Found TV Show (Its.Always.Sunny.in.Philadelphia.S12E09.720p.HDTV.x264-AVS-Scrambled)
2017-03-02 22:33:44,646::INFO::[decoder:246] <Article: article=[email protected], bytes=398575, partnum=915, art_id=None> => missing from all servers, discarding
2017-03-02 22:33:44,768::INFO::[postproc:582] Cleaning up Its.Always.Sunny.in.Philadelphia.S12E09.720p.HDTV.x264-AVS-Scrambled (keep_basic=True)
2017-03-02 22:33:44,768::INFO::[__init__:960] /usr/share/sabnzbdplus/Downloads/incomplete/Its.Always.Sunny.in.Philadelphia.S12E09.720p.HDTV.x264-AVS-Scrambled/__ADMIN__/SABnzbd_nzf_ll_OoP removed
2017-03-02 22:33:44,769::INFO::[__init__:960] /usr/share/sabnzbdplus/Downloads/incomplete/Its.Always.Sunny.in.Philadelphia.S12E09.720p.HDTV.x264-AVS-Scrambled/__ADMIN__/SABnzbd_nzf_S4aKV4 removed
2017-03-02 22:33:44,769::INFO::[__init__:960] /usr/share/sabnzbdplus/Downloads/incomplete/Its.Always.Sunny.in.Philadelphia.S12E09.720p.HDTV.x264-AVS-Scrambled/__ADMIN__/SABnzbd_nzf_Fmu_aS removed
2017-03-02 22:33:44,769::INFO::[__init__:960] /usr/share/sabnzbdplus/Downloads/incomplete/Its.Always.Sunny.in.Philadelphia.S12E09.720p.HDTV.x264-AVS-Scrambled/__ADMIN__/SABnzbd_nzf_RTwSUL removed
2017-03-02 22:33:44,770::INFO::[__init__:960] /usr/share/sabnzbdplus/Downloads/incomplete/Its.Always.Sunny.in.Philadelphia.S12E09.720p.HDTV.x264-AVS-Scrambled/__ADMIN__/SABnzbd_nzf_2EPghX removed
2017-03-02 22:33:44,770::INFO::[__init__:960] /usr/share/sabnzbdplus/Downloads/incomplete/Its.Always.Sunny.in.Philadelphia.S12E09.720p.HDTV.x264-AVS-Scrambled/__ADMIN__/SABnzbd_nzf_UUcs7K removed
2017-03-02 22:33:44,770::INFO::[__init__:960] /usr/share/sabnzbdplus/Downloads/incomplete/Its.Always.Sunny.in.Philadelphia.S12E09.720p.HDTV.x264-AVS-Scrambled/__ADMIN__/SABnzbd_nzf_oh8R6z removed
2017-03-02 22:33:44,773::INFO::[postproc:86] Saving postproc queue
2017-03-02 22:33:44,773::INFO::[__init__:969] Saving data for postproc2.sab in
Re: Error "[Errno 2] No such file or directory" while runnin
I think it could be a permissions issue?
Re: Error "[Errno 2] No such file or directory" while runnin
Maybe.eb98jdb wrote:I think it could be a permissions issue?
/usr/share/sabnzbdplus/Downloads/incomplete/ as download location is very unusual. So:
- Are you running SABnzbd as root? (If so: Why?!)
- does /usr/share/sabnzbdplus/Downloads/incomplete/ exist?
- what is the output of
Code: Select all
cat ~/.sabnzbd/sabnzbd.ini | grep dir
Re: Error "[Errno 2] No such file or directory" while runnin
No, it's something with your unrar:
It should say the path to your Unrar there instead of 'None'
Unrar is not detected on startup.
Can you run what @sanderjo said?
Code: Select all
Running unrar ['None', ...
Unrar is not detected on startup.
Can you run what @sanderjo said?
Code: Select all
unrar | head -3
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
Re: Error "[Errno 2] No such file or directory" while runnin
Unrar | head -3 produces :-
UNRAR 5.30 beta 2 freeware Copyright (c) 1993-2015 Alexander Roshal.
I'm not running SABnzbd as root.
/usr/share/sabnzbplus/Downloads/incomplete does exist but is empty (I didn't change any of the settings for where to download - just for where the output end up)
The output I get for the first command is:-
cat: /home/plex/.sabnzbd/sabnzbd.ini: No such file or directory
UNRAR 5.30 beta 2 freeware Copyright (c) 1993-2015 Alexander Roshal.
I'm not running SABnzbd as root.
/usr/share/sabnzbplus/Downloads/incomplete does exist but is empty (I didn't change any of the settings for where to download - just for where the output end up)
The output I get for the first command is:-
cat: /home/plex/.sabnzbd/sabnzbd.ini: No such file or directory
Re: Error "[Errno 2] No such file or directory" while runnin
My alarm bells are ringing ... what an inconsistent setup:
- Unrar 5.40 and 5.30 ... ?
- not root, but incomplete dir is pointing to a non-existing directory, to which (parent) directory only root can write?
- no sabnzbd.ini for the account you use?!
- plex? So not a plain ubuntu?
- Unrar 5.40 and 5.30 ... ?
- not root, but incomplete dir is pointing to a non-existing directory, to which (parent) directory only root can write?
- no sabnzbd.ini for the account you use?!
- plex? So not a plain ubuntu?
Re: Error "[Errno 2] No such file or directory" while runnin
Not deliberately inconsistent! Quite new to Ubuntu.
I installed SABNZBd via the Atomic Toolkit using plex as the user.
I just rebooted the server and SAB seems to be able to pick up and unpack now?
I installed SABNZBd via the Atomic Toolkit using plex as the user.
I just rebooted the server and SAB seems to be able to pick up and unpack now?
Re: Error "[Errno 2] No such file or directory" while runnin
So you installed Plex?
If so, it's better to say so. Maybe Plex is based on Ubuntu (I don't know), but Plex is Plex, with all its specials (as in: non-Ubuntu style).
If so, it's better to say so. Maybe Plex is based on Ubuntu (I don't know), but Plex is Plex, with all its specials (as in: non-Ubuntu style).