Ubuntu - unrar not working
Posted: October 13th, 2014, 10:30 am
Hi!
I am using sabnzbd for a while now, but on Windows, and a few weeks agos i decided to get a Linux "Server" running.
But since i have the Server sabnzbd wont unpack files after the download, i tried to find some Solutions on the Internet but didnt found anything that fits my Problem or solves it...
So now i hope you can help me... PS: I am Windows Admin and a Linux noob so please be Patient
So here are the Problem and some technical Information (i did remove some personal Data but all relevant Information is given):
Problem: sabnzbd does not unpack any File after the download
Versions for Ubuntu and unrar:
Server:~$ uname -a
Linux PServer 3.13.0-37-generic #64-Ubuntu SMP Mon Sep 22 21:28:38 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
Server:~$ unrar | head -5
UNRAR 5.00 beta 8 freeware Copyright (c) 1993-2013 Alexander Roshal
Usage: unrar <command> -<switch 1> -<switch N> <archive> <files...>
<@listfiles...> <path_to_extract\>
Part of the Startup from the Log:
2014-10-08 18:04:05,551::INFO::[__init__:330] All processes started
2014-10-08 18:04:05,551::INFO::[sabnzbdplus:335] Web dir is /usr/share/sabnzbdplus/interfaces/Plush
2014-10-08 18:04:05,551::INFO::[sabnzbdplus:335] Web dir is /usr/share/sabnzbdplus/interfaces/Config
2014-10-08 18:04:05,565::INFO::[sabnzbdplus:451] _yenc module... found!
2014-10-08 18:04:05,565::INFO::[sabnzbdplus:459] par2 binary... found (/usr/bin/par2)
2014-10-08 18:04:05,565::INFO::[sabnzbdplus:467] unrar binary... found (/usr/bin/unrar)
2014-10-08 18:04:05,565::INFO::[sabnzbdplus:472] unzip binary... found (/usr/bin/unzip)
2014-10-08 18:04:05,565::INFO::[sabnzbdplus:478] nice binary... found (/usr/bin/nice)
2014-10-08 18:04:05,565::INFO::[sabnzbdplus:482] ionice binary... found (/usr/bin/ionice)
2014-10-08 18:04:05,565::INFO::[sabnzbdplus:487] pyOpenSSL... found (True)
2014-10-08 18:04:05,566::INFO::[sabnzbdplus:1471] Starting web-interface on 127.0.0.1:8080
2014-10-08 18:04:05,567::INFO::[_cplogging:55] [08/Oct/2014:18:04:05] ENGINE Bus STARTING
2014-10-08 18:04:05,572::INFO::[_cplogging:55] [08/Oct/2014:18:04:05] ENGINE Started monitor thread '_TimeoutMonitor'.
2014-10-08 18:04:05,781::INFO::[_cplogging:55] [08/Oct/2014:18:04:05] ENGINE Serving on 127.0.0.1:8080
2014-10-08 18:04:05,782::INFO::[_cplogging:55] [08/Oct/2014:18:04:05] ENGINE Bus STARTED
2014-10-08 18:04:06,284::INFO::[sabnzbdplus:1540] Starting sabnzbdplus-0.7.16
2014-10-08 18:04:06,286::INFO::[dirscanner:274] Dirscanner starting up
2014-10-08 18:04:06,288::INFO::[urlgrabber:77] URLGrabber starting up
Part of a File Download:
2014-10-09 20:28:32,977::INFO::[postproc:596] Par2 check finished on File01
2014-10-09 20:28:32,992::INFO::[misc:791] Creating directories: /mnt/safe/Musik/File01
2014-10-09 20:28:33,052::INFO::[postproc:340] Running unpack_magic on File01
2014-10-09 20:28:33,059::INFO::[newsunpack:208] Unrar starting on /mnt/safe/Download/Progress/File01
2014-10-09 20:28:33,060::INFO::[newsunpack:424] Extracting rarfile /mnt/safe/Download/Progress/File01/Rar01.rar (belonging to RAR) to /mnt/safe/Musik/neu/_U$
2014-10-09 20:28:33,083::INFO::[newsunpack:489] Read the passwords file /mnt/safe/PW/PW.txt
2014-10-09 20:28:33,145::INFO::[newsunpack:719] 0 Datei(en)/Ordner entpackt in 0 Sekunden
2014-10-09 20:28:33,146::INFO::[newsunpack:212] Unrar finished on /mnt/safe/Download/Progress/File01
2014-10-09 20:28:33,151::INFO::[postproc:342] unpack_magic finished on File01
2014-10-09 20:28:33,700::INFO::[growler:267] Send to NotifyOSD: Download fertig / File01
2014-10-09 20:28:33,810::INFO::[postproc:521] Cleaning up File01 (keep_basic=False)
2014-10-09 20:28:33,815::INFO::[__init__:893] /mnt/safe/Download/Progress/File01/__ADMIN__/SABnzbd_nzf_hxiIM7 removed
2014-10-09 20:28:33,856::INFO::[postproc:84] Saving postproc Queue
What i see:
sabnzbd does find the unrar binary and it starts unpacking but then does nothing cause...?
I tried to unpack some files within the terminal with unrar and works perfect.
My sabnzbd is running as root/sudo so there should be no permission issue (also it can write the download to that Folder so it also should be able to write the extracted files - from a permission Point of view).
Pleas, please, please help me cause i am running out of ideas.
Thanks a lot and best regards
Panic
I am using sabnzbd for a while now, but on Windows, and a few weeks agos i decided to get a Linux "Server" running.
But since i have the Server sabnzbd wont unpack files after the download, i tried to find some Solutions on the Internet but didnt found anything that fits my Problem or solves it...
So now i hope you can help me... PS: I am Windows Admin and a Linux noob so please be Patient

