From 6c2ce40c057d88a78be9d114e61bb6a28005e601 Mon Sep 17 00:00:00 2001 From: SimpleHomelab Date: Thu, 12 Nov 2026 20:12:01 +0000 Subject: [PATCH 1/9] docs: update using-deployrr/backups --- docs/src/content/docs/using-deployrr/backups.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/content/docs/using-deployrr/backups.md b/docs/src/content/docs/using-deployrr/backups.md index d650f38..8b9957f 100644 --- a/docs/src/content/docs/using-deployrr/backups.md +++ b/docs/src/content/docs/using-deployrr/backups.md @@ -162,4 +162,4 @@ A backup on the same disk does not help if that disk fails. Copy the backups you - [Docker environment setup fails: docker-compose file is malformed](/docker/compose-malformed/): rebuild your setup, and back up first. - [Add your own containers with custom.yml](/using-deployrr/custom-yml/): your `custom.yml` is part of the Docker folder, so it is in every backup. - [Change the hostname](/host/change-hostname/): another change worth backing up before you start. -- [Refresh, Reset or Remove Deployrr](/getting-started/reset-or-remove-deployrr/): back up first, because Reset currently stops your apps and deletes their images. +- [Refresh, Reset or Remove Deployrr](/getting-started/reset-or-remove-deployrr/): back up first, because Reset stops your apps and deletes their images. From 6e0df13a790fa82f332f0dcccbd1ed0dc8855e82 Mon Sep 17 00:00:00 2001 From: SimpleHomelab Date: Thu, 12 Nov 2026 20:12:02 +0000 Subject: [PATCH 2/9] docs: update using-deployrr/reinstall-app --- docs/src/content/docs/using-deployrr/reinstall-app.md | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/docs/src/content/docs/using-deployrr/reinstall-app.md b/docs/src/content/docs/using-deployrr/reinstall-app.md index 9b66892..ca7c86a 100644 --- a/docs/src/content/docs/using-deployrr/reinstall-app.md +++ b/docs/src/content/docs/using-deployrr/reinstall-app.md @@ -119,16 +119,7 @@ Core apps such as Traefik are not in the Manage Apps list. They have their own m ## What a reinstall keeps and what it resets -| Item | After a reinstall | -| --- | --- | -| The app's `appdata` folder | Kept. | -| The app's compose file, `compose/HOSTNAME/APP.yml` | Replaced with the default. Your hand edits are lost. | -| Config files the app ships | Written again. This can overwrite your changes to them. | -| Install questions, such as the port | Asked again. Your answers go into `.env`. Passwords Deployrr generated earlier and saved in `.env` are kept. | -| Traefik rules file | Kept if it exists. You still see the subdomain, login and exposure questions, but your answers don't change the file. | -| Deployrr Dashboard entry | Added again with your new answers. From **Browse Apps**, the old entry is removed first. | - -For apps with linked containers, such as a database, the linked compose files are replaced too. +A reinstall keeps the app's `appdata` folder and an existing Traefik rules file. It replaces the app's compose file, and those of linked containers such as a database, with the defaults, and asks the install questions again. For `.env` values, passwords and secret files, see [What Reinstall keeps and resets](/using-deployrr/restart-recreate-reinstall/#what-reinstall-keeps-and-resets). ### Config files From c89f3c655a8e87ce76944f7ea0c68ef84c0c057d Mon Sep 17 00:00:00 2001 From: SimpleHomelab Date: Thu, 12 Nov 2026 20:30:49 +0000 Subject: [PATCH 3/9] docs: add apps/app-reference --- docs/src/content/docs/apps/app-reference.md | 310 ++++++++++++++++++ docs/src/content/docs/apps/deunhealth.md | 2 +- .../content/docs/apps/media-library-empty.md | 2 + .../docs/using-deployrr/connecting-apps.md | 2 +- 4 files changed, 314 insertions(+), 2 deletions(-) create mode 100644 docs/src/content/docs/apps/app-reference.md diff --git a/docs/src/content/docs/apps/app-reference.md b/docs/src/content/docs/apps/app-reference.md new file mode 100644 index 0000000..57bc59e --- /dev/null +++ b/docs/src/content/docs/apps/app-reference.md @@ -0,0 +1,310 @@ +--- +title: "App reference: container names, ports and folders" +description: Look up the container name, internal port, .env port variable, folders inside the container and health check status of each Deployrr v6 app. +type: reference +tags: + - app-networking + - ports + - compose + - docker + - media +applies_to: v6.0+ +related: + - using-deployrr/connecting-apps + - apps/media-library-empty + - apps/deunhealth + - using-deployrr/docker-folder-layout + - using-deployrr/second-app-instances +further_reading: + - title: "UDMS part 14: connecting apps with container names" + url: https://www.simplehomelab.com/udms-14-docker-media-server/ +videos: + - id: oY1U_Htes9A + start: 171 + title: "DeUnhealth guide: health check on qBittorrent and automatic restart" + note: "Manual Docker Compose setup. Deployrr does these steps for you; use it to understand what happens." + - id: THuLgGwq0vg + start: 1589 + title: "Docker Compose media server guide: host port and container port explained" + note: "Manual Docker Compose setup. Deployrr does these steps for you; use it to understand what happens." +last_reviewed: 2026-11-12 +status: current +old_paths: [] +sources: [] +--- + +Use this page to look up how an app is set up by default. It covers container names, ports, the folders an app sees inside its container, and which apps have a Docker health check. + +The tables show the defaults. Your own files are the final word. See [Check your own files](#check-your-own-files). + +## Container names and ports + +To connect one app to another, use `container-name:internal-port`. See [Connect your apps to each other](/using-deployrr/connecting-apps/) for the steps and for what to avoid. + +- **Internal port** is the port inside the container. Use it when one container talks to another. +- **.env port variable** holds the port you use in your browser. Deployrr asks for it at install and saves it in your `.env` file. + +For the difference between the two ports, watch [Docker Compose media server guide at 26:29](https://youtu.be/THuLgGwq0vg?t=1589) (manual Docker Compose setup). To understand how apps reach each other by container name, see [UDMS part 14: connecting apps with container names](https://www.simplehomelab.com/udms-14-docker-media-server/) (manual setup). + +| App | Container name | Internal port | .env port variable | Extra ports | +| --- | --- | --- | --- | --- | +| Adminer | `adminer` | 8080 | `ADMINER_PORT` | | +| Airsonic-Advanced | `airsonic-advanced` | 4040 | `AIRSONICADVANCED_PORT` | | +| Audiobookshelf | `audiobookshelf` | 80 | `AUDIOBOOKSHELF_PORT` | | +| Autobrr | `autobrr` | 7474 | `AUTOBRR_PORT` | | +| Baikal | `baikal` | 80 | `BAIKAL_PORT` | | +| Bazarr | `bazarr` | 6767 | `BAZARR_PORT` | | +| Beets | `beets` | 8337 | `BEETS_PORT` | | +| Bookstack | `bookstack` | 80 | `BOOKSTACK_PORT` | | +| Boxarr | `boxarr` | 8888 | `BOXARR_PORT` | | +| cAdvisor | `cadvisor` | 8080 | `CADVISOR_PORT` | | +| Calibre | `calibre` | 8080 | `CALIBRE_PORT` | 8081 (`CALIBRE_WEBSERVER_PORT`) | +| Calibre-Web | `calibre-web` | 8083 | `CALIBREWEB_PORT` | | +| Change-Detection | `change-detection` | 5000 | `CHANGEDETECTION_PORT` | | +| Chromium | `chromium` | 3000 | `CHROMIUM_PORT` | | +| Cleanuparr | `cleanuparr` | 11011 | `CLEANUPARR_PORT` | | +| Cloud Commander | `cloud-commander` | 8000 | `CLOUDCOMMANDER_PORT` | | +| CrowdSec | `crowdsec` | 8080 | `CROWDSEC_PORT` | | +| CyberChef | `cyberchef` | 8000 | `CYBERCHEF_PORT` | | +| Dashy | `dashy` | 8080 | `DASHY_PORT` | | +| DDNS Updater | `ddns-updater` | 8000 | `DDNSUPDATER_PORT` | | +| Deployrr Dashboard | `deployrr-dashboard` | 3000 | `DEPLOYRRDASHBOARD_PORT` | | +| DigiKam | `digikam` | 3000 | `DIGIKAM_PORT` | | +| Dispatcharr | `dispatcharr` | 9191 | `DISPATCHARR_PORT` | | +| Dockhand | `dockhand` | 3000 | `DOCKHAND_PORT` | | +| Dockpeek | `dockpeek` | 8000 | `DOCKPEEK_PORT` | | +| Dockwatch | `dockwatch` | 80 | `DOCKWATCH_PORT` | | +| DokuWiki | `dokuwiki` | 80 | `DOKUWIKI_PORT` | | +| Double Commander | `double-commander` | 3000 | `DOUBLECOMMANDER_PORT` | | +| Dozzle | `dozzle` | 8080 | `DOZZLE_PORT` | | +| Dozzle Agent | `dozzle-agent` | 7007 | `DOZZLEAGENT_PORT` | | +| DweebUI | `dweebui` | 8000 | `DWEEBUI_PORT` | | +| Emby | `emby` | 8096 | `EMBY_PORT` | 8920 | +| ESPHome | `esphome` | 6052 | `ESPHOME_PORT` | | +| FileZilla | `filezilla` | 3000 | `FILEZILLA_PORT` | | +| Flame | `flame` | 5005 | `FLAME_PORT` | | +| Flaresolverr | `flaresolverr` | 8191 | `FLARESOLVERR_PORT` | | +| Flowise | `flowise` | Same as `FLOWISE_PORT` (default 5023) | `FLOWISE_PORT` | | +| FreshRSS | `freshrss` | 80 | `FRESHRSS_PORT` | | +| Funkwhale | `funkwhale` | 80 | `FUNKWHALE_PORT` | | +| GameVault | `gamevault` | 8080 | `GAMEVAULT_PORT` | | +| Glances | `glances` | 61208 | `GLANCES_PORT` | | +| Gonic | `gonic` | 80 | `GONIC_PORT` | | +| Grafana | `grafana` | 3000 | `GRAFANA_PORT` | | +| Grocy | `grocy` | 80 | `GROCY_PORT` | | +| Guacamole | `guacamole` | 8080 | `GUACAMOLE_PORT` | | +| Heimdall | `heimdall` | 80 | `HEIMDALL_PORT` | | +| Homarr | `homarr` | 7575 | `HOMARR_PORT` | | +| Homepage | `homepage` | 3000 | `HOMEPAGE_PORT` | | +| Homer | `homer` | 8080 | `HOMER_PORT` | | +| Immich | `immich` | 2283 | `IMMICH_PORT` | | +| InfluxDB | `influxdb` | 8086 | `INFLUXDB_PORT` | | +| IT-Tools | `it-tools` | 80 | `ITTOOLS_PORT` | | +| Jackett | `jackett` | 9117 | `JACKETT_PORT` | | +| Jellyfin | `jellyfin` | 8096 | `JELLYFIN_PORT` | | +| Jellyseerr | `jellyseerr` | 5055 | `JELLYSEERR_PORT` | | +| Kasm | `kasm` | 443 | `KASM_PORT` | 3000 (`KASM_INSTALLATION_PORT`) | +| Kavita | `kavita` | 5000 | `KAVITA_PORT` | | +| Komga | `komga` | 25600 | `KOMGA_PORT` | | +| Langfuse | `langfuse` | 3000 | `LANGFUSE_PORT` | | +| Lidarr | `lidarr` | 8686 | `LIDARR_PORT` | | +| Lollypop | `lollypop` | 3000 | `LOLLYPOP_PORT` | | +| Maintainerr | `maintainerr` | 6246 | `MAINTAINERR_PORT` | | +| MariaDB | `mariadb` | 3306 | `MARIADB_PORT` | | +| Mosquitto | `mosquitto` | 1883 | `MOSQUITTO_PORT` | 9001 websocket (`MOSQUITTO_WS_PORT`) | +| MQTTX-Web | `mqttx-web` | 80 | `MQTTXWEB_PORT` | | +| Mylar3 | `mylar3` | 8090 | `MYLAR3_PORT` | | +| n8n | `n8n` | 5678 | `N8N_PORT` | | +| Navidrome | `navidrome` | 4533 | `NAVIDROME_PORT` | | +| Nextcloud | `nextcloud` | 80 | `NEXTCLOUD_PORT` | | +| Nginx Proxy Manager | `npm` | 81 | `NPM_ADMIN_PORT` | 80 and 443 | +| Node Exporter | `node-exporter` | 9100 | `NODEEXPORTER_PORT` | | +| Node-RED | `node-red` | 1880 | `NODERED_PORT` | | +| Notifiarr | `notifiarr` | 5454 | `NOTIFIARR_PORT` | | +| NZBGet | `nzbget` | 6789 | `NZBGET_PORT` | | +| Ollama | `ollama` | 11434 | `OLLAMA_PORT` | | +| Ombi | `ombi` | 3579 | `OMBI_PORT` | | +| Open-WebUI | `open-webui` | 8080 | `OPENWEBUI_PORT` | | +| OpenHands | `openhands` | 3000 | `OPENHANDS_PORT` | | +| Organizr | `organizr` | 80 | `ORGANIZR_PORT` | | +| Overseerr | `overseerr` | 5055 | `OVERSEERR_PORT` | | +| Paperless-AI | `paperless-ai` | 3000 | `PAPERLESSAI_PORT` | | +| Paperless-NGX | `paperless-ngx` | 8000 | `PAPERLESSNGX_PORT` | | +| PdfDing | `pdfding` | 8000 | `PDFDING_PORT` | | +| pgAdmin | `pgadmin` | 80 | `PGADMIN_PORT` | | +| phpMyAdmin | `phpmyadmin` | 80 | `PHPMYADMIN_PORT` | | +| Pi-hole | `pihole` | 80 | `PIHOLE_PORT` | 53 (TCP and UDP), 67 (UDP) | +| Piwigo | `piwigo` | 80 | `PIWIGO_PORT` | | +| Plex | `plex` | 32400 | `PLEX_PORT` | 3005, 8324, 32469, 1900 (UDP), 32410 and 32412 to 32414 (UDP) | +| Portainer | `portainer` | 9000 | `PORTAINER_PORT` | | +| PostgreSQL | `postgresql` | 5432 | `POSTGRESQL_PORT` | | +| PrivateBin | `privatebin` | 8080 | `PRIVATEBIN_PORT` | | +| ProjectSend | `projectsend` | 80 | `PROJECTSEND_PORT` | | +| Prometheus | `prometheus` | 9090 | `PROMETHEUS_PORT` | | +| Prowlarr | `prowlarr` | 9696 | `PROWLARR_PORT` | | +| Pulse | `pulse` | 7655 | `PULSE_PORT` | | +| qBittorrent | `qbittorrent` | 8080 | `QBITTORRENT_PORT` | | +| Qdrant | `qdrant` | 6333 | `QDRANT_PORT` | 6334 | +| Radarr | `radarr` | 7878 | `RADARR_PORT` | | +| Redis | `redis` | 6379 | `REDIS_PORT` | | +| Redis Commander | `redis-commander` | 8081 | `REDISCOMMANDER_PORT` | | +| Remmina | `remmina` | 3000 | `REMMINA_PORT` | | +| Resilio-Sync | `resilio-sync` | 8888 | `RESILIOSYNC_PORT` | 55555 | +| SABnzbd | `sabnzbd` | 8080 | `SABNZBD_PORT` | | +| Scrutiny | `scrutiny` | 8080 | `SCRUTINY_PORT` | | +| SearXNG | `searxng` | 8080 | `SEARXNG_PORT` | | +| SmokePing | `smokeping` | 80 | `SMOKEPING_PORT` | | +| Sonarr | `sonarr` | 8989 | `SONARR_PORT` | | +| Speedtest Tracker | `speedtest-tracker` | 80 | `SPEEDTEST_TRACKER_PORT` | | +| Stirling PDF | `stirling-pdf` | 8080 | `STIRLINGPDF_PORT` | | +| Supabase | `supabase-kong` | 8000 | `SUPABASE_PORT` | See the note below the table | +| Tautulli | `tautulli` | 8181 | `TAUTULLI_PORT` | | +| Termix | `termix` | 8080 | `TERMIX_PORT` | | +| The Lounge | `thelounge` | 9000 | `THELOUNGE_PORT` | | +| Theme Park | `theme-park` | 80 | `THEMEPARK_PORT` | | +| Transmission | `transmission` | 9091 | `TRANSMISSION_PORT` | 51413 (TCP and UDP) | +| Traefik | `traefik` | 8080 (dashboard) | `TRAEFIK_PORT` | 80, 81, 443 and 444 (443 and 444 also UDP) | +| Trilium | `trilium` | 8080 | `TRILIUM_PORT` | | +| Uptime-Kuma | `uptime-kuma` | 3001 | `UPTIMEKUMA_PORT` | | +| Vaultwarden | `vaultwarden` | 80 | `VAULTWARDEN_PORT` | | +| Vikunja | `vikunja` | 3456 | `VIKUNJA_PORT` | | +| Viniplay | `viniplay` | 8998 | `VINIPLAY_PORT` | | +| VS Code | `vscode` | 8443 | `VSCODE_PORT` | | +| Wallos | `wallos` | 80 | `WALLOS_PORT` | | +| Weaviate | `weaviate` | 8080 | `WEAVIATE_PORT` | 50051 | +| WG-Easy | `wg-easy` | 51821 | `WGEASY_PORT` | 51820 (UDP, the VPN port) | +| What's Up Docker | `wud` | 3000 | `WUD_PORT` | | +| Wikidocs | `wikidocs` | 80 | `WIKIDOCS_PORT` | | +| XPipe Webtop | `xpipe-webtop` | 3000 | `XPIPEWEBTOP_PORT` | | + +Notes: + +- **Extra ports** are not the web page. Pi-hole port 53 can clash with a service already on your server. See [Pi-hole will not start because port 53 is already in use](/apps/pi-hole-port-53-conflict/). +- **Supabase** has many containers. The web page and API go through `supabase-kong` on port 8000. `supabase-kong` also publishes 8443 (`SUPABASE_KONG_HTTPS_PORT`). The separate `supabase-pooler` container publishes 5432 (`SUPABASE_POOLER_PORT`) and 6543 (`SUPABASE_POOLER_PROXY_PORT`). Port 5432 is also the default of the PostgreSQL app, so check for a clash if you run both. +- **Dockpeek, Dockwatch and What's Up Docker** are only on the `socket_proxy` network, not on `default`. Other apps can't reach them by container name. Use your server IP and the host port instead. +- **Nginx Proxy Manager** admin page is port 81. **Traefik** dashboard is port 8080. + +## Apps on the host network + +These apps use the host network. They have no container name on the Docker network. From another app or device, use your server's IP address and the port the app listens on. + +| App | Port it listens on | .env port variable | +| --- | --- | --- | +| GPTWOL | 5000 by default | `GPTWOL_PORT` | +| Homebridge | 8581 | `HOMEBRIDGE_PORT` | +| Netdata | 19999 | `NETDATA_PORT` | +| Sshwifty | 9182 by default | `SSHWIFTY_PORT` | +| Cloudflare Tunnel | No web page | None | +| Tailscale | No web page | None | +| ZeroTier | No web page | None | + +Homebridge and Netdata always listen on 8581 and 19999. Deployrr asks for `HOMEBRIDGE_PORT` and `NETDATA_PORT` at install, but changing them does not move the app to another port. + +## qBittorrent VPN and Gluetun + +The `qbittorrent-vpn` container shares the network of the `gluetun` container. It has no network or `ports` section of its own. When you install qBittorrent VPN, Deployrr adds a port to the Gluetun file: `QBITTORRENTVPN_PORT` (8082 by default) on your server, 8080 inside. + +- In your browser, use `http://YOUR_SERVER_IP:QBITTORRENTVPN_PORT`. +- From other containers, use `gluetun:8080`. + +See [Connect your apps to each other](/using-deployrr/connecting-apps/#apps-that-run-through-gluetun). To set it up, see [Install qBittorrent VPN](/apps/qbittorrent-vpn/). + +## Apps with no web page + +These containers have no web page and publish no port. Gluetun publishes no port until you install qBittorrent VPN. + +- **Gluetun**, **Kometa**, **DeUnhealth**, **Docker Garbage Collection** and **Socket Proxy** run in the background. +- **Traefik Access Log for Dozzle**, **Traefik Error Log for Dozzle** and **Traefik Certs Dumper** support Traefik. +- **Authelia** (`authelia`), **Authentik** (`authentik`), **TinyAuth** (`tinyauth`) and **Google OAuth** (`oauth`) are login pages. You reach them through Traefik at the address you chose. + +## Helper containers + +Some apps start extra containers for their database or cache. You see them in the `docker ps` list (with the Deployrr bash aliases: `dps`). Apart from `supabase-pooler` (see the Supabase note above), they publish no port. Other containers reach them on the `default` network. + +| App | Helper containers | +| --- | --- | +| Authelia | `authelia-redis` | +| Authentik | `authentik-postgresql`, `authentik-worker` | +| Autobrr | `autobrr-postgresql` | +| Bookstack | `bookstack-mariadb` | +| Dockhand | `dockhand-postgresql` | +| Flowise | `flowise-postgresql`, `flowise-redis` | +| GameVault | `gamevault-postgresql` | +| Guacamole | `guacamole-mariadb`, `guacd` | +| Immich | `immich-machine-learning`, `immich-postgresql`, `immich-redis` | +| Langfuse | `langfuse-clickhouse`, `langfuse-minio`, `langfuse-postgresql`, `langfuse-redis`, `langfuse-worker` | +| n8n | `n8n-postgresql` | +| Nextcloud | `nextcloud-mariadb`, `nextcloud-redis` | +| Paperless-NGX | `paperless-ngx-mariadb`, `paperless-ngx-redis`, `gotenberg`, `tika` | +| PdfDing | `pdfding-postgresql` | +| Scrutiny | `scrutiny-influxdb` | +| SearXNG | `searxng-valkey` | +| Speedtest Tracker | `speedtest-tracker-mariadb` | +| Supabase | `supabase` (Studio), `supabase-analytics`, `supabase-auth`, `supabase-db`, `supabase-edge-functions`, `supabase-imgproxy`, `supabase-meta`, `supabase-pooler`, `realtime-dev.supabase-realtime`, `supabase-rest`, `supabase-storage`, `supabase-vector` | +| Vikunja | `vikunja-mariadb` | + +## Folders inside the containers + +Apps see your folders under different paths than on the server. Use the path in the right column when an app asks you to pick a folder. + +Every app keeps its settings in `appdata/APP_NAME` inside your Docker folder. Most apps mount it at `/config`. To check an app, look at the `volumes` section of its file. See [Docker folder layout](/using-deployrr/docker-folder-layout/). + +| Folder on your server | Path in the container | Apps | +| --- | --- | --- | +| Downloads folder | `/data/downloads` | Sonarr, Radarr, Lidarr, Prowlarr, Jackett, qBittorrent, qBittorrent VPN, SABnzbd, NZBGet, Mylar3, Plex, Jellyfin, Emby | +| Media Folders 1 to 3 | `/data/media1`, `/data/media2`, `/data/media3` | Sonarr, Radarr, Lidarr, Bazarr, Plex, Jellyfin, Emby, Navidrome, Gonic, Funkwhale, Airsonic-Advanced, Lollypop, Beets, Cloud Commander, Double Commander | +| RAM (`/dev/shm`), for transcoding | `/data/transcode` | Plex, Jellyfin, Emby | +| Books folder | `/data/books` | Calibre, Calibre-Web, Kavita, Komga | +| Comics folder | `/data/comics` | Komga | +| Photos folder | `/data/photos` | DigiKam, Piwigo | +| Audiobooks folder | `/audiobooks` | Audiobookshelf | +| Podcasts folder | `/podcasts` | Audiobookshelf | +| Your home folder | `/data/YOUR_USERNAME` | Cloud Commander, Double Commander, VS Code | + +`YOUR_USERNAME` is your own Linux user name. The home folder is `/home/YOUR_USERNAME` on the server. + +Some apps differ: + +- **Transmission** mounts `Downloads/torrents` at `/data/downloads`. It mounts the whole Downloads folder at `/data/watch`. +- **Beets** and **Resilio Sync** mount the Downloads folder at `/downloads`. +- **Mylar3** mounts the Comics folder at `/comics`. +- **Calibre** has the comics line in its file, but switched off. + +:::note +In the files, the Media Folders lines start with `#`. Deployrr switches them on when you install the app, only for the folders you have set by then. A folder you set later is not added to apps already installed. If an app shows an empty library, see [Media app shows an empty library or no folders](/apps/media-library-empty/). To set the folders, see [Set your media, downloads and other folders](/storage/folders/). +::: + +## Which apps have a health check + +A health check lets Docker mark a container `healthy` or `unhealthy`. [DeUnhealth](/apps/deunhealth/) restarts a container that is `unhealthy`. It can only act on containers that have a check. To see how a health check and DeUnhealth work together, watch [DeUnhealth guide: health check on qBittorrent at 2:51](https://youtu.be/oY1U_Htes9A?t=171) (manual Docker Compose setup). + +These apps have a health check: + +Cleanuparr, Cloudflare Tunnel, Dashy, Dozzle Agent, Flowise, Immich, MariaDB, Paperless-NGX, PostgreSQL, Pulse, qBittorrent VPN, Redis, Authentik and Nginx Proxy Manager. + +Most helper database and cache containers have one too, for example `n8n-postgresql`, `nextcloud-mariadb`, `immich-postgresql` and `authelia-redis`. `langfuse-worker`, `gotenberg`, `tika`, `guacd` and `authentik-worker` have none. + +Every other app has no health check. Its status never shows `unhealthy`, so the DeUnhealth label does nothing there. + +To check one container, run this. Replace `CONTAINER` with its container name. + +```bash +sudo docker inspect --format '{{json .State.Health}}' CONTAINER +``` + +If the output is `null`, the container has no health check. Otherwise the output shows its status (`healthy`, `unhealthy` or `starting`) and the last checks. + +## Check your own files + +The tables show what Deployrr sets up by default. Your own files can differ. + +- **Container name, ports, folders and health check:** open `compose/HOSTNAME/APP.yml` inside your Docker folder. Replace `HOSTNAME` with your server's host name and `APP` with the app. Look for `container_name`, `ports`, `volumes` and `healthcheck`. +- **Ports you picked:** they are in your `.env` file. See [Edit .env values and secrets](/using-deployrr/edit-env-and-secrets/). +- **A second copy of an app:** it has its own container name and its own port. See [Run a second copy of an app](/using-deployrr/second-app-instances/). + +## Related + +- [Connect your apps to each other](/using-deployrr/connecting-apps/): use these names and ports to link apps. +- [Media app shows an empty library or no folders](/apps/media-library-empty/): why a media folder shows nothing in an app. +- [Restart unhealthy containers automatically with DeUnhealth](/apps/deunhealth/): restart unhealthy containers. +- [Docker folder layout](/using-deployrr/docker-folder-layout/): where appdata and compose files live. diff --git a/docs/src/content/docs/apps/deunhealth.md b/docs/src/content/docs/apps/deunhealth.md index 6b79fd7..fa9ef03 100644 --- a/docs/src/content/docs/apps/deunhealth.md +++ b/docs/src/content/docs/apps/deunhealth.md @@ -82,7 +82,7 @@ If you see `Required app not running` with `[REQUIRED] socket-proxy must be inst ## Add DeUnhealth to another app -Do this only if the app has a health check. DeUnhealth can't tell that a container is unhealthy without one. +Do this only if the app has a health check. DeUnhealth can't tell that a container is unhealthy without one. The [App reference](/apps/app-reference/#which-apps-have-a-health-check) lists which apps have one by default. :::caution This is an advanced edit. A reinstall of the app replaces its compose file with the default one, and your label is lost. Stack Manager **Delete** removes the file too. Add the label again after either one. diff --git a/docs/src/content/docs/apps/media-library-empty.md b/docs/src/content/docs/apps/media-library-empty.md index 088cf2d..2946adc 100644 --- a/docs/src/content/docs/apps/media-library-empty.md +++ b/docs/src/content/docs/apps/media-library-empty.md @@ -75,6 +75,8 @@ The app runs in a container and sees your files at a different path than your se | Media Folder 3 | `/data/media3` | | Downloads Folder | `/data/downloads` | +For the paths of every app, including books, photos and audiobooks, see the [App reference](/apps/app-reference/#folders-inside-the-containers). + Navidrome gets the media folders but not the Downloads Folder. If your library is fine but finished downloads never reach it, see [Sonarr, Radarr or Lidarr don't import finished downloads](/apps/arr-downloads-not-importing/). The library is empty when one of these is true: diff --git a/docs/src/content/docs/using-deployrr/connecting-apps.md b/docs/src/content/docs/using-deployrr/connecting-apps.md index 6d3b1e5..adad135 100644 --- a/docs/src/content/docs/using-deployrr/connecting-apps.md +++ b/docs/src/content/docs/using-deployrr/connecting-apps.md @@ -57,7 +57,7 @@ To understand how container names and the Docker host IP work together, read [UD ## Steps -1. Look up the container name and internal port of the app you want to reach. Use the table below. +1. Look up the container name and internal port of the app you want to reach. Use the table below for the common media apps, or the [App reference](/apps/app-reference/) for every app. | App | Enter this | Container name | Internal port | | --- | --- | --- | --- | From 41d14ed99e4e873bc90bdcf05092760edb2eb084 Mon Sep 17 00:00:00 2001 From: SimpleHomelab Date: Thu, 12 Nov 2026 20:49:34 +0000 Subject: [PATCH 4/9] docs: add reverse-proxy/switch-traefik-npm --- .../docs/networking/port-forwarding.md | 2 +- .../docs/reverse-proxy/nginx-proxy-manager.md | 13 +- .../docs/reverse-proxy/switch-traefik-npm.md | 164 ++++++++++++++++++ 3 files changed, 173 insertions(+), 6 deletions(-) create mode 100644 docs/src/content/docs/reverse-proxy/switch-traefik-npm.md diff --git a/docs/src/content/docs/networking/port-forwarding.md b/docs/src/content/docs/networking/port-forwarding.md index 477a1f8..c90d0b8 100644 --- a/docs/src/content/docs/networking/port-forwarding.md +++ b/docs/src/content/docs/networking/port-forwarding.md @@ -158,7 +158,7 @@ If an app is set to Internal in Advanced mode, it should not open from mobile da ## If it doesn't work - **The forward points at the wrong IP.** The Docker host may have a new LAN IP. Set the rules to the current address. Then give the host a fixed one. See [Give your server a fixed IP address](/host/fixed-ip/) and [Change the server IP](/host/change-server-ip/). -- **The ports don't match your mode.** Switching between Simple and Advanced later means changing the forwards too. See [Simple vs Advanced Traefik mode](/reverse-proxy/simple-vs-advanced-mode/). +- **The ports don't match your mode.** Switching between Simple and Advanced later means changing the forwards too. See [Simple vs Advanced Traefik mode](/reverse-proxy/simple-vs-advanced-mode/). If you move between Traefik and Nginx Proxy Manager, see [Switch between Traefik and Nginx Proxy Manager](/reverse-proxy/switch-traefik-npm/). - **Your ISP blocks port 80, or you are behind CG-NAT or double NAT.** Forwards on your router then do nothing. See [Behind CG-NAT](/networking/cg-nat/). For the options in v6, watch [Deployrr 6 overview: Options for CG-NAT at 4:37](https://youtu.be/Nuo83uzTWco?t=277). - **A firewall on the server blocks the ports.** See [Fix the UFW firewall on a VPS](/networking/ufw-firewall-vps/). - **Internal apps don't open from home in Advanced mode.** When you switch to Advanced mode, Deployrr's box notes: "If your router, gateway, or firewall is not capable of Hairpinning or you do not have a local DNS with rewrites (e.g. Pi-Hole, AdGuard Home, etc.), local traffic may be treated as external and you may not be able to access internal-only apps using FQDN." See [Set up local DNS rewrites](/networking/local-dns-rewrites/). diff --git a/docs/src/content/docs/reverse-proxy/nginx-proxy-manager.md b/docs/src/content/docs/reverse-proxy/nginx-proxy-manager.md index b7ba60c..263959f 100644 --- a/docs/src/content/docs/reverse-proxy/nginx-proxy-manager.md +++ b/docs/src/content/docs/reverse-proxy/nginx-proxy-manager.md @@ -24,7 +24,7 @@ videos: - id: Nuo83uzTWco start: 223 title: "Deployrr 6 overview: NGINX Proxy Manager as a Traefik alternative" -last_reviewed: 2026-11-09 +last_reviewed: 2026-11-12 status: current old_paths: [] sources: [] @@ -139,7 +139,7 @@ NPM asks Let's Encrypt for the certificate. This works only if the domain points ## Check it worked -1. Open the **Proxy** menu in Deployrr. The NPM line should end with "- Running". The NPM line only shows a status while Proxy Type is NPM. If NPM is stopped, it shows "- Not Installed" even though NPM is still installed. +1. Open the **Proxy** menu in Deployrr. The NPM line should end with "- Running". The NPM line only shows a status while Proxy Type is NPM. If NPM is stopped, it shows "- Not Installed". Run `sudo docker ps -a` to see whether the `npm` container exists. 2. Open `https://sonarr.YOUR_DOMAIN` in your browser, using the address you added. 3. Check that the browser shows a padlock and the app's login page. 4. Run this to check the container: @@ -162,15 +162,17 @@ NPM asks Let's Encrypt for the certificate. This works only if the domain points 2. Select **Traefik** and confirm the intro box. 3. When the "NPM Container Running" box appears, agree. NPM is stopped, not removed. 4. If Deployrr stopped NPM or changed the compose file, you see "Proxy Type set to: Traefik". -5. Follow [Set up Traefik](/reverse-proxy/traefik-setup/) from **Preparation**. +5. If you never set up Traefik before, follow [Set up Traefik](/reverse-proxy/traefik-setup/) from **Preparation**. If you did set it up before, skip this step. Running Preparation again warns "previous setup may be overwritten". -If you set up Traefik before and its line in the **Proxy** menu shows "Not Running", the Traefik menu has no start option. Start the container yourself with Docker: +If you set up Traefik before and its line in the **Proxy** menu shows "Not Running", the Traefik menu has no start option. Open **Tools** > **Stack Manager** > **Up** (needs a Basic, Plus or Pro license). It starts every enabled app, including Traefik. + +As a fallback, start the container yourself with Docker. This works only if the container still exists. A Stack Manager **Up** or **Update Stack** run while Traefik's line is disabled may have removed it. ```bash sudo docker start traefik ``` -Your proxy hosts in NPM do not move to Traefik. Traefik needs its own routes for your apps. +Your proxy hosts in NPM do not move to Traefik. Traefik needs its own routes for your apps. For router forwards and moving your apps, see [Switch between Traefik and Nginx Proxy Manager](/reverse-proxy/switch-traefik-npm/). ## Related @@ -179,3 +181,4 @@ Your proxy hosts in NPM do not move to Traefik. Traefik needs its own routes for - [Choose a login method for your apps](/reverse-proxy/choose-login-method/): the login options that need Traefik. - [Quick start](/getting-started/quick-start/): Prerequisites and Setup Mode. - [Fix the UFW firewall on a VPS](/networking/ufw-firewall-vps/): fix blocked ports on a VPS. +- [Switch between Traefik and Nginx Proxy Manager](/reverse-proxy/switch-traefik-npm/): what to stop, start and change on your router. diff --git a/docs/src/content/docs/reverse-proxy/switch-traefik-npm.md b/docs/src/content/docs/reverse-proxy/switch-traefik-npm.md new file mode 100644 index 0000000..927f848 --- /dev/null +++ b/docs/src/content/docs/reverse-proxy/switch-traefik-npm.md @@ -0,0 +1,164 @@ +--- +title: Switch between Traefik and Nginx Proxy Manager +description: Move from Traefik to Nginx Proxy Manager or back in Deployrr v6, fix your router forwards, and bring your app addresses across. +type: how-to +tags: + - traefik + - remote-access + - ports + - app-networking +apps: + - traefik + - npm +applies_to: v6.0+ +related: + - reverse-proxy/nginx-proxy-manager + - reverse-proxy/traefik-setup + - reverse-proxy/traefikify + - networking/port-forwarding + - reverse-proxy/simple-vs-advanced-mode +further_reading: + - title: "UDMS part 18: Traefik vs Nginx Proxy Manager (manual setup)" + url: https://www.simplehomelab.com/udms-18-traefik-docker-compose-guide/#Traefik_vs_Nginx_Proxy_Manager +videos: + - id: Nuo83uzTWco + start: 223 + title: "Deployrr 6 overview: NGINX Proxy Manager as a Traefik alternative" + - id: rdqbAr0TFnQ + start: 2263 + title: "Deployrr 5 walkthrough: Traefik port forwarding for Simple and Advanced mode" + note: Shows Deployrr v5. Menus and steps differ in v6. +last_reviewed: 2026-11-12 +status: current +old_paths: [] +sources: [] +sidebar: + order: 19 +--- + +You can use Traefik or Nginx Proxy Manager (NPM) as your reverse proxy, but not both at once. Both need ports 80 and 443. This page covers what to stop, what to start, what to change on your router, and what to redo for your apps. + +For a short look at why NPM is an option in v6, watch [Deployrr 6 overview: NGINX Proxy Manager at 3:43](https://youtu.be/Nuo83uzTWco?t=223). To understand how the two proxies differ, read [UDMS part 18: Traefik vs Nginx Proxy Manager](https://www.simplehomelab.com/udms-18-traefik-docker-compose-guide/#Traefik_vs_Nginx_Proxy_Manager) (manual setup, background only). + +## Before you start + +- Setup Mode is **Hybrid**. In **Local** mode you see the "Proxy Type - Local Mode Warning" box. Picking a Proxy Type there still saves your choice, stops the other proxy and changes the proxy lines in your compose file, so switch to Hybrid first. See [Setup Mode](/getting-started/setup-mode/). +- The **Proxy Type** menu says "You can change this later, but existing configurations may need to be redone." Read the sections below so you know what that means. +- Your proxy hosts in NPM do not move to Traefik. Your Traefik routes do not move to NPM. You recreate them. + +:::caution +If you use Traefik **Advanced** mode, your router forwards 80 to 81 and 443 to 444. NPM's admin page can use port 81 too (you pick its port when you install NPM), and it is a plain HTTP login page. If you switch to NPM and leave the forward on that port, the internet can reach that page. Change the forwards before or right after you switch (see [Change your router forwards](#change-your-router-forwards)). + +NPM also asks whoever opens the admin page first to create the admin account. Do not let the internet reach the page before you have made yours. +::: + +## Switch from Traefik to NPM + +1. Open **Proxy** > **Proxy Type** and select **NPM**. Follow [Pick NPM as your proxy type](/reverse-proxy/nginx-proxy-manager/#pick-npm-as-your-proxy-type). +2. When the "Traefik Container Running" box appears, answer yes. Traefik stops. It is not removed. If you answer No, the switch is cancelled and Proxy Type stays as it was. +3. Deployrr prints "Disabling traefik.yml in compose file..." and "Enabling npm.yml in compose file...". This decides which proxy a later Stack Manager **Up** starts. +4. [Change your router forwards](#change-your-router-forwards). +5. Start NPM. + - If you never installed it, open **Proxy** > **NPM** > **Install**. In Local mode you see "Requirements Not Met" first, because NPM needs Hybrid. + - If you used it before, open **Tools** > **Stack Manager** > **Up**. This needs a Basic, Plus or Pro license. It starts every enabled app, including the proxy whose line is now enabled. **Tools** > **Stack Manager** > **Start Container** also works. + - As a fallback, run this. It works only if the `npm` container still exists: + + ```bash + sudo docker start npm + ``` + + A Stack Manager **Up** or **Update Stack** run while NPM's line is disabled may remove its stopped container. Its appdata stays, and the next **Up** after you switch back creates it again. +6. In NPM, add a proxy host for each app. Use the container name and internal port. See [Add a proxy host for an app](/reverse-proxy/nginx-proxy-manager/#add-a-proxy-host-for-an-app) and [Connect your apps to each other](/using-deployrr/connecting-apps/). [App reference](/apps/app-reference/) lists app ports. + +Choosing a Proxy Type does not start the proxy. To start it later, use Stack Manager as shown above. + +You see "Port Conflict - Cannot Install" at **NPM** > **Install** when Traefik is running while Proxy Type is already NPM. This can happen if Traefik was started again after the switch, for example by Stack Manager **Up**, **Start Container**, `docker start`, or a Traefik setup step. The box says "You cannot run both Traefik and NPM simultaneously". Run this, then try again: + +```bash +sudo docker stop traefik +``` + +The box also offers uninstalling Traefik as the other option. + +### What you lose with NPM + +Apps behind a Traefik login chain have no login in NPM. If you want one, set it up in NPM with its Access Lists. That is an NPM feature, not a Deployrr one. + +Login apps (Authelia, Authentik, Google OAuth, TinyAuth, **Manage Auth**), **Traefik Bouncer**, **Manage Exposure** and **Traefikify** need Traefik. With NPM they show a "Requirements Not Met (N)" box. Its lines include "Traefik - Must be running (Proxy menu)" and "Traefik Production - Must be completed (Proxy menu)". The full list is in [What you give up compared to Traefik](/reverse-proxy/nginx-proxy-manager/#what-you-give-up-compared-to-traefik). + +## Switch from NPM to Traefik + +1. List your NPM proxy hosts first. Write down the domain, forward host and forward port of each one. You need them later. +2. Open **Proxy** > **Proxy Type** and select **Traefik**. +3. When the "NPM Container Running" box appears, answer yes. NPM stops. It is not removed. If you answer No, the switch is cancelled and Proxy Type stays as it was. +4. Deployrr prints "Disabling npm.yml in compose file..." and "Enabling traefik.yml in compose file...". This decides which proxy a later Stack Manager **Up** starts. +5. If you set up Traefik before, open **Tools** > **Stack Manager** > **Up**. This needs a Basic, Plus or Pro license. It starts every enabled app, including Traefik. **Tools** > **Stack Manager** > **Start Container** also works. +6. As a fallback, run this. It works only if the `traefik` container still exists: + + ```bash + sudo docker start traefik + ``` + + A Stack Manager **Up** or **Update Stack** run while Traefik's line is disabled may remove its stopped container. Its appdata stays, and the next **Up** after you switch back creates it again. +7. If you never set up Traefik, follow [Set up Traefik](/reverse-proxy/traefik-setup/): **Preparation**, **Staging**, then **Production**. +8. [Change your router forwards](#change-your-router-forwards). +9. Bring your apps across (see the next section). + +:::caution +**Preparation**, **Staging** and **Production** do not check your Proxy Type. Set Proxy Type to Traefik first and make sure NPM is stopped before you run them. Traefik needs ports 80 and 443 too. + +If you ran them with Proxy Type still on NPM, Traefik stays disabled in the compose file. Staging then ends with "Timed out. Could not verify if Traefik is running." and NPM keeps ports 80 and 443. To fix it, set Proxy Type to Traefik, then run Staging again. +::: + +If you see "Proxy Type Required" at **Traefik** > **Traefik Mode**, your Proxy Type is still NPM. The box tells you to go to **Proxy** > **Proxy Type** and select Traefik. **NPM** > **Install** shows the same box when Proxy Type is Traefik. + +### Bring your apps across + +Apps you installed before the switch keep their Traefik rules. They work again once Traefik runs. + +Apps you installed while NPM was in use have no Traefik address. While Traefik is not running, Deployrr does not ask for a subdomain when you install an app. Fix each one in one of two ways: + +- Use **Traefik** > **Traefikify** to add the app. See [Traefikify](/reverse-proxy/traefikify/). +- Reinstall the app while Traefik is running. Deployrr asks for the subdomain ("Traefik Subdomain") and creates the rules file if the app has none. A subdomain already set in `.env` skips the prompt. If the app already has a rules file, your answers do not change that file. See [Reinstall an app](/using-deployrr/reinstall-app/). + +For something Deployrr did not install, such as an app on another machine, use **Traefikify** with its IP address and port. Your list of NPM proxy hosts has these values. You can also follow [Put a custom app behind Traefik](/reverse-proxy/custom-app-behind-traefik/). + +The [Dashboard](/using-deployrr/dashboard/) adds remote entries only while Traefik runs. + +## Change your router forwards + +| Proxy | Forward 80 to | Forward 443 to | +| --- | --- | --- | +| NPM | 80 | 443 | +| Traefik, Simple mode | 80 | 443 | +| Traefik, Advanced mode | 81 | 444 | + +Going from Advanced mode to NPM, change the forwards to 80 and 443. Going back to Advanced mode, change them to 81 and 444. Simple mode and NPM use the same pair, so nothing changes between them. To see the Simple and Advanced forwards set on a router, watch [Deployrr 5 walkthrough: Port Forwarding at 37:43](https://youtu.be/rdqbAr0TFnQ?t=2263) (shows Deployrr v5; menus differ in v6, the ports are the same). See [Port forwarding](/networking/port-forwarding/) and [Simple vs Advanced Traefik mode](/reverse-proxy/simple-vs-advanced-mode/). + +## If you switch Setup Mode to Local + +Switching Setup Mode to **Local** clears your Proxy Type. The **Proxy** menu shows "NOT SELECTED". When you set Setup Mode back to **Hybrid**, pick your Proxy Type again. + +If you pick a Proxy Type while in Local mode, you see "Proxy Type - Local Mode Warning". See [Before you start](#before-you-start) for what happens then. + +## Check it worked + +1. List your containers: + + ```bash + sudo docker ps -a + ``` + + Only one of `traefik` and `npm` should have a status that starts with "Up". The other should show "Exited". It is not listed if a Stack Manager **Up** ran since the switch. +2. Open **Proxy**. The **Proxy Type** line should end with the name you chose. +3. Open an app address in your browser. + +If NPM is stopped, its **Proxy** menu line shows "- Not Installed". Run `sudo docker ps -a` to see whether the `npm` container exists. + +## Related + +- [Use Nginx Proxy Manager instead of Traefik](/reverse-proxy/nginx-proxy-manager/): install NPM and add proxy hosts. +- [Set up Traefik](/reverse-proxy/traefik-setup/): Preparation, Staging and Production. +- [Traefikify](/reverse-proxy/traefikify/): give an existing app a Traefik address. +- [Port forwarding](/networking/port-forwarding/): set and test your router forwards. +- [Simple vs Advanced Traefik mode](/reverse-proxy/simple-vs-advanced-mode/): which ports each mode uses. From 8277d3ed267a02e03a97467623f730a5a7c1bebc Mon Sep 17 00:00:00 2001 From: SimpleHomelab Date: Thu, 12 Nov 2026 21:07:45 +0000 Subject: [PATCH 5/9] docs: add host/gpu-host-prep --- docs/src/content/docs/apps/gpu-transcoding.md | 18 +- docs/src/content/docs/host/gpu-host-prep.md | 222 ++++++++++++++++++ docs/src/content/docs/host/proxmox-lxc.md | 3 +- 3 files changed, 233 insertions(+), 10 deletions(-) create mode 100644 docs/src/content/docs/host/gpu-host-prep.md diff --git a/docs/src/content/docs/apps/gpu-transcoding.md b/docs/src/content/docs/apps/gpu-transcoding.md index d8ee09f..5c89e97 100644 --- a/docs/src/content/docs/apps/gpu-transcoding.md +++ b/docs/src/content/docs/apps/gpu-transcoding.md @@ -14,11 +14,11 @@ apps: - emby applies_to: v6.0.42+ related: + - host/gpu-host-prep - using-deployrr/stack-manager - host/shim-task-debian - using-deployrr/update-apps - using-deployrr/bash-aliases - - apps/jellyfin-client-on-lg-webos further_reading: - title: "UDMS part 11: Passing the iGPU through to a Proxmox LXC container" url: "https://www.simplehomelab.com/udms-11-gpu-passthrough-on-proxmox-lxc/#Step-by-Step_Proxmox_GPU_Passthrough_to_LXC_Container" @@ -43,11 +43,11 @@ sources: [] A GPU lets Jellyfin, Plex and Emby convert video faster and with less CPU load. This page shows how to scan for your GPU in Deployrr, give it to the app, turn on hardware transcoding inside the app, and check that it works. :::caution -NVIDIA GPUs do not work yet with Jellyfin, Plex and Emby. This is a known issue in the v6.0.42 release notes, and a fix will follow. If you pick **NVIDIA GPU** for one of these apps, Deployrr shows a red error that the GPU runtime is not supported for the app yet. Then it shows "Installing APP without GPU acceleration (CPU only)". Installing the app again does not fix it. Intel and AMD GPUs work. +NVIDIA GPUs do not work yet with Jellyfin, Plex and Emby. This is a known issue in the v6.0.42 release notes, and a fix will follow. If you pick **NVIDIA GPU** for one of these apps, Deployrr shows a red error that starts with "GPU (runtime) is not supported for" and the app name. Then it shows "Installing APP without GPU acceleration (CPU only)". Installing the app again does not fix it. Intel and AMD GPUs work. ::: :::note -This page needs Deployrr v6.0.42 or later. On earlier 6.0.x versions, Deployrr printed "GPU acceleration configured" but added no GPU lines, so the app ran on the CPU. To fix this, update Deployrr. See [Update Deployrr](/getting-started/updating-deployrr/). Then run **Apps** > **Refresh Cache** (or **Prerequisites** > **Build Cache**). Without that step, the install shows an error and falls back to the CPU. +This page needs Deployrr v6.0.42 or later. Apps installed with a GPU on earlier 6.0.x versions run on the CPU. To fix this, update Deployrr. See [Update Deployrr](/getting-started/updating-deployrr/). Then run **Apps** > **Refresh Cache** (or **Prerequisites** > **Build Cache**). Without that step, the install shows an error and falls back to the CPU. Then reinstall the app as in part 3. ::: ## Before you start @@ -61,12 +61,12 @@ This page needs Deployrr v6.0.42 or later. On earlier 6.0.x versions, Deployrr p ls /dev/dri ``` - You should see a name that starts with `renderD`, such as `renderD128`. + You should see a name that starts with `renderD`, such as `renderD128`. If you don't, see [Prepare your server's GPU so Deployrr can use it](/host/gpu-host-prep/). - Plex only: you have a Plex Pass. Plex hardware transcoding needs it. This is general Plex knowledge, not a Deployrr rule. :::note -If your server is a Proxmox LXC container, the GPU must first be passed through to it. Deployrr shows this note in the **Graphics Card** box: "LXC/Docker environments require the host to pass through the GPU device and toolkits." Set up the passthrough in Proxmox before you scan. Deployrr does not do it for you. For the Proxmox steps, see [UDMS part 11: Passing the iGPU through to a Proxmox LXC container](https://www.simplehomelab.com/udms-11-gpu-passthrough-on-proxmox-lxc/#Step-by-Step_Proxmox_GPU_Passthrough_to_LXC_Container) (manual setup). A virtual machine needs the GPU passed through too. That is general knowledge, not something Deployrr shows. For other Docker problems in an LXC container, see [Docker fails with "failed to create shim task"](/host/shim-task-debian/). +If your server is a Proxmox LXC container, the GPU must first be passed through to it. Deployrr shows this note in the **Graphics Card** box: "LXC/Docker environments require the host to pass through the GPU device and toolkits." Set up the passthrough in Proxmox before you scan. Deployrr does not do it for you. For the steps, see [Prepare your server's GPU so Deployrr can use it](/host/gpu-host-prep/). For a longer walkthrough, see [UDMS part 11: Passing the iGPU through to a Proxmox LXC container](https://www.simplehomelab.com/udms-11-gpu-passthrough-on-proxmox-lxc/#Step-by-Step_Proxmox_GPU_Passthrough_to_LXC_Container) (manual setup). A virtual machine needs the GPU passed through too. That is general knowledge, not something Deployrr shows. For other Docker problems in an LXC container, see [Docker fails with "failed to create shim task"](/host/shim-task-debian/). ::: ## Steps @@ -91,11 +91,11 @@ The scan prints a line for each GPU it finds: | Line | What to do if it fails | | --- | --- | | "Intel GPU: Found" then "Intel Iris: Ready" | Nothing. It is ready. | -| "Intel Iris: /dev/dri not available" | Install the Intel GPU drivers, then check that `/dev/dri` exists. | +| "Intel Iris: /dev/dri not available" | Install the Intel GPU drivers, or pass the GPU into your LXC or VM, then check that `/dev/dri` exists. See [GPU host prep](/host/gpu-host-prep/). | | "AMD GPU: Found" then "AMD ROCm: Ready" | Nothing. It is ready. | -| "AMD ROCm: /dev/dri not available" | Install the AMD GPU drivers, then check that `/dev/dri` exists. | +| "AMD ROCm: /dev/dri not available" | Install the AMD GPU drivers, or pass the GPU into your LXC or VM, then check that `/dev/dri` exists. See [GPU host prep](/host/gpu-host-prep/). | | "NVIDIA GPU: Found" then "NVIDIA Container Toolkit: Ready" | The NVIDIA driver is installed and Docker is set up for NVIDIA. | -| "NVIDIA Container Toolkit: Not installed or not configured" | Install the NVIDIA driver, then set up Docker for NVIDIA with the NVIDIA Container Toolkit. Deployrr does not install them. It prints the link to the NVIDIA install guide below this line. | +| "NVIDIA Container Toolkit: Not installed or not configured" | Install the NVIDIA driver, then set up Docker for NVIDIA with the NVIDIA Container Toolkit. Deployrr does not install them. It prints the link to the NVIDIA install guide below this line. For the steps, see [GPU host prep](/host/gpu-host-prep/). | If you see "lspci command not found. Install pciutils to enable GPU detection.", install the `pciutils` package with your Linux package manager, then scan again. @@ -235,8 +235,8 @@ sudo docker compose --profile all -f DOCKER_FOLDER/docker-compose-HOSTNAME.yml u ## Related +- [Prepare your server's GPU so Deployrr can use it](/host/gpu-host-prep/): install drivers and pass the GPU into an LXC or VM. - [Stack Manager](/using-deployrr/stack-manager/): recreate an app after you edit its compose file. - [Update your apps](/using-deployrr/update-apps/): keep Jellyfin, Plex and Emby current. - [Docker fails with "failed to create shim task"](/host/shim-task-debian/): Docker problems inside a Proxmox LXC container. - [Bash aliases](/using-deployrr/bash-aliases/): what `dcrec` and `dps` do. -- [Jellyfin app on LG webOS TV or Xbox shows error -27](/apps/jellyfin-client-on-lg-webos/): fix a Jellyfin client that cannot connect. diff --git a/docs/src/content/docs/host/gpu-host-prep.md b/docs/src/content/docs/host/gpu-host-prep.md new file mode 100644 index 0000000..10886d3 --- /dev/null +++ b/docs/src/content/docs/host/gpu-host-prep.md @@ -0,0 +1,222 @@ +--- +title: Prepare your server's GPU so Deployrr can use it +sidebar: + order: 8 + label: GPU host prep +description: Get your server, a Proxmox LXC or a VM to the point where System > GPU reports your Intel, AMD or NVIDIA GPU as Ready. +type: how-to +tags: + - host + - media + - docker +applies_to: v6.0.42+ +related: + - apps/gpu-transcoding + - host/proxmox-lxc + - host/shim-task-debian + - using-deployrr/stack-manager +further_reading: + - title: "UDMS part 11: Step-by-step GPU passthrough to a Proxmox LXC container" + url: https://www.simplehomelab.com/udms-11-gpu-passthrough-on-proxmox-lxc/#Step-by-Step_Proxmox_GPU_Passthrough_to_LXC_Container +videos: + - id: kvnJYyyLoIk + start: 152 + title: "Proxmox iGPU passthrough: finding renderD128 and passing it into the LXC" + - id: Nuo83uzTWco + start: 337 + title: "Deployrr 6 overview: Intelligent GPU Detection" + - id: xY3UrvDgGrs + start: 628 + title: "Jellyfin Docker Compose guide: checking /dev/dri on the Docker host" + note: "Manual Docker Compose setup. Deployrr does these steps for you; use it to understand what happens." +last_reviewed: 2026-11-12 +status: current +old_paths: [] +sources: [] +--- + +Deployrr does not install GPU drivers or toolkits. It scans your server and reports what it finds. This page gets the server ready so **System** > **GPU** shows your GPU as **Ready**. For the scan screen, the result lines and installing apps with the GPU, see [GPU hardware transcoding](/apps/gpu-transcoding/). + +The steps below are general Linux, NVIDIA and Proxmox steps, not Deployrr features. Package names and menus can differ between versions of your system. + +:::caution +NVIDIA does not work yet with Jellyfin, Plex and Emby in v6.0.42. This is a known issue in the release notes. Intel and AMD work. NVIDIA is offered for Ollama and Dispatcharr, but the release notes say it is untested. See the [caution on the GPU page](/apps/gpu-transcoding/). +::: + +## Before you start + +- Know where Deployrr runs: directly on hardware, in a Proxmox VM, or in a Proxmox LXC container. +- Have console access to the server. Some steps need a reboot, and a mistake in boot settings can stop the server from starting. + +## What Ready means + +The scan reports a GPU as ready when these checks pass on the machine where Deployrr runs. In a VM or LXC, that is inside the VM or container, not on the Proxmox host. + +| GPU | The scan needs | +| --- | --- | +| Any | The GPU shows in `lspci`. Without it you see "lspci command not found. Install pciutils to enable GPU detection." | +| Intel or AMD | A `renderD` device exists in `/dev/dri`. | +| NVIDIA | `nvidia-smi` works, and Docker lists an `nvidia` runtime. | + +Install `pciutils` first if it is missing: + +```bash +sudo apt install pciutils +``` + +Then check that your GPU appears: + +```bash +lspci | grep -Ei 'vga|3d|display' +``` + +## Steps + +Pick the part that matches your setup. Bare metal and VM share parts 1 and 2. A Proxmox VM needs part 4 first. A Proxmox LXC uses part 3. + +### 1. Intel or AMD on bare metal or in a VM + +The kernel drivers (`i915` or `xe` for Intel, `amdgpu` for AMD) usually come with your Linux distribution. Check for the device: + +```bash +ls -l /dev/dri +``` + +You want a name that starts with `renderD`, such as `renderD128`. + +If the folder is missing or has no `renderD` device, install the video acceleration packages. On Debian or Ubuntu: + +1. For Intel: + + ```bash + sudo apt install intel-media-va-driver + ``` + +2. For AMD: + + ```bash + sudo apt install mesa-va-drivers + ``` + +3. Reboot the server. +4. Run `ls -l /dev/dri` again. + +Optionally, install `vainfo` and run it to see which video formats the GPU can handle: + +```bash +sudo apt install vainfo +vainfo +``` + +If `/dev/dri` is still missing after a reboot, the kernel does not see the GPU driver. Check `lspci` and your distribution's documentation for your GPU model. + +### 2. NVIDIA on bare metal or in a VM + +You need two things: the NVIDIA driver, and the NVIDIA Container Toolkit so Docker can use it. + +1. Install the driver. On Ubuntu: + + ```bash + sudo ubuntu-drivers install + ``` + + On Debian, install the `nvidia-driver` package from the non-free repository. See the Debian wiki for your release. + +2. Reboot the server. +3. Check that the driver works: + + ```bash + nvidia-smi + ``` + + You see a table with your GPU. If you get an error instead, see the note below. + +4. Install the NVIDIA Container Toolkit. Follow NVIDIA's [install guide](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/install-guide.html) for your distribution. It is the same link Deployrr prints under "NVIDIA Container Toolkit: Not installed or not configured". +5. Tell Docker to use the toolkit: + + ```bash + sudo nvidia-ctk runtime configure --runtime=docker + ``` + +6. Restart Docker: + + ```bash + sudo systemctl restart docker + ``` + +7. Check that Docker lists the runtime: + + ```bash + sudo docker info | grep -i runtimes + ``` + + The line must include `nvidia`. + +:::caution +Restarting Docker stops your running containers. Do it when nobody is streaming. Most apps start again on their own, but Deployrr installs the media apps (Jellyfin, Plex, Emby, the Arr apps and others) so they don't. [Apps not starting after a reboot](/docker/apps-not-starting-after-reboot/) explains why. After the restart, open **Tools** > **Stack Manager** and choose **Up**. See [Stack Manager](/using-deployrr/stack-manager/). +::: + +:::note +If `nvidia-smi` says it cannot communicate with the driver after a reboot, Secure Boot may be blocking the NVIDIA kernel module. Either turn off Secure Boot in the BIOS or sign the module. Your distribution's documentation explains how. +::: + +### 3. Proxmox LXC + +An LXC container shares the Proxmox host's kernel. The GPU driver lives on the Proxmox host, and you pass the GPU device into the container. Deployrr cannot do this for you. It shows "LXC/Docker environments require the host to pass through the GPU device and toolkits." in the **Graphics Card** box. + +To understand how the passthrough works, read [UDMS part 11: Passing the iGPU through to a Proxmox LXC container](https://www.simplehomelab.com/udms-11-gpu-passthrough-on-proxmox-lxc/#Step-by-Step_Proxmox_GPU_Passthrough_to_LXC_Container) (manual setup, Proxmox only; it edits the container config file instead of using the menu below). The short version for Intel and AMD: + +1. On the Proxmox host, check that `/dev/dri` exists and has a `renderD` device. If not, do part 1 on the host. +2. In the Proxmox web interface, select your container, then **Resources** > **Add** > **Device Passthrough**. +3. Set the device path to `/dev/dri/renderD128`. Use your own `renderD` name if it differs. +4. Set the **GID** to the group ID of the `render` group inside the container. To find it, run this inside the container: + + ```bash + getent group render + ``` + + The number after the second colon is the GID. + +5. Restart the container. +6. Inside the container, run `ls -l /dev/dri` and check the `renderD` device is there. + +To see the `/dev/dri` check on screen, watch [Jellyfin Docker Compose guide: checking /dev/dri at 10:28](https://youtu.be/xY3UrvDgGrs?t=628) (manual Docker Compose setup; Deployrr does the compose part for you). + +On older Proxmox versions without this menu, you add `lxc.cgroup2.devices.allow` and `lxc.mount.entry` lines to the container's config file instead. The UDMS guide shows them. To see that method on screen, watch [Proxmox iGPU passthrough at 2:32](https://youtu.be/kvnJYyyLoIk?t=152) (config file method). Back up the file first, the same way as in [Run Deployrr in a Proxmox LXC](/host/proxmox-lxc/#pass-devnettun-into-the-container). + +In an unprivileged container, the device can show as owned by `nobody` or `nogroup`. That is fine if the permissions let everyone read and write it (`crw-rw-rw-`). If they don't, and the app can't use the GPU, check the GID you set. + +**NVIDIA in an LXC** is more advanced. You install the NVIDIA driver on the Proxmox host. Inside the container, you install the same driver version with the `--no-kernel-module` option, pass the `/dev/nvidia*` devices in, and then do steps 4 to 7 of part 2 inside the container. NVIDIA and Proxmox document this, and the exact device list depends on your GPU. Because NVIDIA does not work yet with Jellyfin, Plex and Emby, an Intel or AMD GPU is the safer choice for those apps. + +If Docker stops starting containers inside the LXC, see [Docker fails with "failed to create shim task"](/host/shim-task-debian/). + +### 4. Proxmox VM + +Passing a GPU to a VM hands the whole GPU to that VM. The Proxmox host and other guests can no longer use it. If you only have an integrated GPU (iGPU), the host may lose its display. An LXC is usually easier for an iGPU. + +:::caution +Step 2 edits the kernel boot line. A typing mistake can stop the host from booting. Keep console or IPMI access, and note the original line before you change it. +::: + +1. Turn on virtualization and IOMMU (often called VT-d or AMD-Vi) in the server's BIOS. +2. On an Intel CPU, add `intel_iommu=on` to the kernel boot line of the Proxmox host. AMD CPUs usually have it on already. Proxmox's PCI passthrough documentation shows where this setting lives for your boot loader. +3. Reboot the Proxmox host. +4. In the Proxmox web interface, select the VM, then **Hardware** > **Add** > **PCI Device**. +5. Pick your GPU and save. For a modern GPU, tick **PCI-Express** if the option shows. +6. Start the VM. +7. Inside the VM, do part 1 (Intel or AMD) or part 2 (NVIDIA). + +Set **System Type** to **Virtual Machine** in **Prerequisites**. See [Run Deployrr in a Proxmox LXC](/host/proxmox-lxc/#choose-your-system-type). + +## Check it worked + +1. Open **System** > **GPU** in Deployrr and run the scan again. It does not refresh on its own. +2. Read the result. You want "Intel Iris: Ready", "AMD ROCm: Ready" or "NVIDIA Container Toolkit: Ready". The [GPU hardware transcoding](/apps/gpu-transcoding/#1-scan-for-your-gpu) page explains every line. To see the scan in action, watch [Deployrr 6 overview: Intelligent GPU Detection at 5:37](https://youtu.be/Nuo83uzTWco?t=337). +3. Install the app with the GPU. Apps you installed earlier keep their old settings. To add the GPU to one, reinstall it. See [If the app is already installed](/apps/gpu-transcoding/#3-if-the-app-is-already-installed). + +## Related + +- [GPU hardware transcoding](/apps/gpu-transcoding/): the scan, installing apps with the GPU and in-app settings. +- [Run Deployrr in a Proxmox LXC](/host/proxmox-lxc/): System Type, devices and storage in an LXC. +- [Docker fails with "failed to create shim task"](/host/shim-task-debian/): Docker problems inside an LXC. +- [Stack Manager](/using-deployrr/stack-manager/): start your apps again after a Docker restart. diff --git a/docs/src/content/docs/host/proxmox-lxc.md b/docs/src/content/docs/host/proxmox-lxc.md index b43d850..f8c5208 100644 --- a/docs/src/content/docs/host/proxmox-lxc.md +++ b/docs/src/content/docs/host/proxmox-lxc.md @@ -239,7 +239,7 @@ Don't do this on an **Unprivileged LXC**. Kasm can't run there. ## GPU and Docker problems -- The **System** > **GPU** box says "LXC/Docker environments require the host to pass through the GPU device and toolkits." Do the pass-through on the Proxmox host first. Then see [GPU hardware transcoding](/apps/gpu-transcoding/). +- The **System** > **GPU** box says "LXC/Docker environments require the host to pass through the GPU device and toolkits." Do the pass-through on the Proxmox host first. See [Prepare your server's GPU](/host/gpu-host-prep/#3-proxmox-lxc). Then see [GPU hardware transcoding](/apps/gpu-transcoding/). - If Docker stops starting containers after an update with "failed to create shim task", see [Docker fails with "failed to create shim task"](/host/shim-task-debian/). ## When a VM is the better choice @@ -262,5 +262,6 @@ An LXC shares the Proxmox host's kernel. That makes it light, but you work aroun - [Mount SMB and NFS shares](/storage/smb-nfs-mounts/): the mounts that work on a VPS, bare metal or VM. - [Mount a NAS share with Rclone](/storage/rclone-smb-setup/): the NAS option that works in an LXC. - [Docker fails with "failed to create shim task"](/host/shim-task-debian/): Docker problems in an LXC. +- [Prepare your server's GPU](/host/gpu-host-prep/): pass the GPU into the container so the scan shows it as Ready. - [GPU hardware transcoding](/apps/gpu-transcoding/): GPU steps for media apps. - [qBittorrent VPN](/apps/qbittorrent-vpn/): the VPN app that needs `/dev/net/tun`. From 80e835ef8e81f975b0b34957700857a15c202beb Mon Sep 17 00:00:00 2001 From: SimpleHomelab Date: Thu, 12 Nov 2026 21:18:06 +0000 Subject: [PATCH 6/9] docs: add apps/change-database-password --- .../docs/apps/change-database-password.md | 163 ++++++++++++++++++ .../using-deployrr/docker-folder-layout.md | 2 +- .../using-deployrr/edit-env-and-secrets.md | 2 +- 3 files changed, 165 insertions(+), 2 deletions(-) create mode 100644 docs/src/content/docs/apps/change-database-password.md diff --git a/docs/src/content/docs/apps/change-database-password.md b/docs/src/content/docs/apps/change-database-password.md new file mode 100644 index 0000000..a007126 --- /dev/null +++ b/docs/src/content/docs/apps/change-database-password.md @@ -0,0 +1,163 @@ +--- +title: Change a database password safely +description: Change the MariaDB or PostgreSQL password of an app in the right order, so the app keeps its link to its database and you don't lose data. +type: how-to +tags: + - compose + - docker + - backups +applies_to: v6.0+ +related: + - using-deployrr/edit-env-and-secrets + - using-deployrr/restart-recreate-reinstall + - using-deployrr/backups + - using-deployrr/docker-folder-layout + - apps/app-reference +further_reading: [] +videos: [] +last_reviewed: 2026-11-12 +status: current +old_paths: [] +sources: [] +--- + +Some apps come with their own MariaDB or PostgreSQL container. A database image sets its password only the first time it starts. If you change the password in `.env` or in a secret file, the password stored inside the database stays the same. The app then can't log in. This page shows the safe order: change it inside the database first, then in your files, then recreate. + +## Before you start + +- The app uses its own database container. It is named `APP-mariadb` or `APP-postgresql`, for example `immich-postgresql`. The standalone database apps are covered below the tables. Run `sudo docker ps` to check. +- You know where the app keeps its database password. Use the tables below. +- You have a few minutes where the app can be down. + +:::caution +A wrong order can lock the app out of its database. Back up first, as shown in step 1. +::: + +## Find your app + +`YOUR_DOCKER_FOLDER` is the path to your Docker folder. `HOSTNAME` is your server's hostname. See [Docker folder layout](/using-deployrr/docker-folder-layout/). The database user and name are in `YOUR_DOCKER_FOLDER/compose/HOSTNAME/APP-postgresql.yml` or `APP-mariadb.yml`, on the `POSTGRES_USER`, `POSTGRES_DB` or `MARIADB_USER` lines. + +### PostgreSQL apps + +| App | Container | User | Database | Password kept in | +|---|---|---|---|---| +| Immich | `immich-postgresql` | `immich_db_user` | `immich` | `.env`: `IMMICH_POSTGRESQL_PASSWORD` | +| Autobrr | `autobrr-postgresql` | `autobrr_db_user` | `autobrr` | `.env`: `AUTOBRR_POSTGRESQL_PASSWORD` | +| GameVault | `gamevault-postgresql` | `gamevault_db_user` | `gamevault` | `.env`: `GAMEVAULT_POSTGRESQL_PASSWORD` | +| Flowise | `flowise-postgresql` | `flowise_db_user` | `flowise` | `.env`: `FLOWISE_POSTGRESQL_PASSWORD` | +| PdfDing | `pdfding-postgresql` | `pdfding_db_user` | `pdfding` | `.env`: `PDFDING_POSTGRESQL_PASSWORD` | +| Dockhand | `dockhand-postgresql` | `dockhand_db_user` | `dockhand` | `.env`: `DOCKHAND_POSTGRESQL_PASSWORD` | +| Authentik | `authentik-postgresql` | `authentik_db_user` | `authentik` | secret: `authentik_postgresql_password`. Recreate both `authentik` and `authentik-worker` in step 5 | +| n8n | `n8n-postgresql` | `n8n_db_user` | `n8n` | secret `n8n_postgresql_password` and the app's compose file | + +### MariaDB apps + +| App | Container | User | Password kept in | +|---|---|---|---| +| Paperless-ngx | `paperless-ngx-mariadb` | `paperlessngx_db_user` | `.env`: `PAPERLESSNGX_MARIADB_PASSWORD`. Root: `PAPERLESSNGX_MARIADB_ROOT_PASSWORD` | +| Guacamole | `guacamole-mariadb` | `guacamole_db_user` | `.env`: `GUACAMOLE_MARIADB_PASSWORD`. Root: `GUACAMOLE_MARIADB_ROOT_PASSWORD` | +| Vikunja | `vikunja-mariadb` | `vikunja_db_user` | `.env`: `VIKUNJA_MARIADB_PASSWORD`. The same value is also the root password | +| BookStack | `bookstack-mariadb` | `bookstack_db_user` | `.env`: `BOOKSTACK_MARIADB_PASSWORD`. The same value is also the root password | +| Speedtest Tracker | `speedtest-tracker-mariadb` | `root` (the app logs in as root) | `.env`: `SPEEDTEST_MARIADB_ROOT_PASSWORD` | +| Nextcloud | `nextcloud-mariadb` | `nextcloud_db_user` | secrets: `nextcloud_mariadb_password`. Root: `nextcloud_mariadb_root_password`. Also `config.php` | + +Dockhand also uses its password inside a connection URL, so use only letters and digits there. + +:::caution +Don't change the password of **Langfuse** or **Supabase** unless you are happy to edit many files. Their install writes the password into several compose files (Langfuse: three, Supabase: ten). If you miss one, that part of the app can't log in. +::: + +The standalone database apps work the same way, with these names in steps 1, 3 and 5: + +- **MariaDB**: container `mariadb`, user `root`, secret `mariadb_root_password`. +- **PostgreSQL**: container `postgresql`, the user you typed at the "Default PostgreSQL User" prompt (default `postgres`), database `postgres`, secret `postgres_default_password`. + +## Steps + +1. Back up. Replace `YOUR_DOCKER_FOLDER` and `APP` and run each line: + + ```bash + sudo cp YOUR_DOCKER_FOLDER/.env YOUR_DOCKER_FOLDER/.env.bak + sudo cp -a YOUR_DOCKER_FOLDER/secrets YOUR_DOCKER_FOLDER/secrets.bak + sudo cp -a YOUR_DOCKER_FOLDER/appdata/APP-postgresql YOUR_DOCKER_FOLDER/appdata/APP-postgresql.bak + ``` + + Use the `APP-mariadb` folder for a MariaDB app. For a copy that is fully consistent, stop the database container first with `sudo docker stop APP-postgresql`, copy, then start it again. Also copy the app's compose file from `compose/HOSTNAME`. For a bigger backup, see [Back up and restore your Docker folder](/using-deployrr/backups/). + +2. Make a new password with letters and digits only: + + ```bash + openssl rand -hex 24 + ``` + + Copy the result. Characters such as `$`, `;` and `&` can break `.env` values and connection URLs. See [Edit .env values and secrets](/using-deployrr/edit-env-and-secrets/). + +3. Change the password inside the running database. Pick the block for your database type. + + **PostgreSQL.** Replace `APP`, `DB_USER`, `DB_NAME` and `NEW_PASSWORD`. Keep the single quotes around the password: + + ```bash + sudo docker exec -it APP-postgresql psql -U DB_USER -d DB_NAME -c "ALTER USER DB_USER WITH PASSWORD 'NEW_PASSWORD';" + ``` + + It asks for no password. You should see `ALTER ROLE`. + + **MariaDB.** Log in as root. Type the current root password from `.env` or the root secret file when asked: + + ```bash + sudo docker exec -it APP-mariadb mariadb -u root -p + ``` + + At the `MariaDB [(none)]>` prompt, run: + + ```sql + ALTER USER 'DB_USER'@'%' IDENTIFIED BY 'NEW_PASSWORD'; + FLUSH PRIVILEGES; + ``` + + Type `exit` to leave. + + - To change the root password, do it last. Run `ALTER USER 'root'@'%' IDENTIFIED BY 'NEW_PASSWORD';` and `ALTER USER 'root'@'localhost' IDENTIFIED BY 'NEW_PASSWORD';`. + - For Vikunja and BookStack, one value is both the user password and the root password. Change the user first, then root, both to the same new value. + - For Speedtest Tracker and the standalone MariaDB app, the password is the root password. Change root. + +4. Put the same new value where the app keeps it (see the tables). Do not skip this. The next step reads these files. + + - `.env`: use the **.env Editor**, or edit the file by hand. See [Edit .env values and secrets](/using-deployrr/edit-env-and-secrets/). + - Secret file: use the **Secrets Editor**, or edit the file by hand. A secret file holds only the value. + - n8n: also open `YOUR_DOCKER_FOLDER/compose/HOSTNAME/n8n.yml` and replace the value of `DB_POSTGRESDB_PASSWORD` with the new password. + - Nextcloud: also open `YOUR_DOCKER_FOLDER/appdata/nextcloud/config/config.php` and replace the `dbpassword` value. Nextcloud keeps a copy of the database password there after its first setup. This is how Nextcloud works, not something you can skip. + +5. Recreate the app, then its database container. A plain restart does not read new values, and **Manage Apps** has no Recreate. Go to **Tools** > **Stack Manager** > **Recreate**. Under "Select an app to recreate:", type the number of the app's container. Run it again for the database container, and for Authentik also for `authentik-worker`. See [Stack Manager](/using-deployrr/stack-manager/). Or, with the [Deployrr bash aliases](/using-deployrr/bash-aliases/), run these. Replace `APP` with the app name: + + ```bash + dcrec APP + dcrec APP-postgresql + ``` + + Use `APP-mariadb` for a MariaDB app. See [Restart, Recreate or Reinstall an app after a change](/using-deployrr/restart-recreate-reinstall/). + +## Check it worked + +1. Open the app and sign in. Your data should still be there. +2. Read the app's recent log lines. With the Deployrr bash aliases, `dlogs APP` shows the last 50 lines and keeps following; press Ctrl+C to stop. Without them: + + ```bash + sudo docker logs APP --tail 50 + ``` + +3. Look for login errors, such as `password authentication failed for user` (PostgreSQL) or `Access denied for user` (MariaDB). If you see one, the value in your files and the value in the database don't match. Fix the file, or run step 3 again with the value that is in the file. Then recreate the app. + +To undo, run step 3 again with the old password, put the old value back in the files, and recreate. If the data is damaged, stop the app and restore your copy of the database folder. + +:::note +A later **Reinstall** of the app can write new secret values. Back up first. See [Reinstall an app and keep its data](/using-deployrr/reinstall-app/). +::: + +## Related + +- [Edit .env values and secrets](/using-deployrr/edit-env-and-secrets/): the editors and how to write values safely. +- [Restart, Recreate or Reinstall an app after a change](/using-deployrr/restart-recreate-reinstall/): which action applies a change. +- [Back up and restore your Docker folder](/using-deployrr/backups/): a full backup before a risky change. +- [Docker folder layout](/using-deployrr/docker-folder-layout/): where `.env`, `secrets` and `compose` live. +- [App reference](/apps/app-reference/): what each app needs. diff --git a/docs/src/content/docs/using-deployrr/docker-folder-layout.md b/docs/src/content/docs/using-deployrr/docker-folder-layout.md index dba6250..c55f7ab 100644 --- a/docs/src/content/docs/using-deployrr/docker-folder-layout.md +++ b/docs/src/content/docs/using-deployrr/docker-folder-layout.md @@ -139,7 +139,7 @@ Some apps get passwords and keys that Deployrr makes for you, such as the databa sudo cp YOUR_DOCKER_FOLDER/secrets/n8n_postgresql_password ~/n8n_postgresql_password.bak ``` -If the app can't reach its database after the reinstall, ask for help on [Discord](/support/discord/) and keep that copy. +If the app can't reach its database after the reinstall, ask for help on [Discord](/support/discord/) and keep that copy. To change a database password on purpose, see [Change a database password safely](/apps/change-database-password/). ::: ### The main compose file diff --git a/docs/src/content/docs/using-deployrr/edit-env-and-secrets.md b/docs/src/content/docs/using-deployrr/edit-env-and-secrets.md index 3674835..f1be130 100644 --- a/docs/src/content/docs/using-deployrr/edit-env-and-secrets.md +++ b/docs/src/content/docs/using-deployrr/edit-env-and-secrets.md @@ -78,7 +78,7 @@ With a Pro license you can also back up the whole Docker folder. See [Back up an :::caution This is general Docker behavior, not a Deployrr message. A database image sets its password only the first time it starts. If you change the database password in `.env` or in a secret file, the password stored inside the existing database stays the same. The app and its database then stop talking to each other. -Change the password inside the database first, or leave the value as it is. +Don't change it here first. Follow [Change a database password safely](/apps/change-database-password/), or leave the value as it is. ::: Apps that don't have a database, or values like an API key or an auth key, are safe to change here. From 033f5b630f2d6fc3f77edd38e6d3a76c556ab490 Mon Sep 17 00:00:00 2001 From: SimpleHomelab Date: Thu, 12 Nov 2026 22:05:15 +0000 Subject: [PATCH 7/9] docs: add apps/move-database-apps-from-v5 --- .../docs/apps/move-database-apps-from-v5.md | 314 ++++++++++++++++++ .../docs/getting-started/move-from-v5.md | 13 +- docs/src/content/docs/storage/folders.md | 2 +- 3 files changed, 324 insertions(+), 5 deletions(-) create mode 100644 docs/src/content/docs/apps/move-database-apps-from-v5.md diff --git a/docs/src/content/docs/apps/move-database-apps-from-v5.md b/docs/src/content/docs/apps/move-database-apps-from-v5.md new file mode 100644 index 0000000..964ab06 --- /dev/null +++ b/docs/src/content/docs/apps/move-database-apps-from-v5.md @@ -0,0 +1,314 @@ +--- +title: Move Nextcloud, Immich or Paperless-ngx from v5 +description: Move Nextcloud, Immich or Paperless-ngx from Deployrr v5 to v6 by hand and keep your users, photos and documents instead of starting fresh. +type: how-to +tags: + - migration + - backups + - docker +applies_to: v6.0+ +related: + - getting-started/move-from-v5 + - apps/change-database-password + - storage/folders + - using-deployrr/backups + - using-deployrr/bash-aliases +further_reading: [] +videos: [] +last_reviewed: 2026-11-12 +status: current +old_paths: [] +sources: [] +--- + +The [v5 to v6 guide](/getting-started/move-from-v5/) suggests a fresh setup for database apps. This page is for you if you know some Docker and want to keep your data in Nextcloud, Immich or Paperless-ngx. It replaces Step 8 of that guide for these three apps. + +## Before you start + +- You follow the [v5 to v6 guide](/getting-started/move-from-v5/). These steps assume you have done its backup and rename steps (Steps 2 and 3), and that v6 and its core apps run (Steps 5 and 6). +- Your v5 Docker folder is renamed to `docker-v5`. +- You have a few hours where these apps can be down. + +:::caution +Keep `docker-v5` and the `.sql` files until everything works in v6. Do not delete them early. +::: + +In the commands, replace `USERNAME` with your Linux user name. The commands assume your Docker folder is `/home/USERNAME/docker`. Change the path if yours is somewhere else. + +## How the move works + +- **Immich:** you copy its v5 database folder into v6 and reuse it. +- **Nextcloud and Paperless-ngx:** v5 kept their data in one shared MariaDB. v6 gives each its own. You export the database from v5 and import it into the new one. + +The export needs the v5 MariaDB running. So do Part 1 **before** [Step 1 of the move guide](/getting-started/move-from-v5/#step-1-stop-the-whole-v5-stack), while v5 is still up. If you use only Immich, skip Part 1. + +Redis containers hold only cache. You do not move them. + +## Part 1: Export in v5 (Nextcloud and Paperless-ngx) + +1. For Nextcloud, turn on maintenance mode: + + ```bash + sudo docker exec -u www-data nextcloud php occ maintenance:mode --on + ``` + +2. Stop the apps. Leave `mariadb` running: + + ```bash + sudo docker stop nextcloud paperless-ngx + ``` + +3. Export the Nextcloud database: + + ```bash + sudo docker exec mariadb sh -c 'exec mariadb-dump -u root -p"$(cat /run/secrets/mariadb_root_password)" --single-transaction nextcloud' > /home/USERNAME/nextcloud-v5.sql + ``` + +4. Export the Paperless-ngx database: + + ```bash + sudo docker exec mariadb sh -c 'exec mariadb-dump -u root -p"$(cat /run/secrets/mariadb_root_password)" --single-transaction paperless' > /home/USERNAME/paperless-v5.sql + ``` + +5. Check that the files have a size and are complete: + + ```bash + ls -lh /home/USERNAME/*-v5.sql + tail -n 1 /home/USERNAME/nextcloud-v5.sql + ``` + + The last line should say `-- Dump completed`. Check the Paperless-ngx file the same way. + +6. Go on with the [v5 to v6 guide](/getting-started/move-from-v5/) from Step 1. Come back here after its Step 6. + +### Already stopped v5? + +You can still export. Copy the v5 MariaDB data and start a throwaway MariaDB on the copy: + +```bash +sudo cp -a /home/USERNAME/docker-v5/appdata/mariadb/data /home/USERNAME/v5-mariadb-copy +sudo docker run -d --name v5-mariadb -v /home/USERNAME/v5-mariadb-copy:/var/lib/mysql mariadb:latest +``` + +Wait about 30 seconds. Then export each database. This is the Nextcloud one. For Paperless-ngx, use `paperless` and `paperless-v5.sql`: + +```bash +sudo docker exec -e MYSQL_PWD="$(sudo cat /home/USERNAME/docker-v5/secrets/mariadb_root_password)" v5-mariadb mariadb-dump -u root --single-transaction nextcloud > /home/USERNAME/nextcloud-v5.sql +``` + +Check the files as in step 5 above. Then remove the throwaway copy: + +```bash +sudo docker rm -f v5-mariadb +sudo rm -rf /home/USERNAME/v5-mariadb-copy +``` + +:::caution +Check the path before you press Enter. `rm -rf` deletes without asking. +::: + +## Part 2: Import in v6 + +### Install the app first + +Do this for each app you move. + +1. Open **System** > **Folders** and set **Immich Folder** or **Nextcloud Folder** to a new, empty folder. This keeps the fresh install from writing into your old uploads. See [Folders](/storage/folders/). Skip this for Paperless-ngx. +2. Install the app from **Apps** > **Browse Apps**. +3. Wait until the app runs. + +Then follow the section for your app. Stop only the app, not its database, unless the steps say so. Use the [bash aliases](/using-deployrr/bash-aliases/) `dcrec` and `dlogs`, or the **Tools** > **Stack Manager** > **Recreate** menu. + +### Immich + +1. Stop Immich and its database: + + ```bash + sudo docker stop immich immich-postgresql + ``` + +2. Set the new database folder aside, then copy the v5 one in: + + ```bash + sudo mv /home/USERNAME/docker/appdata/immich-postgresql /home/USERNAME/docker/appdata/immich-postgresql.new + sudo cp -a /home/USERNAME/docker-v5/appdata/immich-db /home/USERNAME/docker/appdata/immich-postgresql + ``` + +3. Look up your v5 database password: + + ```bash + grep IMMICHDB_POSTGRESQL_PASSWORD /home/USERNAME/docker-v5/.env + ``` + +4. Put that value into `IMMICH_POSTGRESQL_PASSWORD` in the v6 `.env`. Use **Tools** > **.env Editor** or edit the file by hand. See [Edit .env values and secrets](/using-deployrr/edit-env-and-secrets/). The old database keeps the password it was created with, so v6 must use the same one. +5. Open **System** > **Folders** and set **Immich Folder** to your v5 upload folder. It is the `IMMICH_FOLDER` value in `docker-v5/.env`. +6. Recreate the database, then Immich: + + ```bash + dcrec immich-postgresql + dcrec immich + ``` + +7. Watch the logs: + + ```bash + dlogs immich + ``` + +The first start can take a while. Immich moves your old search index to its new format and upgrades from v5's Immich version. Wait until the logs settle. + +### Nextcloud + +1. Stop Nextcloud: + + ```bash + sudo docker stop nextcloud + ``` + +2. Empty the new database: + + ```bash + sudo docker exec -i nextcloud-mariadb sh -c 'exec mariadb -u root -p"$(cat /run/secrets/nextcloud_mariadb_root_password)"' <<'EOF' + DROP DATABASE nextcloud; + CREATE DATABASE nextcloud; + EOF + ``` + + :::caution + This drops the new, empty v6 Nextcloud database. Check that the container is `nextcloud-mariadb` before you run it. + ::: + +3. Import your v5 export: + + ```bash + sudo docker exec -i nextcloud-mariadb sh -c 'exec mariadb -u root -p"$(cat /run/secrets/nextcloud_mariadb_root_password)" nextcloud' < /home/USERNAME/nextcloud-v5.sql + ``` + +4. Replace the app files with the v5 ones: + + ```bash + sudo rm -rf /home/USERNAME/docker/appdata/nextcloud + sudo cp -a /home/USERNAME/docker-v5/appdata/nextcloud /home/USERNAME/docker/appdata/nextcloud + ``` + +5. Back up `config.php`: + + ```bash + sudo cp /home/USERNAME/docker/appdata/nextcloud/config/config.php /home/USERNAME/docker/appdata/nextcloud/config/config.php.bak + ``` + +6. Show the v6 database password: + + ```bash + sudo cat /home/USERNAME/docker/secrets/nextcloud_mariadb_password + ``` + +7. Open `config.php` in an editor: + + ```bash + sudo nano /home/USERNAME/docker/appdata/nextcloud/config/config.php + ``` + +8. Set these three values. For `dbpassword`, use the password from step 6: + + ```php + 'dbhost' => 'nextcloud-mariadb', + 'dbuser' => 'nextcloud_db_user', + 'dbpassword' => 'PASSWORD_FROM_STEP_6', + ``` + +9. Open **System** > **Folders** and set **Nextcloud Folder** to your v5 data folder. It is the `NEXTCLOUD_FOLDER` value in `docker-v5/.env`. +10. Recreate Nextcloud and watch the logs: + + ```bash + dcrec nextcloud + dlogs nextcloud + ``` + + If the v6 image is newer, Nextcloud upgrades itself on start. Wait for it to finish. + +11. Turn maintenance mode off: + + ```bash + sudo docker exec -u www-data nextcloud php occ maintenance:mode --off + ``` + +### Paperless-ngx + +1. Stop Paperless-ngx: + + ```bash + sudo docker stop paperless-ngx + ``` + +2. Empty the new database. The single quotes make the container use its own root password: + + ```bash + sudo docker exec -i paperless-ngx-mariadb sh -c 'exec mariadb -u root -p"$MARIADB_ROOT_PASSWORD"' <<'EOF' + DROP DATABASE paperless; + CREATE DATABASE paperless; + EOF + ``` + + :::caution + This drops the new, empty v6 Paperless-ngx database. Check that the container is `paperless-ngx-mariadb` before you run it. + ::: + +3. Import your v5 export: + + ```bash + sudo docker exec -i paperless-ngx-mariadb sh -c 'exec mariadb -u root -p"$MARIADB_ROOT_PASSWORD" paperless' < /home/USERNAME/paperless-v5.sql + ``` + +4. Replace the app files. The folder layout is the same in v5 and v6: + + ```bash + sudo rm -rf /home/USERNAME/docker/appdata/paperless-ngx + sudo cp -a /home/USERNAME/docker-v5/appdata/paperless-ngx /home/USERNAME/docker/appdata/paperless-ngx + ``` + +5. Recreate the app and watch the logs: + + ```bash + dcrec paperless-ngx + dlogs paperless-ngx + ``` + + v6 gives Paperless-ngx a new secret key, so you have to sign in again in every browser. + +## Check it worked + +1. Open the app and sign in with your v5 account. Nextcloud and Paperless-ngx take their users from the imported database. Paperless-ngx may also add the admin from the v6 install again if that name is not in the v5 data. +2. Check that your files, photos or documents are there. +3. Read the logs. They should have no `Access denied for user` or `password authentication failed` lines. +4. When you are sure, delete the leftovers: the `.sql` files, `immich-postgresql.new` and the empty folders you made for the install. Keep `docker-v5` until every app in the move guide works. + +## Troubleshooting + +### Access denied for user, or password authentication failed + +The password in `config.php` or `.env` does not match the database. Recheck the value you copied. See [Change a database password safely](/apps/change-database-password/). + +### The app is up but looks empty + +The folder does not point at your old data. Set it again in **System** > **Folders**, then recreate the app. See [Folders](/storage/folders/). + +### Nextcloud shows a maintenance mode page + +Run the `occ maintenance:mode --off` command from the Nextcloud steps. + +### The import prints errors + +The export file is empty or cut off. Make it again and check that it ends with `-- Dump completed`. + +## Other database apps + +This page does not cover the other database apps listed in the [move guide](/getting-started/move-from-v5/#database-apps). Set them up fresh, or ask on [Discord](/support/discord/). + +## Related + +- [Move from Deployrr v5 to v6](/getting-started/move-from-v5/): the full move this page plugs into. +- [Change a database password safely](/apps/change-database-password/): fix a password mismatch. +- [Folders](/storage/folders/): change where an app keeps its data. +- [Back up and restore your Docker folder](/using-deployrr/backups/): back up before you start. +- [Deployrr bash aliases](/using-deployrr/bash-aliases/): the `dcrec` and `dlogs` shortcuts. diff --git a/docs/src/content/docs/getting-started/move-from-v5.md b/docs/src/content/docs/getting-started/move-from-v5.md index f789b82..aa3a494 100644 --- a/docs/src/content/docs/getting-started/move-from-v5.md +++ b/docs/src/content/docs/getting-started/move-from-v5.md @@ -13,8 +13,8 @@ applies_to: v6.0+ related: - getting-started/quick-start - using-deployrr/backups + - apps/move-database-apps-from-v5 - using-deployrr/bash-aliases - - reverse-proxy/check-traefik-logs - support/discord further_reading: [] videos: @@ -29,7 +29,7 @@ videos: start: 4684 title: "Deployrr 5 walkthrough: making a backup" note: Shows Deployrr v5. Menus and steps differ in v6. -last_reviewed: 2026-11-09 +last_reviewed: 2026-11-12 status: current old_paths: [] sources: [] @@ -102,6 +102,10 @@ On an ARM machine, use `deployrr_v5.11.2-arm.app` in all three commands. Stop everything before you copy or rename anything. This keeps your app data from changing while you work. +:::note +Moving Nextcloud or Paperless-ngx? Export their databases first, while v5 still runs. See [Move Nextcloud, Immich or Paperless-ngx from v5](/apps/move-database-apps-from-v5/). +::: + In Deployrr v5: 1. Open the main menu. @@ -265,9 +269,9 @@ Database apps are different. See [Database apps](#database-apps) before you do t ### Database apps -You can move a database app by hand, but it needs Docker and database knowledge. This guide does not cover it. +You can move a database app by hand, but it needs Docker and database knowledge. v6 gives each app its own database service, where v5 used shared ones. -We suggest a fresh setup for these apps. v6 gives each app its own database service, where v5 used shared ones. +For Nextcloud, Immich and Paperless-ngx, follow [Move Nextcloud, Immich or Paperless-ngx from v5](/apps/move-database-apps-from-v5/). For Nextcloud and Paperless-ngx, part of it happens before you stop v5 in Step 1. For the other apps, we suggest a fresh setup. These v6 apps come with their own database service: @@ -353,6 +357,7 @@ Yes. Your v5 folder is untouched, so you can go back. - [Quick start](/getting-started/quick-start/): install v6 and work through Prerequisites. - [Back up and restore your Docker folder](/using-deployrr/backups/): back up in v6. +- [Move Nextcloud, Immich or Paperless-ngx from v5](/apps/move-database-apps-from-v5/): bring their databases across. - [Deployrr bash aliases](/using-deployrr/bash-aliases/): the shortcuts used in this guide. - [Check Traefik logs](/reverse-proxy/check-traefik-logs/): find out why a site does not load. - [Get help on Discord](/support/discord/): ask before you move if an app's data matters. diff --git a/docs/src/content/docs/storage/folders.md b/docs/src/content/docs/storage/folders.md index e334b3b..db66fb7 100644 --- a/docs/src/content/docs/storage/folders.md +++ b/docs/src/content/docs/storage/folders.md @@ -159,7 +159,7 @@ This table shows which folder each app asks for when you install it. If a folder Sonarr, Radarr, Lidarr, Plex, Jellyfin and Emby need both a media folder and the Downloads Folder. For Plex, Jellyfin, Emby, Lollypop, digiKam and Double Commander, the install may also ask about your graphics card. See [GPU hardware transcoding](/apps/gpu-transcoding/). -Some apps need an app-specific folder to store data. Immich keeps all uploaded photos and videos in the Immich Folder. Nextcloud keeps uploaded files in the Nextcloud Folder. Pick a disk with enough free space for these two. +Some apps need an app-specific folder to store data. Immich keeps all uploaded photos and videos in the Immich Folder. Nextcloud keeps uploaded files in the Nextcloud Folder. Pick a disk with enough free space for these two. Coming from Deployrr v5 with Immich or Nextcloud? See [Move Nextcloud, Immich or Paperless-ngx from v5](/apps/move-database-apps-from-v5/) before you set these folders. ## Change a folder after apps are installed From 3cdd10a9055fba551f751fc4dae2efb5ac761ba9 Mon Sep 17 00:00:00 2001 From: SimpleHomelab Date: Thu, 12 Nov 2026 22:28:42 +0000 Subject: [PATCH 8/9] docs: update switch-traefik-npm, gpu-host-prep, move-database-apps-from-v5, change-database-password --- .../docs/apps/change-database-password.md | 2 +- .../docs/apps/move-database-apps-from-v5.md | 62 ++++----------- docs/src/content/docs/host/gpu-host-prep.md | 75 ++++--------------- .../docs/reverse-proxy/switch-traefik-npm.md | 70 +++++------------ 4 files changed, 51 insertions(+), 158 deletions(-) diff --git a/docs/src/content/docs/apps/change-database-password.md b/docs/src/content/docs/apps/change-database-password.md index a007126..b6c944b 100644 --- a/docs/src/content/docs/apps/change-database-password.md +++ b/docs/src/content/docs/apps/change-database-password.md @@ -128,7 +128,7 @@ The standalone database apps work the same way, with these names in steps 1, 3 a - n8n: also open `YOUR_DOCKER_FOLDER/compose/HOSTNAME/n8n.yml` and replace the value of `DB_POSTGRESDB_PASSWORD` with the new password. - Nextcloud: also open `YOUR_DOCKER_FOLDER/appdata/nextcloud/config/config.php` and replace the `dbpassword` value. Nextcloud keeps a copy of the database password there after its first setup. This is how Nextcloud works, not something you can skip. -5. Recreate the app, then its database container. A plain restart does not read new values, and **Manage Apps** has no Recreate. Go to **Tools** > **Stack Manager** > **Recreate**. Under "Select an app to recreate:", type the number of the app's container. Run it again for the database container, and for Authentik also for `authentik-worker`. See [Stack Manager](/using-deployrr/stack-manager/). Or, with the [Deployrr bash aliases](/using-deployrr/bash-aliases/), run these. Replace `APP` with the app name: +5. Recreate the app, then its database container. A plain restart does not read new values, and **Manage Apps** has no Recreate. Go to **Tools** > **Stack Manager** > **Recreate** (needs a Basic, Plus or Pro license). Under "Select an app to recreate:", type the number of the app's container. Run it again for the database container, and for Authentik also for `authentik-worker`. See [Stack Manager](/using-deployrr/stack-manager/). Or, with the [Deployrr bash aliases](/using-deployrr/bash-aliases/), run these. Replace `APP` with the app name: ```bash dcrec APP diff --git a/docs/src/content/docs/apps/move-database-apps-from-v5.md b/docs/src/content/docs/apps/move-database-apps-from-v5.md index 964ab06..7d91947 100644 --- a/docs/src/content/docs/apps/move-database-apps-from-v5.md +++ b/docs/src/content/docs/apps/move-database-apps-from-v5.md @@ -25,8 +25,7 @@ The [v5 to v6 guide](/getting-started/move-from-v5/) suggests a fresh setup for ## Before you start -- You follow the [v5 to v6 guide](/getting-started/move-from-v5/). These steps assume you have done its backup and rename steps (Steps 2 and 3), and that v6 and its core apps run (Steps 5 and 6). -- Your v5 Docker folder is renamed to `docker-v5`. +- You follow the [v5 to v6 guide](/getting-started/move-from-v5/): you did its backup and rename steps (Steps 2 and 3, so your v5 folder is `docker-v5`), and v6 and its core apps run (Steps 5 and 6). - You have a few hours where these apps can be down. :::caution @@ -42,8 +41,6 @@ In the commands, replace `USERNAME` with your Linux user name. The commands assu The export needs the v5 MariaDB running. So do Part 1 **before** [Step 1 of the move guide](/getting-started/move-from-v5/#step-1-stop-the-whole-v5-stack), while v5 is still up. If you use only Immich, skip Part 1. -Redis containers hold only cache. You do not move them. - ## Part 1: Export in v5 (Nextcloud and Paperless-ngx) 1. For Nextcloud, turn on maintenance mode: @@ -117,7 +114,7 @@ Do this for each app you move. 2. Install the app from **Apps** > **Browse Apps**. 3. Wait until the app runs. -Then follow the section for your app. Stop only the app, not its database, unless the steps say so. Use the [bash aliases](/using-deployrr/bash-aliases/) `dcrec` and `dlogs`, or the **Tools** > **Stack Manager** > **Recreate** menu. +Then follow the section for your app. Stop only the app, not its database, unless the steps say so. Use the [bash aliases](/using-deployrr/bash-aliases/) `dcrec` and `dlogs`, or **Tools** > **Stack Manager** > **Recreate** (needs a Basic, Plus or Pro license). ### Immich @@ -142,20 +139,15 @@ Then follow the section for your app. Stop only the app, not its database, unles 4. Put that value into `IMMICH_POSTGRESQL_PASSWORD` in the v6 `.env`. Use **Tools** > **.env Editor** or edit the file by hand. See [Edit .env values and secrets](/using-deployrr/edit-env-and-secrets/). The old database keeps the password it was created with, so v6 must use the same one. 5. Open **System** > **Folders** and set **Immich Folder** to your v5 upload folder. It is the `IMMICH_FOLDER` value in `docker-v5/.env`. -6. Recreate the database, then Immich: +6. Recreate the database, then Immich, and watch the logs: ```bash dcrec immich-postgresql dcrec immich - ``` - -7. Watch the logs: - - ```bash dlogs immich ``` -The first start can take a while. Immich moves your old search index to its new format and upgrades from v5's Immich version. Wait until the logs settle. + The first start can take a while. Immich moves your old search index to its new format and upgrades from v5's Immich version. Wait until the logs settle. ### Nextcloud @@ -184,50 +176,38 @@ The first start can take a while. Immich moves your old search index to its new sudo docker exec -i nextcloud-mariadb sh -c 'exec mariadb -u root -p"$(cat /run/secrets/nextcloud_mariadb_root_password)" nextcloud' < /home/USERNAME/nextcloud-v5.sql ``` -4. Replace the app files with the v5 ones: +4. Replace the app files with the v5 ones. Check the paths before you press Enter. `rm -rf` deletes without asking: ```bash sudo rm -rf /home/USERNAME/docker/appdata/nextcloud sudo cp -a /home/USERNAME/docker-v5/appdata/nextcloud /home/USERNAME/docker/appdata/nextcloud ``` -5. Back up `config.php`: +5. Back up `config.php`, show the v6 database password, and open `config.php` in an editor: ```bash sudo cp /home/USERNAME/docker/appdata/nextcloud/config/config.php /home/USERNAME/docker/appdata/nextcloud/config/config.php.bak - ``` - -6. Show the v6 database password: - - ```bash sudo cat /home/USERNAME/docker/secrets/nextcloud_mariadb_password - ``` - -7. Open `config.php` in an editor: - - ```bash sudo nano /home/USERNAME/docker/appdata/nextcloud/config/config.php ``` -8. Set these three values. For `dbpassword`, use the password from step 6: +6. Set these three values. For `dbpassword`, use the password the second command showed: ```php 'dbhost' => 'nextcloud-mariadb', 'dbuser' => 'nextcloud_db_user', - 'dbpassword' => 'PASSWORD_FROM_STEP_6', + 'dbpassword' => 'V6_PASSWORD', ``` -9. Open **System** > **Folders** and set **Nextcloud Folder** to your v5 data folder. It is the `NEXTCLOUD_FOLDER` value in `docker-v5/.env`. -10. Recreate Nextcloud and watch the logs: - - ```bash - dcrec nextcloud - dlogs nextcloud - ``` +7. Open **System** > **Folders** and set **Nextcloud Folder** to your v5 data folder. It is the `NEXTCLOUD_FOLDER` value in `docker-v5/.env`. +8. Recreate Nextcloud and watch the logs. If the v6 image is newer, Nextcloud upgrades itself on start. Wait for it to finish. - If the v6 image is newer, Nextcloud upgrades itself on start. Wait for it to finish. + ```bash + dcrec nextcloud + dlogs nextcloud + ``` -11. Turn maintenance mode off: +9. Turn maintenance mode off: ```bash sudo docker exec -u www-data nextcloud php occ maintenance:mode --off @@ -260,7 +240,7 @@ The first start can take a while. Immich moves your old search index to its new sudo docker exec -i paperless-ngx-mariadb sh -c 'exec mariadb -u root -p"$MARIADB_ROOT_PASSWORD" paperless' < /home/USERNAME/paperless-v5.sql ``` -4. Replace the app files. The folder layout is the same in v5 and v6: +4. Replace the app files. The folder layout is the same in v5 and v6. Check the paths before you press Enter: ```bash sudo rm -rf /home/USERNAME/docker/appdata/paperless-ngx @@ -289,14 +269,6 @@ The first start can take a while. Immich moves your old search index to its new The password in `config.php` or `.env` does not match the database. Recheck the value you copied. See [Change a database password safely](/apps/change-database-password/). -### The app is up but looks empty - -The folder does not point at your old data. Set it again in **System** > **Folders**, then recreate the app. See [Folders](/storage/folders/). - -### Nextcloud shows a maintenance mode page - -Run the `occ maintenance:mode --off` command from the Nextcloud steps. - ### The import prints errors The export file is empty or cut off. Make it again and check that it ends with `-- Dump completed`. @@ -310,5 +282,3 @@ This page does not cover the other database apps listed in the [move guide](/get - [Move from Deployrr v5 to v6](/getting-started/move-from-v5/): the full move this page plugs into. - [Change a database password safely](/apps/change-database-password/): fix a password mismatch. - [Folders](/storage/folders/): change where an app keeps its data. -- [Back up and restore your Docker folder](/using-deployrr/backups/): back up before you start. -- [Deployrr bash aliases](/using-deployrr/bash-aliases/): the `dcrec` and `dlogs` shortcuts. diff --git a/docs/src/content/docs/host/gpu-host-prep.md b/docs/src/content/docs/host/gpu-host-prep.md index 10886d3..cdca0f8 100644 --- a/docs/src/content/docs/host/gpu-host-prep.md +++ b/docs/src/content/docs/host/gpu-host-prep.md @@ -37,16 +37,13 @@ sources: [] Deployrr does not install GPU drivers or toolkits. It scans your server and reports what it finds. This page gets the server ready so **System** > **GPU** shows your GPU as **Ready**. For the scan screen, the result lines and installing apps with the GPU, see [GPU hardware transcoding](/apps/gpu-transcoding/). -The steps below are general Linux, NVIDIA and Proxmox steps, not Deployrr features. Package names and menus can differ between versions of your system. +The steps below are general Linux, NVIDIA and Proxmox steps. Package names can differ on your system. :::caution -NVIDIA does not work yet with Jellyfin, Plex and Emby in v6.0.42. This is a known issue in the release notes. Intel and AMD work. NVIDIA is offered for Ollama and Dispatcharr, but the release notes say it is untested. See the [caution on the GPU page](/apps/gpu-transcoding/). +NVIDIA does not work yet with Jellyfin, Plex and Emby in v6.0.42 (a known issue in the release notes), and it is untested with Ollama and Dispatcharr. Intel and AMD work. See the [caution on the GPU page](/apps/gpu-transcoding/). ::: -## Before you start - -- Know where Deployrr runs: directly on hardware, in a Proxmox VM, or in a Proxmox LXC container. -- Have console access to the server. Some steps need a reboot, and a mistake in boot settings can stop the server from starting. +Have console access to the server before you start. Some steps need a reboot, and a mistake in boot settings can stop the server from starting. ## What Ready means @@ -54,21 +51,9 @@ The scan reports a GPU as ready when these checks pass on the machine where Depl | GPU | The scan needs | | --- | --- | -| Any | The GPU shows in `lspci`. Without it you see "lspci command not found. Install pciutils to enable GPU detection." | +| Any | The GPU shows in `lspci` (install `pciutils` if the command is missing). | | Intel or AMD | A `renderD` device exists in `/dev/dri`. | -| NVIDIA | `nvidia-smi` works, and Docker lists an `nvidia` runtime. | - -Install `pciutils` first if it is missing: - -```bash -sudo apt install pciutils -``` - -Then check that your GPU appears: - -```bash -lspci | grep -Ei 'vga|3d|display' -``` +| NVIDIA | The `nvidia-smi` command is installed, and Docker lists an `nvidia` runtime. The scan does not run it, so check that `nvidia-smi` works yourself (part 2). | ## Steps @@ -84,31 +69,7 @@ ls -l /dev/dri You want a name that starts with `renderD`, such as `renderD128`. -If the folder is missing or has no `renderD` device, install the video acceleration packages. On Debian or Ubuntu: - -1. For Intel: - - ```bash - sudo apt install intel-media-va-driver - ``` - -2. For AMD: - - ```bash - sudo apt install mesa-va-drivers - ``` - -3. Reboot the server. -4. Run `ls -l /dev/dri` again. - -Optionally, install `vainfo` and run it to see which video formats the GPU can handle: - -```bash -sudo apt install vainfo -vainfo -``` - -If `/dev/dri` is still missing after a reboot, the kernel does not see the GPU driver. Check `lspci` and your distribution's documentation for your GPU model. +If the folder is missing or has no `renderD` device, install the video acceleration package, reboot, and check again. On Debian or Ubuntu that is `sudo apt install intel-media-va-driver` for Intel or `sudo apt install mesa-va-drivers` for AMD. If it is still missing, check your distribution's documentation for your GPU model. ### 2. NVIDIA on bare metal or in a VM @@ -129,7 +90,7 @@ You need two things: the NVIDIA driver, and the NVIDIA Container Toolkit so Dock nvidia-smi ``` - You see a table with your GPU. If you get an error instead, see the note below. + You see a table with your GPU. If you get an error, check your distribution's NVIDIA driver documentation (Secure Boot can block the driver). 4. Install the NVIDIA Container Toolkit. Follow NVIDIA's [install guide](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/install-guide.html) for your distribution. It is the same link Deployrr prints under "NVIDIA Container Toolkit: Not installed or not configured". 5. Tell Docker to use the toolkit: @@ -153,18 +114,14 @@ You need two things: the NVIDIA driver, and the NVIDIA Container Toolkit so Dock The line must include `nvidia`. :::caution -Restarting Docker stops your running containers. Do it when nobody is streaming. Most apps start again on their own, but Deployrr installs the media apps (Jellyfin, Plex, Emby, the Arr apps and others) so they don't. [Apps not starting after a reboot](/docker/apps-not-starting-after-reboot/) explains why. After the restart, open **Tools** > **Stack Manager** and choose **Up**. See [Stack Manager](/using-deployrr/stack-manager/). -::: - -:::note -If `nvidia-smi` says it cannot communicate with the driver after a reboot, Secure Boot may be blocking the NVIDIA kernel module. Either turn off Secure Boot in the BIOS or sign the module. Your distribution's documentation explains how. +Restarting Docker stops your running containers. Deployrr installs the media apps (Jellyfin, Plex, Emby, the Arr apps and others) so they don't start again on their own ([why](/docker/apps-not-starting-after-reboot/)). After the restart, open **Tools** > **Stack Manager** and choose **Up**. ::: ### 3. Proxmox LXC -An LXC container shares the Proxmox host's kernel. The GPU driver lives on the Proxmox host, and you pass the GPU device into the container. Deployrr cannot do this for you. It shows "LXC/Docker environments require the host to pass through the GPU device and toolkits." in the **Graphics Card** box. +An LXC container shares the Proxmox host's kernel. The GPU driver lives on the Proxmox host, and you pass the GPU device into the container. Deployrr cannot do this for you. -To understand how the passthrough works, read [UDMS part 11: Passing the iGPU through to a Proxmox LXC container](https://www.simplehomelab.com/udms-11-gpu-passthrough-on-proxmox-lxc/#Step-by-Step_Proxmox_GPU_Passthrough_to_LXC_Container) (manual setup, Proxmox only; it edits the container config file instead of using the menu below). The short version for Intel and AMD: +For background, read [UDMS part 11: Passing the iGPU through to a Proxmox LXC container](https://www.simplehomelab.com/udms-11-gpu-passthrough-on-proxmox-lxc/#Step-by-Step_Proxmox_GPU_Passthrough_to_LXC_Container) (manual setup; it edits the container config file instead of using the menu below). The short version for Intel and AMD: 1. On the Proxmox host, check that `/dev/dri` exists and has a `renderD` device. If not, do part 1 on the host. 2. In the Proxmox web interface, select your container, then **Resources** > **Add** > **Device Passthrough**. @@ -180,19 +137,17 @@ To understand how the passthrough works, read [UDMS part 11: Passing the iGPU th 5. Restart the container. 6. Inside the container, run `ls -l /dev/dri` and check the `renderD` device is there. -To see the `/dev/dri` check on screen, watch [Jellyfin Docker Compose guide: checking /dev/dri at 10:28](https://youtu.be/xY3UrvDgGrs?t=628) (manual Docker Compose setup; Deployrr does the compose part for you). - -On older Proxmox versions without this menu, you add `lxc.cgroup2.devices.allow` and `lxc.mount.entry` lines to the container's config file instead. The UDMS guide shows them. To see that method on screen, watch [Proxmox iGPU passthrough at 2:32](https://youtu.be/kvnJYyyLoIk?t=152) (config file method). Back up the file first, the same way as in [Run Deployrr in a Proxmox LXC](/host/proxmox-lxc/#pass-devnettun-into-the-container). +On older Proxmox versions without this menu, add the device lines to the container's config file instead, as the UDMS guide and [Proxmox iGPU passthrough at 2:32](https://youtu.be/kvnJYyyLoIk?t=152) show. Back up the file first, the same way as in [Run Deployrr in a Proxmox LXC](/host/proxmox-lxc/#pass-devnettun-into-the-container). In an unprivileged container, the device can show as owned by `nobody` or `nogroup`. That is fine if the permissions let everyone read and write it (`crw-rw-rw-`). If they don't, and the app can't use the GPU, check the GID you set. -**NVIDIA in an LXC** is more advanced. You install the NVIDIA driver on the Proxmox host. Inside the container, you install the same driver version with the `--no-kernel-module` option, pass the `/dev/nvidia*` devices in, and then do steps 4 to 7 of part 2 inside the container. NVIDIA and Proxmox document this, and the exact device list depends on your GPU. Because NVIDIA does not work yet with Jellyfin, Plex and Emby, an Intel or AMD GPU is the safer choice for those apps. +**NVIDIA in an LXC** needs the driver on the Proxmox host and the [NVIDIA Container Toolkit](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/install-guide.html) inside the container. For Jellyfin, Plex and Emby, an Intel or AMD GPU is the safer choice for now. If Docker stops starting containers inside the LXC, see [Docker fails with "failed to create shim task"](/host/shim-task-debian/). ### 4. Proxmox VM -Passing a GPU to a VM hands the whole GPU to that VM. The Proxmox host and other guests can no longer use it. If you only have an integrated GPU (iGPU), the host may lose its display. An LXC is usually easier for an iGPU. +Passing a GPU to a VM hands the whole GPU to that VM, so the host and other guests can't use it. For an integrated GPU (iGPU), an LXC is usually easier. :::caution Step 2 edits the kernel boot line. A typing mistake can stop the host from booting. Keep console or IPMI access, and note the original line before you change it. @@ -211,8 +166,8 @@ Set **System Type** to **Virtual Machine** in **Prerequisites**. See [Run Deploy ## Check it worked 1. Open **System** > **GPU** in Deployrr and run the scan again. It does not refresh on its own. -2. Read the result. You want "Intel Iris: Ready", "AMD ROCm: Ready" or "NVIDIA Container Toolkit: Ready". The [GPU hardware transcoding](/apps/gpu-transcoding/#1-scan-for-your-gpu) page explains every line. To see the scan in action, watch [Deployrr 6 overview: Intelligent GPU Detection at 5:37](https://youtu.be/Nuo83uzTWco?t=337). -3. Install the app with the GPU. Apps you installed earlier keep their old settings. To add the GPU to one, reinstall it. See [If the app is already installed](/apps/gpu-transcoding/#3-if-the-app-is-already-installed). +2. You want "Intel Iris: Ready", "AMD ROCm: Ready" or "NVIDIA Container Toolkit: Ready". [GPU hardware transcoding](/apps/gpu-transcoding/#1-scan-for-your-gpu) explains every line. To see the scan, watch [Deployrr 6 overview: Intelligent GPU Detection at 5:37](https://youtu.be/Nuo83uzTWco?t=337). +3. Install the app with the GPU. To add the GPU to an app you installed earlier, reinstall it. See [If the app is already installed](/apps/gpu-transcoding/#3-if-the-app-is-already-installed). ## Related diff --git a/docs/src/content/docs/reverse-proxy/switch-traefik-npm.md b/docs/src/content/docs/reverse-proxy/switch-traefik-npm.md index 927f848..e5f3513 100644 --- a/docs/src/content/docs/reverse-proxy/switch-traefik-npm.md +++ b/docs/src/content/docs/reverse-proxy/switch-traefik-npm.md @@ -42,8 +42,7 @@ For a short look at why NPM is an option in v6, watch [Deployrr 6 overview: NGIN ## Before you start -- Setup Mode is **Hybrid**. In **Local** mode you see the "Proxy Type - Local Mode Warning" box. Picking a Proxy Type there still saves your choice, stops the other proxy and changes the proxy lines in your compose file, so switch to Hybrid first. See [Setup Mode](/getting-started/setup-mode/). -- The **Proxy Type** menu says "You can change this later, but existing configurations may need to be redone." Read the sections below so you know what that means. +- Setup Mode is **Hybrid**. In **Local** mode you see the "Proxy Type - Local Mode Warning" box. Picking a Proxy Type there still saves your choice, stops the other proxy and changes the proxy lines in your compose file, so switch to Hybrid first. Switching Setup Mode to Local also clears your Proxy Type (the **Proxy** menu shows "NOT SELECTED"). See [Setup Mode](/getting-started/setup-mode/). - Your proxy hosts in NPM do not move to Traefik. Your Traefik routes do not move to NPM. You recreate them. :::caution @@ -56,53 +55,24 @@ NPM also asks whoever opens the admin page first to create the admin account. Do 1. Open **Proxy** > **Proxy Type** and select **NPM**. Follow [Pick NPM as your proxy type](/reverse-proxy/nginx-proxy-manager/#pick-npm-as-your-proxy-type). 2. When the "Traefik Container Running" box appears, answer yes. Traefik stops. It is not removed. If you answer No, the switch is cancelled and Proxy Type stays as it was. -3. Deployrr prints "Disabling traefik.yml in compose file..." and "Enabling npm.yml in compose file...". This decides which proxy a later Stack Manager **Up** starts. +3. Deployrr prints "Enabling npm.yml in compose file..." and "Disabling traefik.yml in compose file...". This decides which proxy a later Stack Manager **Up** starts. 4. [Change your router forwards](#change-your-router-forwards). -5. Start NPM. - - If you never installed it, open **Proxy** > **NPM** > **Install**. In Local mode you see "Requirements Not Met" first, because NPM needs Hybrid. - - If you used it before, open **Tools** > **Stack Manager** > **Up**. This needs a Basic, Plus or Pro license. It starts every enabled app, including the proxy whose line is now enabled. **Tools** > **Stack Manager** > **Start Container** also works. - - As a fallback, run this. It works only if the `npm` container still exists: - - ```bash - sudo docker start npm - ``` - - A Stack Manager **Up** or **Update Stack** run while NPM's line is disabled may remove its stopped container. Its appdata stays, and the next **Up** after you switch back creates it again. +5. Start NPM. If you never installed it, open **Proxy** > **NPM** > **Install**. If you used it before, see [Start a proxy you used before](#start-a-proxy-you-used-before). 6. In NPM, add a proxy host for each app. Use the container name and internal port. See [Add a proxy host for an app](/reverse-proxy/nginx-proxy-manager/#add-a-proxy-host-for-an-app) and [Connect your apps to each other](/using-deployrr/connecting-apps/). [App reference](/apps/app-reference/) lists app ports. -Choosing a Proxy Type does not start the proxy. To start it later, use Stack Manager as shown above. - -You see "Port Conflict - Cannot Install" at **NPM** > **Install** when Traefik is running while Proxy Type is already NPM. This can happen if Traefik was started again after the switch, for example by Stack Manager **Up**, **Start Container**, `docker start`, or a Traefik setup step. The box says "You cannot run both Traefik and NPM simultaneously". Run this, then try again: - -```bash -sudo docker stop traefik -``` - -The box also offers uninstalling Traefik as the other option. +"Port Conflict - Cannot Install" at **NPM** > **Install** means Traefik was started again after the switch (for example by Stack Manager **Up** or a Traefik setup step). Run `sudo docker stop traefik`, then try again. -### What you lose with NPM - -Apps behind a Traefik login chain have no login in NPM. If you want one, set it up in NPM with its Access Lists. That is an NPM feature, not a Deployrr one. - -Login apps (Authelia, Authentik, Google OAuth, TinyAuth, **Manage Auth**), **Traefik Bouncer**, **Manage Exposure** and **Traefikify** need Traefik. With NPM they show a "Requirements Not Met (N)" box. Its lines include "Traefik - Must be running (Proxy menu)" and "Traefik Production - Must be completed (Proxy menu)". The full list is in [What you give up compared to Traefik](/reverse-proxy/nginx-proxy-manager/#what-you-give-up-compared-to-traefik). +Apps behind a Traefik login chain have no login in NPM, and the login apps, **Manage Exposure** and **Traefikify** need Traefik. See [What you give up compared to Traefik](/reverse-proxy/nginx-proxy-manager/#what-you-give-up-compared-to-traefik). ## Switch from NPM to Traefik 1. List your NPM proxy hosts first. Write down the domain, forward host and forward port of each one. You need them later. 2. Open **Proxy** > **Proxy Type** and select **Traefik**. 3. When the "NPM Container Running" box appears, answer yes. NPM stops. It is not removed. If you answer No, the switch is cancelled and Proxy Type stays as it was. -4. Deployrr prints "Disabling npm.yml in compose file..." and "Enabling traefik.yml in compose file...". This decides which proxy a later Stack Manager **Up** starts. -5. If you set up Traefik before, open **Tools** > **Stack Manager** > **Up**. This needs a Basic, Plus or Pro license. It starts every enabled app, including Traefik. **Tools** > **Stack Manager** > **Start Container** also works. -6. As a fallback, run this. It works only if the `traefik` container still exists: - - ```bash - sudo docker start traefik - ``` - - A Stack Manager **Up** or **Update Stack** run while Traefik's line is disabled may remove its stopped container. Its appdata stays, and the next **Up** after you switch back creates it again. -7. If you never set up Traefik, follow [Set up Traefik](/reverse-proxy/traefik-setup/): **Preparation**, **Staging**, then **Production**. -8. [Change your router forwards](#change-your-router-forwards). -9. Bring your apps across (see the next section). +4. Deployrr prints "Enabling traefik.yml in compose file..." and "Disabling npm.yml in compose file...". This decides which proxy a later Stack Manager **Up** starts. +5. Start Traefik. If you never set it up, follow [Set up Traefik](/reverse-proxy/traefik-setup/): **Preparation**, **Staging**, then **Production**. If you set it up before, see [Start a proxy you used before](#start-a-proxy-you-used-before). +6. [Change your router forwards](#change-your-router-forwards). +7. Bring your apps across (see the next section). :::caution **Preparation**, **Staging** and **Production** do not check your Proxy Type. Set Proxy Type to Traefik first and make sure NPM is stopped before you run them. Traefik needs ports 80 and 443 too. @@ -110,7 +80,7 @@ Login apps (Authelia, Authentik, Google OAuth, TinyAuth, **Manage Auth**), **Tra If you ran them with Proxy Type still on NPM, Traefik stays disabled in the compose file. Staging then ends with "Timed out. Could not verify if Traefik is running." and NPM keeps ports 80 and 443. To fix it, set Proxy Type to Traefik, then run Staging again. ::: -If you see "Proxy Type Required" at **Traefik** > **Traefik Mode**, your Proxy Type is still NPM. The box tells you to go to **Proxy** > **Proxy Type** and select Traefik. **NPM** > **Install** shows the same box when Proxy Type is Traefik. +"Proxy Type Required" at **Traefik** > **Traefik Mode** means your Proxy Type is still NPM. ### Bring your apps across @@ -119,12 +89,18 @@ Apps you installed before the switch keep their Traefik rules. They work again o Apps you installed while NPM was in use have no Traefik address. While Traefik is not running, Deployrr does not ask for a subdomain when you install an app. Fix each one in one of two ways: - Use **Traefik** > **Traefikify** to add the app. See [Traefikify](/reverse-proxy/traefikify/). -- Reinstall the app while Traefik is running. Deployrr asks for the subdomain ("Traefik Subdomain") and creates the rules file if the app has none. A subdomain already set in `.env` skips the prompt. If the app already has a rules file, your answers do not change that file. See [Reinstall an app](/using-deployrr/reinstall-app/). +- Reinstall the app while Traefik is running. Deployrr asks for the subdomain and creates the rules file if the app has none. See [Reinstall an app](/using-deployrr/reinstall-app/). -For something Deployrr did not install, such as an app on another machine, use **Traefikify** with its IP address and port. Your list of NPM proxy hosts has these values. You can also follow [Put a custom app behind Traefik](/reverse-proxy/custom-app-behind-traefik/). +For something Deployrr did not install, such as an app on another machine, use **Traefikify** with the IP address and port from your list of NPM proxy hosts. The [Dashboard](/using-deployrr/dashboard/) adds remote entries only while Traefik runs. +## Start a proxy you used before + +Choosing a Proxy Type does not start the proxy. Open **Tools** > **Stack Manager** > **Up** (needs a Basic, Plus or Pro license). It starts every enabled app, including the proxy whose line is now enabled. **Tools** > **Stack Manager** > **Start Container** also works. + +As a fallback, run `sudo docker start npm` or `sudo docker start traefik`. This works only if the container still exists: a Stack Manager **Up** or **Update Stack** run while a proxy's line is disabled may remove its stopped container. Its appdata stays, and the next **Up** after you switch back creates it again. + ## Change your router forwards | Proxy | Forward 80 to | Forward 443 to | @@ -133,13 +109,7 @@ The [Dashboard](/using-deployrr/dashboard/) adds remote entries only while Traef | Traefik, Simple mode | 80 | 443 | | Traefik, Advanced mode | 81 | 444 | -Going from Advanced mode to NPM, change the forwards to 80 and 443. Going back to Advanced mode, change them to 81 and 444. Simple mode and NPM use the same pair, so nothing changes between them. To see the Simple and Advanced forwards set on a router, watch [Deployrr 5 walkthrough: Port Forwarding at 37:43](https://youtu.be/rdqbAr0TFnQ?t=2263) (shows Deployrr v5; menus differ in v6, the ports are the same). See [Port forwarding](/networking/port-forwarding/) and [Simple vs Advanced Traefik mode](/reverse-proxy/simple-vs-advanced-mode/). - -## If you switch Setup Mode to Local - -Switching Setup Mode to **Local** clears your Proxy Type. The **Proxy** menu shows "NOT SELECTED". When you set Setup Mode back to **Hybrid**, pick your Proxy Type again. - -If you pick a Proxy Type while in Local mode, you see "Proxy Type - Local Mode Warning". See [Before you start](#before-you-start) for what happens then. +Only a move to or from Traefik Advanced mode needs a change. To see the Simple and Advanced forwards set on a router, watch [Deployrr 5 walkthrough: Port Forwarding at 37:43](https://youtu.be/rdqbAr0TFnQ?t=2263) (shows Deployrr v5; menus differ in v6, the ports are the same). See [Port forwarding](/networking/port-forwarding/) and [Simple vs Advanced Traefik mode](/reverse-proxy/simple-vs-advanced-mode/). ## Check it worked @@ -153,8 +123,6 @@ If you pick a Proxy Type while in Local mode, you see "Proxy Type - Local Mode W 2. Open **Proxy**. The **Proxy Type** line should end with the name you chose. 3. Open an app address in your browser. -If NPM is stopped, its **Proxy** menu line shows "- Not Installed". Run `sudo docker ps -a` to see whether the `npm` container exists. - ## Related - [Use Nginx Proxy Manager instead of Traefik](/reverse-proxy/nginx-proxy-manager/): install NPM and add proxy hosts. From 06be043da6554f1308ca50cea98a89e50c6fec2b Mon Sep 17 00:00:00 2001 From: SimpleHomelab Date: Thu, 12 Nov 2026 22:33:46 +0000 Subject: [PATCH 9/9] docs: update reverse-proxy/switch-traefik-npm and host/gpu-host-prep --- docs/src/content/docs/host/gpu-host-prep.md | 2 +- docs/src/content/docs/reverse-proxy/switch-traefik-npm.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/src/content/docs/host/gpu-host-prep.md b/docs/src/content/docs/host/gpu-host-prep.md index cdca0f8..eddcadd 100644 --- a/docs/src/content/docs/host/gpu-host-prep.md +++ b/docs/src/content/docs/host/gpu-host-prep.md @@ -114,7 +114,7 @@ You need two things: the NVIDIA driver, and the NVIDIA Container Toolkit so Dock The line must include `nvidia`. :::caution -Restarting Docker stops your running containers. Deployrr installs the media apps (Jellyfin, Plex, Emby, the Arr apps and others) so they don't start again on their own ([why](/docker/apps-not-starting-after-reboot/)). After the restart, open **Tools** > **Stack Manager** and choose **Up**. +Restarting Docker stops your running containers. Deployrr installs the media apps (Jellyfin, Plex, Emby, the Arr apps and others) so they don't start again on their own ([why](/docker/apps-not-starting-after-reboot/)). After the restart, open **Tools** > **Stack Manager** and choose **Up** (needs a Basic, Plus or Pro license). ::: ### 3. Proxmox LXC diff --git a/docs/src/content/docs/reverse-proxy/switch-traefik-npm.md b/docs/src/content/docs/reverse-proxy/switch-traefik-npm.md index e5f3513..4ea93ba 100644 --- a/docs/src/content/docs/reverse-proxy/switch-traefik-npm.md +++ b/docs/src/content/docs/reverse-proxy/switch-traefik-npm.md @@ -60,7 +60,7 @@ NPM also asks whoever opens the admin page first to create the admin account. Do 5. Start NPM. If you never installed it, open **Proxy** > **NPM** > **Install**. If you used it before, see [Start a proxy you used before](#start-a-proxy-you-used-before). 6. In NPM, add a proxy host for each app. Use the container name and internal port. See [Add a proxy host for an app](/reverse-proxy/nginx-proxy-manager/#add-a-proxy-host-for-an-app) and [Connect your apps to each other](/using-deployrr/connecting-apps/). [App reference](/apps/app-reference/) lists app ports. -"Port Conflict - Cannot Install" at **NPM** > **Install** means Traefik was started again after the switch (for example by Stack Manager **Up** or a Traefik setup step). Run `sudo docker stop traefik`, then try again. +"Port Conflict - Cannot Install" at **NPM** > **Install** means Traefik was started again after the switch, for example with `sudo docker start traefik`. Run `sudo docker stop traefik`, then try again. Apps behind a Traefik login chain have no login in NPM, and the login apps, **Manage Exposure** and **Traefikify** need Traefik. See [What you give up compared to Traefik](/reverse-proxy/nginx-proxy-manager/#what-you-give-up-compared-to-traefik).