You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit d1db956
Browse filesBrowse the repository at this point in the historyBrowse files
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
Copy file name to clipboardExpand all lines: docs/src/content/docs/docker/container-keeps-restarting.md
+26-1Lines changed: 26 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,7 @@ videos:
35
35
start: 171
36
36
title: "DeUnhealth video: health check and automatic restart of an unhealthy container"
37
37
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
39
39
status: current
40
40
old_paths: []
41
41
sources: []
@@ -171,6 +171,7 @@ Blank lines between them are normal. `exit 0` means the check passed. Any other
171
171
|`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/). |
172
172
| 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/). |
173
173
| 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). |
174
175
| The app talks to Docker and cannot reach it | Socket Proxy may be stopped. See [Socket Proxy](/docker/socket-proxy/). |
175
176
| 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/). |
176
177
| 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
221
222
2. The status still says `Up` after a few minutes. A crash loop can look fine for a few seconds.
222
223
3. The app's web page opens.
223
224
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:
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
+
224
249
## Automatic restarts of unhealthy containers
225
250
226
251
[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).
Copy file name to clipboardExpand all lines: docs/src/content/docs/getting-started/quick-start.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,7 +55,7 @@ On Arch and Manjaro, some of that software is only in the AUR. Install `yay` or
55
55
56
56
On Fedora, RHEL, Rocky Linux and CentOS:
57
57
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.
59
59
- 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.
60
60
- 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).
61
61
-**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.
Copy file name to clipboardExpand all lines: docs/src/content/docs/host/secure-a-vps.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,7 @@ sidebar:
6
6
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.
Copy file name to clipboardExpand all lines: docs/src/content/docs/host/smtp-mail-relay.md
+9-2Lines changed: 9 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,7 @@ title: Send email from your server with SMTP and Mail Relay
3
3
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.
4
4
type: how-to
5
5
tags:
6
+
- email
6
7
- host
7
8
- shell
8
9
applies_to: v6.0+
@@ -180,6 +181,12 @@ Running Mail Relay again writes a fresh `/etc/ssmtp/ssmtp.conf`. Your edit is lo
180
181
181
182
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.
182
183
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
+
183
190
**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.
184
191
185
192
**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
202
209
203
210
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.
204
211
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:
206
213
207
214
```bash
208
215
sudo systemctl restart fail2ban
209
216
```
210
217
211
-
Back up a config file with `cp -a` before you edit it. See each tool's man page for more options.
0 commit comments