So here are the Problem and some technical Information (i did remove some personal Data but all relevant Information is given):
Problem: sabnzbd does not unpack any File after the download
Versions for Ubuntu and unrar:
Server:~$ uname -a
Linux PServer 3.13.0-37-generic #64-Ubuntu SMP Mon Sep 22 21:28:38 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
Server:~$ unrar | head -5
UNRAR 5.00 beta 8 freeware Copyright (c) 1993-2013 Alexander Roshal
Usage: unrar <command> -<switch 1> -<switch N> <archive> <files...>
<@listfiles...> <path_to_extract\>
Part of the Startup from the Log:
2014-10-08 18:04:05,551::INFO::[__init__:330] All processes started
2014-10-08 18:04:05,551::INFO::[sabnzbdplus:335] Web dir is /usr/share/sabnzbdplus/interfaces/Plush
2014-10-08 18:04:05,551::INFO::[sabnzbdplus:335] Web dir is /usr/share/sabnzbdplus/interfaces/Config
2014-10-08 18:04:05,565::INFO::[sabnzbdplus:451] _yenc module... found!
2014-10-08 18:04:05,565::INFO::[sabnzbdplus:459] par2 binary... found (/usr/bin/par2)
2014-10-08 18:04:05,565::INFO::[sabnzbdplus:467] unrar binary... found (/usr/bin/unrar)
2014-10-08 18:04:05,565::INFO::[sabnzbdplus:472] unzip binary... found (/usr/bin/unzip)
2014-10-08 18:04:05,565::INFO::[sabnzbdplus:478] nice binary... found (/usr/bin/nice)
2014-10-08 18:04:05,565::INFO::[sabnzbdplus:482] ionice binary... found (/usr/bin/ionice)
2014-10-08 18:04:05,565::INFO::[sabnzbdplus:487] pyOpenSSL... found (True)
2014-10-08 18:04:05,566::INFO::[sabnzbdplus:1471] Starting web-interface on 127.0.0.1:8080
2014-10-08 18:04:05,567::INFO::[_cplogging:55] [08/Oct/2014:18:04:05] ENGINE Bus STARTING
2014-10-08 18:04:05,572::INFO::[_cplogging:55] [08/Oct/2014:18:04:05] ENGINE Started monitor thread '_TimeoutMonitor'.
2014-10-08 18:04:05,781::INFO::[_cplogging:55] [08/Oct/2014:18:04:05] ENGINE Serving on 127.0.0.1:8080
2014-10-08 18:04:05,782::INFO::[_cplogging:55] [08/Oct/2014:18:04:05] ENGINE Bus STARTED
2014-10-08 18:04:06,284::INFO::[sabnzbdplus:1540] Starting sabnzbdplus-0.7.16
2014-10-08 18:04:06,286::INFO::[dirscanner:274] Dirscanner starting up
2014-10-08 18:04:06,288::INFO::[urlgrabber:77] URLGrabber starting up
Part of a File Download:
2014-10-09 20:28:32,977::INFO::[postproc:596] Par2 check finished on File01
2014-10-09 20:28:32,992::INFO::[misc:791] Creating directories: /mnt/safe/Musik/File01
2014-10-09 20:28:33,052::INFO::[postproc:340] Running unpack_magic on File01
2014-10-09 20:28:33,059::INFO::[newsunpack:208] Unrar starting on /mnt/safe/Download/Progress/File01
2014-10-09 20:28:33,060::INFO::[newsunpack:424] Extracting rarfile /mnt/safe/Download/Progress/File01/Rar01.rar (belonging to RAR) to /mnt/safe/Musik/neu/_U$
2014-10-09 20:28:33,083::INFO::[newsunpack:489] Read the passwords file /mnt/safe/PW/PW.txt
2014-10-09 20:28:33,145::INFO::[newsunpack:719] 0 Datei(en)/Ordner entpackt in 0 Sekunden
2014-10-09 20:28:33,146::INFO::[newsunpack:212] Unrar finished on /mnt/safe/Download/Progress/File01
2014-10-09 20:28:33,151::INFO::[postproc:342] unpack_magic finished on File01
2014-10-09 20:28:33,700::INFO::[growler:267] Send to NotifyOSD: Download fertig / File01
2014-10-09 20:28:33,810::INFO::[postproc:521] Cleaning up File01 (keep_basic=False)
2014-10-09 20:28:33,815::INFO::[__init__:893] /mnt/safe/Download/Progress/File01/__ADMIN__/SABnzbd_nzf_hxiIM7 removed
2014-10-09 20:28:33,856::INFO::[postproc:84] Saving postproc Queue
What i see:
sabnzbd does find the unrar binary and it starts unpacking but then does nothing cause...?

I tried to unpack some files within the terminal with unrar and works perfect.
My sabnzbd is running as root/sudo so there should be no permission issue (also it can write the download to that Folder so it also should be able to write the extracted files - from a permission Point of view).
Pleas, please, please help me cause i am running out of ideas.
Thanks a lot and best regards
Panic