# Failed to bootstrap 2

**URL:** https://meta.discourse.org/t/failed-to-bootstrap-2/242544
**Category:** Self-hosting
**Created:** [October 21, 2022, 12:38am UTC](https://meta.discourse.org/t/failed-to-bootstrap-2/242544 "2022-10-21T00:38:55Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![spectre](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/spectre/32/274073_2.png) [@spectre](https://meta.discourse.org/u/spectre)
#### Post date: [October 21, 2022, 12:38am UTC](https://meta.discourse.org/t/failed-to-bootstrap-2/242544/1 "2022-10-21T00:38:55Z")

</div>

```plaintext
FAILED
--------------------
Pups::ExecError: if [-z "$LETSENCRYPT_ACCOUNT_EMAIL"]; then echo "LETSENCRYPT_ACCOUNT_EMAIL ENV variable is required and has not been set."; exit 1; fi failed with return #<Process::Status: pid 2068 exit 1>
Location of failure: /usr/local/lib/ruby/gems/2.7.0/gems/pups-1.1.1/lib/pups/exec_command.rb:117:in `spawn'
exec failed with the params {"cmd"=>["if [-z \"$LETSENCRYPT_ACCOUNT_EMAIL\"]; then echo \"LETSENCRYPT_ACCOUNT_EMAIL ENV variable is required and has not been set.\"; exit 1; fi", "/bin/bash -c \"if [[! \\\"$LETSENCRYPT_ACCOUNT_EMAIL\\\" =~ ([^@]+)@([^\\.]+) ]]; then echo \\\"LETSENCRYPT_ACCOUNT_EMAIL is not a valid email address\\\"; exit 1; fi\""]}
bootstrap failed with exit code 1
**FAILED TO BOOTSTRAP** please scroll up and look for earlier error messages, there may be more than one.

```

Nothing was up and this was the only error..! What is happening here??? Why does it have to be this much complicated??

Respect,

---

<div class="post-metadata">

### Author: ![darkpixlz](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/darkpixlz/32/549896_2.png) [@darkpixlz](https://meta.discourse.org/u/darkpixlz)
#### Post date: [October 21, 2022, 1:11am UTC](https://meta.discourse.org/t/failed-to-bootstrap-2/242544/2 "2022-10-21T01:11:44Z")

</div>

You haven’t added a LETSENCRYPT Account email.

Try running `./discourse-setup` again to reconfigure.

---

<div class="post-metadata">

### Author: ![spectre](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/spectre/32/274073_2.png) [@spectre](https://meta.discourse.org/u/spectre)
#### Post date: [October 21, 2022, 1:49am UTC](https://meta.discourse.org/t/failed-to-bootstrap-2/242544/3 "2022-10-21T01:49:58Z")

</div>

> [@darkpixlz](#):
>
> You haven’t added a LETSENCRYPT Account email.

You were right bro and I realized that while reading over and over the message and I did set and email and things went smooth this time but page says;

**Secure Connection Failed**

An error occurred during a connection to [meta.mypage.com](http://meta.mypage.com). PR\_END\_OF\_FILE\_ERROR

- The page you are trying to view cannot be shown because the authenticity of the received data could not be verified.

- Please contact the website owners to inform them of this problem.

What to do now with this on the front page of my [meta.mypage.com](http://meta.mypage.com)??

---

<div class="post-metadata">

### Author: ![darkpixlz](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/darkpixlz/32/549896_2.png) [@darkpixlz](https://meta.discourse.org/u/darkpixlz)
#### Post date: [October 21, 2022, 1:54am UTC](https://meta.discourse.org/t/failed-to-bootstrap-2/242544/4 "2022-10-21T01:54:19Z")

</div>

I think that’s not a Discourse issue.

---

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [October 21, 2022, 2:26am UTC](https://meta.discourse.org/t/failed-to-bootstrap-2/242544/5 "2022-10-21T02:26:09Z")

</div>

How many times did you try to rebuild this instance?

Have you tried a different browser to Firefox?

---

<div class="post-metadata">

### Author: ![spectre](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/spectre/32/274073_2.png) [@spectre](https://meta.discourse.org/u/spectre)
#### Post date: [October 21, 2022, 3:05am UTC](https://meta.discourse.org/t/failed-to-bootstrap-2/242544/6 "2022-10-21T03:05:24Z")

</div>

I’ve been trying several times with same error message!!

Ohhhhh, I get it 🙄 It must be the SSLs I pulled giving wrong output!

So, how long do I have to wait for this to clear out and things work out normal?? 😛

Thanks for bringing it to my attention dude! +1 rep added 🙂

---

<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: [October 21, 2022, 2:07pm UTC](https://meta.discourse.org/t/failed-to-bootstrap-2/242544/7 "2022-10-21T14:07:12Z")

</div>

> [@spectre](#):
>
> So, how long do I have to wait for this to clear out and things work out normal?

I think it’s a week. If you’re not in love with your subdomain, and you get your DNS right, you can just try again on the new subdomain.

---

<div class="post-metadata">

### Author: ![spectre](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/spectre/32/274073_2.png) [@spectre](https://meta.discourse.org/u/spectre)
#### Post date: [October 21, 2022, 9:16pm UTC](https://meta.discourse.org/t/failed-to-bootstrap-2/242544/8 "2022-10-21T21:16:25Z")

</div>

> [@pfaffman](#):
>
> If you’re not in love with your subdomain

Not really 😃

If I can get that subdomain in a click and done everything related with it. Can I then just change/ replace the yml setting only with new hostname, smtp, and email … etc?? Would it work and site will be up and running once app rebuilt??? I’m guessing yes, but need to ask an expert to believe 👀

---

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [October 22, 2022, 3:07am UTC](https://meta.discourse.org/t/failed-to-bootstrap-2/242544/9 "2022-10-22T03:07:34Z")

</div>

Pretty much, although there are some post rebuild steps for existing communities which rename.
