Please note if you are using DSM7.2 or higher you should use the Container Manager version of this guide from the menu.
|Config file updated with latest amendments||08/07/2023|
What is Unpackerr
Unpackerr monitors your torrent client’s completed download folders and when a compressed file requires ‘Unpacking’ from a Zip or RAR it will do it automatically for you. It will then notify Radarr and other arrs the download is ready.
In this guide I am going to take you through the steps to get Unpackerr up and running in Docker on your Synology NAS.
Part 1 — Config File Set up
First up lets create a folder for unpackerr to keep the config files, head into Filestation and create a folder in the /docker share called unpackerr.
In order to use Unpackerr we need to set up a number of variables in the config file, I have built a version with some pre-configured basics in line with the folder structure across the guides.
Download the pre-made config file below and save it into the newly created unpackerr folder.
Right Click and Save As: unpackerr.conf
Next up we are going to edit the file, so it can send notifications to the Arrs when it has completed its work.
Making your amendments
You can edit this file in a number of ways, but to keep the guide OS-agnostic we will be using the Synology Text Editor package which can be installed via Package Center.
Open up the config file in Text Editor you will see its nicely broken down into sections.
In the first section you can amend the preferences to your own liking I have set some sane defaults already.
In the second section you can start adding in your settings for the Arrs. Due to Radarr and Sonarr being the most commonly used applications I have left them in the file already. You will need to edit the following lines on each.
|Settings||Variable to Use|
|url = “http://172.20.0.1:8989”||This is the synobridge gateway IP you likely won’t need to change this, however you can also use your NAS IP.|
|api_key = “0123456789abcdef0123456789abcdef”||Your API key can be located in the Arrs settings pages (Settings > General) copy and paste it between the “”|
|delete_orig = false||If you want Unpackerr to delete the original compressed files when it has completed set this to ‘true’|
If you are using other Arrs you can optionally copy the settings from below and add them into the config file and amend the same settings mentioned above accordingly
[[lidarr]] url = "http://172.20.0.1:8686" api_key = "0123456789abcdef0123456789abcdef" paths = ["/data/torrents/completed"] protocols = "torrent" timeout = "10s" delete_orig = false
[[readarr]] url = "http://172.20.0.1:8787" api_key = "0123456789abcdef0123456789abcdef" paths = ["/data/torrents/completed"] protocols = "torrent" timeout = "10s" delete_orig = false
We won’t be changing any of the settings in the final two sections of the config file for this guide. You can now save and exit the config file.
Part 2 — Container Setup
Downloading the Unpackerr Image
Open up Docker within DSM and navigate to the ‘Registry’ tab and search for ‘Unpackerr’.
In the list of available containers select the ‘hotio’ version, right click on it and select ‘Download’ or click the button at the top of the window.
When the dialogue pops up asking you to choose a version, make sure you choose ‘Latest’ from the list.
You can check the status of the download over on the ‘Image’ tab.
Setting up the container
In Docker click on the ‘Image’ tab, in the list of your containers select the ‘Unpackerr’ image and click on ‘Launch’
The first screen will ask how you want to set up the Docker network, we are going to select the ‘synobridge’ that we created earlier.
Next you will be greeted with the General Settings screen, this is where you can start specifying some of your preferences.
You can change the name of the container to anything you like, and you may want to enable Auto Restart as this will ensure Unpackerr starts automatically if you reboot your NAS.
You will also notice a Configure capabilities button — don’t change anything in here!
Next up we are going to click on the ‘Advanced Settings’ button, this will take you to a new window with a number of tabs which we are going to work through.
Environment (PGID, PUID and Timezone)
Next we are going to set up a couple of environment variables that docker will use to allow the container access to our files and folders and also to tell it where we live in the world.
You will notice these are already added into the list of available variables just update them accordingly.
|PUID||The UID you obtained in the user setup guide|
|PGID||The GID you obtained in the user setup guide|
|TZ||Your timezone wikipedia.org/wiki/List_of_tz_database_time_zones|
|ARGS||Remove this option otherwise you will not be able to save.|
You do not need to set up anything on these tabs.
Press ‘Save’ to go back to the initial setup screen, then press ‘Next’
No ports required for Unpackerr just click ‘Next’.
We will now be specifying the directories where Unpackerr will load the file and where to find our completed downloads
Click on Add Folder, and browse into the /docker share and select the unpackerr folder you created earlier, then add another folder this time selecting /data.
You will now add the Mount Paths as per the screenshot / table below.
Click Next to move to the final screen.
You have now completed the setup of the container.
You will be shown an overall summary of the settings we have specified, this is a good time to double-check everything is correct. Finally, click on Done and the container should start to boot.
You should now find that any compressed files are automatically unpacked ready for the media managers to pick the resulting file(s) up and move them.
|New Guide Released||02/07/2022|
|Amended Network Access||23/07/2022|
|Fixed a mistake with the last edit and not giving network access.||29/07/2022|
|Tweaked the example config to have the synobridge by default||31/01/2023|
|Compose version number removed and small wording amendments||09/04/2023|
|Amended the path to save the compose file – this is for security, so the container has no access to the file contents.||14/04/2023|
Buy Me a Coffee or Throw me some Sats
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.