Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 44 additions & 2 deletions docs/src/content/docs/apps/qbittorrent-vpn.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Install qBittorrent VPN (qBittorrent behind Gluetun)
description: Set the VPN network adapter, install Gluetun and qBittorrent VPN, then check that your torrent traffic really leaves through your VPN.
description: Install Gluetun and qBittorrent VPN, check that your torrent traffic really leaves through your VPN, and pick the VPN country or server.
type: how-to
tags:
- media
Expand Down Expand Up @@ -100,7 +100,7 @@ With the [Deployrr bash aliases](/using-deployrr/bash-aliases/): `dlogs gluetun`
After a time-out, Gluetun counts as installed. The qBittorrent VPN install in step 4 then goes ahead even though the VPN isn't connected. Fix your VPN details and get `VPN connected successfully!` before you go on. See [If Gluetun doesn't connect](#if-gluetun-doesnt-connect).
:::

At the end, Deployrr tells you that you can route other containers through Gluetun by adding `network_mode: service:gluetun` to their compose configuration. You don't need that for qBittorrent VPN. Its install does it for you. To do it for an app of your own, see [Route another app through Gluetun](#route-another-app-through-gluetun).
At the end, Deployrr shows a **Gluetun - Installation Notes** box. It says you can route other containers through Gluetun by adding `network_mode: service:gluetun` to their compose configuration. You don't need that for qBittorrent VPN. Its install does it for you. To do it for an app of your own, see [Route another app through Gluetun](#route-another-app-through-gluetun). To keep the VPN in one country, see [Choose a VPN country or server](#choose-a-vpn-country-or-server).

### 3. Set your Downloads Folder

Expand Down Expand Up @@ -261,6 +261,48 @@ The reinstall replaces Gluetun's compose file with a fresh one, and removes the

Installing qBittorrent VPN again also does all of this, but it resets your qBittorrent login and settings. See [qBittorrent web UI says Unauthorized or won't open](/apps/qbittorrent-webui-troubleshooting/#4-check-that-the-container-runs-qbittorrent-vpn).

## Choose a VPN country or server

Deployrr doesn't ask where your VPN should connect, so Gluetun picks a server from your provider's list. To keep it in one country or city, for example for speed, or because your provider offers port forwarding only on some servers, add a filter to Gluetun's compose file.

1. List the names Gluetun knows for your provider. Replace `mullvad` with your provider's name as you typed it at install (if the name has spaces, use hyphens instead), and `YOUR_DOCKER_FOLDER` with your Docker folder path:

```bash
sudo docker run --rm -v YOUR_DOCKER_FOLDER/appdata/gluetun:/gluetun qmcgaw/gluetun format-servers -mullvad
```

It prints a table that includes the columns Country, City and Hostname. Copy the names exactly as they appear.

2. Back up and open `gluetun.yml` as in [Reinstall Gluetun](#reinstall-gluetun).
3. Under `environment:`, add one of the lines from the table below. Match the indent of the `VPN_TYPE:` line in your file, and leave the other lines as they are. Separate more than one name with commas:

```yaml
environment:
TZ: $TZ
VPN_SERVICE_PROVIDER: $GLUETUN_VPN_SERVICE_PROVIDER
VPN_TYPE: $GLUETUN_VPN_TYPE
SERVER_COUNTRIES: Netherlands,Sweden
```

| Line | Picks servers by |
| --- | --- |
| `SERVER_COUNTRIES:` | Country |
| `SERVER_CITIES:` | City |
| `SERVER_HOSTNAMES:` | One exact server. This is the narrowest choice: if that server leaves Gluetun's list, Gluetun can't connect. |

Use one line to start with. Each filter you add narrows the list further.

4. Recreate Gluetun, check that it connected and recreate qBittorrent VPN, as in steps 4 to 6 of [Fix the values in .env](#fix-the-values-in-env).
5. Run the checks in [Check it worked](#check-it-worked). The `Public IP address is` line in the Gluetun log usually shows the country too.

If Gluetun doesn't connect after the change, the names may not match your provider's list. Remove the line, recreate Gluetun and check the log.

Some providers tie a WireGuard key to one server. With those, a filter can pick a server your key doesn't work on. Check your provider's page in the [Gluetun wiki](https://github.com/qdm12/gluetun-wiki) for the options it supports.

Installing qBittorrent VPN again keeps your line, because it only edits the port lines in `gluetun.yml`. Reinstalling Gluetun replaces the file, so add the line again after that.

For more Gluetun settings in a manual setup, see the [Gluetun Docker guide](https://www.simplehomelab.com/gluetun-docker-guide/). The **qBittorrent VPN Setup** box links to it too.

## Route another app through Gluetun

You can send a second app's traffic through the VPN the same way qBittorrent VPN does. Do this for your own services in [custom.yml](/using-deployrr/custom-yml/). Don't edit the compose file of an app Deployrr installed: a reinstall replaces it. Sonarr, Radarr and the other Arr apps don't need the VPN; the comment at the top of `gluetun.yml` says so too.
Expand Down
31 changes: 29 additions & 2 deletions docs/src/content/docs/getting-started/install-errors.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "Deployrr install errors: root user, sudo and architecture"
description: Fix the errors you can hit when you install or start Deployrr v6, such as the root user stop, missing sudo rights, an unsupported CPU and command not found.
description: Fix Deployrr v6 install and start errors, such as running as root, missing sudo rights, an unsupported CPU, command not found, or a broken install.
type: troubleshooting
tags:
- install
Expand All @@ -19,6 +19,7 @@ symptoms:
- "sudo: npx: command not found"
- "deployrr: command not found"
- "Could not create link in /usr/local/bin. You may need to run via absolute path."
- "App 'NAME' not found"
related:
- getting-started/quick-start
- getting-started/prerequisites
Expand All @@ -32,7 +33,7 @@ videos:
- id: "-ZSQdJ62r-Q"
start: 620
title: "Docker on Proxmox LXC: creating a non-root user with sudo"
last_reviewed: 2026-11-11
last_reviewed: 2026-11-13
status: current
old_paths: []
sources: []
Expand Down Expand Up @@ -216,6 +217,8 @@ Deployrr supports 64-bit x86_64 and 64-bit ARM64 processors. It does not support
2. If it prints `x86_64` or `aarch64`, you are on a supported processor. Run the installer again and check for typing mistakes.
3. If it prints anything else, install a 64-bit version of your operating system. Then install Deployrr again.

After this message, `/opt/deployrr/apps` may already exist even though Deployrr is not installed. It does no harm.

### "Failed to download binary" or "Download failed"

The installer could not download Deployrr.
Expand All @@ -242,6 +245,30 @@ The installer normally makes `deployrr` available from any folder. The curl inst
/opt/deployrr/FILE_NAME
```

### Repair a broken install

Run the installer again when the Deployrr program is missing or damaged. For example, after **Settings** > **Reset** the `deployrr` command points to a missing file, or you deleted a file in `/opt/deployrr` by mistake.

Running the installer again is safe:

- It downloads the Deployrr program again and points the `deployrr` command at it.
- It does not delete anything, so your saved settings, setup status and logs in `/opt/deployrr` stay.
- It does not touch your Docker folder, your apps or your running containers.
- The npx installer also copies the app files into `/opt/deployrr/apps` again, replacing the files with the same name.

1. Run your install command again with `sudo`. See [Run the installer again](/getting-started/updating-deployrr/#run-the-installer-again).

If Deployrr still starts, `deployrr update` does the same. It shows the method you used last (npx or curl) as `Install Method:`. When you are already on the latest version, it asks `Would you like to force reinstall Deployrr anyway? (y/N)`. Type `y`.
2. Start Deployrr without `sudo`:

```bash
deployrr
```

3. If an app install stops with `App 'NAME' not found`, get the app files back. Build Cache needs **Disclaimers** done first. Open **Prerequisites** > **Build Cache** and choose **Yes** in the **Build App Cache** box. **Apps** > **Refresh Cache** does the same. Wait for `Building app registry...` to finish, then install the app again.

A **Reset** deletes the Deployrr program, so run the installer again before you start Deployrr. Some Prerequisites steps also need to be done again. See [Refresh, Reset or Remove Deployrr](/getting-started/reset-or-remove-deployrr/).

## Check it worked

1. Run `whoami`. It prints your regular user name, not `root`.
Expand Down
19 changes: 17 additions & 2 deletions docs/src/content/docs/getting-started/requirements-not-met.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ symptoms:
- "Traefik Production - Must be completed (Proxy menu)"
- "Advanced Authentication - Authelia, Authentik, OAuth, or TinyAuth must be running (Security menu)"
- "Required app not running"
- "System type not compatible"
related:
- getting-started/licenses
- getting-started/setup-mode
Expand All @@ -35,7 +36,7 @@ videos:
start: 1028
title: "Deployrr 5 walkthrough: Rclone install, SMB remote and automount"
note: "Shows Deployrr v5. Menus and steps differ in v6."
last_reviewed: 2026-11-12
last_reviewed: 2026-11-13
status: current
old_paths: ["/using-deployrr/requirements-not-met"]
sources: []
Expand Down Expand Up @@ -251,12 +252,26 @@ Every app needs the Prerequisites line. Some apps need more:
An app that needs another app running, such as the Deployrr Dashboard, shows a message in the terminal instead of a box:

```txt
Required app not running
✗ Required app not running
[REQUIRED] socket-proxy must be installed and running first
```

Install the named app first. For Socket Proxy, use **Docker** > **Socket Proxy**.

An app that only runs on some kinds of server stops with this message in the terminal:

```txt
✗ System type not compatible
[REQUIRED] Compatible with: Bare Metal VPS Virtual Machine Privileged LXC
[CURRENT] Your system: Unprivileged LXC
```

In v6, only Kasm has this limit. `[CURRENT]` is what you picked in **Prerequisites** > **System Type**.

- If that choice is wrong, select **Prerequisites** > **System Type** again and pick the type that matches your server. Then start the install again.
- If you really run an Unprivileged LXC, Kasm can't run there. Use a VM or a VPS for Kasm.
- If Kasm stops on a **Virtual Machine**, **Privileged LXC** or **Barebones** server, follow the steps in [Run Deployrr in a Proxmox LXC container: Kasm](/host/proxmox-lxc/#kasm).

## How it differs from License Required

| | Requirements Not Met | License Required |
Expand Down
14 changes: 12 additions & 2 deletions docs/src/content/docs/reverse-proxy/crowdsec.md
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ Most of these don't stop the install, and the step still ends with a success lin
| --- | --- | --- |
| "Could not find PLUGINS-PLACEHOLDER-DO-NOT-DELETE in Traefik compose" | The plugin lines in `compose/HOSTNAME/traefik.yml`. Without them, Traefik can't load the CrowdSec plugin. Apps that use a chain with the bouncer may stop working. | Add the plugin lines below. Then run `dcrec traefik`. |
| "Could not find basic_auth_credentials in Traefik compose, manual addition may be needed" | The bouncer key in the `secrets:` list of the Traefik service. | Add `- crowdsec_bouncer_traefik_key` to that list, in line with the other entries. Then run `dcrec traefik`. |
| "Could not find networks section in CrowdSec compose" | The `traefik_proxy` network in `compose/HOSTNAME/crowdsec.yml`. | Under `networks:` of the CrowdSec service, add `- traefik_proxy` below `- default`. Then run `dcrec crowdsec`. |
| "Could not find networks section in CrowdSec compose" | The `traefik_proxy` network in `compose/HOSTNAME/crowdsec.yml`. This only happens when the file was edited by hand and has no `networks:` section. | Add a `networks:` section to the CrowdSec service, at the same indent as `ports:`, with `- default` and `- traefik_proxy` below it. See the example below the table. Then run `dcrec crowdsec`. |
| "CrowdSec did not become ready in time" | Nothing was finished. Deployrr stopped. | Check `sudo docker logs crowdsec`, then run **Traefik Bouncer** again. |
| "No chain files found in ..." or "Could not find inner middlewares section in chain-....yml" | The bouncer in your chain files. | See [A chain file lost the bouncer](#a-chain-file-lost-the-bouncer). |
| "Bouncer may not appear in list yet, this is normal" | Probably nothing. | Run `csbouncers` after a minute. `traefik-bouncer-HOSTNAME` should be listed. |
Expand All @@ -279,7 +279,17 @@ The plugin lines go in the `command:` section of the Traefik service in `compose
- --experimental.plugins.crowdsec.version=${TRAEFIKBOUNCER_VERSION_PIN}
```

The Traefik Bouncer install sets `TRAEFIKBOUNCER_VERSION_PIN` in your `.env` file. Back up a file before you edit it. If Traefik doesn't come back, put the backup back and run `dcrec traefik`. See [Read the Traefik logs](/reverse-proxy/check-traefik-logs/).
The Traefik Bouncer install sets `TRAEFIKBOUNCER_VERSION_PIN` in your `.env` file.

The `networks:` section of the CrowdSec service in `compose/HOSTNAME/crowdsec.yml` uses a four-space indent, like `ports:`:

```yaml
networks:
- default
- traefik_proxy
```

Back up a file before you edit it. If Traefik doesn't come back, put the backup back and run `dcrec traefik`. See [Read the Traefik logs](/reverse-proxy/check-traefik-logs/).

### A chain file lost the bouncer

Expand Down
73 changes: 69 additions & 4 deletions docs/src/content/docs/reverse-proxy/edit-traefik-rules-files.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Edit Traefik rules files safely
description: Edit a Traefik rules file or an app's Docker labels, see the change apply, add your own middleware and restore a file after a bad edit or overwrite.
description: Edit a Traefik rules file or an app's Docker labels, add your own middleware or a Traefik plugin, and restore a file after a bad edit or overwrite.
type: how-to
tags:
- traefik
Expand All @@ -26,15 +26,15 @@ videos:
start: 348
title: "Traefik 3 guide: add a middleware file to the rules folder"
note: Manual Docker Compose setup. Deployrr does these steps for you; use it to understand what happens.
last_reviewed: 2026-11-12
last_reviewed: 2026-11-13
status: current
old_paths: []
sources: []
sidebar:
order: 10
---

Traefik reads two kinds of settings for your apps: rules files and Docker labels. This page shows which one an app uses, how to edit it, how to add your own middleware and how to go back after a bad edit.
Traefik reads two kinds of settings for your apps: rules files and Docker labels. This page shows which one an app uses, how to edit it, how to add your own middleware or a plugin, and how to go back after a bad edit.

## Before you start

Expand Down Expand Up @@ -163,7 +163,72 @@ To see a middleware file added to the rules folder and picked up without a resta

3. Recreate the app from **Tools** > **Stack Manager** > **Recreate**. Without it, the change does not apply.

A reinstall writes this file again and your label edits are lost. See [What can overwrite or delete your changes](/using-deployrr/what-overwrites-your-changes/).
Reinstalling Traefik, Authelia, OAuth or TinyAuth keeps its compose file and your label edits. Reinstalling Authentik replaces its compose file, so copy your label lines back afterwards. Deleting the app in **Tools** > **Stack Manager** removes the file, and a new install brings back the default labels. See [What can overwrite or delete your changes](/using-deployrr/what-overwrites-your-changes/).

### Add a Traefik plugin

A plugin needs two parts: lines in Traefik's compose file that load it, and a middleware in a rules file that uses it. Take the plugin's name, module path, version and settings from its page in the [Traefik plugin catalog](https://plugins.traefik.io/).

1. Copy Traefik's compose file.

```bash
sudo cp compose/$HOSTNAME/traefik.yml ~/traefik.yml.bak
```

2. Open it.

```bash
sudo nano compose/$HOSTNAME/traefik.yml
```

3. Find this line near the end of the `command:` section, just before `ports:`:

```yaml
# - PLUGINS-PLACEHOLDER-DO-NOT-DELETE
```

Leave it as it is. The CrowdSec Traefik Bouncer adds its plugin lines below it. If the line is gone, the bouncer install shows an error and you have to add its lines yourself. Leave the other `PLACEHOLDER` lines in this file alone too.

4. Add your plugin's lines below it, not below the `METRICS-PLACEHOLDER` line just above it. Use the same six-space indent. Replace `myplugin` with a short name of your own, and the module path and version with the ones from the plugin's page:

```yaml
# - PLUGINS-PLACEHOLDER-DO-NOT-DELETE
- --experimental.plugins.myplugin.modulename=github.com/AUTHOR/PLUGIN
- --experimental.plugins.myplugin.version=v1.0.0
```

Do not use the name `crowdsec`. The CrowdSec Traefik Bouncer uses it. If you set up the bouncer already, its lines (a `# CrowdSec Bouncer Plugin` comment and two `crowdsec` lines) are below the placeholder too. Put yours on their own lines before or after them. The order does not matter.

5. Save and close, then recreate Traefik. Web connections drop for a few seconds.

```bash
dcrec traefik
```

Without the aliases, use **Tools** > **Stack Manager** > **Recreate** and pick Traefik.

6. Check the log for plugin errors. Traefik downloads plugins when it starts, so the server needs internet access.

```bash
sudo grep -i plugin logs/$HOSTNAME/traefik/traefik.log | tail -n 20
```

7. Create a rules file with a name of your own, as in [Add your own middleware](#add-your-own-middleware), and use the plugin there. Under `plugin:`, the name must match the one in the compose lines. The settings come from the plugin's page.

```yaml
http:
middlewares:
my-plugin:
plugin:
myplugin:
SETTING: VALUE
```

8. Add `my-plugin` to an app's `middlewares:`, as in [Add your own middleware](#add-your-own-middleware).

A wrong module path or version can stop Traefik from loading any plugin, including CrowdSec. If apps fail after this change, copy `~/traefik.yml.bak` back and run `dcrec traefik`.

Your plugin lines stay when you run **Traefik Preparation** again or reinstall Traefik, because Deployrr reuses the compose file. Deleting Traefik in **Tools** > **Stack Manager** removes them. For the CrowdSec plugin's own warnings, see [Warnings during the Traefik Bouncer install](/reverse-proxy/crowdsec/#warnings-during-the-traefik-bouncer-install).

## Restore a file after a bad edit

Expand Down