# Backup installation problem?

**URL:** https://meta.discourse.org/t/backup-installation-problem/286961
**Category:** Self-hosting
**Created:** [November 29, 2023, 12:17pm UTC](https://meta.discourse.org/t/backup-installation-problem/286961 "2023-11-29T12:17:35Z")
**Posts on this page:** 13
**Page:** 1

<div class="post-metadata">

### Author: ![Ahmed26](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ahmed26/32/347069_2.png) [@Ahmed26](https://meta.discourse.org/u/Ahmed26)
#### Post date: [November 29, 2023, 12:17pm UTC](https://meta.discourse.org/t/backup-installation-problem/286961/1 "2023-11-29T12:17:35Z")

</div>

i uploaded the discourse to the ubuntu server, abandoned the project, backed up my database, wanted to reinstall it and reinstalled it from scratch, created my administrator account, the site was opened, the confirmation mail arrived, so far there are no problems

i came to the backup installation section, I did the backup installation, redirected to the setup wizard screen again, I entered my administrator name password on the first installation, and now the confirmation mail has not arrived, and that’s why I can’t log in to the site, mail is running on zero installation, but when I install the backup, it comes to the installation screen, the confirmation mail does not arrive, what’s the problem ? if my mail server was problematic, the mail after the zero installation would not have arrived  
i installed it with the version I backed up, the version is the same

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [November 29, 2023, 3:31pm UTC](https://meta.discourse.org/t/backup-installation-problem/286961/2 "2023-11-29T15:31:07Z")

</div>

My guess is that your database has the wrong notification email address, so it’s trying to send from some address that your mail server won’t deliver for. You can do something like

```plaintext
./launcher enter app
SiteSetting.notification_email='noreply@your-valid-email-sending-domain.com'

```

See also [Troubleshoot email on a new Discourse install](https://meta.discourse.org/t/troubleshoot-email-on-a-new-discourse-install/16326)

---

<div class="post-metadata">

### Author: ![Ahmed26](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ahmed26/32/347069_2.png) [@Ahmed26](https://meta.discourse.org/u/Ahmed26)
#### Post date: [November 29, 2023, 4:07pm UTC](https://meta.discourse.org/t/backup-installation-problem/286961/3 "2023-11-29T16:07:06Z")

</div>

> [@pfaffman](#):
>
> `SiteSetting.notification_email`

Can the notification e-mail end in gmail? Does it have to be an e-mail belonging to my own website address?

---

<div class="post-metadata">

### Author: ![Firepup650](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/firepup650/32/465200_2.png) [@Firepup650](https://meta.discourse.org/u/Firepup650)
#### Post date: [November 29, 2023, 4:08pm UTC](https://meta.discourse.org/t/backup-installation-problem/286961/4 "2023-11-29T16:08:07Z")

</div>

I believe it has to be an email that your Discourse instance is authorized to send from via your mail server.

---

<div class="post-metadata">

### Author: ![Ahmed26](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ahmed26/32/347069_2.png) [@Ahmed26](https://meta.discourse.org/u/Ahmed26)
#### Post date: [November 29, 2023, 4:17pm UTC](https://meta.discourse.org/t/backup-installation-problem/286961/5 "2023-11-29T16:17:50Z")

</div>

Email address for admin account(s)? [xxx@gmail.com](mailto:xxx@gmail.com)  
notification\_email [yyy@gmail.com](mailto:yyy@gmail.com)  
I entered as , I wonder if that’s why there is a problem?

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [November 29, 2023, 4:28pm UTC](https://meta.discourse.org/t/backup-installation-problem/286961/6 "2023-11-29T16:28:36Z")

</div>

> [@Ahmed26](#):
>
> mail is running on zero installation,

What does this mean? Were you able to receive an email from the site before you restored the database?

> [@Ahmed26](#):
>
> Can the notification e-mail end in gmail?

No. That is a violation of their terms of service and difficult or impossible to set up.

---

<div class="post-metadata">

### Author: ![Ahmed26](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ahmed26/32/347069_2.png) [@Ahmed26](https://meta.discourse.org/u/Ahmed26)
#### Post date: [November 29, 2023, 4:37pm UTC](https://meta.discourse.org/t/backup-installation-problem/286961/7 "2023-11-29T16:37:15Z")

</div>

Yes, I received an e-mail during the first fresh installation, I installed a backup, but I did not receive an e-mail.

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [November 29, 2023, 4:52pm UTC](https://meta.discourse.org/t/backup-installation-problem/286961/8 "2023-11-29T16:52:39Z")

</div>

The notification email address is the address that Discourse sends FROM not to.

If you can find that email you can see what address it was sent from and change the setting I referred to earlier. And also test if you look at the troubleshooting page I linked to.

---

<div class="post-metadata">

### Author: ![Ahmed26](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ahmed26/32/347069_2.png) [@Ahmed26](https://meta.discourse.org/u/Ahmed26)
#### Post date: [November 29, 2023, 6:45pm UTC](https://meta.discourse.org/t/backup-installation-problem/286961/9 "2023-11-29T18:45:55Z")

</div>

I found the mail  
sender domain name: [gt.d.sender-sib.com](http://gt.d.sender-sib.com) domain name signing: [sendinblue.com](http://sendinblue.com)

Is this what you were talking about?

---

<div class="post-metadata">

### Author: ![Ahmed26](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ahmed26/32/347069_2.png) [@Ahmed26](https://meta.discourse.org/u/Ahmed26)
#### Post date: [November 29, 2023, 7:30pm UTC](https://meta.discourse.org/t/backup-installation-problem/286961/10 "2023-11-29T19:30:12Z")

</div>

So, how can I adapt and write this as code? Can you write it as an example?

I’m new to installation, I have very little background, sorry for my meaningless answers.

---

<div class="post-metadata">

### Author: ![Ahmed26](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ahmed26/32/347069_2.png) [@Ahmed26](https://meta.discourse.org/u/Ahmed26)
#### Post date: [December 1, 2023, 8:59am UTC](https://meta.discourse.org/t/backup-installation-problem/286961/11 "2023-12-01T08:59:40Z")

</div>

I’m reinstalling, I received an email with my site name, can I use another name instead of the word noreply? example [support@mydomain.com](mailto:support@mydomain.com) notification for mail

---

<div class="post-metadata">

### Author: ![Ahmed26](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ahmed26/32/347069_2.png) [@Ahmed26](https://meta.discourse.org/u/Ahmed26)
#### Post date: [December 1, 2023, 9:34am UTC](https://meta.discourse.org/t/backup-installation-problem/286961/12 "2023-12-01T09:34:02Z")

</div>

Will there be a problem if the administrator e-mail address and the notification e-mail address are the same during installation?

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [December 1, 2023, 7:14pm UTC](https://meta.discourse.org/t/backup-installation-problem/286961/13 "2023-12-01T19:14:23Z")

</div>

If you did a [standard install](https://meta.discourse.org/t/142537?silent=true), the notification email should be in your `app.yml` in ENV variable `DISCOURSE_NOTIFICATION_EMAIL`, so it should not be changed if you restore the database.
