Skip to content

How to Set Up Jackett on a Linux VPS – Use Torrent Trackers with Sonarr and Radarr

Set up Jackett as a One-Click App or with Docker Compose on your VPS, then connect torrent trackers to Sonarr, Radarr, and other apps via Torznab.

1 December 202611 min read0 Views0 helpful

Introduction

Jackett is an open-source proxy for torrent trackers. Many trackers have their own search page, but no interface that programs like Sonarr or Radarr can understand. Jackett searches these pages and returns the results in a consistent format called Torznab. Your apps then only need to query Jackett, regardless of which tracker is behind it. Jackett itself does not download anything or store content. It only relays search requests between your apps and the sources you add.

In this guide, we’ll show you two ways to get started: the easy way, using a One-Click App, which gets Jackett up and running with HTTPS and an admin password in just a few clicks, and the manual installation using Docker Compose. After that, you’ll add an indexer and connect Jackett to Sonarr or Radarr.

Info: Lawful use

You’re responsible for only using sources and content for which you have the necessary rights. Check your trackers’ terms of use and the laws in your country.

When Jackett makes sense on a VPS

Jackett is a good fit for a VPS if:

  • You use Sonarr, Radarr, or Lidarr and want to add trackers that these apps don’t support natively.
  • You want your apps to search around the clock without leaving your home PC switched on.
  • You want a fixed address with HTTPS instead of opening ports on your router.
  • You want to connect other programs that support Torznab. Jackett provides a Torznab address for each indexer, as well as an RSS feed that any RSS reader can read.

Jackett may not be the best fit if you run several *arr apps and don’t want to add indexers individually to each app. Prowlarr is often more convenient in that case (see the next section). Jackett on its own also isn’t enough: it complements apps like Sonarr and Radarr and a download client, but doesn’t replace them.

Jackett or Prowlarr?

Both programs manage indexers for your apps, but they work differently:

JackettProwlarr
Adding indexers to appsYou manually copy the Torznab address for each indexer into every appProwlarr automatically syncs indexers with connected apps and keeps them up to date
UsenetNo, torrent trackers onlyYes, torrents and Usenet
Other programsAny program that supports Torznab or RSSPrimarily the *arr apps; others via the Torznab or Newznab address
Best forUsing individual trackers in one or a few apps, or using a program that doesn’t integrate with ProwlarrRunning several *arr apps with the same indexers

You can find instructions for setting up Prowlarr in How to Set Up Prowlarr on a Linux Server. You can also run both side by side, but only add the same tracker to one of them.

Easy option: Jackett as a One-Click App

The fastest way to get Jackett is through your VPS’s One-Click Apps. The app is accessible directly over HTTPS using a domain and starts with an automatically generated admin password. You don’t need a reverse proxy, certificate, or firewall rules.

Requirements

  • A Linux VPS (Debian or Ubuntu) with One-Click Apps set up. For instructions, see VPS: One-Click Apps.
  • At least 512 MB RAM, 1 vCPU core, and 2 GB of storage for the app. 1 GB RAM and 3 GB of storage are recommended.
  • An address for Jackett: either a free subdomain on zap.cloud or your own domain, such as jackett.example.com.

Install

  1. Open your VPS in the ZapX dashboard and go to the One-Click Apps tab.
  2. Search for “Jackett” in the App catalog and click Install app next to Jackett.
  3. Enter a name under App name and leave Use a custom subdomain or zap.cloud enabled. Choose the address where Jackett should be accessible. Without a domain, Jackett is only accessible over HTTP, which means the password and API key would be transmitted unencrypted.
  4. You don’t need to fill in anything under App configuration. The app generates the admin password itself.
  5. Click Queue installation.

The app will show as Online shortly after installation. Use the Access link on the app card to open the login page. Jackett asks for the password the first time you open it, and the dashboard isn’t accessible to visitors.

First login: Find the admin password

Jackett only has a password; it doesn’t have a username. That’s why the login page has just one field: Admin password. The app generates the password during installation and sets it before the first startup. The app card indicates this under Login.

To find it, open the app settings (gear icon) and go to App environment. Under Automatically generated values, you’ll find it in the SERVICE_PASSWORD_JACKETT field. Click the eye icon to show it or the copy icon to copy it.

Enter the password in the Admin password field on the login page and click Login. There’s no username field because Jackett doesn’t have one.

After logging in, you’ll see the Jackett dashboard with an empty Configured Indexers list. Your API Key is in the top-right corner. Your apps will need it to search later.

Info: Set a custom password

To set your own password, enter it in the Admin password field at the bottom of the dashboard under Jackett Configuration, then confirm with Set Password. The value in the app environment will no longer apply, and the app won’t overwrite your password when it restarts or updates. If you leave the field blank and click Set Password, Jackett will be accessible without a password. The next time the app starts, the generated password from the app environment will apply again.

Protect your API key and password

Anyone who knows your API Key can search through your Jackett instance, even without the admin password. Treat it like a password: only enter it in your own apps, and don’t share copied Torznab addresses, screenshots, or logs that contain it.

