Skip to content
310 changes: 310 additions & 0 deletions docs/src/content/docs/apps/app-reference.md

Large diffs are not rendered by default.

163 changes: 163 additions & 0 deletions docs/src/content/docs/apps/change-database-password.md
Original file line number Diff line number Diff line change
@@ -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** (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
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.
2 changes: 1 addition & 1 deletion docs/src/content/docs/apps/deunhealth.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
18 changes: 9 additions & 9 deletions docs/src/content/docs/apps/gpu-transcoding.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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.

Expand Down Expand Up @@ -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.
2 changes: 2 additions & 0 deletions docs/src/content/docs/apps/media-library-empty.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Loading