Last updated on 28 January 2024
Important or Recent Updates
Update | Date |
---|---|
New guide now that NZBGet is under development again | 18/12/2023 |
What is NZBGet?
NZBGet is an efficient, open-source Usenet software designed for downloading binary content from Usenet newsgroups. No matter how simple or complex your setup is, NZBGet is a lightweight application that has been optimized for speed and performance on any device.
Let’s Begin
In this guide I will take you through the steps to get NZBGet up and running in Container Manager. We will be using the new Projects (Docker Compose) feature to get this running as it will save you time vs manual setup using the normal UI
In order for you to successfully use this guide please complete the three preceding guides
- Docker, Memory Recommendations and Limitations
- Step 1: Directory Setup Guide
- Step 2: Setting up a restricted Docker user
- Step 3: Setting up a Docker Bridge Network
Folder Setup
Let’s start by getting some folders set up for the containers to use. Open up File Station create the following.
/docker/projects/nzbget-compose
/docker/nzbget
Container Manager
Next we are going to set up a ‘Project’ in Container Manager. Open up Container Manager and click on Project then on the right-hand side click ‘Create’.
In the next screen we will set up our General Settings, enter the following:
Section | Setting |
---|---|
Project Name: | nzbget |
Path: | /docker/projects/nzbget-compose |
Source: | Create docker-compose.yml |
Next we are going to drop in our docker compose configuration, copy all the code in the box below and paste it into line ‘1’ just like the screenshot.
services:
nzbget:
image: nzbgetcom/nzbget:latest
container_name: nzbget
environment:
- PUID=1234 #CHANGE_TO_YOUR_UID
- PGID=65432 #CHANGE_TO_YOUR_GID
- TZ=Europe/London #CHANGE_TO_YOUR_TZ
- NZBGET_USER=nzbget #optional
- NZBGET_PASS=tegbzn6789 #optional
volumes:
- /volume1/docker/nzbget:/config
- /volume1/data/usenet:/data/usenet
ports:
- 6789:6789/tcp
network_mode: synobridge
security_opt:
- no-new-privileges:true
restart: always
Environment Variables
We are now going to amend some key variables to make sure the container has access to our folders and also knows where we are in the world. Don’t change any other settings other than those I mention.
Variable | Value |
---|---|
PUID | (required) The UID you obtained in the user setup guide |
PGID | (required) The GID you obtained in the user setup guide |
TZ | (required) Your timezone wikipedia.org/wiki/List_of_tz_database_time_zones |
NZBGET_USER | Change your username (don’t leave as default!) |
NZBGET_PASS | Change your password (don’t leave as default!) |
Once you have made the edits you can click ‘Next’
You do not need to enable anything on the ‘Web portal settings’ screen click ‘Next’ again.
On the final screen click ‘Done’ which will begin the download of the container images and once downloaded they will be launched!
The image will now be downloaded and extracted. You should see ‘Code 0’ when it has finished.
Firewall Exceptions
(Skip if you don’t have the Firewall configured)
If you have enabled and configured the Synology Firewall you will need to create exceptions for any containers that have a Web UI or have any incoming or outgoing connections. This section covers the basics of how to add these. (Please note this is a generic section and will not show the specific ports used in this guide however it applies in the same way)
Also, I would like to refer people to the great guide on getting the Firewall correctly configured over on WunderTechs site.
Head into the Control Panel
> Security
> Firewall
, from here click Edit Rules
for the profile you set up when you enabled the Firewall.
Next click on Create
and you will see the screen below. Source IP and Action will be automatically selected to All and Allow, I will leave it up to you as to your own preference on whether you want to lock down specific Source IPs from having access. In this example we will leave as All.
You will now choose ‘Custom‘ and then the Custom
button
Now select Destination from the drop-down menu, most web based containers require TCP access but check the guide as it will show the port and protocol. Then add comma separated ports. Then press OK.
Click OK a couple of times to get back to the main screen. You will see by default the new rule is added to the bottom of the list. You must always have your Block All rule last in the list as the rules are applied top down so move your container up.
You have now completed the Firewall changes and can continue with the guide.
Some final steps
NZBGet will now be running on port 6789 you can connect to it by going to the IP address of your NAS with that port
e.g. 192.168.0.40:6789
Once you have logged in with the username and password you specified you need to change the default download path. Go into Settings > PATHS as amend as per the table / screenshot.
Path | Path to enter |
---|---|
MainDir | /data/usenet |
You are now configured to get downloads working, there are quite a few options in the configuration sections of the app you can find explanations of the settings in the official documentation
https://nzbget.com/documentation/
Buy Me a Coffee or a Beer
If you have found my site useful please consider pinging me a tip as it helps cover the cost of running things or just lets me get the odd beverage. Plus 10% goes to the devs of the apps I do guides for every year.
would these steps work for NZB Vortex ?
thanks,
chris
I did a quick search, and it looks like a MAC app? Or is there a Docker version?
it is a mac app, was just curious if you ever used it via docker or know if the setup would be similar. Ive never used docker, not too familiar with NZBget either ha… decisions decisions .
thanks
Just roll with NZBGet or Sab on the NAS they both work well
Thanks for the great guides for setting everything up like this with NzbGet, the Arr’s etc! I did however stumble upon a problem with NzbGet not being able to post process downloads with categories like movies and series into their respective folders. It could download things, unpack and do all the things fine in it’s own folders. But then would give errors saying “Could not create directory […blabla…] Acces denied” when trying to do unpacks in other folders. After double checking everything (checking all the rights, putting them in manually with SSH etc.) it should just work. Then I decided to have a look at the compose configuration and wondered if that might be te problem, for it points to /data/usenet and perhaps this prevented NzbGet from going up a directory and then down again. And yes, that did it! So the below config:
volumes:
– /volume1/docker/nzbget:/config
– /volume1/data/usenet:/data/usenet
should be
volumes:
– /volume1/docker/nzbget:/config
– /volume1/data:/data
Everything is now working nicely!
Hey it sounds like you are getting NZBGet to do your sorting for you without Sonarr etc, so your amendment makes sense. We usually restrict its ability to see across the file system just due to it not normally needing it within an overall media stack. Glad its working for you though