Forem Creators and Builders 🌱

Discussion on: Blank page after creating an admin account

Collapse
 
andy profile image
Andy Zhao

Hi @samuelsonokoi ! You'll need to make sure your ENV variable APP_DOMAIN is set to your domain. For example:

APP_DOMAIN: "forem.dev"
Enter fullscreen mode Exit fullscreen mode
Collapse
 
samuelsonokoi profile image
Samuelson Okoi

Thank you @andy i have updated the app domain and it passes that phase but I have another error, please find the log below.

[99fb0fc3-2ee3-4fa3-89b2-59e63b1a15c1] app/controllers/application_controller.rb:66:in `not_found'
[99fb0fc3-2ee3-4fa3-89b2-59e63b1a15c1] app/controllers/stories_controller.rb:85:in `redirect_to_changed_username_profile'
[99fb0fc3-2ee3-4fa3-89b2-59e63b1a15c1] app/controllers/stories_controller.rb:217:in `handle_user_index'
[99fb0fc3-2ee3-4fa3-89b2-59e63b1a15c1] app/controllers/stories_controller.rb:124:in `handle_user_or_organization_or_podcast_or_page_index'
[99fb0fc3-2ee3-4fa3-89b2-59e63b1a15c1] app/controllers/stories_controller.rb:29:in `index'
[99fb0fc3-2ee3-4fa3-89b2-59e63b1a15c1] app/middlewares/set_cookie_domain.rb:13:in `call'
F, [2021-06-01T19:49:59.952167 #147134] FATAL -- : [ca76a4d8-f66a-4d27-b3b7-cd466737c098]   
[ca76a4d8-f66a-4d27-b3b7-cd466737c098] ActionController::RoutingError (No route matches [GET] "/owa/auth/logon.aspx"):
[ca76a4d8-f66a-4d27-b3b7-cd466737c098]   
F, [2021-06-01T20:53:24.337002 #147134] FATAL -- : [feebdf2d-8e5d-4a93-a393-e0a01a499009]   
[feebdf2d-8e5d-4a93-a393-e0a01a499009] ActiveRecord::RecordNotFound (Couldn't find Podcast with [WHERE "podcasts"."id" IN (SELECT "podcast_episodes"."podcast_id" FROM "podcast_episodes" WHERE "podcast_episodes"."reachable" = $1) AND "podcasts"."published" = $2 AND "podcasts"."slug" = $3]):
[feebdf2d-8e5d-4a93-a393-e0a01a499009]   
[feebdf2d-8e5d-4a93-a393-e0a01a499009] app/controllers/stories_controller.rb:50:in `show'
[feebdf2d-8e5d-4a93-a393-e0a01a499009] app/middlewares/set_cookie_domain.rb:13:in `call'
F, [2021-06-01T21:39:29.006992 #147134] FATAL -- : [d2a515d8-3af2-4255-a1a3-196890eee557]   
[d2a515d8-3af2-4255-a1a3-196890eee557] ActiveRecord::RecordNotFound (Not Found):
[d2a515d8-3af2-4255-a1a3-196890eee557]   
[d2a515d8-3af2-4255-a1a3-196890eee557] app/controllers/application_controller.rb:66:in `not_found'
[d2a515d8-3af2-4255-a1a3-196890eee557] app/controllers/stories_controller.rb:85:in `redirect_to_changed_username_profile'
[d2a515d8-3af2-4255-a1a3-196890eee557] app/controllers/stories_controller.rb:217:in `handle_user_index'
[d2a515d8-3af2-4255-a1a3-196890eee557] app/controllers/stories_controller.rb:124:in `handle_user_or_organization_or_podcast_or_page_index'
[d2a515d8-3af2-4255-a1a3-196890eee557] app/controllers/stories_controller.rb:29:in `index'
[d2a515d8-3af2-4255-a1a3-196890eee557] app/middlewares/set_cookie_domain.rb:13:in `call'
F, [2021-06-01T21:43:36.026005 #147134] FATAL -- : [1b2f878f-6469-468a-856f-d4989b7c4bd1]   
[1b2f878f-6469-468a-856f-d4989b7c4bd1] ActionController::RoutingError (No route matches [GET] "/vendor/phpunit/phpunit/src/Util/PHP/eval-stdin.php"):
[1b2f878f-6469-468a-856f-d4989b7c4bd1]   
F, [2021-06-01T21:43:36.043689 #147134] FATAL -- : [9f8f411f-6c7c-4b15-be3d-d4a380d9812d]   
[9f8f411f-6c7c-4b15-be3d-d4a380d9812d] ActionController::RoutingError (No route matches [GET] "/api/jsonws/invoke"):
[9f8f411f-6c7c-4b15-be3d-d4a380d9812d]   
F, [2021-06-01T21:43:39.004287 #147134] FATAL -- : [c68924c7-93b7-4eab-80dc-5193d51de9cf]   
[c68924c7-93b7-4eab-80dc-5193d51de9cf] ActionController::RoutingError (No route matches [GET] "/vendor/phpunit/phpunit/src/Util/PHP/eval-stdin.php"):
[c68924c7-93b7-4eab-80dc-5193d51de9cf]   
F, [2021-06-01T21:43:39.018088 #147134] FATAL -- : [4f90c77e-4eb8-456a-9c6c-87313d469c99]   
[4f90c77e-4eb8-456a-9c6c-87313d469c99] ActionController::RoutingError (No route matches [GET] "/solr/admin/info/system"):
[4f90c77e-4eb8-456a-9c6c-87313d469c99]   
F, [2021-06-01T21:43:42.528522 #147134] FATAL -- : [da060153-3871-412c-a495-5afb17d7dd8b]   
[da060153-3871-412c-a495-5afb17d7dd8b] ActiveRecord::RecordNotFound (Not Found):
[da060153-3871-412c-a495-5afb17d7dd8b]   
[da060153-3871-412c-a495-5afb17d7dd8b] app/controllers/application_controller.rb:66:in `not_found'
[da060153-3871-412c-a495-5afb17d7dd8b] app/controllers/stories_controller.rb:85:in `redirect_to_changed_username_profile'
[da060153-3871-412c-a495-5afb17d7dd8b] app/controllers/stories_controller.rb:217:in `handle_user_index'
[da060153-3871-412c-a495-5afb17d7dd8b] app/controllers/stories_controller.rb:124:in `handle_user_or_organization_or_podcast_or_page_index'
[da060153-3871-412c-a495-5afb17d7dd8b] app/controllers/stories_controller.rb:29:in `index'
[da060153-3871-412c-a495-5afb17d7dd8b] app/middlewares/set_cookie_domain.rb:13:in `call'
F, [2021-06-01T21:43:45.099324 #147134] FATAL -- : [f3b9a9eb-b686-42d4-8f9a-caac3e0b8a31]   
[f3b9a9eb-b686-42d4-8f9a-caac3e0b8a31] ActiveRecord::RecordNotFound (Not Found):
[f3b9a9eb-b686-42d4-8f9a-caac3e0b8a31]   
[f3b9a9eb-b686-42d4-8f9a-caac3e0b8a31] app/controllers/application_controller.rb:66:in `not_found'
[f3b9a9eb-b686-42d4-8f9a-caac3e0b8a31] app/controllers/stories_controller.rb:85:in `redirect_to_changed_username_profile'
[f3b9a9eb-b686-42d4-8f9a-caac3e0b8a31] app/controllers/stories_controller.rb:217:in `handle_user_index'
[f3b9a9eb-b686-42d4-8f9a-caac3e0b8a31] app/controllers/stories_controller.rb:124:in `handle_user_or_organization_or_podcast_or_page_index'
[f3b9a9eb-b686-42d4-8f9a-caac3e0b8a31] app/controllers/stories_controller.rb:29:in `index'
[f3b9a9eb-b686-42d4-8f9a-caac3e0b8a31] app/middlewares/set_cookie_domain.rb:13:in `call'
F, [2021-06-01T21:43:52.674505 #147134] FATAL -- : [bb148a13-56d1-4b4f-9dfd-b6e437416efd]   
[bb148a13-56d1-4b4f-9dfd-b6e437416efd] ActiveRecord::RecordNotFound (Couldn't find Podcast with [WHERE "podcasts"."id" IN (SELECT "podcast_episodes"."podcast_id" FROM "podcast_episodes" WHERE "podcast_episodes"."reachable" = $1) AND "podcasts"."published" = $2 AND "podcasts"."slug" = $3]):
[bb148a13-56d1-4b4f-9dfd-b6e437416efd]   
[bb148a13-56d1-4b4f-9dfd-b6e437416efd] app/controllers/stories_controller.rb:50:in `show'
[bb148a13-56d1-4b4f-9dfd-b6e437416efd] app/middlewares/set_cookie_domain.rb:13:in `call'
F, [2021-06-01T21:43:52.775996 #157237] FATAL -- : [e2a74739-cb3c-4cca-a7db-0ac35b31221d]   
[e2a74739-cb3c-4cca-a7db-0ac35b31221d] ActiveRecord::RecordNotFound (Couldn't find Podcast with [WHERE "podcasts"."id" IN (SELECT "podcast_episodes"."podcast_id" FROM "podcast_episodes" WHERE "podcast_episodes"."reachable" = $1) AND "podcasts"."published" = $2 AND "podcasts"."slug" = $3]):
[e2a74739-cb3c-4cca-a7db-0ac35b31221d]   
[e2a74739-cb3c-4cca-a7db-0ac35b31221d] app/controllers/stories_controller.rb:50:in `show'
[e2a74739-cb3c-4cca-a7db-0ac35b31221d] app/middlewares/set_cookie_domain.rb:13:in `call'
F, [2021-06-02T02:01:12.711802 #158334] FATAL -- : [3450d6fd-3510-4655-a284-65dc196326ab]   
[3450d6fd-3510-4655-a284-65dc196326ab] ActionController::RoutingError (No route matches [GET] "/sitemap.xml.gz"):
[3450d6fd-3510-4655-a284-65dc196326ab]   
F, [2021-06-02T03:13:09.644335 #158334] FATAL -- : [cfb95d21-57bb-4cfb-baea-95b24ed022f8]   
[cfb95d21-57bb-4cfb-baea-95b24ed022f8] ActionController::RoutingError (No route matches [GET] "/vendor/phpunit/phpunit/src/Util/PHP/eval-stdin.php"):
[cfb95d21-57bb-4cfb-baea-95b24ed022f8]   
F, [2021-06-02T03:13:12.225227 #158334] FATAL -- : [e541268a-d29d-4190-ae73-cccfa44fa979]   
[e541268a-d29d-4190-ae73-cccfa44fa979] ActionController::RoutingError (No route matches [POST] "/mifs/.;/services/LogService"):
[e541268a-d29d-4190-ae73-cccfa44fa979]   
F, [2021-06-02T03:13:14.816469 #158334] FATAL -- : [209ea133-cbc7-46e5-b73b-5ee8986059d3]   
[209ea133-cbc7-46e5-b73b-5ee8986059d3] ActionController::RoutingError (No route matches [GET] "/wp-content/plugins/wp-file-manager/readme.txt"):
[209ea133-cbc7-46e5-b73b-5ee8986059d3]   
F, [2021-06-02T03:13:17.232119 #158334] FATAL -- : [5665c7b8-2d7c-4ba4-87ae-45661742df44]   
[5665c7b8-2d7c-4ba4-87ae-45661742df44] ActionController::RoutingError (No route matches [POST] "/api/jsonws/invoke"):
[5665c7b8-2d7c-4ba4-87ae-45661742df44]   
F, [2021-06-02T03:13:19.400537 #158334] FATAL -- : [62666a6f-ffd6-4bbe-af47-741c9810ae2a]   
[62666a6f-ffd6-4bbe-af47-741c9810ae2a] ActionController::RoutingError (No route matches [POST] "/Autodiscover/Autodiscover.xml"):
[62666a6f-ffd6-4bbe-af47-741c9810ae2a]   
F, [2021-06-02T03:13:22.389919 #158334] FATAL -- : [df683cee-c6fd-4656-afa1-4198f8455d5f]   
[df683cee-c6fd-4656-afa1-4198f8455d5f] ActionController::RoutingError (No route matches [POST] "/vendor/phpunit/phpunit/src/Util/PHP/eval-stdin.php"):
[df683cee-c6fd-4656-afa1-4198f8455d5f]   
F, [2021-06-02T03:31:40.532452 #158334] FATAL -- : [3bd633f2-d4be-4213-83d1-d2091a378f8d]   
[3bd633f2-d4be-4213-83d1-d2091a378f8d] ActionController::RoutingError (No route matches [POST] "/"):
[3bd633f2-d4be-4213-83d1-d2091a378f8d]   
F, [2021-06-02T05:24:47.379527 #158334] FATAL -- : [215e1f33-c3af-4834-b2d4-fea702e7ca3b]   
[215e1f33-c3af-4834-b2d4-fea702e7ca3b] ActionController::RoutingError (No route matches [GET] "/vendor/phpunit/phpunit/src/Util/PHP/eval-stdin.php"):
[215e1f33-c3af-4834-b2d4-fea702e7ca3b]   
F, [2021-06-02T05:24:48.611530 #158334] FATAL -- : [11468ffa-ea81-4230-ab43-49af8677c52a]   
[11468ffa-ea81-4230-ab43-49af8677c52a] ActionDispatch::Http::MimeNegotiation::InvalidType ("%{#context['com.opensymphony.xwork2.dispatcher.httpservletresponse'].addheader('thzmky3o'" is not a valid MIME type):
[11468ffa-ea81-4230-ab43-49af8677c52a]   
[11468ffa-ea81-4230-ab43-49af8677c52a] app/middlewares/set_cookie_domain.rb:13:in `call'
F, [2021-06-02T05:50:53.170805 #158334] FATAL -- : [7eb69077-eeab-4285-a4be-a1a5af5f850f]   
[7eb69077-eeab-4285-a4be-a1a5af5f850f] ActionController::RoutingError (No route matches [POST] "/"):
[7eb69077-eeab-4285-a4be-a1a5af5f850f]   
F, [2021-06-02T07:42:42.741208 #176343] FATAL -- : [71489c5e-59d9-428e-8154-f5da55bb91a3]   
[71489c5e-59d9-428e-8154-f5da55bb91a3] ActionController::RoutingError (No route matches [GET] "/owa/auth/logon.aspx"):
[71489c5e-59d9-428e-8154-f5da55bb91a3]
Enter fullscreen mode Exit fullscreen mode
Collapse
 
andy profile image
Andy Zhao

Hmm, it looks like you have some 404s happening. After setting the domain, does visiting your domain home page work?

Thread Thread
 
sharplyadmin profile image
Sharply Admin

Yes it works and I'm presented with the email account to create an admin profile. On filling the form and using the forem_secret_key I used in hosting, redirects me to that blank page.