Skip to content

Commit d1db956

Browse files
Docs: link sweep (batch 50) (#169)
Link sweep, batch 50: follow-ups from the last review, a new fix for database logins after a reinstall, and three new tags. - `host/smtp-mail-relay`: back up each config file before you edit it, and install `whois` so fail2ban's ban mails include the report; `getting-started/quick-start`: on Fedora, System Checks tries Docker's own install script first - `docker/container-keeps-restarting`: new section for when an app can't log in to its database after a reinstall (n8n, Nextcloud, Langfuse, Supabase): what you see and how to fix it with or without a copy of your secrets - `using-deployrr/dashboard`, `using-deployrr/what-overwrites-your-changes`: drop two apps that aren't in the app list - `docs/tags.yml`: new Local DNS, Email and Security tags, so you can find the Pi-hole and DNS pages, the mail relay page and the server security pages from one tag page each
1 parent 85d9591 commit d1db956

13 files changed

Lines changed: 54 additions & 7 deletions

‎docs/src/content/docs/apps/pi-hole-port-53-conflict.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ tags:
88
- ports
99
- host
1010
- docker
11+
- dns
1112
applies_to: v6.0+
1213
apps: [pihole]
1314
symptoms:

‎docs/src/content/docs/docker/container-keeps-restarting.md‎

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ videos:
3535
start: 171
3636
title: "DeUnhealth video: health check and automatic restart of an unhealthy container"
3737
note: Manual Docker Compose setup. In Deployrr v6, install DeUnhealth from the Apps menu; only qBittorrent VPN has the label already.
38-
last_reviewed: 2026-11-13
38+
last_reviewed: 2026-11-14
3939
status: current
4040
old_paths: []
4141
sources: []
@@ -171,6 +171,7 @@ Blank lines between them are normal. `exit 0` means the check passed. Any other
171171
| `permission denied`, or a missing folder or file | Check the folder paths the app uses. See [Set your media, downloads and other folders](/storage/folders/). |
172172
| The app needs files from your NAS and they are missing | Check that the share is mounted. See [Mount a NAS share with Rclone](/storage/rclone-smb-setup/) and [Rclone mount fails because the folder is not empty](/storage/rclone-mount-not-empty/). |
173173
| A helper container, such as a database, is unhealthy or not running | Repeat steps 1 to 4 for the helper. Fix it first. The app depends on it. |
174+
| `password authentication failed for user` or `Access denied for user`, after you reinstalled the app | The app and its database no longer have the same password. See [After a reinstall, the app can't log in to its database](#after-a-reinstall-the-app-cant-log-in-to-its-database). |
174175
| The app talks to Docker and cannot reach it | Socket Proxy may be stopped. See [Socket Proxy](/docker/socket-proxy/). |
175176
| The page does not open and the app itself looks fine | Traefik may be the problem. See [Read the Traefik logs](/reverse-proxy/check-traefik-logs/) and [Traefik can't get a Let's Encrypt certificate](/reverse-proxy/certificate-errors/). |
176177
| You edited a compose file or `.env` and then it broke | Undo your edit. For the main compose file, see [Docker environment setup fails with: docker-compose file is malformed](/docker/compose-malformed/). |
@@ -221,6 +222,30 @@ Do not choose a **Full** delete unless you accept losing the app's data and sett
221222
2. The status still says `Up` after a few minutes. A crash loop can look fine for a few seconds.
222223
3. The app's web page opens.
223224

225+
## After a reinstall, the app can't log in to its database
226+
227+
n8n, Nextcloud, Langfuse and Supabase get new database passwords on every install, also on a reinstall. The database in `appdata` keeps the password it was first set up with. After a reinstall, the app and its database can stop matching. To avoid this next time, see [Before you reinstall an app with generated secrets](/using-deployrr/edit-env-and-secrets/#before-you-reinstall-an-app-with-generated-secrets).
228+
229+
What you may see:
230+
231+
- The app shows `Restarting` or `Exited`, or its web page does not open, while its database container shows `Up`.
232+
- The app's log from step 3 has a line such as `password authentication failed for user` (PostgreSQL) or `Access denied for user` (MariaDB). These come from the database, so the exact text depends on the app.
233+
234+
Your data is still there. Don't delete the app. Pick the fix that fits:
235+
236+
- **You have a copy of `secrets` from before the reinstall**: put the old files back and recreate, as in steps 3 and 4 of [Before you reinstall an app with generated secrets](/using-deployrr/edit-env-and-secrets/#before-you-reinstall-an-app-with-generated-secrets). For n8n, Langfuse or Supabase, you also need the old `compose` folder. A [backup of your Docker folder](/using-deployrr/backups/) has both.
237+
- **n8n, and you have no copy**: give the database the new password. The reinstall already wrote it to the secret file and to `n8n.yml`, so you only change it inside the database.
238+
1. Show the new password. Replace `YOUR_DOCKER_FOLDER` with your Docker folder path:
239+
240+
```bash
241+
sudo cat YOUR_DOCKER_FOLDER/secrets/n8n_postgresql_password
242+
```
243+
244+
2. Run step 3 of [Change a database password safely](/apps/change-database-password/#steps) with that value as `NEW_PASSWORD`. Take the container, user and database for n8n from the PostgreSQL table on that page.
245+
3. Recreate the app, as in [step 6](#6-start-or-recreate-the-app).
246+
- **Nextcloud**: after its first setup, Nextcloud reads the database password from its own `config.php`. A reinstall changes neither that file nor the database, so Nextcloud normally keeps working. The reinstall shows a new admin password. Your existing Nextcloud still uses the old one, so keep using that. If you deleted the database folder but kept Nextcloud's own folder, the two no longer match: restore your Docker folder backup, or ask on Discord.
247+
- **Langfuse or Supabase, and you have no copy**: their passwords are in many files and containers. A reinstall also changes other keys, such as Supabase's API keys, so apps that use the old keys stop working. Restore your Docker folder backup, or ask on Discord.
248+
224249
## Automatic restarts of unhealthy containers
225250

226251
[DeUnhealth](/apps/deunhealth/) is an official app ("Restart unhealthy containers"). It restarts unhealthy containers for you and needs Socket Proxy. In Deployrr v6, only the qBittorrent VPN app is set up for it. For other apps it does nothing unless you add a label to the app's compose file yourself. That is an advanced, manual edit, and a reinstall may overwrite it. To see how the health check and DeUnhealth work together, watch [DeUnhealth video: health check and automatic restart at 2:51](https://youtu.be/oY1U_Htes9A?t=171) (manual Docker Compose setup with labels).

‎docs/src/content/docs/docker/no-internet-in-containers.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ tags:
99
- docker
1010
- host
1111
- install
12+
- dns
1213
applies_to: v6.0+
1314
symptoms:
1415
- "[ERROR] Problem with some dependencies. This can be due to two reasons: No internet connection"

‎docs/src/content/docs/getting-started/quick-start.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ On Arch and Manjaro, some of that software is only in the AUR. Install `yay` or
5555

5656
On Fedora, RHEL, Rocky Linux and CentOS:
5757

58-
- Install Docker yourself before **System Checks**, with the steps for your system from Docker's documentation. The fallback that **System Checks** uses to install Docker only works on Debian and Ubuntu.
58+
- Install Docker yourself before **System Checks**, with the steps for your system from Docker's documentation. **System Checks** first tries Docker's own install script, which may work on your system. If that fails, System Checks falls back to a method that only works on Debian and Ubuntu.
5959
- When Docker is installed, **System Checks** asks `Would you like to check and update your system? (Y/n)`. Press Enter or type `n` to skip it, and update with `sudo dnf upgrade` instead.
6060
- The **Username** step creates a user without a password or sudo rights. See [Create a regular user with sudo rights](/getting-started/install-errors/#create-a-regular-user-with-sudo-rights).
6161
- **System** > **Mounts** > **SMB Mount** and **NFS Mount** stop with `Failed to install required packages`, even when the client is already installed. **System** > **Mounts** > **Rclone** > **Install** stops with `Failed to install fuse3`. Mount network shares by hand.

‎docs/src/content/docs/host/secure-a-vps.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ sidebar:
66
description: Make a new VPS or dedicated server safer with a sudo user, SSH keys, no password login and a provider firewall, then install Deployrr in Simple mode.
77
type: how-to
88
tags:
9+
- security
910
- host
1011
- firewall
1112
- install

‎docs/src/content/docs/host/smtp-mail-relay.md‎

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ title: Send email from your server with SMTP and Mail Relay
33
description: Save your SMTP provider details in Deployrr, set up Mail Relay, and send a test email so cron, smartd and fail2ban can mail you.
44
type: how-to
55
tags:
6+
- email
67
- host
78
- shell
89
applies_to: v6.0+
@@ -180,6 +181,12 @@ Running Mail Relay again writes a fresh `/etc/ssmtp/ssmtp.conf`. Your edit is lo
180181

181182
Deployrr does not install smartd or fail2ban. The Scrutiny app shows disk health in a web page, but it does not install smartd on the host. If you want these tools, install them yourself. Use these settings once they are running.
182183

184+
Back up each config file before you edit it, for example:
185+
186+
```bash
187+
sudo cp -a /etc/smartd.conf /etc/smartd.conf.orig
188+
```
189+
183190
**Cron.** Root's cron jobs need their own line. Run `sudo crontab -e` to open root's crontab and put `MAILTO=you@example.com` at the top, as shown above. Cron only sends mail when a job prints output.
184191

185192
**smartd.** Edit `/etc/smartd.conf`. Find the `DEVICESCAN` line, or each device line. If it already has `-m root`, change it to `-m you@example.com`. If it has no `-m`, add `-m you@example.com`. To get a test mail, also add `-M test`, restart the service, then remove `-M test`. The service is `smartmontools` on Debian and Ubuntu and `smartd` on Arch:
@@ -202,13 +209,13 @@ action = %(action_mw)s
202209

203210
Replace `you@example.com` with your own address. Replace `YOUR_FROM_ADDRESS` with the From address from Mail Relay step 4. Many providers reject unverified senders. The default `destemail` is `root@localhost`, which ssmtp cannot deliver, so set it.
204211

205-
`action_mw` bans and mails you a whois report. Use `action_mwl` to add log lines. Depending on your fail2ban version, it may also mail you when a jail starts and stops. Restart it to apply the change:
212+
`action_mw` bans and mails you a whois report. The report needs the `whois` command on the server, so install it too (the package is `whois` on Debian and Ubuntu). Without it, the mail may come with an empty report. Use `action_mwl` to add log lines. Depending on your fail2ban version, it may also mail you when a jail starts and stops. Restart it to apply the change:
206213

207214
```bash
208215
sudo systemctl restart fail2ban
209216
```
210217

211-
Back up a config file with `cp -a` before you edit it. See each tool's man page for more options.
218+
See each tool's man page for more options.
212219

213220
## If the test fails
214221

‎docs/src/content/docs/networking/local-dns-rewrites.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ sidebar:
66
description: Point *.YOUR_DOMAIN at your server's LAN IP with Pi-hole or AdGuard Home so Internal apps open by name from devices on your home network.
77
type: how-to
88
tags:
9+
- dns
910
- domain
1011
- traefik
1112
- app-networking

‎docs/src/content/docs/networking/opnsense-conflict.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ tags:
1111
- firewall
1212
- logs
1313
- remote-access
14+
- dns
1415
applies_to: v6.0+
1516
apps: [traefik, tailscale]
1617
symptoms:

‎docs/src/content/docs/reverse-proxy/crowdsec.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ tags:
66
- traefik
77
- firewall
88
- logs
9+
- security
910
apps:
1011
- crowdsec
1112
- traefik

‎docs/src/content/docs/reverse-proxy/restrict-access-using-ip-allowlist.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ tags:
77
- auth
88
- remote-access
99
- firewall
10+
- security
1011
apps: [traefik]
1112
applies_to: v6.0+
1213
related:

0 commit comments

Comments
 (0)