# Self-hosting

**URL:** https://meta.discourse.org/c/support/self-hosting/31.md?page=15

[最新版本](https://meta.discourse.org/latest.md) · [分類](https://meta.discourse.org/categories.md) · [標簽](https://meta.discourse.org/tags.md)

**Page:** 16

---

## [始终无法执行 \`launcher rebuild app\`，我该如何将 GitHub 替换为中国大陆的镜像？](https://meta.discourse.org/t/failed-to-launcher-rebuild-app-for-always-how-can-i-replace-github-to-a-mainland-chinese-mirror/256248)

<div class="topic-metadata">

**Author:** [@snakeninny](https://meta.discourse.org/u/snakeninny)\
**回覆:** 3\
**Last updated:** [2025年二月7日 10:57 UTC](https://meta.discourse.org/t/failed-to-launcher-rebuild-app-for-always-how-can-i-replace-github-to-a-mainland-chinese-mirror/256248 "2025-02-07T10:57:27Z")

</div>

当我通过 launcher rebuild app 更新时，总是收到类似这样的错误： ... I, \[2023-02-25T16:34:01.790521 #1\] INFO -- : \> cd /var/www/discourse &amp;&amp; sudo -H -E -u discourse git clean -f I, \[2023-02-25T16:34:01.969445 #1\] INFO -- : I, \[20…

---

## [继续使用另一主题中的标准托管，延续之前的话题](https://meta.discourse.org/t/continuing-from-topic-using-standard-hosting-on-another-topic/350621)

<div class="topic-metadata">

**Author:** [@kyle987](https://meta.discourse.org/u/kyle987)\
**回覆:** 5\
**Last updated:** [2025年二月5日 23:03 UTC](https://meta.discourse.org/t/continuing-from-topic-using-standard-hosting-on-another-topic/350621 "2025-02-05T23:03:46Z")

</div>

继续关于 尝试 Discourse 和 GitHub 插件 的讨论： 特别是第 9 楼 好的，@NateDhaliwal，当我尝试在 DigitalOcean 上设置时，需要花钱。你说你有不同的方法。然后我请求你提供免费安装程序的链接，接着我问是否还有其他部分也需要花钱，而你有免费的方法来处理。 谢谢，Kyle

---

## [Launcher 升级失败](https://meta.discourse.org/t/launcher-upgrade-failing/350708)

<div class="topic-metadata">

**Author:** [@rlauriston](https://meta.discourse.org/u/rlauriston)\
**回覆:** 5\
**Last updated:** [2025年二月5日 22:18 UTC](https://meta.discourse.org/t/launcher-upgrade-failing/350708 "2025-02-05T22:18:19Z")

</div>

上次有效的命令（https://meta.discourse.org/t/launcher-rebuild-app-fails-with-containers-app-yml-does-not-exist/312787/6）现在失败了。 root@sfofood:/var/discourse# ./launcher bootstrap web\_only && ./launcher destroy web\_only && ./launc…

---

## [Web Discourse 升级失败。Web docker 升级成功](https://meta.discourse.org/t/failed-web-discourse-upgrade-web-docker-upgrade-worked/350613)

<div class="topic-metadata">

**Author:** [@GetReadyMan](https://meta.discourse.org/u/GetReadyMan)\
**回覆:** 3\
**Last updated:** [2025年二月5日 18:47 UTC](https://meta.discourse.org/t/failed-web-discourse-upgrade-web-docker-upgrade-worked/350613 "2025-02-05T18:47:24Z")

</div>

Docker 的 Web 版本更新成功了，Discourse 的 Web 版本更新失败了。 我重置了失败的更新，但 Web 应用程序显示更新正在进行中。 尝试手动更新 Discourse cd /var/discourse ./launcher rebuild app 遇到了以下错误。 ERROR: Docker version 19.03.13 not supported,please upgrade to at leas…

---

## [重建失败：数据目录 /shared/postgres\_data 不能由 root 拥有](https://meta.discourse.org/t/rebuild-fails-data-directory-shared-postgres-data-must-not-be-owned-by-root/350658)

<div class="topic-metadata">

**Author:** [@JamesChevalier](https://meta.discourse.org/u/JamesChevalier)\
**回覆:** 4\
**Last updated:** [2025年二月5日 17:28 UTC](https://meta.discourse.org/t/rebuild-fails-data-directory-shared-postgres-data-must-not-be-owned-by-root/350658 "2025-02-05T17:28:20Z")

</div>

Apologies ahead of time for some lack of details… I really got myself into it here… If you know a lot about the file permission requirements in /var/discourse/shared/standalone you might be able to skip down to the bott…

---

## [S3对象存储上传——可以设置为私有吗？（以及CDN问题）](https://meta.discourse.org/t/s3-object-storage-for-uploads-possible-to-make-private-and-cdn-question/349096)

<div class="topic-metadata">

**Author:** [@betsys](https://meta.discourse.org/u/betsys)\
**回覆:** 3\
**Last updated:** [2025年一月31日 22:12 UTC](https://meta.discourse.org/t/s3-object-storage-for-uploads-possible-to-make-private-and-cdn-question/349096 "2025-01-31T22:12:51Z")

</div>

我们有一个需要登录的 Discourse 站点。我们希望将上传存储迁移到 S3，但使用默认配置，URL 可能会被共享到站外。 有人找到如何使对象存储的上传私有化了吗？将整个站点放到 S3 上会有帮助吗？ 另外，我们有一个低流量的站点。要求使用 CDN 进行对象存储仅仅是为了负载和时间问题，还是我遗漏了什么？ 非常感谢！

---

## [完全独立的电子邮件，使用Discourse和Stalwart-mail](https://meta.discourse.org/t/fully-independent-email-with-discourse-and-stalwart-mail/314490)

<div class="topic-metadata">

**Author:** [@hellekin](https://meta.discourse.org/u/hellekin)\
**回覆:** 4\
**Last updated:** [2025年一月31日 09:24 UTC](https://meta.discourse.org/t/fully-independent-email-with-discourse-and-stalwart-mail/314490 "2025-01-31T09:24:47Z")

</div>

▶ 故障排除 工作安装 Stalwart-mail \>= v0.8.3 就是这样，通过这个版本，Stalwart-mail 现在支持与 Discourse 一起发送和接收电子邮件。 :tada: Stalwart-mail 是一个单一二进制文件的邮件服务，可以满足你所有的电子邮件需求，而没有我们几十年来习惯的 Postfix + Spamassassin + Dovecot + 等配置的混乱。在这里，你设置好安装，就有 一切 都准备就…

---

## [使用 Docker compose 进行 Discourse 自主托管](https://meta.discourse.org/t/discourse-self-hosting-with-docker-compose/348855)

<div class="topic-metadata">

**Author:** [@max.hammer](https://meta.discourse.org/u/max.hammer)\
**回覆:** 11\
**Last updated:** [2025年一月28日 12:42 UTC](https://meta.discourse.org/t/discourse-self-hosting-with-docker-compose/348855 "2025-01-28T12:42:44Z")

</div>

大家好！:blush: 希望大家都安好！我有一个关于 Discourse 的问题：可以自己托管 Discourse 吗？我对这个平台非常感兴趣，想知道这里是否有人有相关经验。我应该注意哪些具体要求或有什么建议吗？ 提前感谢大家的帮助！:folded\_hands:

---

## [Discourse能否支持为两个具有不同风格的网站创建共享论坛？](https://meta.discourse.org/t/can-discourse-support-a-shared-forum-for-two-websites-with-distinct-styling/349017)

<div class="topic-metadata">

**Author:** [@Electropoetics](https://meta.discourse.org/u/Electropoetics)\
**回覆:** 15\
**Last updated:** [2025年一月27日 19:38 UTC](https://meta.discourse.org/t/can-discourse-support-a-shared-forum-for-two-websites-with-distinct-styling/349017 "2025-01-27T19:38:24Z")

</div>

您好 Discourse 社区， 我正在探索为我的博客和作品集这两个独立网站创建一个共享论坛的可能性。概念是拥有一个论坛数据库，同时服务于这两个网站，允许用户和主题在两个社区之间共享。但是，我希望论坛能够根据用户访问的网站不同而拥有不同的样式，这样每个社区都能感觉独立，同时又属于更大的共享空间。 我มี背景是网页开发，虽然有一段时间没有做过像这样的大型项目了。我愿意重新投入并学习实现这一目标所需的知识，但我希望得到关于 Discou…

---

## [邮件接收器中继访问被拒绝](https://meta.discourse.org/t/mail-receiver-relay-access-denied/145690)

<div class="topic-metadata">

**Author:** [@Andro](https://meta.discourse.org/u/Andro)\
**回覆:** 21\
**Last updated:** [2025年一月26日 18:34 UTC](https://meta.discourse.org/t/mail-receiver-relay-access-denied/145690 "2025-01-26T18:34:13Z")

</div>

Trying hard to enable replies by email using the mail-receiver container. I consistently get errors: NOQUEUE: reject: RCPT from ... 454 4.7.1 \<...\>: Relay access denied Why is this? How can I get into the mail-receiver…

---

## [当前最佳主机服务（DigitalOcean 对比 Upcloud 还是其他？）](https://meta.discourse.org/t/current-best-services-in-hosting-do-vs-upcloud-vs-another/349007)

<div class="topic-metadata">

**Author:** [@mk0r](https://meta.discourse.org/u/mk0r)\
**回覆:** 6\
**Last updated:** [2025年一月26日 10:53 UTC](https://meta.discourse.org/t/current-best-services-in-hosting-do-vs-upcloud-vs-another/349007 "2025-01-26T10:53:22Z")

</div>

大家好，我正准备创建一个新的 Discourse 社区。在接下来的几个月到一年里，我预计它会相当小，但我希望确保我选择了最好的服务。我看过比较图表，我想知道： 从基础设施和客户服务的角度来看，哪些公司在长期发展方面最有优势？我不期望经常使用支持服务，但如果/当有必要时，那可能是一个紧急情况。 大家对 Upcloud 有积极的体验吗？ 我很难评估不同类型服务器之间的技术差异，但不用说，我希望我的实例运行在最好/最快的硬件上，我不在乎每…

---

## [自托管选项](https://meta.discourse.org/t/self-hosting-options/348592)

<div class="topic-metadata">

**Author:** [@Tarun\_Sharma](https://meta.discourse.org/u/Tarun_Sharma)\
**回覆:** 5\
**Last updated:** [2025年一月23日 23:41 UTC](https://meta.discourse.org/t/self-hosting-options/348592 "2025-01-23T23:41:31Z")

</div>

我们可以使用 Firebase 作为托管选项吗？AWS 和 Google Cloud 的最佳托管选项是什么？

---

## [无法在 Lightsail 上完成构建](https://meta.discourse.org/t/cant-complete-build-on-lightsail/348410)

<div class="topic-metadata">

**Author:** [@martim](https://meta.discourse.org/u/martim)\
**回覆:** 16\
**Last updated:** [2025年一月23日 18:54 UTC](https://meta.discourse.org/t/cant-complete-build-on-lightsail/348410 "2025-01-23T18:54:59Z")

</div>

您好，我似乎遇到了与 Rebuild app has stuck 和 Background saving terminated with success 相同的问题，除了我尝试了多次重建，包括重启和不重启。 我有一个 Lightsail 实例，配备 2vCPU、1GB RAM，运行 Ubuntu 20.04。根据这里的其他讨论，我手动编辑了 db\_shared\_memory 为 256MB，并将 Unicorns 设置为 4。我尝试了…

---

## [无法从备份中恢复](https://meta.discourse.org/t/failed-to-restore-from-the-backup/270015)

<div class="topic-metadata">

**Author:** [@klein](https://meta.discourse.org/u/klein)\
**回覆:** 5\
**Last updated:** [2023年七月5日 00:25 UTC](https://meta.discourse.org/t/failed-to-restore-from-the-backup/270015 "2023-07-05T00:25:34Z")

</div>

我尝试了 从命令行恢复备份，但遇到了以下问题： root@my\_server:/var/www/discourse# discourse restore my\_server-2023-06-20-033008-v20210922064213.tar.gz Starting restore: my\_server-2023-06-20-033008-v20210922064213.tar.gz \[STARTED\] 'system' has…

---

## [Discourse 重建失败，出现 TypeError: 无法引用数组](https://meta.discourse.org/t/discourse-rebuild-failing-with-typeerror-cant-quote-array/348229)

<div class="topic-metadata">

**Author:** [@MarcP](https://meta.discourse.org/u/MarcP)\
**回覆:** 7\
**Last updated:** [2025年一月22日 03:59 UTC](https://meta.discourse.org/t/discourse-rebuild-failing-with-typeerror-cant-quote-array/348229 "2025-01-22T03:59:56Z")

</div>

/var/www/discourse/vendor/bundle/ruby/3.3.0/gems/rake-13.2.1/exe/rake:27:in \`\\u003ctop (required)\\u003e' /usr/local/bin/bundle:25:in \`load' /usr/local/bin/bundle:25:in \`\\u003cmain\\u003e' Caused by: TypeError: can't quot…

---

## [在添加无效的 GitHub 仓库后重建 Discourse](https://meta.discourse.org/t/rebuilding-discourse-after-invalid-github-repo-addition/348111)

<div class="topic-metadata">

**Author:** [@BrianC](https://meta.discourse.org/u/BrianC)\
**回覆:** 5\
**Last updated:** [2025年一月22日 02:18 UTC](https://meta.discourse.org/t/rebuilding-discourse-after-invalid-github-repo-addition/348111 "2025-01-22T02:18:42Z")

</div>

在 app.yml 文件中错误地添加了一个无效的 GitHub 存储库后，我的 Discourse 站点出现了一个问题。当我运行 ./launcher rebuild app 时，进程失败，现在站点无法重建。不幸的是，我有备份，但它们在恢复过程中失败。以下是问题的详细信息，包括完整的错误日志。 已采取的步骤： 我尝试按照此帖子中的指导，将 DeepSeek LLM 添加到我的 Discourse 安装中。 我将存储库 URL htt…

---

## [在国内大陆的GFW下自行托管Discourse](https://meta.discourse.org/t/selfhost-discourse-in-mainland-china-under-the-gfw/347038)

<div class="topic-metadata">

**Author:** [@J\_J1](https://meta.discourse.org/u/J_J1)\
**回覆:** 5\
**Last updated:** [2025年一月16日 06:25 UTC](https://meta.discourse.org/t/selfhost-discourse-in-mainland-china-under-the-gfw/347038 "2025-01-16T06:25:36Z")

</div>

背景 Discourse 的自托管文档非常出色，安装过程也很顺利。但是，我在中国大陆的服务器上部署时遇到了问题，该服务器位于防火长城之后。 问题 每当我运行 ./launcher rebuild app 时，由于网络限制，该过程都会失败。以下是主要的错误消息： I, \[2025-01-14T10:21:45.402169 #1\] INFO -- : Scope: all 17 workspace projects Lockfile…

---

## [SSL 对 www.domain.com 无效](https://meta.discourse.org/t/ssl-is-not-valid-for-www-domain-com/346525)

<div class="topic-metadata">

**Author:** [@good\_guy](https://meta.discourse.org/u/good_guy)\
**回覆:** 22\
**Last updated:** [2025年一月15日 23:56 UTC](https://meta.discourse.org/t/ssl-is-not-valid-for-www-domain-com/346525 "2025-01-15T23:56:10Z")

</div>

我的 SSL 对 www.domain.com 无效，但对 domain.com 有效。 我该如何使其与 www 安全？我拥有自托管 discourse 时获得的免费 SSL。

---

## [关于 Discourse 多站点的邮件投递设置咨询](https://meta.discourse.org/t/seeking-advice-on-mail-delivery-setup-for-discourse-multisite/347227)

<div class="topic-metadata">

**Author:** [@onebigunicorn](https://meta.discourse.org/u/onebigunicorn)\
**回覆:** 6\
**Last updated:** [2025年一月15日 19:23 UTC](https://meta.discourse.org/t/seeking-advice-on-mail-delivery-setup-for-discourse-multisite/347227 "2025-01-15T19:23:30Z")

</div>

大家好， 经过几周的试验，我很高兴地宣布，在一个容器中成功部署了多站点设置（经历了许多失败）。这对我来说是一项了不起的成就，因为我使用的资源非常有限（两个站点约 1.34GB 内存已经很棒了，比运行两个单独的容器要好得多）。 我正在建立社区，希望能为这个世界做点贡献，但不幸的是，我负担不起非常昂贵的托管服务——即使是每月 20 美元对我来说也是一笔不小的开销。我决心用我现有的资源来解决这个问题，因此我在此寻求指导。 然而，我在每个…

---

## [无法设置 S3 存储桶](https://meta.discourse.org/t/unable-to-setup-s3-bucket/346372)

<div class="topic-metadata">

**Author:** [@luigi7up](https://meta.discourse.org/u/luigi7up)\
**回覆:** 11\
**Last updated:** [2025年一月12日 13:38 UTC](https://meta.discourse.org/t/unable-to-setup-s3-bucket/346372 "2025-01-12T13:38:38Z")

</div>

您好， 我正在尝试设置 S3 上传，似乎上传工作正常，但 GET 请求因奇怪的原因失败。看起来 discourse 在上传对象的 URI 中添加了“.cn” 在我的 S3 存储桶中上传图片后，公共 URL 是： https://hobig...bucket-eu.s3.eu-central-1.amazonaws.com/original/1X/5e894113...48918.jpeg 但当我检查浏览器时，我的 discour…

---

## [移动帖子返回502错误网关](https://meta.discourse.org/t/moving-posts-returns-502-bad-gateway/75654)

<div class="topic-metadata">

**Author:** [@meglio](https://meta.discourse.org/u/meglio)\
**回覆:** 71\
**Last updated:** [2025年一月12日 11:54 UTC](https://meta.discourse.org/t/moving-posts-returns-502-bad-gateway/75654 "2025-01-12T11:54:33Z")

</div>

I’m trying to move ~100 posts to an existing topic. After a delay of about 10 seconds, it says there was an error when moving posts in a green alert area: No new entries in /logs No useful information in console e…

---

## [重建失败 - 跳过 app.yml 中的 "after\_assets\_precompile" 部分](https://meta.discourse.org/t/rebuild-failure-skipping-after-assets-precompile-section-of-app-yml/346414)

<div class="topic-metadata">

**Author:** [@LotusJeff](https://meta.discourse.org/u/LotusJeff)\
**回覆:** 10\
**Last updated:** [2025年一月11日 00:44 UTC](https://meta.discourse.org/t/rebuild-failure-skipping-after-assets-precompile-section-of-app-yml/346414 "2025-01-11T00:44:40Z")

</div>

我刚刚运行了 ./launcher rebuild app，但没有更改系统相关文件。现在我卡在了 Discourse 的闪烁点屏幕上。 我检查了以下内容： docker ps 显示了 Discourse 应用镜像（看起来正常）。 top 命令显示有活动（看起来正常）。 我可以查看 Sidekiq 状态（看起来正常）。 所以，我又重新构建了应用。 结果一样。 我尝试使用安全模式。关闭了所有东西。没有改变。我仍然收到闪烁点屏幕。 …

---

## [Launcher运行应用程序时尝试备份出现错误](https://meta.discourse.org/t/launcher-run-app-gives-error-when-trying-backup/346553)

<div class="topic-metadata">

**Author:** [@Jagster](https://meta.discourse.org/u/Jagster)\
**回覆:** 6\
**Last updated:** [2025年一月10日 22:06 UTC](https://meta.discourse.org/t/launcher-run-app-gives-error-when-trying-backup/346553 "2025-01-10T22:06:11Z")

</div>

这导致我出现错误，启动 Redis。 /var/discourse/launcher run app "echo 'BackupRestore::Backuper.new(Discourse.system\_user.id, with\_uploads: false).run' | rails c" 如果我走 rails c 路线，备份就可以工作。但那一行命令也应该起作用——或者它在 2020 年（或者是不是 -22……）就起作用了。 …

---

## [如何解决重复扩展名 "wasm" 的错误](https://meta.discourse.org/t/how-to-solve-error-duplicate-extension-wasm/346411)

<div class="topic-metadata">

**Author:** [@Taste-OF-IT](https://meta.discourse.org/u/Taste-OF-IT)\
**回覆:** 9\
**Last updated:** [2025年一月10日 14:52 UTC](https://meta.discourse.org/t/how-to-solve-error-duplicate-extension-wasm/346411 "2025-01-10T14:52:25Z")

</div>

您好， 我将 Build 改为 stable 并运行了 rebuild app，现在网站显示 oops，nginx 日志如下： nginx: \[warn\] duplicate extension "wasm", content type: "application/wasm", previous content type: "application/wasm" in /etc/nginx/conf.d/discourse.conf:…

---

## [Fresh Discourse 安装上的页面加载极慢（40秒）](https://meta.discourse.org/t/extremely-slow-page-load-times-40s-on-fresh-discourse-installation/345772)

<div class="topic-metadata">

**Author:** [@J\_J1](https://meta.discourse.org/u/J_J1)\
**回覆:** 1\
**Last updated:** [2025年一月6日 13:00 UTC](https://meta.discourse.org/t/extremely-slow-page-load-times-40s-on-fresh-discourse-installation/345772 "2025-01-06T13:00:27Z")

</div>

大家好， 我最近按照官方安装指南在一个轻量级云服务器上设置了一个 Discourse 实例。我遇到了严重的初始页面加载性能问题，大约需要 40 秒。但是，一旦加载完成，在站点内导航就快了很多。 这是我的自托管 Discourse 服务器规格： CPU：2 核 内存：4GB 存储：40GB SSD 此服务器上未运行其他服务（专用于 Discourse） 安装详情： 使用官方 Docker 设置进行全新安装 遵循了文档中的标…

---

## [尝试升级后出现502 Bad Gateway错误](https://meta.discourse.org/t/getting-502-bad-gateway-after-attempting-upgrade/344923)

<div class="topic-metadata">

**Author:** [@dudenas](https://meta.discourse.org/u/dudenas)\
**回覆:** 2\
**Last updated:** [2024年十二月30日 21:57 UTC](https://meta.discourse.org/t/getting-502-bad-gateway-after-attempting-upgrade/344923 "2024-12-30T21:57:32Z")

</div>

大家好， 我想我通过点击“Discourse-Manager”上的“Upgrade”按钮弄坏了我的网站，如果我没记错的话。它显示失败，然后我点击了一个“reset upgrade”之类的框。我无法精确地重现这些操作，因为网站已经宕机。 到目前为止，我发现 Rails 无法连接到 Redis，并且我无法重建应用程序。不确定如何继续处理这个问题…… Rails production log 显示： Error connecting …

---

## [配置出站代理](https://meta.discourse.org/t/configuration-outbound-proxy/65992)

<div class="topic-metadata">

**Author:** [@pvdr](https://meta.discourse.org/u/pvdr)\
**回覆:** 18\
**Last updated:** [2024年十二月28日 17:05 UTC](https://meta.discourse.org/t/configuration-outbound-proxy/65992 "2024-12-28T17:05:44Z")

</div>

Our discourse runs behind a proxy for outbound traffic. We see that with “external system avatars enabled” selected the avatars are not loaded. Also the check for updates does not work. We have set http\_proxy and https…

---

## [在通过HTTP构建Discourse时发生错误](https://meta.discourse.org/t/an-error-occurs-when-building-discourse-over-http/344396)

<div class="topic-metadata">

**Author:** [@ramamang](https://meta.discourse.org/u/ramamang)\
**回覆:** 2\
**Last updated:** [2024年十二月27日 05:04 UTC](https://meta.discourse.org/t/an-error-occurs-when-building-discourse-over-http/344396 "2024-12-27T05:04:08Z")

</div>

域名配置完成 已创建 AWS EC2 实例 使用 ACM 颁发了证书 配置了 443 端口并通过 ALB 连接了证书 ALB 将域名流量路由到 80 端口的 EC2 实例 在构建 Discourse 之前，我修改了 app.yml 文件以配置 HTTP 连接： templates: - "templates/postgres.template.yml" - "templates/redis.template.yml" …

---

## [托管问题](https://meta.discourse.org/t/hosting-questions/343977)

<div class="topic-metadata">

**Author:** [@Carlos\_Andres](https://meta.discourse.org/u/Carlos_Andres)\
**回覆:** 5\
**Last updated:** [2024年十二月23日 06:13 UTC](https://meta.discourse.org/t/hosting-questions/343977 "2024-12-23T06:13:55Z")

</div>

我有一些问题，有人能回答我吗？ 1- 我可以在主域名 myweb.com 上使用它，而不是在子域名上使用吗？ 2- 我可以从一个 VPS 迁移到另一个 VPS 吗？ 3- 是否有任何插件可以在系统中出售，并在我购买某些东西后解锁？ 期待您的回复。

---

## [安装耗时很长，然后就结束了，但论坛实际上没有启动](https://meta.discourse.org/t/installation-takes-forever-then-ends-without-forum-actually-starting/343609)

<div class="topic-metadata">

**Author:** [@NateDhaliwal](https://meta.discourse.org/u/NateDhaliwal)\
**回覆:** 9\
**Last updated:** [2024年十二月21日 05:04 UTC](https://meta.discourse.org/t/installation-takes-forever-then-ends-without-forum-actually-starting/343609 "2024-12-21T05:04:49Z")

</div>

我正在尝试在 GCP 的 Compute Engine 上启动一个论坛，运行在 e2-micro 上。我想在我第一次尝试运行它的时候创建了一个 2GB 的交换文件。 我记得 10GB 不够，所以我把它增加到了 20GB。 运行 ./launcher rebuild app 后，它开始执行。当它执行 ...\[@embroider/webpack 时，花费了太长时间，所以我离开了，大约 2 小时后回来。 我发现它完成了，但我无法访问我…

[上一頁](https://meta.discourse.org/c/support/self-hosting/31.md?page=14)

[下一頁](https://meta.discourse.org/c/support/self-hosting/31.md?page=16)
