# Approved status missing on a new user

**URL:** <https://meta.discourse.org/t/approved-status-missing-on-a-new-user/32119>\
**Category:** Bug\
**Created:** [August 14, 2015, 4:03pm UTC](https://meta.discourse.org/t/approved-status-missing-on-a-new-user/32119 "2015-08-14T16:03:37Z")\
**Posts on this page:** 9\
**Page:** 1

## AI-generated summary

[watchmanmonitor](/t/-/32119/1) reported a bug where a newly approved user remained marked as "Approved: No" without an approval button, despite being removed from the pending list. The issue persisted after updating to the latest Discourse version and rebuilding the Docker container, accompanied by specific errors detailed in [gist links](/t/-/32119/1). [zogstrip](/t/-/32119/2) asked for timing details, and [watchmanmonitor](/t/-/32119/3) provided screenshots of the error logs occurring throughout the day. Suspecting a missing model, [sam](/t/-/32119/5) identified the root cause, while [codinghorror](/t/-/32119/7) noted the expected fix timeline. [sam](/t/-/32119/8) subsequently confirmed the issue was resolved via a specific [GitHub commit](/t/-/32119/8).

<div class="post-metadata">

**Author:** ![watchmanmonitor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/watchmanmonitor/32/430970_2.png) [@watchmanmonitor](https://meta.discourse.org/u/watchmanmonitor)\
**Post date:** [August 14, 2015, 4:03pm UTC](https://meta.discourse.org/t/approved-status-missing-on-a-new-user/32119/1 "2015-08-14T16:03:37Z")

</div>

I was on  
[https://github.com/discourse/discourse/compare/8ad2db7d2b159e37063f89f6db8527c63594f3c9...master](https://github.com/discourse/discourse/compare/8ad2db7d2b159e37063f89f6db8527c63594f3c9...master)

but I’ve updated my self-hosted instance to latest and an issue remains.

I approved a new user, and it was removed from the pending list, but now they show as Approved: No, without a button to approve them.

 ![](https://global.discourse-cdn.com/meta/original/3X/1/9/190d22e222ddd905cb6191a9c289bf2843113a11.png) 

This is the error that happened

> <https://gist.github.com/YesThatAllen/086c7667b2ac9eda04c5>

---

<div class="post-metadata">

**Author:** ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)\
**Post date:** [August 14, 2015, 4:25pm UTC](https://meta.discourse.org/t/approved-status-missing-on-a-new-user/32119/2 "2015-08-14T16:25:38Z")

</div>

When did that error happen?

---

<div class="post-metadata">

**Author:** ![watchmanmonitor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/watchmanmonitor/32/430970_2.png) [@watchmanmonitor](https://meta.discourse.org/u/watchmanmonitor)\
**Post date:** [August 14, 2015, 4:38pm UTC](https://meta.discourse.org/t/approved-status-missing-on-a-new-user/32119/3 "2015-08-14T16:38:55Z")

</div>

Many times today, here’s a screenshot (this is in CST). I’ve highlighted the time when I was approving the account.

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

I see that my docker image [must be out of date](https://meta.discourse.org/t/no-longer-getting-notifications-for-out-of-date-containers/32121/1), so I’ve just pulled, will rebuild the container in a few.

---

<div class="post-metadata">

**Author:** ![watchmanmonitor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/watchmanmonitor/32/430970_2.png) [@watchmanmonitor](https://meta.discourse.org/u/watchmanmonitor)\
**Post date:** [August 14, 2015, 5:55pm UTC](https://meta.discourse.org/t/approved-status-missing-on-a-new-user/32119/4 "2015-08-14T17:55:52Z")

</div>

I’ve just fully rebuilt (and added newrelic this time) and registered a new test user.

the user is not approved, there is no Approve button when viewing it via Admin

I get this error:

> <https://gist.github.com/YesThatAllen/ffb6479a0f558accb1cc>

I bet I could attempt to approve it from the pending user list, but will wait to hear back

---

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [August 15, 2015, 5:07am UTC](https://meta.discourse.org/t/approved-status-missing-on-a-new-user/32119/5 "2015-08-15T05:07:19Z")

</div>

Smells like a missing model.

---

<div class="post-metadata">

**Author:** ![watchmanmonitor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/watchmanmonitor/32/430970_2.png) [@watchmanmonitor](https://meta.discourse.org/u/watchmanmonitor)\
**Post date:** [August 15, 2015, 7:54pm UTC](https://meta.discourse.org/t/approved-status-missing-on-a-new-user/32119/6 "2015-08-15T19:54:57Z")

</div>

Know where I could find a new model? 😉

I think I’m stuck until one shows up here:

[https://github.com/discourse/discourse/compare/5a09482b0fae025bf991a13a10a24782a62e0043...master](https://github.com/discourse/discourse/compare/5a09482b0fae025bf991a13a10a24782a62e0043...master)

---

<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:** [August 15, 2015, 8:01pm UTC](https://meta.discourse.org/t/approved-status-missing-on-a-new-user/32119/7 "2015-08-15T20:01:57Z")

</div>

Hopefully @sam can fix this Australia Monday.

---

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [August 16, 2015, 4:19am UTC](https://meta.discourse.org/t/approved-status-missing-on-a-new-user/32119/8 "2015-08-16T04:19:58Z")

</div>

Fixed per:

[https://github.com/discourse/discourse/commit/da4c377277652773c2aac111afb041d26f7304eb](https://github.com/discourse/discourse/commit/da4c377277652773c2aac111afb041d26f7304eb)

---

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [August 16, 2015, 4:20am UTC](https://meta.discourse.org/t/approved-status-missing-on-a-new-user/32119/9 "2015-08-16T04:20:01Z")

</div>

Closed on August 16, 2015, 4:20am UTC


