# 尝试升级 discourse 时出现 500 错误

**URL:** <https://meta.discourse.org/t/500-error-trying-to-upgrade-discourse/304364>\
**Category:** Self-hosting\
**Created:** [2024 年4 月 17 日 20:48 UTC](https://meta.discourse.org/t/500-error-trying-to-upgrade-discourse/304364 "2024-04-17T20:48:22Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

作者： ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
发布日期： [2024 年4 月 17 日 21:23 UTC](https://meta.discourse.org/t/500-error-trying-to-upgrade-discourse/304364/2 "2024-04-17T21:23:13Z")

</div>

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

```

如果需要 20 到 30 分钟，请不要感到惊讶。并且您需要等待几分钟，直到网络服务器启动完毕。

---

_[View the full topic](https://meta.discourse.org/t/500-error-trying-to-upgrade-discourse/304364)._
