diff --git a/docs/src/content/docs/apps/arr-downloads-not-importing.md b/docs/src/content/docs/apps/arr-downloads-not-importing.md index e7c80c9..08ae5df 100644 --- a/docs/src/content/docs/apps/arr-downloads-not-importing.md +++ b/docs/src/content/docs/apps/arr-downloads-not-importing.md @@ -38,7 +38,7 @@ videos: start: 1652 title: "Gluetun guide: add qBittorrent behind Gluetun as a download client in Radarr" 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: [] @@ -94,8 +94,8 @@ A path outside `/data/downloads` exists only inside the client's container. The 1. Open the qBittorrent web UI. 2. Go to **Tools** > **Options** > **Downloads**. -3. Check that **Default Save Path** starts with `/data/downloads`. The settings Deployrr installs use `/data/downloads/torrents/others/`. -4. Check that the incomplete folder, if you use one, starts with `/data/downloads`. The settings Deployrr installs use `/data/downloads/torrents/incomplete/`. +3. Check that **Default Save Path** starts with `/data/downloads`. The settings Deployrr installs for qBittorrent use `/data/downloads/torrents/others/`. qBittorrent VPN starts with `/downloads/`, so change it to `/data/downloads/torrents/others/`. +4. Check that the incomplete folder, if you use one, starts with `/data/downloads`. For example, `/data/downloads/torrents/incomplete/`. 5. Check the save path of each category you use. Every one must start with `/data/downloads`. 6. Select **Save**. diff --git a/docs/src/content/docs/apps/qbittorrent-vpn.md b/docs/src/content/docs/apps/qbittorrent-vpn.md index 8ff8dc6..f3093ec 100644 --- a/docs/src/content/docs/apps/qbittorrent-vpn.md +++ b/docs/src/content/docs/apps/qbittorrent-vpn.md @@ -115,7 +115,7 @@ The install creates a `torrents` folder inside your Downloads Folder. It has the 3. Read the **qBittorrent VPN Setup** box. It says Gluetun must be running and connected to your VPN, and that you reach the web page through Gluetun's port. Select **OK**. Deployrr checks the requirements after this box. 4. At **Port Configuration**, enter the port for the web page. The default is `8082`. Deployrr suggests the first free port from there. If the port is taken, see [Port is already in use](/docker/port-already-in-use/). 5. Wait for the four steps to finish: configuring the Gluetun port, stopping qBittorrent VPN, restarting Gluetun and starting qBittorrent VPN. The last step can show an error and leave qBittorrent VPN stopped, so check it after every install: run `sudo docker ps -a` (or `dps`). If `qbittorrent-vpn` isn't listed as `Up`, recreate it: **Tools** > **Stack Manager** > **Recreate** and pick `qbittorrent-vpn`, or `dcrec qbittorrent-vpn` with the aliases. -6. Read the **qBittorrent VPN - Installation Notes** box at the end. It has two notes. One gives the default login. The other tells you how to connect Arr apps. +6. Read the **qBittorrent VPN - Installation Notes** box at the end. It has two notes. One is about the login; log in as in step 5 below. The other tells you how to connect Arr apps. If you see `Required app not running` with `gluetun must be installed and running first` or `deunhealth must be installed and running first`, go back to step 2. Deployrr only checks that the container is running, not that the VPN is connected. Installing DeUnhealth without Socket Proxy shows `socket-proxy must be installed and running first`. See also [Requirements Not Met](/getting-started/requirements-not-met/). @@ -127,15 +127,19 @@ If you see `Required app not running` with `gluetun must be installed and runnin http://YOUR_SERVER_IP:PORT ``` -2. Log in with these defaults: +2. Log in with the username `admin` and the temporary password qBittorrent prints in its log. Find it with this command. It is on the line that mentions a temporary password: - - Username: `admin` - - Password: `adminadmin` + ```bash + sudo docker logs qbittorrent-vpn + ``` + + With the aliases: `dlogs qbittorrent-vpn`. Press Ctrl+C to stop following the log. qBittorrent prints a new temporary password every time it starts until you set your own. 3. In qBittorrent, go to **Tools** > **Options** > **WebUI** and set a new password. +4. Go to **Tools** > **Options** > **Downloads**. qBittorrent VPN starts with `/downloads/` as its **Default Save Path**. Change it to `/data/downloads/torrents/others/`, and the incomplete folder, if you use one, to `/data/downloads/torrents/incomplete/`. Only paths under `/data/downloads` reach your Downloads Folder and the Arr apps. Select **Save**. :::caution -Anyone on your network who knows the default can log in. Change the password right away. +Set your own password right away. Until you do, the password changes every time the container starts. ::: qBittorrent VPN is not behind Traefik. You can't give it a subdomain or a login from Traefik. Always use the address above. If the page doesn't open, see [qBittorrent web UI says Unauthorized or won't open](/apps/qbittorrent-webui-troubleshooting/). diff --git a/docs/src/content/docs/apps/qbittorrent-webui-troubleshooting.md b/docs/src/content/docs/apps/qbittorrent-webui-troubleshooting.md index 8a1f292..4e7ee73 100644 --- a/docs/src/content/docs/apps/qbittorrent-webui-troubleshooting.md +++ b/docs/src/content/docs/apps/qbittorrent-webui-troubleshooting.md @@ -36,7 +36,7 @@ videos: further_reading: - title: "qBittorrent, Gluetun VPN, and DeUnhealth: The Perfect Trio (video playlist)" url: https://youtube.com/playlist?list=PL1Hno7tIbSWWZXw1jEsYWPRK-gHqITZds -last_reviewed: 2026-11-08 +last_reviewed: 2026-11-13 status: current old_paths: ["/apps/qbittorrent-webui-troubleshooting"] sources: @@ -85,11 +85,13 @@ qBittorrent VPN can't be put behind Traefik, so always open it this way. Plain q ### 2. Try the default login -Deployrr sets the login to this when it installs qBittorrent or qBittorrent VPN: +Deployrr sets the login to this when it installs qBittorrent: - Username: `admin` - Password: `adminadmin` +qBittorrent VPN starts with the username `admin` and a temporary password that qBittorrent prints in its log. Read it as in step 5, items 6 to 8. You don't need to stop the container or edit the config file first. It prints a new one every time it starts until you set your own. + If you changed the password and it no longer works, go to step 5. :::caution @@ -147,7 +149,7 @@ qBittorrent VPN has no port of its own. You reach it through Gluetun, so both co 5. If the line is missing or has a `#` in front, install qBittorrent VPN again: **Apps** > **Browse Apps** > **qBittorrent VPN** > **Install**. At the **Already Installed** prompt, choose **Yes**. The install adds the line back, restarts Gluetun and starts qBittorrent VPN again. :::caution - Installing qBittorrent VPN again replaces its config file. The login goes back to `admin` and `adminadmin`, and your qBittorrent settings are reset. Any changes you made to the compose files by hand are also lost. + Installing qBittorrent VPN again resets its config file. The login goes back to `admin` with a temporary password from the log, and your qBittorrent settings are reset. Any changes you made to the compose files by hand are also lost. ::: 6. If you restart Gluetun yourself later, restart qBittorrent VPN after it: @@ -194,9 +196,11 @@ qBittorrent VPN has no port of its own. You reach it through Gluetun, so both co 7. Log in with your username (`admin` unless you changed it) and the temporary password. 8. In qBittorrent, open **Tools**, then **Options**, then **WebUI**. Set a new password and save. The temporary password only works until the container restarts. +If the log shows no temporary password, or you still can't log in, [reset qBittorrent to the default login and settings](#reset-to-the-default-login-and-settings). + ### 6. Check the host header settings -Deployrr turns host header validation off for you. If you changed the config file, check that the `[Preferences]` section still has these lines: +For qBittorrent, Deployrr turns host header validation off for you. If you changed the config file, check that the `[Preferences]` section still has these lines: ```ini WebUI\Address=* @@ -204,6 +208,8 @@ WebUI\ServerDomains=* WebUI\HostHeaderValidation=false ``` +qBittorrent VPN starts with only the first two lines. That is enough, because `ServerDomains=*` accepts any address you open it with. + If you change the file, stop the container first and start it again after you save. qBittorrent can overwrite your edits while it runs. To see the same fix done by hand, watch [qBittorrent Docker Compose guide: fixing the Unauthorized error at 8:28](https://youtu.be/Wt8hS0msLxw?t=508). It is a manual Docker Compose setup; Deployrr does this for you. @@ -212,6 +218,39 @@ To see the same fix done by hand, watch [qBittorrent Docker Compose guide: fixin If the web page works but Sonarr or Radarr can't connect, the host and port are probably wrong. Apps connect with a container name and the internal port, not the port you use in your browser. See [Connect your apps to each other](/using-deployrr/connecting-apps/). +## Reset to the default login and settings + +Use this when the password reset in step 5 doesn't get you in, or when a setting you changed in **Options** stops the web UI from opening, such as the web UI port, HTTPS or the address it listens on. Installing the app again resets its config file. The steps are the same for qBittorrent and qBittorrent VPN, but the result differs a little. + +What the reinstall changes: + +- qBittorrent: `qBittorrent.conf` is replaced with Deployrr's copy. The login goes back to `admin` and `adminadmin`, host header validation is off, and the download folders are the ones under `/data/downloads/torrents/`. +- qBittorrent VPN: `qBittorrent.conf` is deleted, and the container starts with the image's own default settings. The login is `admin` with a temporary password from the log, and the download folder is `/downloads/`. Change it to a folder under `/data/downloads/torrents/` (step 5 below). +- Everything else you set in **Options** goes back to qBittorrent's default. +- Only that one file changes. The other files in the app's appdata folder stay. +- The container is recreated with the latest image, and the app's compose file is replaced. Changes you made to it by hand are lost. + +Steps: + +1. Back up the config file so you can see your old settings later. Replace `YOUR_USER` with your Linux username and `docker` with your Docker folder if it is somewhere else. For qBittorrent VPN, use `appdata/qbittorrent-vpn` in the path: + + ```bash + sudo cp /home/YOUR_USER/docker/appdata/qbittorrent/qBittorrent/qBittorrent.conf ~/qBittorrent.conf.bak + ``` + +2. Go to **Apps** > **Browse Apps** > **qBittorrent** (or **qBittorrent VPN**) > **Install**. At the **Already Installed** prompt, choose **Yes**. You can also use **Reinstall** in **Manage Apps** when the app is stopped. See [Reinstall an app and keep its data](/using-deployrr/reinstall-app/). +3. For qBittorrent VPN, check that both `gluetun` and `qbittorrent-vpn` show as `Up` in `sudo docker ps -a`. If `qbittorrent-vpn` isn't running, start it as in step 4 of [Install qBittorrent VPN](/apps/qbittorrent-vpn/). +4. Log in with `admin` and `adminadmin`. For qBittorrent VPN, use `admin` and the temporary password from `sudo docker logs qbittorrent-vpn`. Set a new password right away in **Tools** > **Options** > **WebUI**. +5. For qBittorrent VPN, open **Tools** > **Options** > **Downloads**. Set **Default Save Path** to `/data/downloads/torrents/others/`. If you use an incomplete folder, set it to `/data/downloads/torrents/incomplete/`. Files saved under `/downloads/` stay inside the container and don't reach your Downloads Folder. See [Sonarr, Radarr or Lidarr don't import finished downloads](/apps/arr-downloads-not-importing/). +6. Put the new password in every app that connects to qBittorrent, such as Sonarr and Radarr. Their download client settings hold the qBittorrent username and password. +7. To see which settings you had changed, compare the backup with the new file: + + ```bash + sudo diff ~/qBittorrent.conf.bak /home/YOUR_USER/docker/appdata/qbittorrent/qBittorrent/qBittorrent.conf + ``` + + For qBittorrent VPN, use `appdata/qbittorrent-vpn` in the path. Set the settings you want again in **Options**. Don't copy back the line that broke the web UI. + ## Check it worked - The qBittorrent login page opens at `http://YOUR_SERVER_IP:PORT`. @@ -228,4 +267,5 @@ sudo docker logs qbittorrent - [Connect your apps to each other](/using-deployrr/connecting-apps/): the host and port Sonarr and Radarr need, including `gluetun:8080`. - [Bash aliases](/using-deployrr/bash-aliases/): shortcuts for logs and container lists. +- [Reinstall an app and keep its data](/using-deployrr/reinstall-app/): what a reinstall keeps and resets for every app. - [Theme your apps with Theme Park](/apps/theme-park-configuration/): give the qBittorrent web UI a new look. diff --git a/docs/src/content/docs/networking/local-dns-rewrites.md b/docs/src/content/docs/networking/local-dns-rewrites.md index 3fc75a9..15bce22 100644 --- a/docs/src/content/docs/networking/local-dns-rewrites.md +++ b/docs/src/content/docs/networking/local-dns-rewrites.md @@ -18,7 +18,7 @@ related: - getting-started/domain-checks-failed - host/fixed-ip - reverse-proxy/restrict-access-using-ip-allowlist -last_reviewed: 2026-11-12 +last_reviewed: 2026-11-13 status: current old_paths: [] sources: [] @@ -151,12 +151,63 @@ Keep these in mind: ## If it still does not work -- **The old answer is cached.** Restart the browser. If that does not help, restart the device or clear its DNS cache. -- **The browser ignores your DNS server.** Browsers can use their own secure DNS, also called DNS over HTTPS. That skips Pi-hole. Turn it off in the browser's privacy or security settings. -- **The device does not use the new DNS server.** Run `nslookup app.YOUR_DOMAIN` with no server on the device. If the answer is your public IP, the device still uses another DNS server. +- **The old answer is cached.** Restart the browser. If that does not help, restart the device or clear its DNS cache (see [Check which DNS server a device uses](#check-which-dns-server-a-device-uses), step 6). +- **The device does not use the new DNS server.** See [Check which DNS server a device uses](#check-which-dns-server-a-device-uses). +- **The browser ignores your DNS server.** See [Turn off secure DNS in the browser](#turn-off-secure-dns-in-the-browser). - **Domain Checks now fail with an IP mismatch.** The server uses your rewrite. See [Do the rewrite after Domain Checks](#do-the-rewrite-after-domain-checks) and [Domain Checks failed](/getting-started/domain-checks-failed/). - **Pi-hole will not start.** See [Pi-hole will not start because port 53 is already in use](/apps/pi-hole-port-53-conflict/). +## Check which DNS server a device uses + +Do this when an Internal app opens on some devices but not on others, or only some of the time. + +1. On the device that fails, run this. It works on Windows, macOS and Linux: + + ```bash + nslookup app.YOUR_DOMAIN + ``` + +2. Read the output. The first `Server:` and `Address:` lines show the DNS server the device asked. The last `Address:` line is the answer. +3. Compare with this table: + + | What you see | What it means and what to do | + |---|---| + | Server is `DNS_SERVER_IP`, answer is `SERVER_LAN_IP` | DNS is fine on this device. If the browser still fails, see [Turn off secure DNS in the browser](#turn-off-secure-dns-in-the-browser). | + | Server is your router's IP, answer is your public IP | The device asks your router, and the router doesn't know the rewrite. Set the DNS server in the router's DHCP settings to `DNS_SERVER_IP`, or add the rewrite in the router (see [Use your router instead](#use-your-router-instead)). | + | Server is a public DNS server such as `1.1.1.1` or `8.8.8.8` | The device or the router has a public DNS server set by hand. Change it to `DNS_SERVER_IP` in the device's network settings or the router's DHCP settings. | + | Server is an IPv6 address | The device got a DNS server over IPv6, often from the router, and uses it instead of Pi-hole. In the router's IPv6 or LAN settings, stop it from handing out its own DNS server, or hand out the IPv6 address of the device that runs Pi-hole. The setting names differ by brand. | + | Server is `127.0.0.53` (Linux) | The device uses a local DNS cache (systemd-resolved). Run `resolvectl status` and read the `Current DNS Server` line to see the real server. | + +4. To see the DNS servers a device has, run `ipconfig /all` on Windows (look for **DNS Servers**) or `resolvectl status` on Linux. On macOS, open **System Settings** > **Network**, select your connection, then **Details** > **DNS**. +5. To ask your DNS server directly from Linux or macOS, use `dig`. It is in the `dnsutils` package on Debian and Ubuntu: + + ```bash + dig +short app.YOUR_DOMAIN @DNS_SERVER_IP + ``` + + It should print `SERVER_LAN_IP`. Run `dig app.YOUR_DOMAIN` without `@`. The `;; SERVER:` line near the end shows which server the device uses. +6. After you change a device's DNS server, clear its DNS cache: + - Windows: `ipconfig /flushdns` + - macOS: `sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder` + - Linux with systemd-resolved: `resolvectl flush-caches` + - Phones: turn Wi-Fi off and on again. + +`nslookup` and `dig` ask the DNS server directly. A right answer there doesn't prove that your browser uses the same server, so check the browser too. + +## Turn off secure DNS in the browser + +Most browsers can send DNS lookups over HTTPS to their own provider, such as Cloudflare or Google. These lookups skip Pi-hole and your rewrite, so the browser gets your public IP while `nslookup` shows `SERVER_LAN_IP`. + +Turn it off on each device where Internal apps fail. Menu names and places change between browser versions. If you can't find the setting, search the browser's settings for "secure DNS" or "DNS over HTTPS". + +- **Chrome**: **Settings** > **Privacy and security** > **Security** > **Use secure DNS**. Turn it off. +- **Edge**: **Settings** > **Privacy, search, and services**, then find **Use secure DNS**. Turn it off. +- **Brave**: **Settings** > **Privacy and security** > **Security** > **Use secure DNS**. Turn it off. +- **Firefox**: **Settings** > **Privacy & Security** > **DNS over HTTPS**. Choose **Off**. +- **Android** (affects all apps on the phone): **Settings** > **Network & internet** > **Private DNS**. Choose **Off** or **Automatic**. If a provider hostname is set here, the phone skips Pi-hole for every lookup. + +Close and reopen the browser, then open `https://app.YOUR_DOMAIN` again. + ## Related - [Simple vs Advanced Traefik mode](/reverse-proxy/simple-vs-advanced-mode/): what Internal and External mean. diff --git a/docs/src/content/docs/reverse-proxy/app-404-or-502.md b/docs/src/content/docs/reverse-proxy/app-404-or-502.md index c7302f2..d29caad 100644 --- a/docs/src/content/docs/reverse-proxy/app-404-or-502.md +++ b/docs/src/content/docs/reverse-proxy/app-404-or-502.md @@ -21,6 +21,7 @@ symptoms: - "middleware \"chain-NAME@file\" does not exist" - One app does not open at its https address, but your other apps behind Traefik do - There is no app-NAME.yml file for the app in the Traefik rules folder + - Authelia, Authentik, TinyAuth, OAuth or the Traefik dashboard shows 404 page not found related: - reverse-proxy/check-traefik-logs - reverse-proxy/traefikify @@ -47,7 +48,7 @@ videos: start: 924 title: "Traefik middlewares guide: middleware chains" 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: [] @@ -93,6 +94,21 @@ If Nextcloud shows "Access through untrusted domain", the page comes from Nextcl To understand how a file like this differs from Docker labels, read [UDMS part 18: Docker labels vs the file provider](https://www.simplehomelab.com/udms-18-traefik-docker-compose-guide/#Docker_Labels_vs_File_Provider) (manual setup, background only; folder names differ from Deployrr). +## Is it the app or Traefik? + +Open the app without Traefik first. This tells you where to look. + +1. Find the app's port. Run `dps` (without the aliases, `sudo docker ps -a`) and look at the `PORTS` column for the app. The number on the left is the one you need. The [app reference](/apps/app-reference/) lists the usual ports. +2. On a device in your home network, open `http://SERVER_IP:PORT`. Replace `SERVER_IP` with your server's local IP address and `PORT` with the number from step 1. If the app only answers on HTTPS, use `https://` and accept the certificate warning. + +| What you see | What it means | +| --- | --- | +| The app opens | The app works. The problem is between Traefik and the app. Continue with the [Fix](#fix) steps. | +| The app doesn't open there either | The app itself is failing. Traefik can't fix that. See [A container keeps restarting, is unhealthy or has exited](/docker/container-keeps-restarting/). | +| The `PORTS` column is empty for the app | The app has no port on your server, so you can't open it this way. Use the Traefik dashboard below. The login apps are like this. See [Apps that use Docker labels](#apps-that-use-docker-labels). | + +The Traefik dashboard shows what Traefik loaded. Open `http://SERVER_IP:8080` from your home network. This address has no login, so don't open it to the internet. If port 8080 was taken when you set up Traefik, use the `TRAEFIK_PORT` value from your `.env` file instead. Under **HTTP** > **Routers**, find the app's router, for example `NAME-rtr@file`, or `NAME-rtr@docker` for the apps that use labels. If it isn't in the list, Traefik didn't load a route for the app, which gives a 404. A router with a warning or error shows the reason when you click it. + ## Fix Work through the steps in order. Stop when the app opens. For a manual-setup version of this checklist, see [UDMS part 18: 404 or Cloudflare 502 in a manual Traefik setup](https://www.simplehomelab.com/udms-18-traefik-docker-compose-guide/#404_or_Cloudflare_502) (manual setup). @@ -137,7 +153,7 @@ For more on these files, see [Read the Traefik logs](/reverse-proxy/check-traefi 3. If the file is there, continue. -A few apps, such as Traefik itself, Authelia, Authentik, OAuth and TinyAuth, have no `app-NAME.yml` file. They use labels in their file in `compose/HOSTNAME/` instead. This page does not cover those. +A few apps, such as Traefik itself, Authelia, Authentik, Google OAuth and TinyAuth, have no `app-NAME.yml` file. They use labels in their file in `compose/HOSTNAME/` instead. See [Apps that use Docker labels](#apps-that-use-docker-labels). ### 3. Back up and read the file @@ -306,6 +322,55 @@ Each app file has a router name that ends in `-rtr` and a service name that ends See [Run a second copy of an app](/using-deployrr/second-app-instances/) for a full example. +## Apps that use Docker labels + +These apps get their Traefik route from labels in their own file in `compose/HOSTNAME/`, not from a rules file: + +| App | Address | File | +| --- | --- | --- | +| Traefik dashboard | `traefik.YOUR_DOMAIN` | `traefik.yml` | +| Authelia | `authelia.YOUR_DOMAIN` | `authelia.yml` | +| Authentik | `authentik.YOUR_DOMAIN` | `authentik.yml` | +| Google OAuth | `oauth.YOUR_DOMAIN` | `oauth.yml` | +| TinyAuth | `tinyauth.YOUR_DOMAIN` | `tinyauth.yml` | + +If a login app fails, the apps that use its login method can't open either. Fix the login app first. + +1. Check that the app is running. From your Docker folder, run `dps` (without the aliases, `sudo docker ps -a`). The status must start with `Up`. Traefik only reads labels from a running container. +2. Check the health in the same status. If it shows `(health: starting)` or `(unhealthy)`, Traefik skips the app and you get a 404. Authentik can take a minute after a start. If it stays like that, see [A container keeps restarting, is unhealthy or has exited](/docker/container-keeps-restarting/). +3. Check that `socket-proxy` is running in the same list. Traefik reads labels through Socket Proxy. If it's stopped, see [Socket Proxy](/docker/socket-proxy/). +4. Read the labels. Replace `NAME` with the file name from the table, for example `authelia`. + + ```bash + grep traefik compose/$HOSTNAME/NAME.yml + ``` + + - The `rule=Host(...)` label is the address. + - The `middlewares=` label names the login chain. The Traefik dashboard uses `chain-basic-auth`. Authelia, Authentik and TinyAuth use `chain-no-auth` for their own page, and Google OAuth uses `chain-oauth`. + - The `loadbalancer.server.port=` label is the port inside the container. It isn't a port on your server, so don't change it to match `.env`. + +5. Check that the app is on the `traefik_proxy` network. Traefik reaches label apps only there. + + ```bash + sudo docker inspect -f '{{range $k, $v := .NetworkSettings.Networks}}{{$k}} {{end}}' NAME + ``` + + The output must include `traefik_proxy`. + +6. If you changed a label, Traefik doesn't see it until you recreate the app. Saving the file is not enough. + + ```bash + dcrec NAME + ``` + + Without the aliases, run this. Replace `YOUR_DOCKER_FOLDER`, `HOSTNAME` and `NAME` with your own values. + + ```bash + sudo docker compose --profile all -f YOUR_DOCKER_FOLDER/docker-compose-HOSTNAME.yml up -d --force-recreate --remove-orphans NAME + ``` + + **Security** > **Manage Auth** recreates the app for you when it changes a label. + ## Which files Traefik loads Deployrr starts Traefik so it watches the rules folder for changes. Keep your files directly in `appdata/traefik3/rules/HOSTNAME/`. Traefik loads files there when it starts, and it picks up a new, changed or deleted file on its own. diff --git a/docs/src/content/docs/reverse-proxy/traefik-setup.md b/docs/src/content/docs/reverse-proxy/traefik-setup.md index 6d08139..174a56d 100644 --- a/docs/src/content/docs/reverse-proxy/traefik-setup.md +++ b/docs/src/content/docs/reverse-proxy/traefik-setup.md @@ -32,7 +32,7 @@ videos: start: 533 title: "Traefik 3 guide: create the Cloudflare DNS API token" 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: [] @@ -124,7 +124,7 @@ If Preparation stops with an error, use this table. | Password cannot be empty. | Type a password. | | Passwords do not match. | Type the same password in both fields. | | Invalid Cloudflare token. Please check token permissions. | Make a new user token with Zone / Zone / Read and Zone / DNS / Edit. | -| Port N is occupied. This is needed for Traefik. | Stop whatever uses that port (443, 444, 80 or 81), then run Preparation again. If Traefik itself is running, that is the cause. See [Run the steps again](#run-the-steps-again). | +| Port N is occupied. This is needed for Traefik. | Stop whatever uses that port (443, 444, 80 or 81), then run Preparation again. See [A port is occupied](#a-port-is-occupied). | ### Run Staging @@ -205,6 +205,62 @@ Production shows the same errors as Staging, plus these: You should see `traefik` with a status that starts with "Up". +## If a step won't start + +### A port is occupied + +Preparation checks ports 443, 444, 80 and 81. For each one that is taken, it shows `Port N is occupied. This is needed for Traefik.` and, below it, a line that names the program holding the port. The end of that line is the process number and the program, for example `1234/nginx: master` or `5678/docker-proxy`. Preparation then stops, and it loses its `- DONE` mark even if it was done before. + +What to do depends on the program: + +- **`docker-proxy`**: a container uses the port. Find it with `sudo docker ps --format 'table {{.Names}}\t{{.Ports}}'`. + - `traefik`: Traefik itself. See [Run the steps again](#run-the-steps-again). + - `npm`: Nginx Proxy Manager. Pick Traefik in **Proxy** > **Proxy Type** first and let Deployrr stop NPM. + - Any other app: move it to another port. See [Port already in use](/docker/port-already-in-use/#fix-b-change-the-port-of-an-installed-app). +- **`nginx`, `apache2`, `httpd`, `caddy` or `lighttpd`**: a web server runs on the server itself, outside Docker. Some VPS images and hosting control panels come with one. See what it is with `systemctl status nginx` (use the name from the line). + +:::caution +Stopping the web server takes down every site it serves, including a hosting control panel. If you still need those sites or the panel, move them off ports 80 and 443 first, or run it on another server. +::: + +If you don't need the web server, stop it and keep it from starting at boot. Replace `nginx` with the program name: + +```bash +sudo systemctl disable --now nginx +``` + +To turn it back on later, run `sudo systemctl enable --now nginx`. + +Check that all four ports are free. This prints nothing when they are: + +```bash +sudo ss -tlnp | grep -E ':(80|81|443|444) ' +``` + +Then run Preparation again. For other ways to find what holds a port, see [Find what uses a port](/docker/port-already-in-use/#find-what-uses-a-port). + +### Requirements Not Met + +Staging and Production check what they need as soon as you open them. Preparation checks right after you press **Yes** on its first box. + +| Step | Needs | +| --- | --- | +| Preparation | All Prerequisites done, Setup Mode Hybrid, Socket Proxy running, a Plus or Pro license | +| Staging | The same, plus Preparation done | +| Production | The same as Staging, plus Staging done and Traefik running | + +If something is missing, a **Requirements Not Met** box lists it. [Deployrr shows "Requirements Not Met"](/getting-started/requirements-not-met/#traefik-and-docker-lines) explains each line. Common ones here: + +- `License - Plus or Pro required. Current: Free` after you paid: run **Prerequisites** > **Verify**. If it asks for a PIN you don't have, see [Forgot your PIN](/support/forgot-pin/). +- `Socket Proxy - Must be running (Docker menu)`: open **Docker** > **Socket Proxy**, answer **Yes**, then **Yes** at "Already Installed". This recreates the container and keeps its data. See [Socket Proxy](/docker/socket-proxy/). +- `Traefik - Must be running (Proxy menu)` on Production: start Traefik with `sudo docker start traefik`. If it stops again, read [the Traefik logs](/reverse-proxy/check-traefik-logs/). If Docker says there is no such container, run Staging, which creates it. Staging replaces your production certificate with a test one, so run Production after it and expect new certificates (they count toward the Let's Encrypt rate limit). + +:::caution +When the box appears, the step you opened loses its `- DONE` mark, even if it was done before. For example, opening Production while Traefik is stopped clears Production. **Manage Exposure**, **Traefikify** and the login apps in **Security** then say `Traefik Production - Must be completed (Proxy menu)`. +::: + +After you fix the missing item, run the step that lost its mark again. For Production, press `Y` at the "already done" warning, then `Y` at "Reuse existing production SSL certificate?" to keep your certificates. If Staging lost its mark but Production still shows `- DONE`, leave Staging alone. The tools after Production don't check Staging, and a Staging run replaces your production certificate with a test one. + ## Run the steps again You may need to redo a step, for example to change the basic auth password or the Cloudflare token (Preparation), or after a certificate problem (Staging and Production). Keep these points in mind: diff --git a/docs/src/content/docs/using-deployrr/dashboard.md b/docs/src/content/docs/using-deployrr/dashboard.md index b77c111..a55358f 100644 --- a/docs/src/content/docs/using-deployrr/dashboard.md +++ b/docs/src/content/docs/using-deployrr/dashboard.md @@ -15,7 +15,7 @@ related: - using-deployrr/stack-manager - reverse-proxy/multi-server-same-domain - reverse-proxy/point-root-domain-to-a-dashboard - - getting-started/move-from-v5 + - reverse-proxy/change-app-subdomain further_reading: - title: Homepage documentation url: https://gethomepage.dev/ @@ -32,7 +32,7 @@ videos: start: 4001 title: "Deployrr 5 walkthrough: editing services.yaml by hand" note: Shows Deployrr v5. Menus and steps differ in v6. -last_reviewed: 2026-11-10 +last_reviewed: 2026-11-13 status: current old_paths: [] sources: [] @@ -193,6 +193,56 @@ ReDash leaves some apps out: If you see "No installed apps found", there is nothing to add yet. If you see "The Deployrr Dashboard is not installed", install it first. +While Traefik runs, ReDash gives each app that normally sits under **Apps (Local)** and has a subdomain both a local and a remote entry. It does not look at the app's exposure. An Internal app then gets an **Apps (Remote)** link, and an External app gets an **Apps (Local)** link. See [An entry shows the wrong address or port](#an-entry-shows-the-wrong-address-or-port) to put them back. + +### Get your hand edits back + +ReDash prints the backup name in its summary, for example `services.20261113_142530.yaml`. Every run saves a new backup and keeps the old ones. If you ran ReDash more than once, your hand edits are in the backup from before the first run, not the newest one. Run these commands from your Docker folder. + +1. List the backups, newest last: + + ```bash + ls -ltr appdata/deployrr-dashboard/config/services.*.yaml + ``` + +2. See what ReDash changed. Lines starting with `<` are only in the old file. Replace `DATE_TIME` with the part from the file name: + + ```bash + sudo diff appdata/deployrr-dashboard/config/services.DATE_TIME.yaml appdata/deployrr-dashboard/config/services.yaml + ``` + +3. Copy the entries you want back into `services.yaml` with `sudo nano`. Keep each entry between its `START` and `END` comment lines. + +To undo the whole ReDash run instead, copy the backup over the new file. This also removes the apps ReDash added. + +```bash +sudo cp appdata/deployrr-dashboard/config/services.DATE_TIME.yaml appdata/deployrr-dashboard/config/services.yaml +``` + +Refresh the dashboard in your browser. + +## An entry shows the wrong address or port + +Deployrr writes an app's address into `services.yaml` when it adds the entry. Later changes to the app don't change the entry. Pick the row that matches what you see. + +| What you see | Why | What to do | +| --- | --- | --- | +| The local link uses the old port after you changed the port in `.env` | The entry keeps the port from the install. | In Advanced mode, open **Proxy** > **Traefik** > **Manage Exposure**, pick the app and pick the same exposure again. It rewrites the app's entries with the port from `.env`. Otherwise edit the port in `services.yaml`, or run **ReDash**. | +| Speedtest Tracker or 9Router shows port 8081 or 20128 after ReDash, but you use another port | ReDash uses these apps' default port. **Manage Exposure** leaves their entries as they are. | Edit the port in `services.yaml` by hand after each ReDash. For these two apps, also delete an extra local or remote entry by hand. | +| The remote link uses the old subdomain | The entry keeps the subdomain from the install. | See [Update the Deployrr Dashboard](/reverse-proxy/change-app-subdomain/#update-the-deployrr-dashboard). | +| An Internal app has a remote link, or an External app has a local link, after ReDash | ReDash adds both entries while Traefik runs. | Open **Manage Exposure**, pick the app and pick its exposure again. Or delete the extra entry in `services.yaml`. | +| A Dashify entry shows the old server IP after ReDash | ReDash puts back Dashify entries with the address you typed when you added them. **Change Server IP** doesn't change that saved address. | Fix the address in `services.yaml`. Then run **Dashify** again with the same **App Name** (capital letters don't matter) and **Dashboard Location** and the new URL. The dashboard doesn't change ("Success!" with no new entry), but the next ReDash uses the new address. | + +**Manage Exposure** needs Traefik Advanced mode, a Plus or Pro license, Traefik Production done, Traefik and Socket Proxy running, and Setup Mode set to **Hybrid**. It only lists apps that have a Traefik rules file. See [Change it later with Manage Exposure](/reverse-proxy/simple-vs-advanced-mode/#change-it-later-with-manage-exposure). + +To edit an entry by hand, open the file from your Docker folder: + +```bash +sudo nano appdata/deployrr-dashboard/config/services.yaml +``` + +Find the app's lines between its `START` and `END` comments. Change the address on the `href:` line and on the `description:` line if it shows the address too. Save, then refresh the dashboard. + ## Edit the dashboard files Dashboard settings live in your Docker folder, in `appdata/deployrr-dashboard/config/`: @@ -245,8 +295,9 @@ Leave the comment lines in `services.yaml` alone, such as the ones ending in `PL | The page does not load at `http://SERVER_IP:PORT` | Check that the container runs. See [Stack Manager](/using-deployrr/stack-manager/), or run `sudo docker ps -a` (`dps` with the aliases). | | The page does not load at your domain address | Check that the local address works first. Then see [Read the Traefik logs](/reverse-proxy/check-traefik-logs/). | | An app is missing | Start the dashboard if it is stopped, then run **ReDash**. | -| A hand edit disappeared | Find the saved file in `appdata/deployrr-dashboard/config/`. It is named `services.DATE_TIME.yaml`. Copy your lines from it. | -| Entries show an old server IP address | Run **Tools** > **Change Server IP**. See [Change the server IP](/host/change-server-ip/). | +| A hand edit disappeared | ReDash saved the old file as `services.DATE_TIME.yaml`. See [Get your hand edits back](#get-your-hand-edits-back). | +| Entries show an old server IP address | Run **Tools** > **Change Server IP** (needs a Pro license). See [Change the server IP](/host/change-server-ip/). For Dashify entries after a ReDash, see [An entry shows the wrong address or port](#an-entry-shows-the-wrong-address-or-port). | +| A link has the wrong port or subdomain, or sits in the wrong section | See [An entry shows the wrong address or port](#an-entry-shows-the-wrong-address-or-port). | ## Related @@ -254,4 +305,5 @@ Leave the comment lines in `services.yaml` alone, such as the ones ending in `PL - [Stack Manager](/using-deployrr/stack-manager/): delete an app and its dashboard entry, or restart the dashboard. - [Use one domain across several servers](/reverse-proxy/multi-server-same-domain/): the Traefikify steps for remote apps. - [Open a dashboard at your root domain](/reverse-proxy/point-root-domain-to-a-dashboard/): show the dashboard at `example.com`. +- [Change the subdomain of an app you already installed](/reverse-proxy/change-app-subdomain/): change the app first, then its dashboard entry. - [Move from v5](/getting-started/move-from-v5/): the dashboard is one of the core setup steps. diff --git a/docs/src/content/docs/using-deployrr/reinstall-app.md b/docs/src/content/docs/using-deployrr/reinstall-app.md index ca7c86a..4589c23 100644 --- a/docs/src/content/docs/using-deployrr/reinstall-app.md +++ b/docs/src/content/docs/using-deployrr/reinstall-app.md @@ -19,7 +19,7 @@ videos: start: 1949 title: "Deployrr 5 walkthrough: delete an app with Stack Manager and install it again" note: "Shows Deployrr v5. Menus and steps differ in v6." -last_reviewed: 2026-11-11 +last_reviewed: 2026-11-13 status: current old_paths: ["/apps/reinstall-app"] sources: [] @@ -125,7 +125,7 @@ A reinstall keeps the app's `appdata` folder and an existing Traefik rules file. During the install you see "Copying configuration files..." and then "Files copied successfully". For some apps, this writes a config file into the app's `appdata` folder. -qBittorrent and qBittorrent VPN are two cases. Reinstalling them replaces `appdata/qbittorrent/qBittorrent/qBittorrent.conf` or `appdata/qbittorrent-vpn/qBittorrent/qBittorrent.conf`. The web UI login goes back to `admin` and `adminadmin`, and your qBittorrent settings are reset. See [qBittorrent web UI says Unauthorized or won't open](/apps/qbittorrent-webui-troubleshooting/). +qBittorrent and qBittorrent VPN are two examples. Reinstalling qBittorrent replaces `appdata/qbittorrent/qBittorrent/qBittorrent.conf`, and the web UI login goes back to `admin` and `adminadmin`. Reinstalling qBittorrent VPN deletes `appdata/qbittorrent-vpn/qBittorrent/qBittorrent.conf`, and the login becomes `admin` with a temporary password from its log. Either way your qBittorrent settings are reset. See [Reset to the default login and settings](/apps/qbittorrent-webui-troubleshooting/#reset-to-the-default-login-and-settings). Copy any config file you changed before you reinstall. For other apps, check the config file after the reinstall.