# Internal server error while loading admin users page

**URL:** https://meta.discourse.org/t/internal-server-error-while-loading-admin-users-page/25031
**Category:** Bug
**Created:** [February 9, 2015, 6:23pm UTC](https://meta.discourse.org/t/internal-server-error-while-loading-admin-users-page/25031 "2015-02-09T18:23:13Z")
**Posts on this page:** 15
**Page:** 1

<div class="post-metadata">

### Author: ![tyildir](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tyildir/32/115353_2.png) [@tyildir](https://meta.discourse.org/u/tyildir)
#### Post date: [February 9, 2015, 6:23pm UTC](https://meta.discourse.org/t/internal-server-error-while-loading-admin-users-page/25031/1 "2015-02-09T18:23:13Z")

</div>

This happens quite frequently. Only on random occasions do I get to access the admin users page. Below are the screenshots of the two console errors.

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

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

---

<div class="post-metadata">

### Author: ![elberet](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/elberet/32/122404_2.png) [@elberet](https://meta.discourse.org/u/elberet)
#### Post date: [February 9, 2015, 6:48pm UTC](https://meta.discourse.org/t/internal-server-error-while-loading-admin-users-page/25031/2 "2015-02-09T18:48:24Z")

</div>

Did you check the server-side log (see `/logs`) yet? That should be rather more helpful then the uglified JS stacktrace…

---

<div class="post-metadata">

### Author: ![tyildir](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tyildir/32/115353_2.png) [@tyildir](https://meta.discourse.org/u/tyildir)
#### Post date: [February 9, 2015, 7:08pm UTC](https://meta.discourse.org/t/internal-server-error-while-loading-admin-users-page/25031/3 "2015-02-09T19:08:46Z")

</div>

Unfortunately I am not a developer myself. In fact I have not touched our Digital Ocean instance since it was set up by the Discourse team. Perhaps a member of the team can have a look at the logs? (I believe that they have access to our account.)

---

<div class="post-metadata">

### Author: ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)
#### Post date: [February 9, 2015, 7:32pm UTC](https://meta.discourse.org/t/internal-server-error-while-loading-admin-users-page/25031/4 "2015-02-09T19:32:48Z")

</div>

Any site admin account can view `/logs`, so you should be able to see them.

---

<div class="post-metadata">

### Author: ![tyildir](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tyildir/32/115353_2.png) [@tyildir](https://meta.discourse.org/u/tyildir)
#### Post date: [February 9, 2015, 7:48pm UTC](https://meta.discourse.org/t/internal-server-error-while-loading-admin-users-page/25031/5 "2015-02-09T19:48:34Z")

</div>

Alright, now I get what you mean! Here are the log screenshots:

 ![](https://global.discourse-cdn.com/meta/original/3X/6/2/62a3e4c743bb6d4f4a018470c686aed93118487d.png) 

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

Some of these errors may be related to the other bug report though: [https://meta.discourse.org/t/internal-server-error-while-trying-to-delete-empty-categories/25032/1](https://meta.discourse.org/t/internal-server-error-while-trying-to-delete-empty-categories/25032/1)

---

<div class="post-metadata">

### Author: ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)
#### Post date: [February 9, 2015, 8:00pm UTC](https://meta.discourse.org/t/internal-server-error-while-loading-admin-users-page/25031/6 "2015-02-09T20:00:55Z")

</div>

You’ve got `ENOMEM`s in there, you need to upgrade the droplet for more RAM.

How much traffic are you getting, how much RAM is the DO droplet?

Also looks like we’ve just caught a translations bug!

---

<div class="post-metadata">

### Author: ![tyildir](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tyildir/32/115353_2.png) [@tyildir](https://meta.discourse.org/u/tyildir)
#### Post date: [February 9, 2015, 8:18pm UTC](https://meta.discourse.org/t/internal-server-error-while-loading-admin-users-page/25031/7 "2015-02-09T20:18:22Z")

</div>

We have 2 GB RAM. We don’t get much traffic. (Perhaps DO does not provide stable and consistent service? Or something in the code makes the RAM usage explode? Just guessing.)

Here are the DO stats:

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

---

<div class="post-metadata">

### Author: ![elberet](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/elberet/32/122404_2.png) [@elberet](https://meta.discourse.org/u/elberet)
#### Post date: [February 9, 2015, 8:47pm UTC](https://meta.discourse.org/t/internal-server-error-while-loading-admin-users-page/25031/8 "2015-02-09T20:47:56Z")

</div>

None of these graphs show your droplet’s RAM usage… which seems to be the problem here.

---

<div class="post-metadata">

### Author: ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)
#### Post date: [February 9, 2015, 9:01pm UTC](https://meta.discourse.org/t/internal-server-error-while-loading-admin-users-page/25031/9 "2015-02-09T21:01:44Z")

</div>

> [@tyildir](#):
>
> Or something in the code makes the RAM usage explode?

That’s what I’m leaning towards:

> [@Memory is running out and Discourse stops working](https://meta.discourse.org/t/low-memory-imagemagick-white-pages/25038/):
>
> I like many existing users I have been experiencing a combination of these issues: Low memory errors ImageMagicK message in admin panel. [image] White pages / instability This post / topic is a dump of available information before I restart the instance - so it might help track down the problem. ###System 2GB Digital Ocean instance with 2GB Swap - single site running in Docker. ###History Earlier this week I restarted my Discourse instance using ./launcher restart app to resolve my then a…

---

<div class="post-metadata">

### Author: ![tyildir](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tyildir/32/115353_2.png) [@tyildir](https://meta.discourse.org/u/tyildir)
#### Post date: [February 9, 2015, 9:07pm UTC](https://meta.discourse.org/t/internal-server-error-while-loading-admin-users-page/25031/10 "2015-02-09T21:07:26Z")

</div>

Unfortunately DO still does not have the RAM graph, they seem to be working on it though: [https://digitalocean.uservoice.com/forums/136585-digitalocean/suggestions/4326298-add-ram-disk-usage-to-resource-graphs](https://digitalocean.uservoice.com/forums/136585-digitalocean/suggestions/4326298-add-ram-disk-usage-to-resource-graphs)

---

<div class="post-metadata">

### Author: ![tyildir](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tyildir/32/115353_2.png) [@tyildir](https://meta.discourse.org/u/tyildir)
#### Post date: [February 9, 2015, 9:09pm UTC](https://meta.discourse.org/t/internal-server-error-while-loading-admin-users-page/25031/11 "2015-02-09T21:09:56Z")

</div>

Interesting, we are probably experiencing the same problem. We too get the ImageMagicK message in the admin panel (in Turkish):

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

What do you suggest us to do? Should we upgrade our droplet or simply wait for this problem to be resolved?

The issue is quite critical since it brings the whole website down.

---

<div class="post-metadata">

### Author: ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)
#### Post date: [February 9, 2015, 9:10pm UTC](https://meta.discourse.org/t/internal-server-error-while-loading-admin-users-page/25031/12 "2015-02-09T21:10:38Z")

</div>

> [@Memory is running out and Discourse stops working](https://meta.discourse.org/t/low-memory-imagemagick-white-pages/25038/11):
>
> confirmed, will find the leak and plug it.

> [@Memory is running out and Discourse stops working](https://meta.discourse.org/t/low-memory-imagemagick-white-pages/25038/12):
>
> Yep, memory errors. @sam is investigating. Perhaps we need a memory bench, to prevent this in the future?

> [@Memory is running out and Discourse stops working](https://meta.discourse.org/t/low-memory-imagemagick-white-pages/25038/14):
>
> This is a leak, we would need to run for multiple days to catch it.

You can probably wait, it should get found soon.

---

<div class="post-metadata">

### Author: ![tyildir](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tyildir/32/115353_2.png) [@tyildir](https://meta.discourse.org/u/tyildir)
#### Post date: [February 9, 2015, 9:13pm UTC](https://meta.discourse.org/t/internal-server-error-while-loading-admin-users-page/25031/13 "2015-02-09T21:13:13Z")

</div>

Thank you. We will wait out the RAM problem.

Should I re-report the translation bug in the translations category?

---

<div class="post-metadata">

### Author: ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)
#### Post date: [February 9, 2015, 9:13pm UTC](https://meta.discourse.org/t/internal-server-error-while-loading-admin-users-page/25031/14 "2015-02-09T21:13:54Z")

</div>

Yes. I think it’s not loading the right ‘count’ rules.

---

<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: [February 17, 2015, 1:02pm UTC](https://meta.discourse.org/t/internal-server-error-while-loading-admin-users-page/25031/15 "2015-02-17T13:02:29Z")

</div>


