# 升级后所有组件均损坏

**URL:** https://meta.discourse.org/t/after-upgrade-every-component-is-broken/407431
**Category:** Self-hosting
**Created:** [2026年七月13日 09:47 UTC](https://meta.discourse.org/t/after-upgrade-every-component-is-broken/407431 "2026-07-13T09:47:44Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [2026年七月13日 10:35 UTC](https://meta.discourse.org/t/after-upgrade-every-component-is-broken/407431/5 "2026-07-13T10:35:15Z")

</div>

好的，我们开始吧：

 ![SCR-20260713-klxf](https://global.discourse-cdn.com/meta/original/4X/3/3/b/33b5eb67013e9c090cf23f4b10ec69a74e46c0bc.png)

看起来主题编译器出了点问题。我以前没见过这种情况。

若要重新尝试编译，你可以执行以下命令：

```plaintext
./launcher enter app
rails c

```

然后运行：

```plaintext
Discourse.clear_all_theme_cache!

```

如果这样还是不行，那就再试一次 `launcher rebuild`，然后再重试那个 `rails c` 命令。

---

_[View the full topic](https://meta.discourse.org/t/after-upgrade-every-component-is-broken/407431)._
