Synology DSM 5.0-4458 safe to upgrade ?

Get help with all aspects of SABnzbd

Synology DSM 5.0-4458 safe to upgrade ?

Postby Hanzen » March 12th, 2014, 6:38 am

Before installing the new DSM version, i would like to know if there are any problems re. SABnzbd installed on my DS212j
Hanzen
Newbie
Newbie
 
Posts: 2
Joined: March 12th, 2014, 6:34 am

Re: Synology DSM 5.0-4458 safe to upgrade ?

Postby Tscherno » March 12th, 2014, 4:32 pm

Beta was fine, but the final broke sab: it doesnt unrar anymore.
Tscherno
Newbie
Newbie
 
Posts: 7
Joined: July 25th, 2010, 8:16 am

Re: Synology DSM 5.0-4458 safe to upgrade ?

Postby Nonil » March 16th, 2014, 4:01 pm

Synology DSM 5.0-4458 uses unrar v5.01 and the current SABnzbd 0.7.16-7 from synocommunity is not really capable of v4 and v5 Password extraction.

Solution:

Go to your 'newsunrar.py' in /usr/local/sabnzbd/share/SABnzbd/sabnzbd and search for:

Code: Select all
    elif 'ncrypted file' in line and 'CRC failed' in line:
            # unrar 4.x syntax


and replace it all with:

Code: Select all
      elif 'The specified password is incorrect' in line or \
             ('ncrypted file' in line and (('CRC failed' in line) or ('Checksum error' in line))):
            # unrar 3.x: "Encrypted file: CRC failed in oLKQfrcNVivzdzSG22a2xo7t001.part1.rar (password incorrect ?)"
            # unrar 4.x: "CRC failed in the encrypted file oLKQfrcNVivzdzSG22a2xo7t001.part1.rar. Corrupt file or wrong password."
            # unrar 5.x: "Checksum error in the encrypted file oLKQfrcNVivzdzSG22a2xo7t001.part1.rar. Corrupt file or wrong password."
            # unrar 5.01 : "The specified password is incorrect."


This workaround is taken from 'newsunpack.py' of 0.7.17RC1 and I've found the hint/solution here http://forums.sabnzbd.org/viewtopic.php?f=3&t=16166

Unpack of password files with DSM 5.0-4458 and 0.7.16-7 from synocommunity is working for me again like a charme. I've not tested it with Password in nzb filename but in pass.txt its working fine.

Hope this helps the Syno users a bit.
regards
Nnl
Nonil
Newbie
Newbie
 
Posts: 1
Joined: March 16th, 2014, 3:46 pm

Re: Synology DSM 5.0-4458 safe to upgrade ?

Postby Tscherno » March 16th, 2014, 4:03 pm

I've updated to the latest beta of sab. That also solved the issue.
Tscherno
Newbie
Newbie
 
Posts: 7
Joined: July 25th, 2010, 8:16 am

Re: Synology DSM 5.0-4458 safe to upgrade ?

Postby scheuri » March 18th, 2014, 5:46 am

So I take it with version 0.7.17 is it "safe" to update to DSM 5.0 without the manual changes (which are very good described anyhow)?
scheuri
Newbie
Newbie
 
Posts: 3
Joined: March 18th, 2014, 5:31 am

Re: Synology DSM 5.0-4458 safe to upgrade ?

Postby Hanzen » March 20th, 2014, 6:39 am

Back in november 2013 I changed unrar from /usr/local/sabnzbd/bin/unrar (5.0) to /usr/syno/bin/unrar ( 3.8 ) due to the password problem.

Does this still work or do I get 5.0 back ? If 5.0 is back, does it work now ?
Hanzen
Newbie
Newbie
 
Posts: 2
Joined: March 12th, 2014, 6:34 am


Return to General Help