UNRAR: No files to extract

Get help, report and discuss bugs.
Post Reply
rolmei
Posts: 51
Joined: 13 Apr 2013, 15:52

UNRAR: No files to extract

Post by rolmei » 12 Jan 2019, 16:32

Hallo,
i have installiert unrar 5.61 on my raspberry and i set unrarcmd to "/usr/bin/unrar".
Now i have the message "Unrar: No files to extract" and "Unrar error code: 9".
When i go to the download dirctory and use the command nzbget will generat "/usr/bin/unrar x -y -p- -o+ *.rar ./_unpack/" i get the same message.
When I use the command "/usr/bin/unrar x -y -p- -o+ *part01.rar ./_unpack/" all will work fine.

What ist the reason for the problem?

THX
Roland

hugbug
Developer & Admin
Posts: 7645
Joined: 09 Sep 2008, 11:58
Location: Germany

Re: UNRAR: No files to extract

Post by hugbug » 15 Jan 2019, 14:51

If you type "/usr/bin/unrar x -y -p- -o+ *.rar ./_unpack/" in a shell session it's not the same command as executing unrar from nzbget because before executing unrar the shell replaces * in the command with a list of files which match criteria. If you want to pass * directly to unrar it must be surrounded with quotation marks to avoid replacement by shell:

Code: Select all

/usr/bin/unrar x -y -p- -o+ "*.rar" ./_unpack/
That might not explain why unrar fails though. Maybe you missed something from error messages. Post the full log from nzbget. Does standard unrar from nzbget package works correctly? Maybe your unrar isn't that good at all.

rolmei
Posts: 51
Joined: 13 Apr 2013, 15:52

Re: UNRAR: No files to extract

Post by rolmei » 20 Jan 2019, 08:26

Hi,
here is a log. The unrar is from the nzbget install (20.0).
Attachments
Group.log
(32.68 KiB) Downloaded 190 times

hugbug
Developer & Admin
Posts: 7645
Joined: 09 Sep 2008, 11:58
Location: Germany

Re: UNRAR: No files to extract

Post by hugbug » 20 Jan 2019, 11:58

Sat Jan 19 2019 21:03:57 ERROR Could not create directory /media/usb/nzbget/Group/_unpack: could not create directory /media/usb/nzbget/Group:
Maybe permissions?

rolmei
Posts: 51
Joined: 13 Apr 2013, 15:52

Re: UNRAR: No files to extract

Post by rolmei » 26 Jan 2019, 09:19

Sorry, i'm so stupid :-(

Post Reply

Who is online

Users browsing this forum: No registered users and 39 guests