# 我的论坛卡在加载屏幕上

**URL:** https://meta.discourse.org/t/my-forum-is-stuck-on-the-loading-screen/255610
**Category:** Support
**Created:** [2023 年2 月 19 日 13:13 UTC](https://meta.discourse.org/t/my-forum-is-stuck-on-the-loading-screen/255610 "2023-02-19T13:13:17Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Johnny\_We](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/johnny_we/32/294160_2.png) [@Johnny\_We](https://meta.discourse.org/u/Johnny_We)
#### Post date: [2023 年2 月 19 日 13:13 UTC](https://meta.discourse.org/t/my-forum-is-stuck-on-the-loading-screen/255610/1 "2023-02-19T13:13:17Z")

</div>

我和我的朋友们通过 Discourse 创建了一个论坛，链接是 [boncforums.com](http://boncforums.com)。

在过去 5 个月里它一直运行正常，直到大约一个月前我们发现它停止工作，并且一直卡在加载屏幕上。我们目前唯一可能的线索是 Mailgun。我们一直没有为它付费，因为我们一直使用免费套餐，并且在过去 5 个月里运行正常，尽管他们已经将我们移出了免费套餐，并自动将我们的套餐更改为付费套餐。因此，我们的账户在 3 个月前被“暂时禁用”，但直到现在才对网站造成任何损害。所以我们想在开始为 Mailgun 的套餐付费之前，真正了解原因。

如果需要，这里还有一些关于我们网站的更多信息：

- 我们使用 Mailgun 作为我们的 SMTP
- 我们使用 Digital Ocean 进行托管
- 我们使用 GoDaddy 进行 DNS 和网站名称注册
- 我们使用 Discourse 作为我们网站的宣传册和设计
- 我们使用 Putty 来整合这些并发布网站

我希望能在论坛方面得到一些帮助。谢谢！

---

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [2023 年2 月 19 日 13:19 UTC](https://meta.discourse.org/t/my-forum-is-stuck-on-the-loading-screen/255610/2 "2023-02-19T13:19:44Z")

</div>

电子邮件不太可能是这里的原因。`/logs` 显示了什么？

---

<div class="post-metadata">

### Author: ![EricGT](https://avatars.discourse-cdn.com/v4/letter/e/f1d935/32.png) [@EricGT](https://meta.discourse.org/u/EricGT)
#### Post date: [2023 年2 月 19 日 13:23 UTC](https://meta.discourse.org/t/my-forum-is-stuck-on-the-loading-screen/255610/3 "2023-02-19T13:23:28Z")

</div>

> [@Johnny\_We](#):
>
> 卡在加载屏幕

尝试 [安全模式](https://meta.discourse.org/t/use-safe-mode-to-troubleshoot-issues-with-themes-and-plugins/53504)：

[https://boncforums.com/safemode](https://boncforums.com/safemode)

参见：

> [@Hosted site stuck on loading page (colored dots) (01/18/2023 8:05 AM Eastern)](https://meta.discourse.org/t/hosted-site-stuck-on-loading-page-colored-dots-01-18-2023-8-05-am-eastern/252171):
>
> Our site is stuck at the loading page. [https://swi-prolog.discourse.group/](https://swi-prolog.discourse.group/) First happened on Chrome on laptop, then same with Microsoft Edge on same laptop. Same with iPhone. Ping works. C:\Users\Groot\>ping swi-prolog.discourse.group Pinging swiprolog.hosted-by-discourse.com [2602:fd3f:3:ff01::cb] with 32 bytes of data: Reply from 2602:fd3f:3:ff01::cb: time=85ms Reply from 2602:fd3f:3:ff01::cb: time=82ms Reply from 2602:fd3f:3:ff01::cb: time=80ms Reply from 2602:fd3f:3:ff01::cb: time=85ms …

---

<div class="post-metadata">

### Author: ![UnitedFreedom](https://avatars.discourse-cdn.com/v4/letter/u/ac91a4/32.png) [@UnitedFreedom](https://meta.discourse.org/u/UnitedFreedom)
#### Post date: [2023 年2 月 19 日 13:31 UTC](https://meta.discourse.org/t/my-forum-is-stuck-on-the-loading-screen/255610/4 "2023-02-19T13:31:43Z")

</div>

您是否尝试过登录 Digital Ocean，导航到 droplet，打开 Droplet Console，然后运行 `./launcher rebuild app`？

如果这能解决问题，那就太好了！

否则，如果安全模式对您有效，那么也许是您安装的某个插件与当前版本不兼容？或者您安装的插件太多，导致加载时间过长？

- 更新所有插件
- 更新 Discourse

如果问题仍然存在，请尝试一次禁用一个插件，看看是否有特定插件导致无限加载。

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [2023 年2 月 19 日 13:47 UTC](https://meta.discourse.org/t/my-forum-is-stuck-on-the-loading-screen/255610/5 "2023-02-19T13:47:33Z")

</div>

你好，欢迎你 @Johnny_We :slight_smile:

快速查看浏览器控制台，指向了一个 header-toggle-button 主题组件：

```plaintext
Uncaught (in promise) Error: Could not find module `ember-cli-htmlbars` imported from `discourse/theme-7/widgets/header-toggle-button`
    c loader.js:247
    c loader.js:258
    findDeps loader.js:168
    c loader.js:262
    requireModule loader.js:24
    s auto-load-modules.js:18
    s auto-load-modules.js:12
    initialize auto-load-modules.js:40
    initialize app.js:49
    runInstanceInitializers Ember
    each dag-map.js:231
    walk dag-map.js:145
    each dag-map.js:75
    topsort dag-map.js:83
    Ember 4
    invoke backburner.js:351
    flush backburner.js:241
    flush backburner.js:447
    _end backburner.js:999
    _boundAutorunEnd backburner.js:648
    promise callback*n/
    flush Ember
    _scheduleAutorun backburner.js:1218
    _ensureInstance backburner.js:1206
    schedule backburner.js:805
    Ember 6
    
    start-app.js:4
    
    discourse-boot.js:50
    
    discourse-boot.js:51
loader.js:247

```

如果你能使用安全模式登录，并在你的 `/admin/customize/themes` 页面上更新或禁用它，应该会有帮助。 :+1:

我注意到你的网站只允许登录。如果由于无限加载而无法正常登录，你可以使用 `/u/admin-login` 并同时启用安全模式。

* * *

另外，我认为如果你尝试取消付费套餐，应该可以将你的 Mailgun 套餐降级到 Flex 版本。:crossed_fingers: 我认为它仍然存在，但他们把它隐藏得有点深。这个主题中有更多信息：

> [@Mailgun is $1/month per 1,000 emails sent (and first 1,000 are free)](https://meta.discourse.org/t/mailgun-is-1-month-per-1-000-emails-sent-and-first-1-000-are-free/140187/52?u=jammydodger):
>
> Yeah, it’s pretty confusing. I set up a trial and was automatically upgraded to the USD 35 per month plan. I couldn’t find a way to downgrade to the Flex plan, so I decided to switch to another provider instead. But then, when I tried to cancel my Mailgun account, I was presented with this: [image] So maybe that’s just the way to do it. They keep the Flex option well hidden it seems.

---

<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: [2023 年7 月 5 日 04:35 UTC](https://meta.discourse.org/t/my-forum-is-stuck-on-the-loading-screen/255610/6 "2023-07-05T04:35:37Z")

</div>

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