# 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:** Support
**Created:** [October 18, 2017, 7:38am 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:** 10
**Page:** 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: [October 18, 2017, 7:38am 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)

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [October 18, 2017, 8:04am UTC](https://meta.discourse.org/t/discourse-none-admin-side-not-working-returning-error-500/72314/2 "2017-10-18T08:04:07Z")

</div>

Disable all third party plugins. Disable all CSS / HTML customizations. Then rebuild.

---

<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: [October 18, 2017, 8:28am UTC](https://meta.discourse.org/t/discourse-none-admin-side-not-working-returning-error-500/72314/3 "2017-10-18T08:28:45Z")

</div>

hi,  
first thank you for such a quick response and suggestion to a fix.  
just tried the fix you recommended (Disable all CSS / HTML customizations) it did not work, we also have not installed any third party plugins.  
i also tried to load the site in [safe mode](https://meta.discourse.org/t/53504?silent=true) it did not work

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [October 18, 2017, 8:41am UTC](https://meta.discourse.org/t/discourse-none-admin-side-not-working-returning-error-500/72314/4 "2017-10-18T08:41:54Z")

</div>

The site loads fine without errors for me: [http://discourse.curtisbrowncreative.co.uk/](http://discourse.curtisbrowncreative.co.uk/)

Do you mean there are only errors for logged in users?

---

<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: [October 18, 2017, 9:13am UTC](https://meta.discourse.org/t/discourse-none-admin-side-not-working-returning-error-500/72314/5 "2017-10-18T09:13:55Z")

</div>

Hi,  
we have actually moved the site to a new server and installed a new discourse instance the troubled instance is hosted here 178.62.101.108

---

<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: [October 18, 2017, 12:12pm UTC](https://meta.discourse.org/t/discourse-none-admin-side-not-working-returning-error-500/72314/6 "2017-10-18T12:12:15Z")

</div>

So you solved the problem with a clean install?

---

<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: [October 19, 2017, 4:42pm UTC](https://meta.discourse.org/t/discourse-none-admin-side-not-working-returning-error-500/72314/7 "2017-10-19T16:42:37Z")

</div>

Hi  
No we have not fixed the issue,we changed server and did a clean install because we could not afford the downtime as a result of the issue.  
We are still trying to resolve the issue and so far have madr no proggress

---

<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: [November 26, 2019, 2:29pm UTC](https://meta.discourse.org/t/discourse-none-admin-side-not-working-returning-error-500/72314/8 "2019-11-26T14:29:56Z")

</div>



---

<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: [August 30, 2023, 3:25am UTC](https://meta.discourse.org/t/discourse-none-admin-side-not-working-returning-error-500/72314/9 "2023-08-30T03:25:14Z")

</div>



---

<div class="post-metadata">

### Author: ![supermathie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/supermathie/32/507518_2.png) [@supermathie](https://meta.discourse.org/u/supermathie)
#### Post date: [August 31, 2023, 3:26am UTC](https://meta.discourse.org/t/discourse-none-admin-side-not-working-returning-error-500/72314/10 "2023-08-31T03:26:05Z")

</div>

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