# Self-hosting

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

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

**Page:** 132

---

## [在新安装的 Discourse 上无法使电子邮件功能正常工作](https://meta.discourse.org/t/i-cant-get-email-to-work-on-a-new-discourse-installation/89645)

<div class="topic-metadata">

**Author:** [@birb](https://meta.discourse.org/u/birb)\
**回覆:** 5\
**Last updated:** [2018年六月12日 09:32 UTC](https://meta.discourse.org/t/i-cant-get-email-to-work-on-a-new-discourse-installation/89645 "2018-06-12T09:32:37Z")

</div>

好的，我确实有点困惑。 我在设置的管理员注册页面，系统应该会发送一封邮件。现在，我配置了 SparkPost 作为我的 SMTP 服务，这也是我用来下载 Discourse 的服务……

---

## [已安装 Discourse，但无法以管理员身份登录](https://meta.discourse.org/t/installed-discourse-not-able-to-log-in-as-admin/89493)

<div class="topic-metadata">

**Author:** [@xoox](https://meta.discourse.org/u/xoox)\
**回覆:** 3\
**Last updated:** [2018年六月11日 14:07 UTC](https://meta.discourse.org/t/installed-discourse-not-able-to-log-in-as-admin/89493 "2018-06-11T14:07:54Z")

</div>

我已通过 SSH 完成了 Discourse 的安装。现在我也能在网站上看到默认的 Discourse 论坛。但我无法以管理员身份登录，系统完全不识别我的电子邮件地址。 当我访问 example.com/admi…

---

## [在 Plesk 上重建并清除旧图像](https://meta.discourse.org/t/rebuild-leaving-behind-images-on-plesk/89565)

<div class="topic-metadata">

**Author:** [@markusk](https://meta.discourse.org/u/markusk)\
**回覆:** 4\
**Last updated:** [2018年六月11日 06:44 UTC](https://meta.discourse.org/t/rebuild-leaving-behind-images-on-plesk/89565 "2018-06-11T06:44:30Z")

</div>

似乎我每次重新构建都会留下一个名为 sha256:xxxxx 的 Docker 镜像，大小约为 2.5GB，这是在 Plesk 管理的系统上。删除这些镜像安全吗？是否只需要保留 /app 和 /base？ 提前感谢， Markus.\[38\]

---

## [电子邮件提供商有哪些选项？](https://meta.discourse.org/t/options-on-email-providers/89456)

<div class="topic-metadata">

**Author:** [@Garrick](https://meta.discourse.org/u/Garrick)\
**回覆:** 13\
**Last updated:** [2018年六月10日 17:28 UTC](https://meta.discourse.org/t/options-on-email-providers/89456 "2018-06-10T17:28:42Z")

</div>

大家好。我目前使用 SendGrid，但最近由于账户的 2FA 问题，我无法访问，且他们拒绝恢复我的账户访问权限。我正在寻找任何可能简单可用的替代方案……

---

## [从 v2.0.0.beta10 +37 升级到 2.1.0.beta1 失败](https://meta.discourse.org/t/upgrade-from-v2-0-0-beta10-37-to-2-1-0-beta1-does-fail/89225)

<div class="topic-metadata">

**Author:** [@GuidoD](https://meta.discourse.org/u/GuidoD)\
**回覆:** 7\
**Last updated:** [2018年六月9日 05:11 UTC](https://meta.discourse.org/t/upgrade-from-v2-0-0-beta10-37-to-2-1-0-beta1-does-fail/89225 "2018-06-09T05:11:27Z")

</div>

我刚刚在控制台上尝试从 v2.0.0.beta10 +37 升级到当前的 2.1.0.beta1，但升级失败： 失败 -------------------- Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle exec rake …

---

## [Digital Ocean 安装](https://meta.discourse.org/t/digital-ocean-installation/89338)

<div class="topic-metadata">

**Author:** [@chrismalone](https://meta.discourse.org/u/chrismalone)\
**回覆:** 18\
**Last updated:** [2018年六月8日 15:51 UTC](https://meta.discourse.org/t/digital-ocean-installation/89338 "2018-06-08T15:51:28Z")

</div>

我在 Digital Ocean 上有三个 Discourse 安装实例，它们都是 15 美元或 20 美元的 Droplet。我打算开始一个新项目，并了解到 Discourse 可以安装在 5 美元的 Droplet 上。问题是：它可以，但是否应该这样做……

---

## [Discourse 安装说明澄清](https://meta.discourse.org/t/discourse-install-clarification/89341)

<div class="topic-metadata">

**Author:** [@Kristyn\_Ws](https://meta.discourse.org/u/Kristyn_Ws)\
**回覆:** 5\
**Last updated:** [2018年六月8日 10:48 UTC](https://meta.discourse.org/t/discourse-install-clarification/89341 "2018-06-08T10:48:09Z")

</div>

你好！ 我正在尝试安装 Discourse。我对编程不太了解。我遇到了一个无法解决的问题： 1. 当我访问我为论坛设置的子域名时，会被重定向到一个索引页面。 我所……

---

## [UpCloud.com experiences](https://meta.discourse.org/t/upcloud-com-experiences/51996)

<div class="topic-metadata">

**Author:** [@ljpp](https://meta.discourse.org/u/ljpp)\
**回覆:** 25\
**Last updated:** [2018年六月7日 17:31 UTC](https://meta.discourse.org/t/upcloud-com-experiences/51996 "2018-06-07T17:31:35Z")

</div>

Changed to yet another VPS provider yesterday, so here are my initial experiences regarding our new host UpCloud.com. Disclaimer: We struck a deal with UpCloud exchanging advertising on our community for hosting credits…

---

## [在 Digital Ocean 上安装 Discourse 遇到的问题](https://meta.discourse.org/t/installing-discourse-problems-digital-ocean/89263)

<div class="topic-metadata">

**Author:** [@bbparis](https://meta.discourse.org/u/bbparis)\
**回覆:** 4\
**Last updated:** [2018年六月7日 07:56 UTC](https://meta.discourse.org/t/installing-discourse-problems-digital-ocean/89263 "2018-06-07T07:56:03Z")

</div>

你好， 我正在 Digital Ocean 上使用最低配置安装 Discourse，即 1GB 内存 / 25GB 存储空间 / 一键安装。 一切正常，直到我使用 SSH 输入我的邮箱、SMTP 信息等……每次我输入…

---

## [自定义？扩展性？](https://meta.discourse.org/t/customization-scaling/89300)

<div class="topic-metadata">

**Author:** [@tyraniczar](https://meta.discourse.org/u/tyraniczar)\
**回覆:** 2\
**Last updated:** [2018年六月7日 01:30 UTC](https://meta.discourse.org/t/customization-scaling/89300 "2018-06-07T01:30:06Z")

</div>

大家好，我是 Discourse 的新手，昨天才刚了解到它。这个项目的社区氛围非常棒。根据我的阅读和观察，我了解到 Discourse 的发展已经领先于 Fl… 之类的替代方案。

---

## [Docker uses root partition, might need more storage space](https://meta.discourse.org/t/docker-uses-root-partition-might-need-more-storage-space/69298)

<div class="topic-metadata">

**Author:** [@Ironclad14](https://meta.discourse.org/u/Ironclad14)\
**回覆:** 14\
**Last updated:** [2018年六月6日 17:39 UTC](https://meta.discourse.org/t/docker-uses-root-partition-might-need-more-storage-space/69298 "2018-06-06T17:39:04Z")

</div>

Hi guys, First post here, sadly it’s regarding support. Docker seems to use my /root partition which is only 20 GB and the rest of my 2TB drive is on /home. root@legio:~# df -h Filesystem Size Used Avail Use% Mou…

---

## [在 AWS 上安装 Discourse](https://meta.discourse.org/t/installing-discourse-on-aws/89084)

<div class="topic-metadata">

**Author:** [@Tango](https://meta.discourse.org/u/Tango)\
**回覆:** 6\
**Last updated:** [2018年六月4日 21:40 UTC](https://meta.discourse.org/t/installing-discourse-on-aws/89084 "2018-06-04T21:40:12Z")

</div>

现在遇到了一个错误：Redis::CommandError: CROSSSLOT Keys in request don’t hash to the same slot 我找到了这篇帖子，但没能完全弄清楚 @sam 的意思。 是不是在 ElastiCache 中无法进行集群？ 先谢过了！ To…

---

## [在 Plesk / Ubuntu 14 上安装 Discourse（无需 Docker）](https://meta.discourse.org/t/install-discourse-on-plesk-ubuntu-14-without-docker/89051)

<div class="topic-metadata">

**Author:** [@bbparis](https://meta.discourse.org/u/bbparis)\
**回覆:** 8\
**Last updated:** [2018年六月4日 13:14 UTC](https://meta.discourse.org/t/install-discourse-on-plesk-ubuntu-14-without-docker/89051 "2018-06-04T13:14:55Z")

</div>

您好， 我的 VPS 包含 Plesk Web Admin 版，我在此管理约 6 个域名。托管公司告诉我：“无法在您的 VPS 计划中添加 Docker”。那么，是否有办法： 1：安装 Discourse 而不…

---

## [按类别划分的 CDN（多国）](https://meta.discourse.org/t/cdn-by-category-multi-country/88804)

<div class="topic-metadata">

**Author:** [@Tango](https://meta.discourse.org/u/Tango)\
**回覆:** 4\
**Last updated:** [2018年六月3日 12:01 UTC](https://meta.discourse.org/t/cdn-by-category-multi-country/88804 "2018-06-03T12:01:33Z")

</div>

您好， 我正在考虑部署一个基于国家的论坛，想知道是否可以将顶级分类设置为各个国家，然后通过 AWS CDN 仅向特定国家显示该国家（及其子分类）的内容？ 这并非一个地点兴趣点……

---

## [Docker 存储驱动](https://meta.discourse.org/t/docker-storage-drivers/88897)

<div class="topic-metadata">

**Author:** [@Danpiel](https://meta.discourse.org/u/Danpiel)\
**回覆:** 6\
**Last updated:** [2018年六月3日 08:19 UTC](https://meta.discourse.org/t/docker-storage-drivers/88897 "2018-06-03T08:19:25Z")

</div>

你好，已将存储驱动程序切换为 devicemapper（direct-lvm），但 Discourse 拒绝重建。为什么 devicemapper 选项被过滤掉了？它本是正确的生产环境配置之一。请勿与 loop-lvm 混淆，其中 loop …

---

## [Traefik 背后的讨论 🐁](https://meta.discourse.org/t/discourse-behind-traefik/84874)

<div class="topic-metadata">

**Author:** [@Cerix](https://meta.discourse.org/u/Cerix)\
**回覆:** 7\
**Last updated:** [2018年六月3日 07:17 UTC](https://meta.discourse.org/t/discourse-behind-traefik/84874 "2018-06-03T07:17:24Z")

</div>

大家好，我正在尝试在 Traefik（用作反向代理）后面安装 Discourse。问题在于创建容器时，我需要指定一些参数，例如： labels: - traefik.backend=disc…

---

## [Multisite Discourse 每个实例的独立文件夹结构 - 2018](https://meta.discourse.org/t/multisite-discourse-separate-folder-structure-of-each-instance-2018/88151)

<div class="topic-metadata">

**Author:** [@seasiri](https://meta.discourse.org/u/seasiri)\
**回覆:** 2\
**Last updated:** [2018年五月22日 19:58 UTC](https://meta.discourse.org/t/multisite-discourse-separate-folder-structure-of-each-instance-2018/88151 "2018-05-22T19:58:54Z")

</div>

欢迎来到 Seasiri 的“求助”栏目最新一期。 我整天浏览相关提问，发现有许多人尝试并咨询多站点安装。我想制作一份分步指南，介绍如何设置多站点……

---

## [对话引导过程中的代理](https://meta.discourse.org/t/proxy-during-discourse-bootstrap/88880)

<div class="topic-metadata">

**Author:** [@sudoman](https://meta.discourse.org/u/sudoman)\
**回覆:** 2\
**Last updated:** [2018年六月1日 21:19 UTC](https://meta.discourse.org/t/proxy-during-discourse-bootstrap/88880 "2018-06-01T21:19:18Z")

</div>

你好， 我尝试在依赖出站 HTTP 代理的情况下进行引导，但引导脚本未遵循代理设置。我创建了以下文件以告知 Docker 使用代理： $ cat /etc/systemd…

---

## [GoDaddy Discourse Install. Pros/Cons](https://meta.discourse.org/t/godaddy-discourse-install-pros-cons/57228)

<div class="topic-metadata">

**Author:** [@Marco\_Raballo](https://meta.discourse.org/u/Marco_Raballo)\
**回覆:** 9\
**Last updated:** [2018年六月1日 16:06 UTC](https://meta.discourse.org/t/godaddy-discourse-install-pros-cons/57228 "2018-06-01T16:06:42Z")

</div>

Hey everyone, im looking into installing Discourse through a GoDaddy hosting: https://www.godaddy.com/pro/one-click-installation/discourse?countryview=1 I already have GoDaddy’s service hired for email and Webflow webp…

---

## [文件系统空间问题](https://meta.discourse.org/t/file-system-space-issue/88844)

<div class="topic-metadata">

**Author:** [@Tyson](https://meta.discourse.org/u/Tyson)\
**回覆:** 9\
**Last updated:** [2018年六月1日 13:03 UTC](https://meta.discourse.org/t/file-system-space-issue/88844 "2018-06-01T13:03:28Z")

</div>

我本地托管的 Discourse 今天早上突然停止工作。我尝试运行 ./launcher rebuild app，但出现了以下错误： 这个分区原本是 20GB，但我用 gparted 将其扩展到 80GB： 所以…

---

## [Does discourse support docker on windows?](https://meta.discourse.org/t/does-discourse-support-docker-on-windows/37577)

<div class="topic-metadata">

**Author:** [@zh99998](https://meta.discourse.org/u/zh99998)\
**回覆:** 6\
**Last updated:** [2018年六月1日 12:58 UTC](https://meta.discourse.org/t/does-discourse-support-docker-on-windows/37577 "2018-06-01T12:58:10Z")

</div>

docker is officially support windows platform now (via vbox) https://docs.docker.com/windows/step\_three/ can discourse run in docker on windows? and how to do it

---

## [Bluehost Cloud Server](https://meta.discourse.org/t/bluehost-cloud-server/33861)

<div class="topic-metadata">

**Author:** [@joebuhlig](https://meta.discourse.org/u/joebuhlig)\
**回覆:** 4\
**Last updated:** [2018年六月1日 11:36 UTC](https://meta.discourse.org/t/bluehost-cloud-server/33861 "2018-06-01T11:36:06Z")

</div>

Looks like Bluehost might have something here: http://cloud.bluehost.com/products/cloud-sites 4 GB and 4 CPUs for $9/month. I have a site on their shared hosting service that I’m planning to move over. Might see how it…

---

## [Stuck @ CHOWN for /var/www/discourse](https://meta.discourse.org/t/stuck-chown-for-var-www-discourse/74138)

<div class="topic-metadata">

**Author:** [@pinkphoenix](https://meta.discourse.org/u/pinkphoenix)\
**回覆:** 15\
**Last updated:** [2018年五月31日 10:31 UTC](https://meta.discourse.org/t/stuck-chown-for-var-www-discourse/74138 "2018-05-31T10:31:37Z")

</div>

Hey All I’ve run through the installation process multiple times now. Unfortunately, each time the entire process comes to a complete halt at cd /var/www/discourse && chown -R discourse /var/www/discourse I’ve tried t…

---

## [What's the proper way to set up Discourse behind a reverse proxy?](https://meta.discourse.org/t/whats-the-proper-way-to-set-up-discourse-behind-a-reverse-proxy/30262)

<div class="topic-metadata">

**Author:** [@seanthegeek](https://meta.discourse.org/u/seanthegeek)\
**回覆:** 3\
**Last updated:** [2018年五月31日 10:15 UTC](https://meta.discourse.org/t/whats-the-proper-way-to-set-up-discourse-behind-a-reverse-proxy/30262 "2018-05-31T10:15:50Z")

</div>

I’d like to set up ningix on my docker host to be a reverse proxy for my Discourse web-only container, so that I can host sites other than Discourse on the same host. I know I need to modify the expose section, but what …

---

## [在 AWS 上安装](https://meta.discourse.org/t/installation-on-aws/88711)

<div class="topic-metadata">

**Author:** [@Tango](https://meta.discourse.org/u/Tango)\
**回覆:** 14\
**Last updated:** [2018年五月31日 06:37 UTC](https://meta.discourse.org/t/installation-on-aws/88711 "2018-05-31T06:37:52Z")

</div>

你好， 我是完全的新手，正在尝试在 AWS 上使用 EC2（Ubuntu 16.04 LTS）、PostgreSQL 和 Redis 进行安装。 我正在参考“30 分钟以内指南”以及 Andrew Stroup 博客中的《使用 AWS 部署 Discourse》教程。 我…

---

## [您推荐哪家邮件服务？](https://meta.discourse.org/t/what-mail-service-do-you-recommend/85507)

<div class="topic-metadata">

**Author:** [@qianqiang](https://meta.discourse.org/u/qianqiang)\
**回覆:** 3\
**Last updated:** [2018年五月29日 15:16 UTC](https://meta.discourse.org/t/what-mail-service-do-you-recommend/85507 "2018-05-29T15:16:44Z")

</div>

各位合作伙伴，你们配置的是哪款邮件服务器？有什么推荐吗？

---

## [对于Cloudflare SSL，我所做的只是普通安装和DNS A记录。（这样可以吗？确实很容易）](https://meta.discourse.org/t/for-cloudflare-ssl-all-i-did-was-regular-install-and-dns-a-record-is-this-ok-sure-was-easy/88609)

<div class="topic-metadata">

**Author:** [@subtenko](https://meta.discourse.org/u/subtenko)\
**回覆:** 6\
**Last updated:** [2018年五月28日 23:52 UTC](https://meta.discourse.org/t/for-cloudflare-ssl-all-i-did-was-regular-install-and-dns-a-record-is-this-ok-sure-was-easy/88609 "2018-05-28T23:52:15Z")

</div>

SSL 指示让我有点困惑，因为我为某个特定网站使用了 Cloudflare。Discourse SSL 安装时提到了 Let's Encrypt，但几乎没有提及如何使用其他方式，实际上我发布了一个…

---

## [SMTP: Mailgun vs elasticemail?](https://meta.discourse.org/t/smtp-mailgun-vs-elasticemail/75475)

<div class="topic-metadata">

**Author:** [@frold](https://meta.discourse.org/u/frold)\
**回覆:** 6\
**Last updated:** [2018年五月27日 10:19 UTC](https://meta.discourse.org/t/smtp-mailgun-vs-elasticemail/75475 "2018-05-27T10:19:07Z")

</div>

I already had an account at elasticemail therefor my forum is setup with elasticemail. I had 2 dollars on my account, but when I have used them I wonder Mailgun vs elasticemail? In the setting I can see a special one fo…

---

## [Postgres 升级时空间不足以进行升级](https://meta.discourse.org/t/not-enough-disk-space-for-upgrade-when-postgres-is-upgraded/86966)

<div class="topic-metadata">

**Author:** [@gauthier](https://meta.discourse.org/u/gauthier)\
**回覆:** 7\
**Last updated:** [2018年五月24日 11:32 UTC](https://meta.discourse.org/t/not-enough-disk-space-for-upgrade-when-postgres-is-upgraded/86966 "2018-05-24T11:32:32Z")

</div>

您好， 由于磁盘空间问题，我长时间无法升级我的安装。 我目前使用的是 v2.0.0beta1…… 我的 VPS 有 20GB 空间，剩余 5.6GB 我已经删除了备份和大量上传…… 当我尝试……

---

## [\[求助\] 使用 letsencrypt-nginx-proxy-companion 搭建多站点](https://meta.discourse.org/t/help-multisite-with-letsencrypt-nginx-proxy-companion/88192)

<div class="topic-metadata">

**Author:** [@Yule\_Augustine](https://meta.discourse.org/u/Yule_Augustine)\
**回覆:** 4\
**Last updated:** [2018年五月23日 04:15 UTC](https://meta.discourse.org/t/help-multisite-with-letsencrypt-nginx-proxy-companion/88192 "2018-05-23T04:15:03Z")

</div>

在我的 app.yml 中，进行以下更改： 仅暴露端口 80： expose: - "80" # 将主机端口 80 转发到容器端口 80（HTTP） 在 env: 部分，添加最后三行新内容： DISCOURSE\_HOSTNAME: 'a.com' VIRTUAL\_HOS…

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

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