Page 1 of 1

Issues with encrypted files

Posted: 03 Nov 2019, 06:56
by Dunn3r
I've been banging my head against the wall these couples of weeks because I just cant figure out what the problem is on every encrypted download. The error I am getting every time:

Code: Select all

Unpack for XXXX failed: checksum error in the encrypted file. Corrupt file or wrong password.
This started happening a few weeks/1-2 months ago, so it did work properly. No clue what changed since it started happening but the files downloaded are not corrupted and the passwords are correct. I have downloaded so many different files now in the couples of weeks that it cant be the file or the password. Downloads that are not encrypted have no issues funny enough. I have NZBGet on my Synology Diskstation.

So what then? Been playing with the password for a while but no luck:
  • Setting the password directly in the download
  • Setting up new passwordfile
  • Moving the files around
  • etc..
In most cases NZBGet try's to unpack 2 times, some additional information in the logs that might shed some light:

Code: Select all

Unrar: Checksum error in the encrypted file UUZUrRzxe3lkmk09n4CruzgcF.part15.rar. Corrupt file or wrong password.
INFO	Sun Nov 03 2019 07:47:33	Unrar: Corrupt header is found
INFO	Sun Nov 03 2019 07:47:32	Unrar: UNRAR 5.30 freeware Copyright (c) 1993-2015 Alexander Roshal
INFO	Sun Nov 03 2019 07:47:32	Unrar: unrar: /lib/libstdc++.so.6: no version information available (required by unrar)
INFO	Sun Nov 03 2019 07:47:32	Unrar: unrar: /lib/libstdc++.so.6: no version information available (required by unrar)
INFO	Sun Nov 03 2019 07:47:32	Unrar: nzbget.conf(61): Invalid value for option "NzbDir" (/volume1/Sabdownloads/nzb/): could not read information for directory /volume1/Sabdownloads/nzb: errno 13,
INFO	Sun Nov 03 2019 07:47:32	Unrar: nzbget.conf(67): Invalid value for option "QueueDir" (/volume1/Sabdownloads/queue/): could not read information for directory /volume1/Sabdownloads/queue: errno 13,
The funny thing is that the directories set for NZB and Queue are not what is mentioned in the logs.. So no clue why it states the directory is not correct.

I've also did a complete reinstall of NZBGet but no luck.. I've set up Sabnzbd aswell and there the downloads are succesfully unpcked. I've been clicking around in the settings page figuring out what setting could cause this but im all out of idea's. So hopefully I can get assistance.

Re: Issues with encrypted files

Posted: 04 Nov 2019, 00:01
by hugbug
To ensure the files were downloaded correctly try unpacking in terminal using unrar.

Re: Issues with encrypted files

Posted: 14 Nov 2019, 21:29
by cypher21
I've been busting my head about the same thing on my synology

Figured out what was wrong

the UNRAR command was used in the settings of NZBGET

WIth that it used the systems unrar which was version 5.21 and somehow password encrypted files are not working

update the command in the settings to the unrar which is included in NZBGET
so "${AppDir}/unrar"

thats 5.70