Warning: Your tracker credentials

For private trackers, Jackett stores your login details or cookies in its data folder. Use a strong password for Jackett, don’t share the access link, and log out using Logout when using someone else’s device.

Updates and backups

  • App updates: In the app settings (gear icon) > App update, click Check for updates to see whether a new app version is available, then install it with Apply update. Your indexers, settings, API key, and password will be preserved.
  • Back up: Everything Jackett needs is stored in the app’s data volume, whose name ends in _jackett-config: the server settings, including the API key and password, and the settings for each indexer. A VPS backup from the Backups tab also backs up this volume.
  • Uninstall: Under App actions > Uninstall app, you can also delete the data volume. This removes all indexers, saved tracker credentials, and the API key. If you reinstall, Jackett will get a new API key, which you’ll need to enter in all your apps.

Manual installation

The rest of this guide covers the manual installation of Jackett with Docker Compose, for example on a server without One-Click Apps. You’ll start Jackett locally, set the admin password through an SSH tunnel, and then make Jackett accessible through nginx with a Let’s Encrypt certificate.

Requirements

MinimumRecommended
CPU1 vCPU core1 vCPU core
RAM512 MB1 GB
Storage2 GB3 GB

You’ll also need:

Prepare the firewall

Jackett only needs the web ports to be accessible from outside. Open SSH, HTTP, and HTTPS in ufw:

Code
sudo apt install -y ufw
sudo ufw allow OpenSSH
sudo ufw allow 80/tcp
sudo ufw allow 443/tcp
sudo ufw enable

Don’t open Jackett’s port (9117).

Warning: Docker bypasses ufw

Ports published by Docker using ports: are accessible from outside even if ufw blocks them. Docker adds its own rules ahead of ufw’s rules. For this reason, bind Jackett to 127.0.0.1 as described below. Jackett starts without an admin password: if port 9117 were open, anyone who finds your IP address could use Jackett and set their own password. For more about the firewall, see VPS: Open ports and manage the firewall on Linux.

Install with Docker Compose

Create a folder for Jackett:

Code
sudo mkdir -p /opt/jackett/config
cd /opt/jackett

Create a docker-compose.yml file in that folder:

Code
services:
  jackett:
    image: linuxserver/jackett:0.24.3078
    container_name: jackett
    restart: unless-stopped
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Europe/Berlin
    volumes:
      - ./config:/config
    ports:
      - "127.0.0.1:9117:9117"

Important lines:

  • image uses a fixed version of Jackett. You can find newer versions on the Jackett release page.
  • PUID and PGID specify which user owns the files in the config folder.
  • ./config:/config stores settings, API keys, and indexers on the server so they persist through updates.
  • 127.0.0.1:9117:9117 makes Jackett accessible only from the server itself, not from the internet.

Start Jackett:

Code
docker compose up -d
docker compose logs -f

When no new lines appear in the log, stop displaying it with Ctrl+C.

First access via SSH tunnel and set the admin password

Open an SSH tunnel to the server from your PC:

Code
ssh -L 9117:127.0.0.1:9117 root@SERVER_IP

Then open http://localhost:9117 in your browser. Jackett opens the dashboard directly because no password has been set yet. Scroll to the bottom to Jackett Configuration, enter a strong password under Admin password, and click Set Password. From then on, Jackett will ask for this password when you access it.

Access via HTTPS through a reverse proxy

To access Jackett from outside, put a reverse proxy with a valid certificate in front of it. For the basics, see VPS: Set Up a Reverse Proxy with nginx on Linux and VPS: Create an SSL Certificate (Let’s Encrypt) for Linux Servers. Here’s a server block for nginx:

Code
server {
    listen 80;
    server_name jackett.example.com;

    location / {
        proxy_pass http://127.0.0.1:9117;
        proxy_set_header Host $host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header X-Forwarded-Proto $scheme;
        proxy_set_header X-Forwarded-Host $host;
    }
}

Then get the certificate with certbot --nginx -d jackett.example.com. Certbot adds HTTPS and the HTTP redirect to the block.

Tip: Check feed addresses

After setup, copy a Torznab address from Jackett. If it doesn’t start with https://jackett.example.com, enter your address under Base URL override in Jackett Configuration and click Apply server settings. If you want to run Jackett in a subpath, such as example.com/jackett, instead of on its own subdomain, enter the path under Base path override.

Back up your data

Everything Jackett needs is in the /opt/jackett/config folder. To make a complete backup, stop Jackett briefly and archive the folder:

Code
cd /opt/jackett
docker compose stop
tar czf jackett-backup-$(date +%F).tar.gz config docker-compose.yml
docker compose start

Don’t keep the backup only on the same server. It contains your API key and tracker credentials, so store it only in a secure location.

Update Jackett

In docker-compose.yml, enter the new version next to image, for example, a version from the Jackett release page, then restart Jackett:

Code
cd /opt/jackett
docker compose pull
docker compose up -d

