# Application not opening after admin:create

**URL:** https://meta.discourse.org/t/application-not-opening-after-admin-create/164179
**Category:** Self-hosting
**Created:** [September 16, 2020, 8:19am UTC](https://meta.discourse.org/t/application-not-opening-after-admin-create/164179 "2020-09-16T08:19:34Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![Vijay\_Vantipalli](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vijay_vantipalli/32/192329_2.png) [@Vijay\_Vantipalli](https://meta.discourse.org/u/Vijay_Vantipalli)
#### Post date: [September 16, 2020, 8:19am UTC](https://meta.discourse.org/t/application-not-opening-after-admin-create/164179/1 "2020-09-16T08:19:34Z")

</div>

Hi Team

I have containerised and deployed the application. It was showing the initial page where its asking to register a user either using console or configuration file. After I tried creating admin user using cli and when I reload the application its showing up a blank page in the browser.

Also instead of logging in to the docker where can I provide admin configuration so that application loads up directly?

Thank you

---

<div class="post-metadata">

### Author: ![IAmGav](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/iamgav/32/235598_2.png) [@IAmGav](https://meta.discourse.org/u/IAmGav)
#### Post date: [September 16, 2020, 8:29am UTC](https://meta.discourse.org/t/application-not-opening-after-admin-create/164179/2 "2020-09-16T08:29:16Z")

</div>

Hey Vijay,

Which install process did you use? [the standard one](https://meta.discourse.org/t/discourse-official-standard-installation/142537) ?

if you added an developer email address in the app.yml file, then all you need to do once discourse is up and running, to register with that email address.

You dont really need to log in to the docker to do anything if discourse is correctly setup and the correct details is in the app.yml file.

---

<div class="post-metadata">

### Author: ![Vijay\_Vantipalli](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vijay_vantipalli/32/192329_2.png) [@Vijay\_Vantipalli](https://meta.discourse.org/u/Vijay_Vantipalli)
#### Post date: [September 16, 2020, 8:44am UTC](https://meta.discourse.org/t/application-not-opening-after-admin-create/164179/3 "2020-09-16T08:44:15Z")

</div>

Hey Gavin

Ive used cloned the git repo and created docker container myself. I am not using the official docker rapo. So I cloned the discourse repo and modified the configuration according to our requirement and containerised the application.  
Where can I find the app.yml file?

---

<div class="post-metadata">

### Author: ![IAmGav](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/iamgav/32/235598_2.png) [@IAmGav](https://meta.discourse.org/u/IAmGav)
#### Post date: [September 16, 2020, 8:57am UTC](https://meta.discourse.org/t/application-not-opening-after-admin-create/164179/4 "2020-09-16T08:57:40Z")

</div>

Thank you for the extra info.

the app.yml is with the [standard install](https://meta.discourse.org/t/142537?silent=true).

If you using a git repo, you can find the config file at config/site\_settings.yml

I would suggest you look in the log files for the errors and work from there.

I also would not be able to assist you any further as my experience in the docker env is limited. maybe setup a [standard install](https://meta.discourse.org/t/142537?silent=true) test discourse somewhere and see how it’s all put together and then you can adjust your custom install.

---

<div class="post-metadata">

### Author: ![Vijay\_Vantipalli](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vijay_vantipalli/32/192329_2.png) [@Vijay\_Vantipalli](https://meta.discourse.org/u/Vijay_Vantipalli)
#### Post date: [September 16, 2020, 9:19am UTC](https://meta.discourse.org/t/application-not-opening-after-admin-create/164179/5 "2020-09-16T09:19:01Z")

</div>

One last help Gavin. Im new to ruby development. So where can I check the log file? Also what exact values need to be changed in the site\_settings.yml?

---

<div class="post-metadata">

### Author: ![IAmGav](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/iamgav/32/235598_2.png) [@IAmGav](https://meta.discourse.org/u/IAmGav)
#### Post date: [September 16, 2020, 9:31am UTC](https://meta.discourse.org/t/application-not-opening-after-admin-create/164179/6 "2020-09-16T09:31:38Z")

</div>

there is a folder called `log/`

looking at my config files, it’s in discourse.conf and not site settings. sorry

`developer_emails = 'email address'`

---

<div class="post-metadata">

### Author: ![Vijay\_Vantipalli](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vijay_vantipalli/32/192329_2.png) [@Vijay\_Vantipalli](https://meta.discourse.org/u/Vijay_Vantipalli)
#### Post date: [September 16, 2020, 10:14am UTC](https://meta.discourse.org/t/application-not-opening-after-admin-create/164179/7 "2020-09-16T10:14:13Z")

</div>

Processing by FinishInstallationController#register as HTML  
Parameters: {“utf8”=\>“✓”, “authenticity\_token”=\>“NNdsqJauwsv9kVbxrVANoAtIAkB7fWAeGf1xe96Erw06kkAnkkwwOO5MUuoaLYAAJtPrrU3FOeNFjT8pDH87bA==”, “email”=\>“[vijay.vantipali@byjus.com](mailto:vijay.vantipali@byjus.com)”, “username”=\>“vijayvantipalli”, “password”=\>“[FILTERED]”, “commit”=\>“Register”}  
User Load (1.6ms) SELECT “users”.\* FROM “users” INNER JOIN “user\_emails” ON “user\_emails”.“user\_id” = “users”.“id” WHERE (lower(user\_emails.email) IN (‘vijay.vantipali@byjus.com’)) ORDER BY “users”.“id” ASC LIMIT 1  
(0.8ms) BEGIN  
ScreenedEmail Load (0.9ms) SELECT “screened\_emails”.\* FROM “screened\_emails” ORDER BY “screened\_emails”.“created\_at” DESC LIMIT 100  
UserEmail Exists? (0.9ms) SELECT 1 AS one FROM “user\_emails” WHERE (lower(email) = ‘vijay.vantipali@byjus.com’) LIMIT 1  
(0.7ms) ROLLBACK  
Rendering finish\_installation/register.html.erb within layouts/finish\_installation  
Rendered finish\_installation/register.html.erb within layouts/finish\_installation (Duration: 0.7ms | Allocations: 579)  
(1.0ms) SELECT “themes”.“color\_scheme\_id” FROM “themes” WHERE “themes”.“id” = 2  
Rendered layouts/\_head.html.erb (Duration: 1.6ms | Allocations: 295)  
Completed 200 OK in 24ms (Views: 2.2ms | ActiveRecord: 5.9ms | Allocations: 5521)  
Started GET “/status” for 172.31.29.93 at 2020-09-16 15:41:28 +0530  
Started GET “/status” for 172.31.35.253 at 2020-09-16 15:41:28 +0530  
Processing by StatusController#index as JSON  
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms | Allocations: 1258)  
Processing by StatusController#index as JSON  
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms | Allocations: 336)  
Started GET “/status” for 172.31.4.78 at 2020-09-16 15:41:28 +0530  
Processing by StatusController#index as JSON  
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms | Allocations: 324)  
Started GET “/status” for 172.31.29.93 at 2020-09-16 15:41:58 +0530  
Started GET “/status” for 172.31.35.253 at 2020-09-16 15:41:58 +0530  
Processing by StatusController#index as JSON  
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms | Allocations: 1282)  
Processing by StatusController#index as JSON  
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms | Allocations: 336)  
Started GET “/status” for 172.31.4.78 at 2020-09-16 15:41:58 +0530

I am getting the above log when I try to register a user on discourse site after modifying the email address in developer\_emails as mentioned above. But the page is not moving forward nor login page is appearing when I run the application inside my docker. Any help on this?

---

<div class="post-metadata">

### Author: ![IAmGav](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/iamgav/32/235598_2.png) [@IAmGav](https://meta.discourse.org/u/IAmGav)
#### Post date: [September 16, 2020, 10:18am UTC](https://meta.discourse.org/t/application-not-opening-after-admin-create/164179/8 "2020-09-16T10:18:39Z")

</div>

did you restart the docker after making changes to the conf file ?

---

<div class="post-metadata">

### Author: ![Vijay\_Vantipalli](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vijay_vantipalli/32/192329_2.png) [@Vijay\_Vantipalli](https://meta.discourse.org/u/Vijay_Vantipalli)
#### Post date: [September 16, 2020, 10:21am UTC](https://meta.discourse.org/t/application-not-opening-after-admin-create/164179/9 "2020-09-16T10:21:14Z")

</div>

Yes Gavin. I redeployed the container after changing the conf file.
