# Long wait while updating?

**URL:** https://meta.discourse.org/t/long-wait-while-updating/270318
**Category:** Support
**Created:** [July 2, 2023, 6:34pm UTC](https://meta.discourse.org/t/long-wait-while-updating/270318 "2023-07-02T18:34:09Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![EchoBilisim](https://avatars.discourse-cdn.com/v4/letter/e/bc8723/32.png) [@EchoBilisim](https://meta.discourse.org/u/EchoBilisim)
#### Post date: [July 2, 2023, 6:34pm UTC](https://meta.discourse.org/t/long-wait-while-updating/270318/1 "2023-07-02T18:34:09Z")

</div>

Hello, I like the Discourse system, it wouldn’t have been like this long ago, but now when I say update the system, it says it is updating in the update section, but it does not do anything, I wait for hours because it starts to update, but the update does not start. why does it do this?

As in the screenshot below, it waits and does nothing.

 ![Ekran görüntüsü 2023-07-02 212847](https://global.discourse-cdn.com/meta/original/4X/0/a/c/0acafa59e2e349624e2d5b331bf27a38c541086f.png)

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [July 2, 2023, 7:32pm UTC](https://meta.discourse.org/t/long-wait-while-updating/270318/2 "2023-07-02T19:32:34Z")

</div>

Try logging in the the server and doing

```plaintext
cd /var/discourse
./launcher rebuild app

```

---

<div class="post-metadata">

### Author: ![Ed\_S](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ed_s/32/134015_2.png) [@Ed\_S](https://meta.discourse.org/u/Ed_S)
#### Post date: [July 2, 2023, 8:14pm UTC](https://meta.discourse.org/t/long-wait-while-updating/270318/3 "2023-07-02T20:14:16Z")

</div>

Sometimes if you refresh that page you will see the logs which should already be visible. Sometimes you’ll see that indeed you need to do a command line update. (`git pull` is usually done after the cd and before the rebuild, to get an uptodate launcher script.)

---

<div class="post-metadata">

### Author: ![EchoBilisim](https://avatars.discourse-cdn.com/v4/letter/e/bc8723/32.png) [@EchoBilisim](https://meta.discourse.org/u/EchoBilisim)
#### Post date: [July 2, 2023, 10:57pm UTC](https://meta.discourse.org/t/long-wait-while-updating/270318/4 "2023-07-02T22:57:40Z")

</div>

Thanks for your help, I did it with the commands you gave, the process is finished, but now when entering the site, it says 502 Bad Gateway, I wonder why it does this?

---

<div class="post-metadata">

### Author: ![EchoBilisim](https://avatars.discourse-cdn.com/v4/letter/e/bc8723/32.png) [@EchoBilisim](https://meta.discourse.org/u/EchoBilisim)
#### Post date: [July 2, 2023, 11:00pm UTC](https://meta.discourse.org/t/long-wait-while-updating/270318/5 "2023-07-02T23:00:23Z")

</div>

Ok now thank you very much.

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [July 3, 2023, 1:32am UTC](https://meta.discourse.org/t/long-wait-while-updating/270318/6 "2023-07-03T01:32:03Z")

</div>

I guess you waited another 63 seconds and the 502 went away? It takes rails a bit more time to start up than it does nginx.

---

<div class="post-metadata">

### Author: ![EchoBilisim](https://avatars.discourse-cdn.com/v4/letter/e/bc8723/32.png) [@EchoBilisim](https://meta.discourse.org/u/EchoBilisim)
#### Post date: [July 3, 2023, 1:29pm UTC](https://meta.discourse.org/t/long-wait-while-updating/270318/7 "2023-07-03T13:29:18Z")

</div>

Yes, I was afraid for a moment, that there was a problem, but good luck, thank you very much

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [August 2, 2023, 1:29pm UTC](https://meta.discourse.org/t/long-wait-while-updating/270318/8 "2023-08-02T13:29:36Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
