# Admin dashboard won't load after upgrade to v2.1.0.beta3 +20

**URL:** https://meta.discourse.org/t/admin-dashboard-wont-load-after-upgrade-to-v2-1-0-beta3-20/93311
**Category:** Self-hosting
**Created:** [27 juli 2018 om 18:17 UTC](https://meta.discourse.org/t/admin-dashboard-wont-load-after-upgrade-to-v2-1-0-beta3-20/93311 "2018-07-27T18:17:44Z")
**Posts on this page:** 13
**Page:** 2

<div class="post-metadata">

### Author: ![Wingtip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/wingtip/32/102039_2.png) [@Wingtip](https://meta.discourse.org/u/Wingtip)
#### Post date: [29 juli 2018 om 01:40 UTC](https://meta.discourse.org/t/admin-dashboard-wont-load-after-upgrade-to-v2-1-0-beta3-20/93311/22 "2018-07-29T01:40:50Z")

</div>

Sure thing, and thank you again.

---

<div class="post-metadata">

### Author: ![Wingtip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/wingtip/32/102039_2.png) [@Wingtip](https://meta.discourse.org/u/Wingtip)
#### Post date: [31 juli 2018 om 18:14 UTC](https://meta.discourse.org/t/admin-dashboard-wont-load-after-upgrade-to-v2-1-0-beta3-20/93311/26 "2018-07-31T18:14:13Z")

</div>

@j.jaffeux Should we update tonight to get that debugging patch or wait for your go-ahead?

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [31 juli 2018 om 18:14 UTC](https://meta.discourse.org/t/admin-dashboard-wont-load-after-upgrade-to-v2-1-0-beta3-20/93311/27 "2018-07-31T18:14:54Z")

</div>

I will let you know as you as I have something, might not be today, hopefully yes. Be sure I will update this when ready.

---

<div class="post-metadata">

### Author: ![Wingtip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/wingtip/32/102039_2.png) [@Wingtip](https://meta.discourse.org/u/Wingtip)
#### Post date: [31 juli 2018 om 18:22 UTC](https://meta.discourse.org/t/admin-dashboard-wont-load-after-upgrade-to-v2-1-0-beta3-20/93311/28 "2018-07-31T18:22:31Z")

</div>

Not a problem, thank you.

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [1 augustus 2018 om 02:11 UTC](https://meta.discourse.org/t/admin-dashboard-wont-load-after-upgrade-to-v2-1-0-beta3-20/93311/29 "2018-08-01T02:11:57Z")

</div>

Could you try to update please?

I pushed [FIX: makes dashboard more resilient to errors (#6217) · discourse/discourse@2b2a506 · GitHub](https://github.com/discourse/discourse/commit/2b2a506a7bccd6eb03159dbe13e733867930c5e5) which I expect to either fix your issue, or give us a hint. If it doesn’t it will at least narrow the possibilities.

---

<div class="post-metadata">

### Author: ![Wingtip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/wingtip/32/102039_2.png) [@Wingtip](https://meta.discourse.org/u/Wingtip)
#### Post date: [1 augustus 2018 om 04:27 UTC](https://meta.discourse.org/t/admin-dashboard-wont-load-after-upgrade-to-v2-1-0-beta3-20/93311/30 "2018-08-01T04:27:44Z")

</div>

Just upgraded to 849f0d0 and unfortunately, got the exact same error.

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [1 augustus 2018 om 04:43 UTC](https://meta.discourse.org/t/admin-dashboard-wont-load-after-upgrade-to-v2-1-0-beta3-20/93311/31 "2018-08-01T04:43:55Z")

</div>

can you look in `/logs` if you see something please ?

Also can you confirm [https://forum.quartertothree.com/admin/dashboard/general.json](https://forum.quartertothree.com/admin/dashboard/general.json) is failing to load for you ?

---

<div class="post-metadata">

### Author: ![Wingtip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/wingtip/32/102039_2.png) [@Wingtip](https://meta.discourse.org/u/Wingtip)
#### Post date: [1 augustus 2018 om 11:14 UTC](https://meta.discourse.org/t/admin-dashboard-wont-load-after-upgrade-to-v2-1-0-beta3-20/93311/32 "2018-08-01T11:14:35Z")

</div>

From unicorn.stderr.log:  
`E, [2018-08-01T11:09:51.384566 #10594] ERROR -- : worker=4 PID:11082 timeout (31s > 30s), killing I, [2018-08-01T11:09:57.218680 #2724] INFO -- : worker=4 ready D, [2018-08-01T11:10:21.455417 #10594] DEBUG -- : waiting 16.0s after suspend/hibernation E, [2018-08-01T11:11:19.500626 #10594] ERROR -- : worker=2 PID:10856 timeout (31s > 30s), killing I, [2018-08-01T11:11:25.014635 #2995] INFO -- : worker=2 ready D, [2018-08-01T11:11:49.583321 #10594] DEBUG -- : waiting 16.0s after suspend/hibernation E, [2018-08-01T11:12:17.611403 #10594] ERROR -- : worker=5 PID:12472 timeout (31s > 30s), killing I, [2018-08-01T11:12:23.631837 #3211] INFO -- : worker=5 ready`

Don’t see anything notable in production.log, unicorn.stdout.log, or anything in the var-logs dir.

Yes, that URL times out and eventually gives a 502.

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [1 augustus 2018 om 11:30 UTC](https://meta.discourse.org/t/admin-dashboard-wont-load-after-upgrade-to-v2-1-0-beta3-20/93311/33 "2018-08-01T11:30:09Z")

</div>

I think the DiskSpace caching job is taking too much time on your machine. This is the only thing which is not covered by recent changes I think. I’m still unsure about this though, as a background job is not supposed to make this fail.

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [1 augustus 2018 om 11:44 UTC](https://meta.discourse.org/t/admin-dashboard-wont-load-after-upgrade-to-v2-1-0-beta3-20/93311/34 "2018-08-01T11:44:02Z")

</div>

Can you try these commands:

```plaintext
df -Pk /path/to/public/backups/default | awk 'NR==2 {print $4;}'
du -s /path/to/public/backups/default

```

If you struggle to find the correct path, start a rails console on your server and type: `DiskSpace.uploads_path`

Does it return? Does it return fast?

---

<div class="post-metadata">

### Author: ![Wingtip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/wingtip/32/102039_2.png) [@Wingtip](https://meta.discourse.org/u/Wingtip)
#### Post date: [1 augustus 2018 om 12:04 UTC](https://meta.discourse.org/t/admin-dashboard-wont-load-after-upgrade-to-v2-1-0-beta3-20/93311/35 "2018-08-01T12:04:08Z")

</div>

Both of these commands response essentially instantaneously. We’re on SSD storage.

```plaintext
root@forum:/var/discourse/shared/standalone/backups/default# time df -Pk /var/discourse/shared/standalone/backups/default | awk 'NR==2 {print $4;}'
174096600

real 0m0.004s
user 0m0.001s
sys 0m0.006s
root@forum:/var/discourse/shared/standalone/backups/default# time du -s /var/discourse/shared/standalone/backups/default
33923456 /var/discourse/shared/standalone/backups/default

real 0m0.002s
user 0m0.001s
sys 0m0.001s
```

Or did you mean inside the container? The du is several orders of magnitude slower there-- I assume because it’s iterating through thousands of cat pictures uploaded to the forum rather than just a couple large backup files.

```plaintext
root@forum-app:/var/www/discourse# time df -Pk /var/www/discourse/public/uploads/default | awk 'NR==2 {print $4;}'
174113284

real 0m0.009s
user 0m0.007s
sys 0m0.000s
root@forum-app:/var/www/discourse# time du -s /var/www/discourse/public/uploads/default
12446396 /var/www/discourse/public/uploads/default

real 0m0.378s
user 0m0.032s
sys 0m0.337s
```

---

<div class="post-metadata">

### Author: ![clay](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/clay/32/102156_2.png) [@clay](https://meta.discourse.org/u/clay)
#### Post date: [7 augustus 2018 om 02:12 UTC](https://meta.discourse.org/t/admin-dashboard-wont-load-after-upgrade-to-v2-1-0-beta3-20/93311/36 "2018-08-07T02:12:27Z")

</div>

@j.jaffeux helped us fix this issue, which now is resolved. Thanks!

---

<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: [7 augustus 2018 om 03:02 UTC](https://meta.discourse.org/t/admin-dashboard-wont-load-after-upgrade-to-v2-1-0-beta3-20/93311/37 "2018-08-07T03:02:11Z")

</div>



[Vorige pagina](https://meta.discourse.org/t/admin-dashboard-wont-load-after-upgrade-to-v2-1-0-beta3-20/93311.md?page=1)
