# Finishing installation manually?

**URL:** https://meta.discourse.org/t/finishing-installation-manually/102678
**Category:** Self-hosting
**Created:** [November 24, 2018, 7:27pm UTC](https://meta.discourse.org/t/finishing-installation-manually/102678 "2018-11-24T19:27:22Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![ylluminate](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ylluminate/32/115440_2.png) [@ylluminate](https://meta.discourse.org/u/ylluminate)
#### Post date: [November 24, 2018, 7:27pm UTC](https://meta.discourse.org/t/finishing-installation-manually/102678/1 "2018-11-24T19:27:22Z")

</div>

I’m having some trouble finalizing some SMTP issues on a server and want to move forward with finalizing the installation manually while I sort out the other issues since another team member would like to continue on with effort that doesn’t pertain to the SMTP server issues.

I was able to `activate` the admin user manually by doing this:

```plaintext
cd /var/discourse
./launcher enter app
rails c

# Inside Rails with Pry:
> u = User.find_by_username_or_email('admin_user@domain.tld')
> u.activate
> u.save
> quit

```

However when I visit the site, (eg `domain.tld`) I still get the “ **Congratulations, you installed Discourse!** ” page. I can still only press the [Register] button.

How do I manually trigger the system to move past this step so that normal system usage can begin?

---

<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 25, 2018, 4:43am UTC](https://meta.discourse.org/t/finishing-installation-manually/102678/2 "2018-11-25T04:43:00Z")

</div>

You need to have one user that is am administrator. After you enter the container.

```
rake admin:create

```

---

<div class="post-metadata">

### Author: ![ylluminate](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ylluminate/32/115440_2.png) [@ylluminate](https://meta.discourse.org/u/ylluminate)
#### Post date: [November 25, 2018, 5:05am UTC](https://meta.discourse.org/t/finishing-installation-manually/102678/3 "2018-11-25T05:05:13Z")

</div>

@pfaffman thanks for that. Worked great.

When I tried to use the same email address, it said the password was already set (as it was). I went ahead and changed the password via `rake admin:create` as per the prompt and then likewise granted admin privileges to the account. After this was done I revisited the main site and lo and behold Discourse came up properly and did not take me back to the setup process.

---

<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: [December 25, 2018, 5:05am UTC](https://meta.discourse.org/t/finishing-installation-manually/102678/4 "2018-12-25T05:05:23Z")

</div>

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