# Aus Backup wiederhergestellt, aber E-Mail deaktiviert?

**URL:** https://meta.discourse.org/t/restored-from-backup-but-email-disabled/224461
**Category:** Support
**Created:** [16. April 2022 um 02:45 UTC](https://meta.discourse.org/t/restored-from-backup-but-email-disabled/224461 "2022-04-16T02:45:37Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![elijah](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/elijah/32/104055_2.png) [@elijah](https://meta.discourse.org/u/elijah)
#### Post date: [16. April 2022 um 02:45 UTC](https://meta.discourse.org/t/restored-from-backup-but-email-disabled/224461/1 "2022-04-16T02:45:38Z")

</div>

Ich mache täglich ein Backup und kopiere die Daten täglich vom Server für mein Forum. Das ist gut, denn die VM ist hart abgestürzt. Kein `ssh` und auch nach einem erzwungenen Neustart keine Besserung. Also wurde eine neue VM hochgefahren und eine neue Discourse-Installation durchgeführt. Und die Wiederherstellung aus dem Backup war erfolgreich.

Ende des Wiederherstellungsprotokolls:

```plaintext
[2022-04-15 06:41:18] Reconnecting to the database...
[2022-04-15 06:41:23] Reloading site settings...
[2022-04-15 06:41:24] Disabling outgoing emails for non-staff users...
[2022-04-15 06:41:30] Disabling readonly mode...
[2022-04-15 06:41:30] Clearing category cache...
[2022-04-15 06:41:31] Reloading translations...
[2022-04-15 06:41:32] Remapping uploads...
[2022-04-15 06:41:33] Restoring uploads, this may take a while...
[2022-04-15 06:43:14] Posts will be rebaked by a background job in sidekiq. You will see missing images until that has completed.
[2022-04-15 06:43:14] You can expedite the process by manually running "rake posts:rebake_uncooked_posts"
[2022-04-15 06:43:42] Clearing emoji cache...
[2022-04-15 06:43:43] Clear theme cache
[2022-04-15 06:44:24] Executing the after_restore_hook...
[2022-04-15 06:44:25] Cleaning stuff up...
[2022-04-15 06:44:25] Dropping functions from the discourse_functions schema...
[2022-04-15 06:44:27] Removing tmp '/var/www/discourse/tmp/restores/default/2022-04-15-062817' directory...
[2022-04-15 06:45:15] Unpausing sidekiq...
[2022-04-15 06:45:16] Marking restore as finished...
[2022-04-15 06:45:20] Notifying 'adminperson' of the end of the restore...

```

Aber ich sehe ein Banner, das besagt: `Outgoing email has been disabled for non-staff users.` und sehe das auch im Protokoll.

Was ist da los?

---

<div class="post-metadata">

### Author: ![itsbhanusharma](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/itsbhanusharma/32/180717_2.png) [@itsbhanusharma](https://meta.discourse.org/u/itsbhanusharma)
#### Post date: [16. April 2022 um 04:20 UTC](https://meta.discourse.org/t/restored-from-backup-but-email-disabled/224461/2 "2022-04-16T04:20:48Z")

</div>

Nach der Wiederherstellung ist die E-Mail vorübergehend deaktiviert, während Discourse synchronisiert, um zu verhindern, dass doppelte Benachrichtigungen an Benutzer gesendet werden.

Sie können E-Mails wieder aktivieren, indem Sie nach einer Stunde nach der Wiederherstellung zu den Einstellungen gehen. Dies ist im Allgemeinen unbedenklich.

---

<div class="post-metadata">

### Author: ![daemon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/daemon/32/256632_2.png) [@daemon](https://meta.discourse.org/u/daemon)
#### Post date: [16. April 2022 um 07:27 UTC](https://meta.discourse.org/t/restored-from-backup-but-email-disabled/224461/3 "2022-04-16T07:27:50Z")

</div>

> [@Can't upload backup](https://meta.discourse.org/t/cant-upload-backup/212520/32?u=daemon):
>
> That will be the ‘disable emails’ setting:

---

<div class="post-metadata">

### Author: ![elijah](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/elijah/32/104055_2.png) [@elijah](https://meta.discourse.org/u/elijah)
#### Post date: [16. April 2022 um 16:39 UTC](https://meta.discourse.org/t/restored-from-backup-but-email-disabled/224461/4 "2022-04-16T16:39:11Z")

</div>

Das Erste, was ich tat, nachdem ich das gesehen hatte, war, nach einer E-Mail-Einstellung zu suchen. Sie wurde nicht angezeigt. Wird sie unterdrückt, während die Hintergrund-Rake-Jobs laufen oder so? (Nur eine einzige E-Mail-Einstellung wurde damals bei der Suche nach „E-Mail“ angezeigt, jetzt bekomme ich etwa dreißig.)

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [16. Mai 2022 um 16:39 UTC](https://meta.discourse.org/t/restored-from-backup-but-email-disabled/224461/5 "2022-05-16T16:39:19Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
