# Cant setup admin account

**URL:** https://meta.discourse.org/t/cant-setup-admin-account/235027
**Category:** Self-hosting
**Created:** [August 3, 2022, 4:43pm UTC](https://meta.discourse.org/t/cant-setup-admin-account/235027 "2022-08-03T16:43:25Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![grousx](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/grousx/32/269630_2.png) [@grousx](https://meta.discourse.org/u/grousx)
#### Post date: [August 3, 2022, 4:43pm UTC](https://meta.discourse.org/t/cant-setup-admin-account/235027/1 "2022-08-03T16:43:25Z")

</div>

I installed Discourse succesful. I can enter to the setup page with domain but in set username&password section i pressing “Register” but it doesnt redirecting.

 ![Screenshot_20220803_191521](https://global.discourse-cdn.com/meta/original/4X/e/3/3/e333ffeead6420977b343114f30a0815c9c3915c.jpeg)

---

<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: [August 3, 2022, 4:57pm UTC](https://meta.discourse.org/t/cant-setup-admin-account/235027/2 "2022-08-03T16:57:43Z")

</div>

You did a [standard install](https://meta.discourse.org/t/142537?silent=true)? Did you look at [Troubleshooting email on a new Discourse install](https://meta.discourse.org/t/troubleshooting-email-on-a-new-discourse-install/16326)?

---

<div class="post-metadata">

### Author: ![grousx](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/grousx/32/269630_2.png) [@grousx](https://meta.discourse.org/u/grousx)
#### Post date: [August 3, 2022, 6:03pm UTC](https://meta.discourse.org/t/cant-setup-admin-account/235027/3 "2022-08-03T18:03:25Z")

</div>

I did [standard install](https://meta.discourse.org/t/142537?silent=true). I am not sure about email setup cause sendinblue give my personal email adress as smtp username. Now i trying with MailGun.

---

<div class="post-metadata">

### Author: ![grousx](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/grousx/32/269630_2.png) [@grousx](https://meta.discourse.org/u/grousx)
#### Post date: [August 3, 2022, 6:11pm UTC](https://meta.discourse.org/t/cant-setup-admin-account/235027/4 "2022-08-03T18:11:33Z")

</div>

Now ot refusing connecting after clicked “Register”. No problem in email setup.

I got this error message end of rebuild:  
Also i am using ARM64.

```plaintext
FAILED
--------------------
Pups::ExecError: /bin/bash -c "if [[! \"$LETSENCRYPT_ACCOUNT_EMAIL\" =~ ([^@]+)@([^\.]+) ]]; then echo \"LETSENCRYPT_ACCOUNT_EMAIL is not a valid email address\"; exit 1; fi" failed with return #<Process::Status: pid 1036 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.

```

---

<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: [August 3, 2022, 6:13pm UTC](https://meta.discourse.org/t/cant-setup-admin-account/235027/5 "2022-08-03T18:13:37Z")

</div>

> [@grousx](#):
>
> ```plaintext
> please scroll up and look for earlier error messages,
> there may be more than one.
> 
> ```

Not sure what it might be. It might actually have to do with `LETSENCRYPT_ACCOUNT_EMAIL`, but it might not.

---

<div class="post-metadata">

### Author: ![grousx](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/grousx/32/269630_2.png) [@grousx](https://meta.discourse.org/u/grousx)
#### Post date: [August 3, 2022, 6:14pm UTC](https://meta.discourse.org/t/cant-setup-admin-account/235027/6 "2022-08-03T18:14:31Z")

</div>

I running ./discourse-doctor now.

---

<div class="post-metadata">

### Author: ![grousx](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/grousx/32/269630_2.png) [@grousx](https://meta.discourse.org/u/grousx)
#### Post date: [August 3, 2022, 6:25pm UTC](https://meta.discourse.org/t/cant-setup-admin-account/235027/7 "2022-08-03T18:25:51Z")

</div>

Ok, i solved problem now.

---

<div class="post-metadata">

### Author: ![JimPas](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jimpas/32/148179_2.png) [@JimPas](https://meta.discourse.org/u/JimPas)
#### Post date: [August 3, 2022, 7:04pm UTC](https://meta.discourse.org/t/cant-setup-admin-account/235027/8 "2022-08-03T19:04:19Z")

</div>

Can you share what the problem and solution was for others to see?  
I noticed in your OP that your password was too short. A minimum of 15 characters is required for an Admin account.

---

<div class="post-metadata">

### Author: ![grousx](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/grousx/32/269630_2.png) [@grousx](https://meta.discourse.org/u/grousx)
#### Post date: [August 3, 2022, 7:11pm UTC](https://meta.discourse.org/t/cant-setup-admin-account/235027/9 "2022-08-03T19:11:33Z")

</div>

Probably i didnt saw “password too short” text. That must be in a red box but i used Discourse doctor and changed my SMTP provider to the mailgun.

---

<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: [September 2, 2022, 7:12pm UTC](https://meta.discourse.org/t/cant-setup-admin-account/235027/10 "2022-09-02T19:12:05Z")

</div>

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