# Self-hosting

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

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

**Page:** 150

---

## [Advice on an easy landing page template to run with Discourse? On the same server?](https://meta.discourse.org/t/advice-on-an-easy-landing-page-template-to-run-with-discourse-on-the-same-server/13529)

<div class="topic-metadata">

**Author:** [@pa5tabear](https://meta.discourse.org/u/pa5tabear)\
**回覆:** 6\
**Last updated:** [2016年七月16日 16:47 UTC](https://meta.discourse.org/t/advice-on-an-easy-landing-page-template-to-run-with-discourse-on-the-same-server/13529 "2016-07-16T16:47:56Z")

</div>

I just set up an instance on Digital Ocean using the Beginner’s Docker guide. I want to set up a landing page as well, and I’m wondering what the best way to do this is. Would a 1core/1GB droplet be overloaded running b…

---

## [Mumble and Discourse sharing 2GBs Ram](https://meta.discourse.org/t/mumble-and-discourse-sharing-2gbs-ram/47363)

<div class="topic-metadata">

**Author:** [@erasmus\_grant](https://meta.discourse.org/u/erasmus_grant)\
**回覆:** 5\
**Last updated:** [2016年七月15日 22:53 UTC](https://meta.discourse.org/t/mumble-and-discourse-sharing-2gbs-ram/47363 "2016-07-15T22:53:39Z")

</div>

I have a 2 GB ram and 40 GB SSD VPS with 3TB transfer. I am wondering if I can have both Discourse and Mumble for a community of 500 people running on the same server. Is it possible to have discourse show up as a mysit…

---

## [Anyone here tried Google Compute?](https://meta.discourse.org/t/anyone-here-tried-google-compute/46857)

<div class="topic-metadata">

**Author:** [@P16](https://meta.discourse.org/u/P16)\
**回覆:** 10\
**Last updated:** [2016年七月14日 09:21 UTC](https://meta.discourse.org/t/anyone-here-tried-google-compute/46857 "2016-07-14T09:21:53Z")

</div>

I have been testing Discourse on both DO and Google Compute, and have been leaning towards the latter. Their CDN, DNS, storage, speed, etc is impressive, plus everything is built in which makes everything easier. Its sli…

---

## [Vagrant: changing ownership of ‘/shared/postgres\_run’: Operation not permitted](https://meta.discourse.org/t/vagrant-changing-ownership-of-shared-postgres-run-operation-not-permitted/37197)

<div class="topic-metadata">

**Author:** [@aventurella](https://meta.discourse.org/u/aventurella)\
**回覆:** 1\
**Last updated:** [2016年七月13日 10:54 UTC](https://meta.discourse.org/t/vagrant-changing-ownership-of-shared-postgres-run-operation-not-permitted/37197 "2016-07-13T10:54:30Z")

</div>

I am running my install from vagrant under the vmware fusion provider. Only have altered the cloned Vagrant file as follows: config.vm.provider "vmware\_fusion" do |v| v.vmx\["memsize"\] = "2048" v.vmx\["numvcpus"\] …

---

## [Installation on v-server as a subfolder with other services in subfolders using apache](https://meta.discourse.org/t/installation-on-v-server-as-a-subfolder-with-other-services-in-subfolders-using-apache/39731)

<div class="topic-metadata">

**Author:** [@JohnDoe1](https://meta.discourse.org/u/JohnDoe1)\
**回覆:** 39\
**Last updated:** [2016年七月6日 15:22 UTC](https://meta.discourse.org/t/installation-on-v-server-as-a-subfolder-with-other-services-in-subfolders-using-apache/39731 "2016-07-06T15:22:46Z")

</div>

Hi there, before posing configs and logs, just a basic question: I am understanding, that it should be possible to host discourse on any server that provides docker? I did not use docker before, but after installing I w…

---

## [Site down after enabling SSL](https://meta.discourse.org/t/site-down-after-enabling-ssl/46778)

<div class="topic-metadata">

**Author:** [@P16](https://meta.discourse.org/u/P16)\
**回覆:** 17\
**Last updated:** [2016年七月5日 06:16 UTC](https://meta.discourse.org/t/site-down-after-enabling-ssl/46778 "2016-07-05T06:16:44Z")

</div>

I bought a PositiveSSL from Namecheap today and followed the instructions at: Which included placing ssl.key and ssl.crt at /var/discourse/shared/standalone/ssl/ and adding the additional templates to app.yml. I have s…

---

## [Daily performance reports keep asking to rebuild container](https://meta.discourse.org/t/daily-performance-reports-keep-asking-to-rebuild-container/38311)

<div class="topic-metadata">

**Author:** [@downey](https://meta.discourse.org/u/downey)\
**回覆:** 22\
**Last updated:** [2016年七月1日 13:33 UTC](https://meta.discourse.org/t/daily-performance-reports-keep-asking-to-rebuild-container/38311 "2016-07-01T13:33:03Z")

</div>

Reproduce: Enable the site setting daily performance report (“Analyze NGINX logs daily and post a Staff Only topic with details”). Update the Docker image: cd /var/discourse ./launcher rebuild app Expected Resu…

---

## [User avatars are not displaying](https://meta.discourse.org/t/user-avatars-are-not-displaying/46683)

<div class="topic-metadata">

**Author:** [@drazisil](https://meta.discourse.org/u/drazisil)\
**回覆:** 6\
**Last updated:** [2016年七月1日 00:09 UTC](https://meta.discourse.org/t/user-avatars-are-not-displaying/46683 "2016-07-01T00:09:15Z")

</div>

Trying to get user avatars working. The default letter ones work. When I upload, I get no errors, but the images are broken / do not exist. The image url is in this format: http://forum.mcouniverse.com:8080/user\_avatar…

---

## [Connection timed out while connecting to upstream on AWS](https://meta.discourse.org/t/connection-timed-out-while-connecting-to-upstream-on-aws/46517)

<div class="topic-metadata">

**Author:** [@stefanini.mf](https://meta.discourse.org/u/stefanini.mf)\
**回覆:** 12\
**Last updated:** [2016年六月28日 03:41 UTC](https://meta.discourse.org/t/connection-timed-out-while-connecting-to-upstream-on-aws/46517 "2016-06-28T03:41:06Z")

</div>

I’m hosting a discourse instance (running latest), on aws with 7.5gb ram and 2 CPU’s (it’s a m3.large). While sometimes discourse works okay, some other times requests seem to get stuck and people either see a infinite …

---

## [Unable to correct problems, you have held broken packages when trying to run a phpBB importer](https://meta.discourse.org/t/unable-to-correct-problems-you-have-held-broken-packages-when-trying-to-run-a-phpbb-importer/46499)

<div class="topic-metadata">

**Author:** [@mbajur](https://meta.discourse.org/u/mbajur)\
**回覆:** 5\
**Last updated:** [2016年六月27日 11:49 UTC](https://meta.discourse.org/t/unable-to-correct-problems-you-have-held-broken-packages-when-trying-to-run-a-phpbb-importer/46499 "2016-06-27T11:49:13Z")

</div>

Hello! I’m trying to run a docker phpbb3 importer by following this guide: Migrate a phpBB3 forum to Discourse However, during point 3 (./launcher rebuild import), script gives me a following output: I was able to ru…

---

## [Error rebuilding, bundler exits with code 137](https://meta.discourse.org/t/error-rebuilding-bundler-exits-with-code-137/46463)

<div class="topic-metadata">

**Author:** [@OmJmr](https://meta.discourse.org/u/OmJmr)\
**回覆:** 12\
**Last updated:** [2016年六月26日 22:26 UTC](https://meta.discourse.org/t/error-rebuilding-bundler-exits-with-code-137/46463 "2016-06-26T22:26:39Z")

</div>

Hi I got this error when I tried to rebuild app “./launcher rebuild app” FAILED -------------------- Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle exec rake assets:precompile' failed with return #\<P…

---

## [如何更改 Docker 的端口 - 帮助](https://meta.discourse.org/t/how-to-change-the-port-from-docker-help/46401)

<div class="topic-metadata">

**Author:** [@paulfree](https://meta.discourse.org/u/paulfree)\
**回覆:** 1\
**Last updated:** [2016年六月26日 18:41 UTC](https://meta.discourse.org/t/how-to-change-the-port-from-docker-help/46401 "2016-06-26T18:41:54Z")

</div>

我已设置 ningx 在与 Discourse 相同的机器上运行其他网站。我使用的描述是：https://meta.discourse.org/t/running-other-websites-on-the-same-machine-as-discourse/17247 我没有遵循所有步骤…

---

## [How to run discourse on my laptop](https://meta.discourse.org/t/how-to-run-discourse-on-my-laptop/46300)

<div class="topic-metadata">

**Author:** [@paulfree](https://meta.discourse.org/u/paulfree)\
**回覆:** 3\
**Last updated:** [2016年六月23日 11:14 UTC](https://meta.discourse.org/t/how-to-run-discourse-on-my-laptop/46300 "2016-06-23T11:14:52Z")

</div>

Hi, I like to play a bit with discourse. To also understand how to install it I would like to let it run fist on my laptop. What I did so far: - installed docker - installed discourse What I don’t know: How do I no l…

---

## [SunOS installation?](https://meta.discourse.org/t/sunos-installation/45970)

<div class="topic-metadata">

**Author:** [@benni](https://meta.discourse.org/u/benni)\
**回覆:** 1\
**Last updated:** [2016年六月19日 09:02 UTC](https://meta.discourse.org/t/sunos-installation/45970 "2016-06-19T09:02:30Z")

</div>

hey guys I wanna create a nice little website + community board just like “www.discourse.org” I have the PowerWeb Basic bundle from strato that means: domains, webspace and email accounts at first I used the install-c…

---

## [Building an Amazon Discourse pilot, planning for scale](https://meta.discourse.org/t/building-an-amazon-discourse-pilot-planning-for-scale/45458)

<div class="topic-metadata">

**Author:** [@edanto](https://meta.discourse.org/u/edanto)\
**回覆:** 11\
**Last updated:** [2016年六月14日 22:48 UTC](https://meta.discourse.org/t/building-an-amazon-discourse-pilot-planning-for-scale/45458 "2016-06-14T22:48:34Z")

</div>

Having looked at a few different platforms, I think that Discourse will be the best platform for our volunteer group. I’m not fully sure how best to build it so that it is very cheap to run for the first few months of p…

---

## [Docker0 Missing (OpenVZ)](https://meta.discourse.org/t/docker0-missing-openvz/45434)

<div class="topic-metadata">

**Author:** [@JupiterFlux](https://meta.discourse.org/u/JupiterFlux)\
**回覆:** 12\
**Last updated:** [2016年六月12日 02:03 UTC](https://meta.discourse.org/t/docker0-missing-openvz/45434 "2016-06-12T02:03:09Z")

</div>

I am getting the docker0 not found error after completing discourse-setup and on future attempts to start and connect. I am using Ubuntu 14.04.4 LTS (64 bit). Just installed, well… if it’s technically installed at this…

---

## [无法使用过时的 Docker 引导 1.6.0.beta 8](https://meta.discourse.org/t/failed-to-bootstrap-1-6-0-beta-8-with-out-of-date-docker/45570)

<div class="topic-metadata">

**Author:** [@Josiah\_Toppin](https://meta.discourse.org/u/Josiah_Toppin)\
**回覆:** 4\
**Last updated:** [2016年六月11日 19:42 UTC](https://meta.discourse.org/t/failed-to-bootstrap-1-6-0-beta-8-with-out-of-date-docker/45570 "2016-06-11T19:42:07Z")

</div>

今天从1.6.0.beta 7更新到beta 8。我现在没有时间深入研究，但这是抛出的错误 - 运行 ./launcher rebuild app FAILED Pups::ExecError: cd /var/www/discourse && su

---

## [Report on using discourse\_docker on a CoreOS image](https://meta.discourse.org/t/report-on-using-discourse-docker-on-a-coreos-image/19745)

<div class="topic-metadata">

**Author:** [@julsevern](https://meta.discourse.org/u/julsevern)\
**回覆:** 18\
**Last updated:** [2016年六月11日 08:25 UTC](https://meta.discourse.org/t/report-on-using-discourse-docker-on-a-coreos-image/19745 "2016-06-11T08:25:06Z")

</div>

I can happily report that discourse\_docker works just fine on a CoreOS image. There was exactly one thing I had to modify: localhost discourse # git --no-pager diff diff --git a/launcher b/launcher index bc7f204..07dca0…

---

## [容器在系统更新后无法启动（或重新启动）](https://meta.discourse.org/t/container-fails-to-re-start-after-system-update/45541)

<div class="topic-metadata">

**Author:** [@JohnDoe1](https://meta.discourse.org/u/JohnDoe1)\
**回覆:** 7\
**Last updated:** [2016年六月10日 21:04 UTC](https://meta.discourse.org/t/container-fails-to-re-start-after-system-update/45541 "2016-06-10T21:04:37Z")

</div>

你好， 几天前我通过apt-get升级了我的服务器（debian 8.5）。docker-engine也被更新了。我只为discourse使用docker。更新后，discourse容器没有重新启动。手动重启失败，出现 /var…

---

## [Installing Discourse Under Nginx](https://meta.discourse.org/t/installing-discourse-under-nginx/45381)

<div class="topic-metadata">

**Author:** [@JupiterFlux](https://meta.discourse.org/u/JupiterFlux)\
**回覆:** 2\
**Last updated:** [2016年六月7日 20:38 UTC](https://meta.discourse.org/t/installing-discourse-under-nginx/45381 "2016-06-07T20:38:00Z")

</div>

From what I’ve read Discourse is meant to be installed using a Docker Image, which (from what I’ve read) means it will basically be the entire contents of the VM that it runs on, which… well, is less than ideal for me. B…

---

## [Google Cloud One-Click install issue](https://meta.discourse.org/t/google-cloud-one-click-install-issue/45066)

<div class="topic-metadata">

**Author:** [@kirkstrobeck](https://meta.discourse.org/u/kirkstrobeck)\
**回覆:** 4\
**Last updated:** [2016年六月7日 10:24 UTC](https://meta.discourse.org/t/google-cloud-one-click-install-issue/45066 "2016-06-07T10:24:23Z")

</div>

See http://stackoverflow.com/q/37558044/537998

---

## [尝试使用SSL时遇到502 Bad Gateway](https://meta.discourse.org/t/bad-gateway-when-trying-to-use-ssl/45197)

<div class="topic-metadata">

**Author:** [@Grex315](https://meta.discourse.org/u/Grex315)\
**回覆:** 1\
**Last updated:** [2016年六月3日 16:20 UTC](https://meta.discourse.org/t/bad-gateway-when-trying-to-use-ssl/45197 "2016-06-03T16:20:39Z")

</div>

问题：我有一个 DO 服务器，设置了一个 Wordpress 网站和 Discourse。我最近转到使用 SSL。我按照这里的指南操作：以及 DO 这里的指南。任何一个指南都让我遇到错误的网关…

---

## [Install discourse at lower version](https://meta.discourse.org/t/install-discourse-at-lower-version/22446)

<div class="topic-metadata">

**Author:** [@coubeatczech](https://meta.discourse.org/u/coubeatczech)\
**回覆:** 6\
**Last updated:** [2016年五月31日 04:23 UTC](https://meta.discourse.org/t/install-discourse-at-lower-version/22446 "2016-05-31T04:23:23Z")

</div>

Hi, I’d like to install discourse at a specific commit, because I have a migration plugin that I have that only works with some range of commits, definitely not with the current newest. How do I do that? Thanks

---

## [我如何使用控制台错误重新安装Discourse？](https://meta.discourse.org/t/how-can-i-reinstall-discourse-with-console-errors/44964)

<div class="topic-metadata">

**Author:** [@Daffy\_Chu](https://meta.discourse.org/u/Daffy_Chu)\
**回覆:** 12\
**Last updated:** [2016年五月29日 22:12 UTC](https://meta.discourse.org/t/how-can-i-reinstall-discourse-with-console-errors/44964 "2016-05-29T22:12:24Z")

</div>

你好， 今天下午，我在尝试进入某个类别时遇到500内部服务器错误。 于是我想，为什么不重新安装我的整个discourse论坛，看看是否会……

---

## [升级时显示“无法分配内存”](https://meta.discourse.org/t/cannot-allocate-memory-when-upgrading/44029)

<div class="topic-metadata">

**Author:** [@prateekvarma](https://meta.discourse.org/u/prateekvarma)\
**回覆:** 24\
**Last updated:** [2016年五月24日 21:54 UTC](https://meta.discourse.org/t/cannot-allocate-memory-when-upgrading/44029 "2016-05-24T21:54:33Z")

</div>

你好，我刚在我的新discourse论坛上收到一条升级到最新版本的消息。在进行安装（在黑色控制台上）时，我看到了一些我不太记得的关于旧版本的错误信息……

---

## [How can I enable SSL while running on a different port + Issue with subdomain](https://meta.discourse.org/t/how-can-i-enable-ssl-while-running-on-a-different-port-issue-with-subdomain/44646)

<div class="topic-metadata">

**Author:** [@Daffy\_Chu](https://meta.discourse.org/u/Daffy_Chu)\
**回覆:** 4\
**Last updated:** [2016年五月23日 18:30 UTC](https://meta.discourse.org/t/how-can-i-enable-ssl-while-running-on-a-different-port-issue-with-subdomain/44646 "2016-05-23T18:30:37Z")

</div>

Hello, Recently, I have just successfully installed this forum into my server machine. But instead of just running a single Discourse forum on the machine, I combined it with cpanel web host for running custom html for …

---

## [Upgrading problems](https://meta.discourse.org/t/upgrading-problems/44659)

<div class="topic-metadata">

**Author:** [@Emmanuel\_Alex\_Wong](https://meta.discourse.org/u/Emmanuel_Alex_Wong)\
**回覆:** 1\
**Last updated:** [2016年五月23日 08:04 UTC](https://meta.discourse.org/t/upgrading-problems/44659 "2016-05-23T08:04:49Z")

</div>

Hi All, I was wondering if anyone could advise me based on the following log when performing an upgrade. Errno::ENOMEM: Cannot allocate memory - gzip -f -c -7 /var/www/discourse/public/assets/docker-manager-app-fc45ae9…

---

## [Gem::RemoteFetcher::FetchError 在安装过程中出现错误](https://meta.discourse.org/t/gem-remotefetcher-fetcherror-error-during-install/44608)

<div class="topic-metadata">

**Author:** [@obboy](https://meta.discourse.org/u/obboy)\
**回覆:** 3\
**Last updated:** [2016年五月22日 11:42 UTC](https://meta.discourse.org/t/gem-remotefetcher-fetcherror-error-during-install/44608 "2016-05-22T11:42:49Z")

</div>

当我执行 ./discourse-setup 脚本时，收到以下信息： 我，\[2016-05-22T10:46:17.514250 #36\] INFO -- : 发送 TERM 给执行 chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf pid: 235 235: 信号…

---

## [Asking Verification Email on Local Server Bitnami](https://meta.discourse.org/t/asking-verification-email-on-local-server-bitnami/43585)

<div class="topic-metadata">

**Author:** [@Rendradipa](https://meta.discourse.org/u/Rendradipa)\
**回覆:** 4\
**Last updated:** [2016年五月20日 06:11 UTC](https://meta.discourse.org/t/asking-verification-email-on-local-server-bitnami/43585 "2016-05-20T06:11:02Z")

</div>

Hello, I just downloaded Discourse, and I put on the local server BitNami. When creating a new account, required for the verification email, but I did not get such verification on my email. therefore I can not login to t…

---

## [Is Discourse using Ruby 2.0? Howto use Ruby 2.2](https://meta.discourse.org/t/is-discourse-using-ruby-2-0-howto-use-ruby-2-2/44248)

<div class="topic-metadata">

**Author:** [@arrowcircle](https://meta.discourse.org/u/arrowcircle)\
**回覆:** 11\
**Last updated:** [2016年五月19日 20:09 UTC](https://meta.discourse.org/t/is-discourse-using-ruby-2-0-howto-use-ruby-2-2/44248 "2016-05-19T20:09:40Z")

</div>

Hi! Today I looked at my Discourse installation and after rebuilding app image, somehow decided to check ruby version. ./launcher enter app ruby -v ruby 2.0.0p647 (2015-08-18 revision 51631) \[x86\_64-linux\] It real…

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

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