sab doesn't auto extract on completed download-Synology NAS

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
iamthevilone
Newbie
Newbie
Posts: 7
Joined: October 19th, 2012, 8:56 am

sab doesn't auto extract on completed download-Synology NAS

Post by iamthevilone »

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
User avatar
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

Re: sab doesn't auto extract on completed download-Synology

Post by sander »

Als iets in de queue van SABnzbd staat, wat staat er dan bij bij de TWEEDE dropdown vanaf RECHTS ?
iamthevilone
Newbie
Newbie
Posts: 7
Joined: October 19th, 2012, 8:56 am

Re: sab doesn't auto extract on completed download-Synology

Post by iamthevilone »

I'm doing this from memory, and the translation is from google. so the items are automatically added to one of 3 categories (tv, movies, music). The category = any of the previous, Action = Default, Priority = Normal.

Ik doe dit uit het geheugen, en de vertaling is van Google. zodat de items automatisch worden toegevoegd aan een van de 3 categorieën (tv, films, muziek). De categorie = een van de voorgaande, Action = Standaard, Priority = Normaal.
User avatar
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

Re: sab doesn't auto extract on completed download-Synology

Post by sander »

Oops, sorry for my Dutch.

OK .. Action = Default ... let's take a short cut: put something in the queue, select the Action drop down, and set it to +Delete (the bottom option). ... It should get unpacked and all ...
iamthevilone
Newbie
Newbie
Posts: 7
Joined: October 19th, 2012, 8:56 am

Re: sab doesn't auto extract on completed download-Synology

Post by iamthevilone »

yeah, I'm going to test that when I get home.

If it works ... Why doesn't "default" work like expected?
User avatar
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

Re: sab doesn't auto extract on completed download-Synology

Post by sander »

iamthevilone wrote:yeah, I'm going to test that when I get home.

If it works ... Why doesn't "default" work like expected?
First test it ... then we talk ... ;-)
iamthevilone
Newbie
Newbie
Posts: 7
Joined: October 19th, 2012, 8:56 am

Re: sab doesn't auto extract on completed download-Synology

Post by iamthevilone »

using +Delete seems to do the par2 check and unpack as I would normally expect.
User avatar
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

Re: sab doesn't auto extract on completed download-Synology

Post by sander »

iamthevilone wrote:using +Delete seems to do the par2 check and unpack as I would normally expect.
OK, good. Now go to Config -> Categories, check the top category: Default. What is the default processing option.
iamthevilone
Newbie
Newbie
Posts: 7
Joined: October 19th, 2012, 8:56 am

Re: sab doesn't auto extract on completed download-Synology

Post by iamthevilone »

I think the default category is default. sorry, at work right now.

I manually changed all of the categories I am using to +delete, which i guess is the manual method of doing the same thing as setting default = +delete and then the categories themselves to 'default'
iamthevilone
Newbie
Newbie
Posts: 7
Joined: October 19th, 2012, 8:56 am

Re: sab doesn't auto extract on completed download-Synology

Post by iamthevilone »

here was the action list

default = default
tv = default

Changed default to +delete, and it works when tv=default
or change all to +delete and it works.

I do have some suggestions

You should restrict the list in the Categories view to ensure that the 'default' category doesn't allow for you to select "default". Also, it should be clearly indicated in the website that the 'default' category is used to specify the action for other categories. Finally, I would put the 'add' ability of the Category screen at the top or bottom of the list (not somewhere between default and the first inserted row of the table). If it was at the top, then you can insert and refresh to add it to the list based on the sorting. If it were at the bottom, it should put it in the list where ever.

Just saying that it doesn't feel natural to have an save/insert ability somewhere in the middle of a table.
Post Reply