# Discourse none admin side not working returning error 500

**URL:** <https://meta.discourse.org/t/discourse-none-admin-side-not-working-returning-error-500/72314>\
**Category:** Product Support\
**Created:** [18 Octubre, 2017 07:38 UTC](https://meta.discourse.org/t/discourse-none-admin-side-not-working-returning-error-500/72314 "2017-10-18T07:38:21Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![edgar4](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/edgar4/32/120614_2.png) [@edgar4](https://meta.discourse.org/u/edgar4)\
**Post date:** [18 Octubre, 2017 07:38 UTC](https://meta.discourse.org/t/discourse-none-admin-side-not-working-returning-error-500/72314/1 "2017-10-18T07:38:21Z")

</div>

we have a private discourse community hosted here [http://discourse.curtisbrowncreative.co.uk/](http://discourse.curtisbrowncreative.co.uk/)  
now what is interesting is that nothing on that is not on /admin/ route works  
for example the main page it self or any other route works  
they all return error 500.

The production.log has this in it

```
Completed 404 Not Found in 56ms (Views: 1.1ms | ActiveRecord: 20.5ms)
Started GET "/extra-locales/admin" for 105.231.204.251 at 2017-10-18 07:02:44 +0000
Processing by ExtraLocalesController#show as */*
  Parameters: {"bundle"=>"admin"}
  Rendering text template
  Rendered text template (0.0ms)
Completed 200 OK in 28ms (Views: 1.4ms | ActiveRecord: 5.3ms)
Started GET "/c/write-to-the-end-of-your-novel/introduction-and-pace" for 105.231.204.251 at 2017-10-18 07:03:04 +0000
Processing by ListController#parent_category_category_latest as HTML
  Parameters: {"parent_category"=>"write-to-the-end-of-your-novel", "category"=>"introduction-and-pace"}
Completed 500 Internal Server Error in 157ms (ActiveRecord: 59.3ms)
NoMethodError (undefined method `name' for nil:NilClass)
/var/www/discourse/app/models/site_setting.rb:61:in `homepage'
Started GET "/c/write-to-the-end-of-your-novel/introduction-and-pace" for 105.231.204.251 at 2017-10-18 07:03:29 +0000
Processing by ListController#parent_category_category_latest as HTML
  Parameters: {"parent_category"=>"write-to-the-end-of-your-novel", "category"=>"introduction-and-pace"}
Completed 500 Internal Server Error in 117ms (ActiveRecord: 45.4ms)
NoMethodError (undefined method `name' for nil:NilClass)
/var/www/discourse/app/models/site_setting.rb:61:in `homepage'
Started GET "/" for 105.231.204.251 at 2017-10-18 07:03:38 +0000
NoMethodError (undefined method `name' for nil:NilClass)
/var/www/discourse/app/models/site_setting.rb:61:in `homepage'
Started GET "/c/uncategorized" for 105.231.204.251 at 2017-10-18 07:03:48 +0000
Processing by ListController#category_default as HTML
  Parameters: {"category"=>"uncategorized"}
Completed 500 Internal Server Error in 139ms (ActiveRecord: 60.6ms)
NoMethodError (undefined method `name' for nil:NilClass)
/var/www/discourse/app/models/site_setting.rb:61:in `homepage' 

```

the routes are similar for other routes.

The only change that happened was a domain change following this [Change the domain name or rename your Discourse](https://meta.discourse.org/t/change-the-domain-name-or-rename-my-discourse/16098)

---

_[View the full topic](https://meta.discourse.org/t/discourse-none-admin-side-not-working-returning-error-500/72314)._
