# After update, it takes a while for admin dashboard stats to update

**URL:** https://meta.discourse.org/t/after-update-it-takes-a-while-for-admin-dashboard-stats-to-update/31160
**Category:** Support
**Created:** [July 18, 2015, 3:55am UTC](https://meta.discourse.org/t/after-update-it-takes-a-while-for-admin-dashboard-stats-to-update/31160 "2015-07-18T03:55:16Z")
**Posts on this page:** 13
**Page:** 1

<div class="post-metadata">

### Author: ![Ryan\_Meyer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ryan_meyer/32/116438_2.png) [@Ryan\_Meyer](https://meta.discourse.org/u/Ryan_Meyer)
#### Post date: [July 18, 2015, 3:55am UTC](https://meta.discourse.org/t/after-update-it-takes-a-while-for-admin-dashboard-stats-to-update/31160/1 "2015-07-18T03:55:16Z")

</div>

Hope this is the right way to file a bug report.

Just upgraded to 1.4.0.beta6 from 1.4.0.beta4 and I’m getting a Javascript error on the admin dashboard page. Everything else seems ok so far.

```plaintext
TypeError: Cannot read property 'map' of undefined
    at https://www.rad1x.org/assets/admin-145e263dbe66e2709802978d66857301.js:4:22036
    at Array.forEach (native)
    at https://www.rad1x.org/assets/admin-145e263dbe66e2709802978d66857301.js:4:22004
    at b (https://www.rad1x.org/assets/vendor-68a043ffb30ca8b0ef68bf301d9c2efb.js:21:5331)
    at y (https://www.rad1x.org/assets/vendor-68a043ffb30ca8b0ef68bf301d9c2efb.js:21:5415)
    at g (https://www.rad1x.org/assets/vendor-68a043ffb30ca8b0ef68bf301d9c2efb.js:21:5234)
    at https://www.rad1x.org/assets/vendor-68a043ffb30ca8b0ef68bf301d9c2efb.js:15:31812
    at r.invoke (https://www.rad1x.org/assets/vendor-68a043ffb30ca8b0ef68bf301d9c2efb.js:9:1715)
    at Object.r.flush (https://www.rad1x.org/assets/vendor-68a043ffb30ca8b0ef68bf301d9c2efb.js:9:2238)
    at Object.n.flush (https://www.rad1x.org/assets/vendor-68a043ffb30ca8b0ef68bf301d9c2efb.js:9:391)

```

---

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [July 18, 2015, 4:04am UTC](https://meta.discourse.org/t/after-update-it-takes-a-while-for-admin-dashboard-stats-to-update/31160/2 "2015-07-18T04:04:29Z")

</div>

Did you customize the Post Action buttons? If so, you will need to take a screenshot of them, then click the red X to reset it to the default value, and then arrange them back into the order you want.

The other possibility is a plugin is interfering, so try disabling your plugins to see if it works.

---

<div class="post-metadata">

### Author: ![Ryan\_Meyer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ryan_meyer/32/116438_2.png) [@Ryan\_Meyer](https://meta.discourse.org/u/Ryan_Meyer)
#### Post date: [July 18, 2015, 4:17am UTC](https://meta.discourse.org/t/after-update-it-takes-a-while-for-admin-dashboard-stats-to-update/31160/3 "2015-07-18T04:17:04Z")

</div>

I haven’t customized any Post Action buttons.

I have three plugins installed, but I haven’t installed any on my own.

They are:

1. docker\_manager
2. lazyYT
3. poll

Poll is the only one eligible for disabling.

Ok disabling polls worked. I suppose as long as I never use polls I’m ok.

---

<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: [July 18, 2015, 4:28am UTC](https://meta.discourse.org/t/after-update-it-takes-a-while-for-admin-dashboard-stats-to-update/31160/4 "2015-07-18T04:28:28Z")

</div>

No repro, admin panel loads fine here and polls are enabled..

_Poll ([view on site](https://meta.discourse.org/t/after-update-it-takes-a-while-for-admin-dashboard-stats-to-update/31160/4))_

---

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [July 18, 2015, 11:45am UTC](https://meta.discourse.org/t/after-update-it-takes-a-while-for-admin-dashboard-stats-to-update/31160/5 "2015-07-18T11:45:09Z")

</div>

In the admin area, what version does your polls plugin claim to be? I wonder if it is up to date… it should be… but seems it isn’t

---

<div class="post-metadata">

### Author: ![Ryan\_Meyer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ryan_meyer/32/116438_2.png) [@Ryan\_Meyer](https://meta.discourse.org/u/Ryan_Meyer)
#### Post date: [July 18, 2015, 1:27pm UTC](https://meta.discourse.org/t/after-update-it-takes-a-while-for-admin-dashboard-stats-to-update/31160/6 "2015-07-18T13:27:30Z")

</div>

0.9. My install is very vanilla. Site has only been up a month and I hadn’t even heard of plugins until now. =)

---

<div class="post-metadata">

### Author: ![fefrei](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fefrei/32/119538_2.png) [@fefrei](https://meta.discourse.org/u/fefrei)
#### Post date: [July 18, 2015, 2:05pm UTC](https://meta.discourse.org/t/after-update-it-takes-a-while-for-admin-dashboard-stats-to-update/31160/7 "2015-07-18T14:05:09Z")

</div>

I have the same issue after the same upgrade path. I did not customize the post actions.  
Rebuilding did not help.

I’d be happy to provide any additional information as needed.

---

<div class="post-metadata">

### Author: ![AgentGod](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/agentgod/32/43387_2.png) [@AgentGod](https://meta.discourse.org/u/AgentGod)
#### Post date: [July 18, 2015, 4:08pm UTC](https://meta.discourse.org/t/after-update-it-takes-a-while-for-admin-dashboard-stats-to-update/31160/8 "2015-07-18T16:08:59Z")

</div>

for me everything seems fine after the update

---

<div class="post-metadata">

### Author: ![fefrei](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fefrei/32/119538_2.png) [@fefrei](https://meta.discourse.org/u/fefrei)
#### Post date: [July 18, 2015, 5:36pm UTC](https://meta.discourse.org/t/after-update-it-takes-a-while-for-admin-dashboard-stats-to-update/31160/9 "2015-07-18T17:36:02Z")

</div>

My site just recovered magically.  
Could it be that the update changed some format such that the dashboard breaks until the corresponding Sidekiq job updates the data?

---

<div class="post-metadata">

### Author: ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)
#### Post date: [July 18, 2015, 5:50pm UTC](https://meta.discourse.org/t/after-update-it-takes-a-while-for-admin-dashboard-stats-to-update/31160/10 "2015-07-18T17:50:38Z")

</div>

I had the same thing happen on two sites when updating to beta6. Dashboard was completely void of information for the first few minutes, then it started working.

---

<div class="post-metadata">

### Author: ![Ryan\_Meyer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ryan_meyer/32/116438_2.png) [@Ryan\_Meyer](https://meta.discourse.org/u/Ryan_Meyer)
#### Post date: [July 18, 2015, 5:51pm UTC](https://meta.discourse.org/t/after-update-it-takes-a-while-for-admin-dashboard-stats-to-update/31160/11 "2015-07-18T17:51:31Z")

</div>

Hooray mine recovered as well.

---

<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: [July 20, 2015, 8:27am UTC](https://meta.discourse.org/t/after-update-it-takes-a-while-for-admin-dashboard-stats-to-update/31160/12 "2015-07-20T08:27:20Z")

</div>

> [@fefrei](#):
>
> Could it be that the update changed some format such that the dashboard breaks until the corresponding Sidekiq job updates the data?

That’s exactly what’s happening 😉

> [@After upgrade to 1.4.0.beta4 Admin-\>Overview is empty](https://meta.discourse.org/t/after-upgrade-to-1-4-0-beta4-admin-overview-is-empty/30698/12):
>
> If you don’t want to wait for the stats to populate, you can go to your.discourse/sidekiq/scheduler and trigger the “Jobs::DashboardStats” job 😉

---

<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: [July 20, 2015, 8:27am UTC](https://meta.discourse.org/t/after-update-it-takes-a-while-for-admin-dashboard-stats-to-update/31160/13 "2015-07-20T08:27:28Z")

</div>