Your indexers, API key, and password will be preserved because they’re stored in the config folder. Still, make a backup of the folder first.

Add indexers and connect to Sonarr and Radarr

Jackett is empty after setup. First, add your indexers, then add them to your apps. Jackett’s interface is in English.

Add indexers

  1. Click Add indexer on the dashboard. The Select an indexer to setup list opens.
  2. Search for your tracker using the Search field. The Type column shows whether it’s Public (can be used without an account) or Private (requires an account with the tracker).
  3. For public sources, add the indexer using the green plus button. Internet Archive is a good first example: it searches torrents from archive.org, including public-domain movies, free software, and old books. For private trackers, click the wrench icon and enter the credentials required by the tracker, such as a username and password, a cookie, or an API key from your tracker profile.
  4. The indexer appears under Configured Indexers. Click Test All to check whether all indexers respond, or use Manual Search to search directly in Jackett.

Connect Sonarr and Radarr

Each indexer gets its own Torznab address in Jackett. Add the address to every app that should use it. For instructions on setting up Sonarr and Radarr, see How to Set Up Sonarr on a Linux Server and How to Set Up Radarr on a Linux Server.

  1. In Jackett, click Copy Torznab Feed next to the indexer you want.
  2. In Sonarr or Radarr, open Settings > Indexers, click the plus button, and select Custom under Torznab.
  3. Paste the copied address into URL.
  4. Copy the API Key from the top-right corner of Jackett and enter it under API Key.
  5. Under Categories, select the appropriate categories, such as TV shows for Sonarr and movies for Radarr. Click Test, then Save.

The address you enter depends on how the apps are running:

InstallationJackett address in the app
All installed as One-Click Apps on a VPShttps://jackett.example.com/api/v2.0/indexers/INDEXER/results/torznab/
Shared Compose file (manual installation)http://jackett:9117/api/v2.0/indexers/INDEXER/results/torznab/

INDEXER stands for the indexer’s identifier in Jackett. It’s already filled in correctly in the copied address. The address http://localhost:9117 only works if the app runs directly on the same system without a container. Inside a container, localhost points to the container itself. If the apps run in the same Compose file, they can reach each other using their service names.

Tip: Download client

Jackett only provides search results. Downloads are handled by the download client you add to Sonarr or Radarr, such as qBittorrent or Transmission.

Limitations

  • Doesn’t download anything: Jackett only manages indexers and passes along search results. You need a download client to download content, apps like Sonarr and Radarr to sort and rename it, and a media server like Jellyfin to play it.
  • No automatic syncing: You have to add each indexer to every app yourself. If anything changes, such as the API key after a reinstall, you’ll need to update each app manually.
  • Torrent trackers only: Jackett doesn’t support Usenet indexers.
  • Trackers with Cloudflare protection: Some trackers check visitors with a Cloudflare challenge. Jackett can only get past this with an additional service such as FlareSolverr, whose address you enter under FlareSolverr API URL. FlareSolverr isn’t included in the One-Click App.
  • You’re responsible for your sources: Jackett doesn’t check what your trackers offer. You’re responsible for making sure their use is permitted.

Conclusion

You’ve set up Jackett on your VPS, protected it with an admin password, added an indexer, and connected Jackett to Sonarr or Radarr. Your apps can now use Jackett to search trackers they don’t support themselves.

Prefer to skip the Docker setup? Use the easy One-Click App option described above under “Easy option: Jackett as a One-Click App.” The admin password is set from the start.

Free tools

Related tools for servers and developers

View all

FAQ

Frequently asked questions

The One-Click App is the faster option: Jackett runs with HTTPS and an automatically generated admin password after just a few clicks, and you can install updates from the dashboard. A manual Docker Compose installation makes sense if you want to run Jackett alongside Sonarr, Radarr, and a download client in your own Compose file, or configure every setting yourself. You’ll then need to manage the firewall, reverse proxy, certificate, and admin password yourself.
Jackett doesn’t have a username; the login page only asks for the admin password. For the One-Click App, find the password in the app settings (gear icon) under App environment > Automatically generated values, in the SERVICE_PASSWORD_JACKETT field. If you set a custom password in Jackett afterward, only that password will work.
The password is stored as a hash in the Jackett/ServerConfig.json file in Jackett’s data folder. For the One-Click App, this is the Docker volume whose name ends in _jackett-config (find its path over SSH with docker volume inspect). For a manual installation, it’s the /opt/jackett/config folder. Stop the app, set the "AdminPassword" value in the file to null, then start the app again. For the One-Click App, the generated password from the app environment will apply again. For a manual installation, Jackett will be accessible without a password, so open it immediately through the SSH tunnel and set a new password. Your API key and indexers will be preserved.

Feedback

Was this article helpful?

Your feedback helps us prioritize and improve content.

0 of 0 people found this article helpful.

Personal support

Need more help than the guide provides?

Our ZAP-Hosting support team knows your product — briefly describe your issue and we'll help you personally.

Zappy knows this guide and answers you right in the chat.