linuxserver / docker-nzbget

GNU General Public License v3.0
149 stars 83 forks source link

Unrar not existing #75

Closed alphadijkstra closed 5 years ago

alphadijkstra commented 5 years ago

Downloads work, unpacking/unrar doesn't as it can't find the unrar executable as it doesn't exist. Looking inside the container, unrar can't be found either.

Host OS: QNAP Container Station - Linux Screenshot_1

Edit: For future searching by others and search engine indexing: Unrar: Could not start /app/nzbget\unrar.exe: No such file or directory. See the below posts for possible solutions. As it will be likely a local config issue.

aptalca commented 5 years ago

Unrar is in the image: https://github.com/linuxserver/docker-nzbget/blob/master/Dockerfile#L72

I have a feeling there is something wrong with your gui settings as nzbget is trying to start /app/nzbget\unrar.exe which is not the correct path or the name for the executable.

Are you trying to run custom scripts?

alphadijkstra commented 5 years ago

You are 100% correct. Due to me forgetting to tick off 1 the unpack section checkbox when importing the configuration file from a different sabnzb instance, this error occurs.

Thanks for pointing me in the right direction! :)

rmp5s commented 3 years ago

I hate to resurrect a dead thread, but I'm having the exact same problem for the exact same reason.

I made the epic fail mistake of trying to use an old backup of NZBGet and it's been NOTHING but issues. I even reinstalled NZBGet and the settings remain. Not sure how that happens, but I've almost gotten it working...I think this is the last hurdle...

I just have no idea what the paths SHOULD be.

I'm running it in a Docker container on unRAID. Could I possibly get a screenshot of what the paths should be for the "Unpack" section or something? I get what is broken and I get why...I just have no idea what needs to go where to actually fix it. Any assistance greatly appreciated.

alphadijkstra commented 3 years ago

Hey rmp5s

These are my current settings within the "unpack" section in the nzbget settings. Hope this helps you out.

afbeelding

rmp5s commented 3 years ago

Hey rmp5s

These are my current settings within the "unpack" section in the nzbget settings. Hope this helps you out.

afbeelding

PERFECT...thank you!

It's still failing, though. Maybe I didn't know what was wrong with it. lol

Wait a minute...it's looking for "unrar.exe"...that's not going to work. lol

image

Where is unrar that it's supposed to use installed at?

And, could you hit me with a screen shot of your "Paths" tab when you get a second, by chance? What I did was used a backup from a Windows install...I didn't think about it, but OBVIOUSLY this was a disaster. Hence it looking for an exe.

I realized this was a mistake so I removed and deleted the Docker container and Image and re-installed. All the settings were still there though!! Not sure why so I've been trying to make it work. The "Paths" tab has already given me quite a bit of trouble so I'd like to make sure it's good to go...this is what it currently looks like:

image

I am thinking something in there isn't right, isn't needed, something like that.

rmp5s commented 3 years ago

I THINK it's supposed to be in the /appdata/nzbget folder, but there's nothing in that folder but nzbget.conf...

Maybe I have to put unrar in there?

alphadijkstra commented 3 years ago

The only 2 paths thare are different in your config in the paths section seem to be these: Most likely the scripts path could be the culprit.

afbeelding

alphadijkstra commented 3 years ago

Also, your destDir and interDir use a backward slash instead of forward.

rmp5s commented 3 years ago

Yup...I noticed the slashes being wrong after posting the pic. Got that sorted.

I took ".exe" off the end of unrar and 7za aaaaaaaand...

image

GREAT SUCCESS!! Hahaha

Thank you!!

alphadijkstra commented 3 years ago

You're welcome! Glad it worked out 👍 Have fun!