# Try to upgrade Discourse - didn't work. Then, when trying to log in got "Unkown Error" message

**URL:** <https://meta.discourse.org/t/try-to-upgrade-discourse-didnt-work-then-when-trying-to-log-in-got-unkown-error-message/40072>\
**Category:** Product Support\
**Created:** [February 24, 2016, 5:34am UTC](https://meta.discourse.org/t/try-to-upgrade-discourse-didnt-work-then-when-trying-to-log-in-got-unkown-error-message/40072 "2016-02-24T05:34:31Z")\
**Posts on this page:** 4\
**Page:** 1

## AI-generated summary

[Frisk19](/t/-/40072/1) reported an issue where upgrading Discourse failed, resulting in an "Unknown Error" message when attempting to log in as an admin. Seeking a resolution, they asked the community for assistance. [codinghorror](/t/-/40072/2) provided a solution by instructing the user to SSH into the server, navigate to the `var/discourse` directory, run `git pull`, and then execute `./launcher rebuild app`. Following these steps, [Frisk19](/t/-/40072/3) thanked [codinghorror](/t/-/40072/2) for the help, indicating the issue was resolved.

<div class="post-metadata">

**Author:** ![Frisk19](https://avatars.discourse-cdn.com/v4/letter/f/cc9497/32.png) [@Frisk19](https://meta.discourse.org/u/Frisk19)\
**Post date:** [February 24, 2016, 5:34am UTC](https://meta.discourse.org/t/try-to-upgrade-discourse-didnt-work-then-when-trying-to-log-in-got-unkown-error-message/40072/1 "2016-02-24T05:34:31Z")

</div>

Hey Everyone,

I just tried upgrading the newest version of Discourse and unfortunately it did not work.

When I tried logging into my Discourse website with my admin username/password (after the unsuccessful upgrade), I got a message that said “Unknown Message”.

Here is a screenshot:

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

I’m feeling a bit hopeless. Is there a way to resolve this? 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:** [February 24, 2016, 5:42am UTC](https://meta.discourse.org/t/try-to-upgrade-discourse-didnt-work-then-when-trying-to-log-in-got-unkown-error-message/40072/2 "2016-02-24T05:42:37Z")

</div>

Ssh into your server then

```
cd var/discourse
git pull
./launcher rebuild app

```

---

<div class="post-metadata">

**Author:** ![Frisk19](https://avatars.discourse-cdn.com/v4/letter/f/cc9497/32.png) [@Frisk19](https://meta.discourse.org/u/Frisk19)\
**Post date:** [February 24, 2016, 5:53am UTC](https://meta.discourse.org/t/try-to-upgrade-discourse-didnt-work-then-when-trying-to-log-in-got-unkown-error-message/40072/3 "2016-02-24T05:53:13Z")

</div>

Thanks, @codinghorror! You’re the man 😀

---

<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:** [February 24, 2016, 9:36am UTC](https://meta.discourse.org/t/try-to-upgrade-discourse-didnt-work-then-when-trying-to-log-in-got-unkown-error-message/40072/4 "2016-02-24T09:36:03Z")

</div>

Closed on February 24, 2016, 9:36am UTC


