sab doesn't auto extract on completed download-Synology NAS
Posted: October 19th, 2012, 8:58 am
Cross posting from here: https://github.com/SynoCommunity/spksrc ... nt-9522869
Synology DS1512+ freshly installed with the current Synology DSM 4.1 posted on their website from yesterday (October 15th).
Added SynoCommunity repository, installed Python, installed SAB and other useful tools.
After pulling down a binary with SAB it's not automatically extracting the download (from rar or zip), the result is that Sickbeard will not process the files to migrate them into the proper tv folders.
Right now here is what I know works:
sickbeard will locate, download, and push the NZB into SAB via API without intervention
SAB will complete the download as expected
I know it doesn't extract, but I think it's also not performing a par check too
SAB logs don't mention an error.
sickbeard does scan the folders, but fails to find a video file
If I login via SSH into the NAS device, and manually extract the downloaded archive (unrar e ), sickbeard will correctly detect the contents and perform next steps (move, rename, create metadata, etc)
I've used all of these tools before on my Windows HTPC, but want to migrate the functions over to the NAS device so that the HTPC can perform a different function. In the case of installing on the windows system, everything works just fine ... I personally haven't worked with the Linux versions, but am rather proficient at Linux for sake of checking anything that is being asked of me for sake of this thread.
--- post 2 ---
1. Did a manual test of unrar from an SSH session under the 'admin' user and under the 'sabnzbd' users.
unrar works from both locations in for sab
DASNAS> /volume1/@appstore/sabnzbd/bin/unrar e .rar
UNRAR 4.10 freeware Copyright (c) 1993-2012 Alexander Roshal
All OK
/usr/sbin/ /usr/share/ /usr/syno/
DASNAS> /usr/local/sabnzbd/bin/unrar e .rar
UNRAR 4.10 freeware Copyright (c) 1993-2012 Alexander Roshal
All OK
2. unrar detected according to the logs of sabnzdb
DASNAS> pwd
/volume1/@appstore/sabnzbd/var/logs
DASNAS> egrep -i unrar sabnzbd.log
2012-10-15 22:48:56,476::INFO::[SABnzbd:478] unrar binary... found (/usr/local/sabnzbd/bin/unrar)
2012-10-15 22:51:22,414::INFO::[SABnzbd:478] unrar binary... found (/usr/local/sabnzbd/bin/unrar)
2012-10-16 08:15:42,264::INFO::[SABnzbd:478] unrar binary... found (/usr/local/sabnzbd/bin/unrar)
nothing in the error log ... it's like the setting is off ... i might "disable" it, then restart and see if that changes anything on a quick download.
- this didn't work either.
3. settings attached .... apparently I can't attach an image ... so look here: http://imgur.com/0IFEw
/usr/local/sabnzbd/var/config.ini shows
enable_unrar = 1
4. restart has no affect
Synology DS1512+ freshly installed with the current Synology DSM 4.1 posted on their website from yesterday (October 15th).
Added SynoCommunity repository, installed Python, installed SAB and other useful tools.
After pulling down a binary with SAB it's not automatically extracting the download (from rar or zip), the result is that Sickbeard will not process the files to migrate them into the proper tv folders.
Right now here is what I know works:
sickbeard will locate, download, and push the NZB into SAB via API without intervention
SAB will complete the download as expected
I know it doesn't extract, but I think it's also not performing a par check too
SAB logs don't mention an error.
sickbeard does scan the folders, but fails to find a video file
If I login via SSH into the NAS device, and manually extract the downloaded archive (unrar e ), sickbeard will correctly detect the contents and perform next steps (move, rename, create metadata, etc)
I've used all of these tools before on my Windows HTPC, but want to migrate the functions over to the NAS device so that the HTPC can perform a different function. In the case of installing on the windows system, everything works just fine ... I personally haven't worked with the Linux versions, but am rather proficient at Linux for sake of checking anything that is being asked of me for sake of this thread.
--- post 2 ---
1. Did a manual test of unrar from an SSH session under the 'admin' user and under the 'sabnzbd' users.
unrar works from both locations in for sab
DASNAS> /volume1/@appstore/sabnzbd/bin/unrar e .rar
UNRAR 4.10 freeware Copyright (c) 1993-2012 Alexander Roshal
All OK
/usr/sbin/ /usr/share/ /usr/syno/
DASNAS> /usr/local/sabnzbd/bin/unrar e .rar
UNRAR 4.10 freeware Copyright (c) 1993-2012 Alexander Roshal
All OK
2. unrar detected according to the logs of sabnzdb
DASNAS> pwd
/volume1/@appstore/sabnzbd/var/logs
DASNAS> egrep -i unrar sabnzbd.log
2012-10-15 22:48:56,476::INFO::[SABnzbd:478] unrar binary... found (/usr/local/sabnzbd/bin/unrar)
2012-10-15 22:51:22,414::INFO::[SABnzbd:478] unrar binary... found (/usr/local/sabnzbd/bin/unrar)
2012-10-16 08:15:42,264::INFO::[SABnzbd:478] unrar binary... found (/usr/local/sabnzbd/bin/unrar)
nothing in the error log ... it's like the setting is off ... i might "disable" it, then restart and see if that changes anything on a quick download.
- this didn't work either.
3. settings attached .... apparently I can't attach an image ... so look here: http://imgur.com/0IFEw
/usr/local/sabnzbd/var/config.ini shows
enable_unrar = 1
4. restart has no affect