# Link to upgrade shows 500 error

**URL:** https://meta.discourse.org/t/link-to-upgrade-shows-500-error/70993
**Category:** Bug
**Created:** [September 29, 2017, 3:50am UTC](https://meta.discourse.org/t/link-to-upgrade-shows-500-error/70993 "2017-09-29T03:50:08Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![eldy](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eldy/32/119728_2.png) [@eldy](https://meta.discourse.org/u/eldy)
#### Post date: [September 29, 2017, 3:50am UTC](https://meta.discourse.org/t/link-to-upgrade-shows-500-error/70993/1 "2017-09-29T03:50:09Z")

</div>

I got an upgrade notification in my email I click on the link below

Upgrade using our easy **one-click browser upgrade**

it bring me to [mydomain.com/admin/upgrade](http://mydomain.com/admin/upgrade)

I got error of

```
This page isn’t working

mydomain.com is currently unable to handle this request.
HTTP ERROR 500

```

---

<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: [September 29, 2017, 5:45am UTC](https://meta.discourse.org/t/link-to-upgrade-shows-500-error/70993/2 "2017-09-29T05:45:04Z")

</div>

Weird! Try running `sudo /var/discourse/launcher rebuild app` on your server – it most likely will fix your issue, and also update Discourse in the process 🙂

---

<div class="post-metadata">

### Author: ![eldy](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eldy/32/119728_2.png) [@eldy](https://meta.discourse.org/u/eldy)
#### Post date: [September 29, 2017, 6:02am UTC](https://meta.discourse.org/t/link-to-upgrade-shows-500-error/70993/3 "2017-09-29T06:02:35Z")

</div>

Will this reset everything? What’s the impact?

---

<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: [September 29, 2017, 6:04am UTC](https://meta.discourse.org/t/link-to-upgrade-shows-500-error/70993/4 "2017-09-29T06:04:19Z")

</div>

It will re-create the Docker container with Discourse, but keep all your user data (which is stored outside of the container). You should expect about 5 minutes of downtime, nothing worse 🙂

---

<div class="post-metadata">

### Author: ![eldy](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eldy/32/119728_2.png) [@eldy](https://meta.discourse.org/u/eldy)
#### Post date: [September 29, 2017, 6:04am UTC](https://meta.discourse.org/t/link-to-upgrade-shows-500-error/70993/5 "2017-09-29T06:04:57Z")

</div>

Sorted it out, I need to log in as admin then only able to access that page 😂

---

<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: [September 29, 2017, 5:56pm UTC](https://meta.discourse.org/t/link-to-upgrade-shows-500-error/70993/6 "2017-09-29T17:56:00Z")

</div>

This is a legit bug @tgxworld, I get a 500 error on [discourse.codinghorror.com](http://discourse.codinghorror.com) when in incognito mode, attempting to access the /admin/upgrade – and that is on latest too.

---

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [October 2, 2017, 10:46am UTC](https://meta.discourse.org/t/link-to-upgrade-shows-500-error/70993/8 "2017-10-02T10:46:13Z")

</div>

Fixed in

[https://github.com/discourse/docker\_manager/commit/f117e281589e2c81fdb7b8813788c47e19ec5c8d](https://github.com/discourse/docker_manager/commit/f117e281589e2c81fdb7b8813788c47e19ec5c8d)

---

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [October 2, 2017, 10:46am UTC](https://meta.discourse.org/t/link-to-upgrade-shows-500-error/70993/9 "2017-10-02T10:46:16Z")

</div>


