JDownloader 2 is a download manager for file-hosting sites like Mega and Mediafire. In this guide I run it on TrueNAS SCALE, so big downloads run on the NAS around the clock and you manage them from a browser or your phone instead of leaving a laptop on overnight.
What you need
- A TrueNAS SCALE 24.10 (Electric Eel) or newer server. See my TrueNAS install guide.
- A downloads folder on the NAS, such as
/mnt/downloads, and a folder for app settings, such as/mnt/apps. Your real paths include your pool name (for example/mnt/tank/downloads). If you followed my qBittorrent guide, reuse the same downloads folder. - Optional: a free MyJDownloader account from my.jdownloader.org, for remote control from your phone.
- Optional: premium accounts for the file hosts you use.
What it is
| Platform | TrueNAS Scale (Docker custom app) |
| Ports | 5800 (web GUI via noVNC), 3129 (MyJDownloader direct connection, optional) |
| Image | jlesage/jdownloader-2:latest |
| Config path | /mnt/apps/jdownloader/config → /config |
| Downloads path | /mnt/downloads → /output |
| License | GPL-3.0 |
JDownloader 2 is a Java app that automates downloads from one-click hosters, the sites where a file sits behind a "Download" button and a wait timer (Mega, Rapidgator, Katfile and so on). It handles waiting, retries, captchas where it can, bandwidth limits and unpacking archives. It also opens link containers (DLC, RSDF, CCF), which are files that bundle many download links together.
The jlesage image runs the full JDownloader desktop app inside the container and shows it in your browser through noVNC, a tool that streams a desktop into a web page. There's no install on your computer.
The hard part: two ways to control it
JDownloader in a container is headless: there's no monitor attached, so you need a remote way in. You get two, and it's worth knowing which to use when.
- Control chain (MyJDownloader)
- Control chain (web GUI)
- You (browser on your LAN) → http
- //<nas-ip>:5800
- Control methods
- → https
- //my.jdownloader.org (or the mobile app / browser extension)
- → No port forwarding needed
- the container connects out
- → http
- //<nas-ip>:5800
My take: use the web GUI on port 5800 for the first setup and anything fiddly, and MyJDownloader for adding links day to day, especially from your phone. MyJDownloader is optional. The container runs fine without it.
How to install it
Step 1: Create a MyJDownloader account (optional)
- Go to my.jdownloader.org
- Create a free account (email + password)
- Keep these credentials handy. You'll put them in the compose file
Skip this step if you only want the web GUI. You can also sign in later from the My.JDownloader tab in the JDownloader settings.
Step 2: Create directories
Open System → Shell in TrueNAS (or SSH in):
mkdir -p /mnt/apps/jdownloader/config
mkdir -p /mnt/downloads
Check it worked: ls /mnt/apps/jdownloader lists config.
Step 3: Deploy the app
Go to Apps → Discover Apps, open the three-dot menu at the top right, choose Install via YAML, name the app jdownloader and paste:
services:
jdownloader:
image: jlesage/jdownloader-2:latest
container_name: jdownloader
restart: unless-stopped
environment:
- TZ=Europe/London
- USER_ID=1000
- GROUP_ID=1000
- UMASK=0022
- MYJDOWNLOADER_EMAIL=your_email@example.com
- MYJDOWNLOADER_PASSWORD=your_password
- MYJDOWNLOADER_DEVICE_NAME=TrueNAS-JD
ports:
- "5800:5800"
- "3129:3129"
volumes:
- /mnt/apps/jdownloader/config:/config
- /mnt/downloads:/output
What the settings mean:
USER_IDandGROUP_IDare the user and group JDownloader runs as. Match them to the owner of your downloads folder so it can write there.id <username>in the shell shows a user's IDs.UMASK=0022controls the permissions on new files: you can read and write, everyone else can read.- The three
MYJDOWNLOADER_lines sign in to MyJDownloader automatically. Leave them out if you skipped Step 1. /outputis where this image saves downloads by default, so mount your downloads folder there.- Port
3129is only used when MyJDownloader is set to Direct Connection mode, which lets the mobile app and browser extensions talk straight to the container on your LAN. You can drop it if you don't use that. If you keep it, the host side must stay 3129.
Click Install.
Check it worked:
# Check JDownloader is running:
docker logs jdownloader 2>&1 | grep -i "jdownloader"
On first start JDownloader updates itself, so give it 2–3 minutes. Then open http://<nas-ip>:5800. You should see the JDownloader window in your browser.
Step 4: Connect to MyJDownloader
- Open
https://my.jdownloader.org - Sign in with the same email and password from your compose file
- Your device (
TrueNAS-JD) should appear in the device list within 2–3 minutes - Click the device to see JDownloader's dashboard
- Paste links, monitor downloads, configure settings
Check it worked: paste a link to a small file. It should show up in the LinkGrabber, then download into /mnt/downloads on the NAS.
Configuration that matters
Download paths
| Path | Container mount | Purpose |
|---|---|---|
/mnt/downloads |
/output |
Where completed downloads land |
/mnt/apps/jdownloader/config |
/config |
JDownloader config, settings, plugins |
Inside JDownloader, keep the default download folder pointed at /output. If you change it to a path that isn't mounted, files end up inside the container and disappear when it's recreated.
Extraction
| Setting | Recommended value | Why |
|---|---|---|
| Auto-extract | On | Extracts RAR/ZIP archives after download |
| Delete archives after extraction | On | Saves disk space |
| Password list | Add common passwords | Some archives are password-protected |
Speed and scheduling
| Setting | Recommended value | Why |
|---|---|---|
| Max downloads | 3–5 | Avoids account bans on one-click hosters |
| Speed limit | Set per your bandwidth | Leaves room for everyone else on your connection |
| Reconnect | Enable | Forces IP change when throttled |
| Schedule | Off-peak hours (e.g., 2am–6am) | Large downloads do not interfere with daily use |
Link decryption
JDownloader opens link containers automatically:
| Container format | What it contains |
|---|---|
.dlc |
Encrypted link container (multiple URLs) |
.rsdf |
RSDF encrypted link list |
.ccf |
CCF encrypted link container |
.crypted |
Generic encrypted link file |
.csv / .txt |
Plain text link lists (one URL per line) |
Paste the link to the container file into JDownloader or MyJDownloader and it adds the links inside.
One-click hoster support
| Hoster | Supported | Notes |
|---|---|---|
| Mega.nz | Yes | Requires premium account for full speed |
| Rapidgator | Yes | Free tier limited |
| Katfile | Yes | Free tier limited |
| DDownload | Yes | Premium recommended |
| Uploaded.net | Yes | Premium recommended |
| Mediafire | Yes | Free tier works |
Only download files you have the right to download.
Troubleshooting
The device never appears in MyJDownloader. Check the email and password in the compose file, and that the variable names start with MYJDOWNLOADER_. Then open the web GUI on port 5800, go to Settings → My.JDownloader, and look at the connection status there. You can also enter the credentials in that tab directly.
Downloads finish but the NAS folder is empty. The downloads folder isn't mounted at /output, or JDownloader's download folder was changed to another path. Check both.
"Permission denied" when saving. USER_ID/GROUP_ID don't match a user that can write to /mnt/downloads. Fix the IDs or the dataset permissions under Datasets → Edit Permissions.
The web GUI is blank or stuck on "loading" after an update. JDownloader's own update can occasionally break the install. The image has a repair switch: create an empty file named .fix_jd_install in /mnt/apps/jdownloader/config and restart the app.
Everything downloads at a crawl. Free accounts on most hosts are throttled. Check the host's limits or add a premium account under Settings → Account Manager.
What I'd tell anyone building this
-
Use the web GUI for setup, MyJDownloader for daily use. You don't need MyJDownloader to run JDownloader, but it's the nicest way to add links from your phone.
-
The first startup takes 3–5 minutes. JDownloader updates itself inside the container on first run. Do not restart the container during this time, or it starts over.
-
Premium accounts are worth it if you use a host a lot. Free tiers on one-click hosters are throttled to 50–100 KB/s. A premium account gives you full speed and no captchas. JDownloader's captcha handling helps, but it doesn't solve everything.
-
Use
/mnt/downloadson the NAS. It's the same folder qBittorrent uses, so all your downloads live in one place. Radarr and Sonarr only import automatically from download clients they're connected to, so move or import JDownloader files yourself. -
The noVNC GUI on port 5800 isn't fast. It streams a whole desktop, so expect some lag. It's still where every setting lives.
-
Turn on auto-extract. Enable it in Settings → Extractor so you don't have to unpack RAR/ZIP files by hand.
Next steps
- Finish the rest of the downloads side with qBittorrent and Prowlarr.
- See how all the apps fit together in the media stack guide.
Get it
Links:
Quick install (Docker Compose):
services:
jdownloader:
image: jlesage/jdownloader-2:latest
container_name: jdownloader
restart: unless-stopped
environment:
- TZ=Europe/London
- USER_ID=1000
- GROUP_ID=1000
- UMASK=0022
- MYJDOWNLOADER_EMAIL=your_email@example.com
- MYJDOWNLOADER_PASSWORD=your_password
- MYJDOWNLOADER_DEVICE_NAME=TrueNAS-JD
ports:
- "5800:5800"
- "3129:3129"
volumes:
- /mnt/apps/jdownloader/config:/config
- /mnt/downloads:/output
After deploy:
# Wait 3-5 minutes for initial setup, then check:
docker logs jdownloader 2>&1 | tail -10
# Web GUI (noVNC):
# http://<nas-ip>:5800
# Remote control:
# https://my.jdownloader.org (sign in with your MyJDownloader credentials)
Sign in at https://my.jdownloader.org or open the web GUI, paste links, and JDownloader handles the rest.