Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to unpack rar files after upgraded nzbget docker to v24 #255

Closed
1 task done
baruser123 opened this issue May 1, 2024 · 4 comments · Fixed by #256
Closed
1 task done

Unable to unpack rar files after upgraded nzbget docker to v24 #255

baruser123 opened this issue May 1, 2024 · 4 comments · Fixed by #256
Assignees
Labels
bug Something isn't working

Comments

@baruser123
Copy link

Is there already an issue for your problem?

  • I have checked older issues, open and closed

NZBGet Version

v23-stable

Platform

Linux/Docker

Environment

I'm not be able to select nzbget v24 as Nzbget Version so i select V23 for now

Environment
Synology 1813+
DSM 7.1.1-42962 Update 6
Running in Docker: Yes

Current Behavior

I'm not be able to select nzbget v24 as Nzbget Version so i select V23 for now

After upgrading today to nzbget docker version v24, nzbget is unable to extract rar files. After downloading and verify all the files the download goes directly to history with the status failed. The error on the log of the download is Unpack for .... failed.

Expected Behavior

Unpack this download

Steps To Reproduce

On my Synology 1813+ with docker upgrade to nzbget docker via nzbgetcom/nzbget:latest to v24. Afterwards start a random download with rar files to unpack. And the issue appear
After i'm going back to version v23 with nzbgetcom/nzbget:v23.0 the problem is gone
Going back to v24 and the issue appear again.
All tried with the same download

Logs

In the history log:
Unpack for .... failed
In the message log
Unpack for .... failed

Extra information

I think the problem is caused because of the use of unrar version 7 with v24. It looks like that my synology doesn't support unrar 7x. I had the same problem when sabnzbd started with the use of unrar v7. Linuxserver gave us a workaround to install back unrar v6 after a docker update. They did this to add a environment variable - DOCKER_MODS=lscr.io/linuxserver/mods:universal-unrar6

See also:
https://github.com/linuxserver/docker-mods/tree/universal-unrar6
linuxserver/docker-sabnzbd#219
sabnzbd/sabnzbd#2823

So it would be great if something like that is also possible with the nzbget docker v24. Or maybe add also unrar6 in ${AppDir}/unrar so we can change ${AppDir}/unrar to ${AppDir}/unrar6 in settings.

Or something like a downloadable unrar.zip, so we can put this in our config dir and redirect unrar in settings to this

For now i revert to v23 to be able to use nzbget

@baruser123 baruser123 added the bug Something isn't working label May 1, 2024
@phnzb phnzb self-assigned this May 1, 2024
@phnzb
Copy link
Collaborator

phnzb commented May 1, 2024

@baruser123 Synology 1813+ has Intel Atom CPU, that's not compatible with x86-64-v2. In the future, we may add a separate unrar6 binary to the Docker container for such cases, the user will be able to change the UnrarCmd in the settings.

@baruser123
Copy link
Author

@baruser123 Synology 1813+ has Intel Atom CPU, that's not compatible with x86-64-v2. In the future, we may add a separate unrar6 binary to the Docker container for such cases, the user will be able to change the UnrarCmd in the settings.

Thanks for your quick reply. I will stay on v23 for now then. And hopefully there will be an seperate unrar6 in the future.

@phnzb phnzb mentioned this issue May 2, 2024
@luckedea luckedea changed the title Unable tot unpack rar files after upgraded nzbget docker to v24 Unable to unpack rar files after upgraded nzbget docker to v24 May 3, 2024
@phnzb phnzb closed this as completed in #256 May 3, 2024
@phnzb
Copy link
Collaborator

phnzb commented May 3, 2024

@baruser123 We decided to make unrar6 default in docker container and include optimized unrar7 binary as well. If you want, you can switch to a testing docker container.

@baruser123
Copy link
Author

baruser123 commented May 3, 2024

@baruser123 We decided to make unrar6 default in docker container and include optimized unrar7 binary as well. If you want, you can switch to a testing docker container.

@phnzb Thank you very very much for this quick fix. Change the docker to testing and updated the docker to version 24.1. Can confirm that unpacking is possible again. Thanks again!!!

one quick question. i saw in the release notes that the version is change to "increase version to v24.1", is it possible in the future to use the complete release version. like now 24.1-testing-20240503. because if you go to check update nzbget says there is still a new testing release. i know it's just cosmetic :) if i need to create a new issue / enhancement for this let me know i will

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants