# Need Help Troubleshooting an "Internal Server Error" message When New Topic is posted

**URL:** https://meta.discourse.org/t/need-help-troubleshooting-an-internal-server-error-message-when-new-topic-is-posted/103941
**Category:** Support
**Created:** [December 10, 2018, 7:45pm UTC](https://meta.discourse.org/t/need-help-troubleshooting-an-internal-server-error-message-when-new-topic-is-posted/103941 "2018-12-10T19:45:06Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![SouperC](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/souperc/32/62875_2.png) [@SouperC](https://meta.discourse.org/u/SouperC)
#### Post date: [December 10, 2018, 7:45pm UTC](https://meta.discourse.org/t/need-help-troubleshooting-an-internal-server-error-message-when-new-topic-is-posted/103941/1 "2018-12-10T19:45:06Z")

</div>

Hey guys. Since I upgraded our Discourse instance v2.2.0.beta5 +35 (or possibly after [I tried to update the subscription settings for the general category](https://meta.discourse.org/t/how-do-i-set-category-tracking-level-defaults-historically/53165/50) I’ve had some reports from users that they intermittently get an "internal Server Error Message when posting a new topic.. Of course, I haven’t experienced this yet myself.

 ![image](https://global.discourse-cdn.com/meta/original/3X/e/b/ebbecdfd7cfca4717839e4c839f4a4df33df582e.png)

At this point I haven’t been able to isolate any variables or commonalities that these users might have.  
At first I took a look at top, and it looked like the server (Two cores) was busy, but I would have thought it had enough overhead.

 ![image](https://global.discourse-cdn.com/meta/original/3X/8/b/8bbf3cde4dc794a49bcaa8bfef04382870215573.png)

Here’s my error logs for today:

 ![image](https://global.discourse-cdn.com/meta/original/3X/4/6/4636e32462444de97b0ae6d3529a02f3d8ca4d56.png)

So I rebooted the server, users still report having the same issue, but CPU utilization is minimal

 ![image](https://global.discourse-cdn.com/meta/original/3X/d/6/d6e18a9eab721e100ca830238e0001a11a7d78b1.png)

---

<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: [December 10, 2018, 7:47pm UTC](https://meta.discourse.org/t/need-help-troubleshooting-an-internal-server-error-message-when-new-topic-is-posted/103941/2 "2018-12-10T19:47:09Z")

</div>

This was a bug that was fixed as per [NoMethodError in force\_edit\_last\_validator](https://meta.discourse.org/t/nomethoderror-in-force-edit-last-validator/103378)

Updating again will fix the problem.

---

<div class="post-metadata">

### Author: ![SouperC](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/souperc/32/62875_2.png) [@SouperC](https://meta.discourse.org/u/SouperC)
#### Post date: [December 10, 2018, 7:50pm UTC](https://meta.discourse.org/t/need-help-troubleshooting-an-internal-server-error-message-when-new-topic-is-posted/103941/3 "2018-12-10T19:50:08Z")

</div>

Thanks so much. I’m not sure how I missed that, I searched I promise.

To update do I just run ./launcher rebuild app?  
I’m not being prompted that an update is not available via the admin panel.

---

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [December 10, 2018, 7:52pm UTC](https://meta.discourse.org/t/need-help-troubleshooting-an-internal-server-error-message-when-new-topic-is-posted/103941/4 "2018-12-10T19:52:26Z")

</div>

> [@SouperC](#):
>
> launcher rebuild app

You can do that, or manually visit `<forum>/admin/upgrade`

---

<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: [December 10, 2018, 7:59pm UTC](https://meta.discourse.org/t/need-help-troubleshooting-an-internal-server-error-message-when-new-topic-is-posted/103941/5 "2018-12-10T19:59:03Z")

</div>

> [@SouperC](#):
>
> Thanks so much. I’m not sure how I missed that, I searched I promise.

Don’t stress, I say this ALL THE TIME. 🙂

In the future, searching for a more specific string will help - `Internal Server Error` is VERY generic, but you can find good terms to use as your search key from the error you posted:

![image](https://global.discourse-cdn.com/meta/original/3X/c/a/ca2f539f300f9a56a473ed4a7f8aab07746299bd.png)

searching for `undefined method posts "force_edit_last_validator"` would have done the trick!

---

<div class="post-metadata">

### Author: ![SouperC](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/souperc/32/62875_2.png) [@SouperC](https://meta.discourse.org/u/SouperC)
#### Post date: [December 10, 2018, 8:00pm UTC](https://meta.discourse.org/t/need-help-troubleshooting-an-internal-server-error-message-when-new-topic-is-posted/103941/6 "2018-12-10T20:00:39Z")

</div>

> [@supermathie](#):
>
> `Internal Server Error` is VERY generic

Oh for sure. I wasnt sure which line(s) (if any) in the logs pertained to the issue. But in retrospect I could have tried various lines and seen if I got any hits.

---

<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: [December 11, 2018, 1:48am UTC](https://meta.discourse.org/t/need-help-troubleshooting-an-internal-server-error-message-when-new-topic-is-posted/103941/7 "2018-12-11T01:48:51Z")

</div>

👍 The more you do it, the better you get at figuring out how to do it.

Turning off everything except Fatal is also a good place to start:

![image](https://global.discourse-cdn.com/meta/original/3X/c/2/c23ad1c617e93278a58366dd4605fa94bad71ac2.png)

---

<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: [January 10, 2019, 1:51am UTC](https://meta.discourse.org/t/need-help-troubleshooting-an-internal-server-error-message-when-new-topic-is-posted/103941/8 "2019-01-10T01:51:41Z")

</div>

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