This is an old revision of the document!
Prev to: Torrenting
Next to: Deluge: torrent downloader
Transmission
Transmission is a solid torrent downloader daemon which has a nice web UI and it's really simple to operate.
I have been experiencing quite some issues running Transmission lately (errors in connecting to trackers mostly, which leads to zero peers to download from) which come out of nowhere. Since YMMV, here are the instructions for Transmission for you.
Installation
Transmission is easily installed and managed within Gentoo linux since there is an ebuild for it. All you need to do is to emerge it:
> emerge -v transmission
This step will create a dedicated transmission user but you will want to add it to the group media, that you have created before, so that the it will be able to access and manage your media collection:
> usermod -a -G media transmission
Also, you want to move Transmission home folder under /data/daemons/transmission for consistency and to be protected on the RAID array, so:
> usermod -m -d /data/daemons/radarr radarr
then you need to change the user transmission runs under, this is to ensure that the *Arr's can fetch the downloads once complete. This is pretty easy, open the /etc/conf.d/transmission-daemon:
runas_user=transmission:media
At this point, move (like you did before for Jellyfin and the *Arr's) the data folder from /var/lib/transmission to /data/daemons/ and link it back to /var:
> mv /var/lib/transmission /data/daemons/transmission > ln -s /data/daemons/transmission /var/lib/transmission
You can now configure transmission by editing (once by hand) the settings.json file under the “config” folder inside the folder we just moved. What you want to edit here is only the following params:
"download-dir": "/data/daemons/transmission/downloads", "rpc-url": "/transmission/", "bind-address-ipv4": "127.0.0.1", "rpc-bind-address": "127.0.0.1",
whatever path you choose (or leave the default) make sure to take note of it, since you will need to specify in the Prowlarr downloads setup. The “rpc-url” is also called Base URL in the other services and wll reflect the reverse-proxied URL we will use for Transmission. The bind address is for security, and will allow access only trough the reverse proxy later on.
Now, setup the daemon to start at boot, and start it now:
> rc-update add transmission-daemon default > /etc/init.d/transmission-daemon start
Now you need to head to Prowlarr web GUI and add transmission as downloader, this will make it available to all the *Arr's.
Note: you might want to fine-tune some Transmission parameters, you can do that from the transmission web GUI at this point, from localhost:9091. As i stated before, we will mask all of this behind the reverse-proxy later on.
Reverse-Proxy configuration
Before you proceed, you should make Radarr accessible via the reverse-proxy, so that access, configuration and usage will be simplified from the beginning. Add this file to /etc/nginx/folders:
- radarr.conf
# Radarr - films location ^~ /radarr { proxy_pass http://127.0.0.1:7878; proxy_set_header Host $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Host $host; proxy_set_header X-Forwarded-Proto $scheme; proxy_redirect off; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection $http_connection; } # Allow the API External Access via NGINX location ^~ /radarr/api { auth_basic off; proxy_pass http://127.0.0.1:7878; }
Add this to your /etc/nginx/folders/main.conf:
include "folders/radarr.conf";
and restart nginx:
> /etc/init.d/nginx restart
Startup
There are some configuration that must be perform before actually starting the service. You need to briefly start and stop it to let it create the main configuration file, this is required because you need to generate a new API key:
> /etc/init.d/radarr start > /etc/init.d/radarr stop
Now edit the newly created xml config file /data/daemons/radarr/.config/Radarr and edit the UrlBase to match the reverse-proxy setup. Only change the following lines in the file, do not edit anything else (unless you know what you are doing):
<UrlBase>radarr</UrlBase> <BindAddress>127.0.0.1</BindAddress> <AuthenticationMethod>Forms</AuthenticationMethod> <AuthenticationRequired>DisabledForLocalAddresses</AuthenticationRequired>
Add Radarr to default runlevel, for autostart on reboot, and start it manually now:
> rc-update add radarr default > /etc/init.d/radarr start
Radarr will now be accessible as http://192.168.0.1/radarr.
All set! Radarr is running.
Prowlarr link
In order for Radarr to benefit from Prowlarr automatic indexers management you need to open http://192.168.0.1/prowlarr in your browser, go to settings → apps and add Radarr. From the popup window set:
- Radar server: http://localhost:7878/radarr
- API Key: grab it from Radarr settings → general page and paste it here
Then go to the Prowlarr indexers page and click on the synchronize all indexers icon.
Usage
Before you can actually use Radarr you need to perform some initial setup in settings → media management:
- Add a new Root Folder. Use /data/Movies as root folder.
Now enable “advanced settings” and:
- Thick “Set permissions” to on
- Set “chmod folder” to 775 (umask will be 0002)
- set “chmod Group” to “media”
- save and restart the daemon (from the user icon on top-right corner)
you can fine tune and configure many other aspects of Radarr as you wish. A very common guide is The TRaSH Guides.
Please note that you will not yet be able to use Radarr fully as you have not yet installed any downloader.
Now, head on to install the other services…
Next to: Deluge: torrent downloader
Prev to: Torrenting