# Self-hosting

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

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

**Page:** 147

---

## [How to import only last two years of topics and posts (phpbb3)](https://meta.discourse.org/t/how-to-import-only-last-two-years-of-topics-and-posts-phpbb3/53962)

<div class="topic-metadata">

**Author:** [@Janno\_Liivak](https://meta.discourse.org/u/Janno_Liivak)\
**回覆:** 6\
**Last updated:** [2016年十二月8日 19:31 UTC](https://meta.discourse.org/t/how-to-import-only-last-two-years-of-topics-and-posts-phpbb3/53962 "2016-12-08T19:31:50Z")

</div>

Hi! We’re in a process to make a move from phpbb3 to Discourse. We would like to not import older data and go for example with posts starting from year 2014 or 2015. How can this be done? Has anyone experience with such …

---

## [如何将我的交换区大小从1GB升级到2GB](https://meta.discourse.org/t/how-to-upgrade-my-swap-size-from-1-to-2-go/53855)

<div class="topic-metadata">

**Author:** [@CamilleRoux](https://meta.discourse.org/u/CamilleRoux)\
**回覆:** 1\
**Last updated:** [2016年十二月6日 14:33 UTC](https://meta.discourse.org/t/how-to-upgrade-my-swap-size-from-1-to-2-go/53855 "2016-12-06T14:33:01Z")

</div>

您好， 我在Digital Ocean服务器上托管Discourse，使用Ubuntu 14.04.4 LTS。您知道如何将我的交换空间从1 GB升级到2 GB吗？ 谢谢

---

## [Bluemix anyone?](https://meta.discourse.org/t/bluemix-anyone/53804)

<div class="topic-metadata">

**Author:** [@dsanchez](https://meta.discourse.org/u/dsanchez)\
**回覆:** 2\
**Last updated:** [2016年十二月5日 20:32 UTC](https://meta.discourse.org/t/bluemix-anyone/53804 "2016-12-05T20:32:48Z")

</div>

Anyone has managed to deploy Discourse on Bluemix? If yes what was your experience?

---

## [Digital Ocean Droplet](https://meta.discourse.org/t/digital-ocean-droplet/53682)

<div class="topic-metadata">

**Author:** [@Ham](https://meta.discourse.org/u/Ham)\
**回覆:** 1\
**Last updated:** [2016年十二月2日 12:15 UTC](https://meta.discourse.org/t/digital-ocean-droplet/53682 "2016-12-02T12:15:50Z")

</div>

Hey guys. I got the $20 plan for my site but the multi is too much trouble for me. Would the $5 droplet work to set up a test site on a test url there?

---

## [Can't rebuild app](https://meta.discourse.org/t/cant-rebuild-app/53648)

<div class="topic-metadata">

**Author:** [@companyhen](https://meta.discourse.org/u/companyhen)\
**回覆:** 9\
**Last updated:** [2016年十二月2日 02:17 UTC](https://meta.discourse.org/t/cant-rebuild-app/53648 "2016-12-02T02:17:29Z")

</div>

root@forum:/var/discourse# ./launcher rebuild app Ensuring launcher is up to date Fetching origin Launcher is up-to-date Stopping old container /usr/bin/docker stop -t 10 app I’m not using spaces instead of tabs. …

---

## [Does discourse support running on Heroku?](https://meta.discourse.org/t/does-discourse-support-running-on-heroku/53646)

<div class="topic-metadata">

**Author:** [@mvxlr](https://meta.discourse.org/u/mvxlr)\
**回覆:** 1\
**Last updated:** [2016年十二月1日 19:52 UTC](https://meta.discourse.org/t/does-discourse-support-running-on-heroku/53646 "2016-12-01T19:52:50Z")

</div>

I’ve found some resources online, mostly from 2013 Deploying Discourse to Heroku | (Un)Boxing Code regarding running discourse on Heroku. Has there been any progress on this? Any lessons to share? EDIT: Guys I know it’…

---

## [在VPS上使用的最佳docker存储后端是什么？](https://meta.discourse.org/t/what-is-the-best-docker-storage-backend-to-use-on-a-vps/34646)

<div class="topic-metadata">

**Author:** [@jd2066](https://meta.discourse.org/u/jd2066)\
**回覆:** 9\
**Last updated:** [2016年十一月29日 14:24 UTC](https://meta.discourse.org/t/what-is-the-best-docker-storage-backend-to-use-on-a-vps/34646 "2016-11-29T14:24:50Z")

</div>

根据我所找到的，这些是可用的存储驱动程序： 联合文件系统 - aufs 和 overlayfs 我目前使用 overlayfs，看起来还可以，但我不太确定，因为我读过它可能会用到…

---

## [Email not working properly](https://meta.discourse.org/t/email-not-working-properly/53474)

<div class="topic-metadata">

**Author:** [@Ham](https://meta.discourse.org/u/Ham)\
**回覆:** 5\
**Last updated:** [2016年十一月28日 17:01 UTC](https://meta.discourse.org/t/email-not-working-properly/53474 "2016-11-28T17:01:53Z")

</div>

Using Digital Ocean one click app. I setup mail and tested SPF Text Record and DKIM Record are fine using Sparkpost.com. Showed everything fine. Initially I tried mailgun- showed my domain disabled from the start even w…

---

## ['./launcher bootstrap app' fails when Docker started with '--userns-remap=default' option](https://meta.discourse.org/t/launcher-bootstrap-app-fails-when-docker-started-with-userns-remap-default-option/52566)

<div class="topic-metadata">

**Author:** [@Rob\_T](https://meta.discourse.org/u/Rob_T)\
**回覆:** 5\
**Last updated:** [2016年十一月25日 09:01 UTC](https://meta.discourse.org/t/launcher-bootstrap-app-fails-when-docker-started-with-userns-remap-default-option/52566 "2016-11-25T09:01:26Z")

</div>

Docker version 1.12.3, build 6b644ec The ‘shared’ subdirectory seems to cause issues when Docker started with ‘–userns-remap=default’. First error was ‘stat /var/discourse/shared/standalone: permission denied’ I then …

---

## [Let's Encrypt Crowdfunding Campaign](https://meta.discourse.org/t/lets-encrypt-crowdfunding-campaign/52754)

<div class="topic-metadata">

**Author:** [@mcwumbly](https://meta.discourse.org/u/mcwumbly)\
**回覆:** 2\
**Last updated:** [2016年十一月23日 15:59 UTC](https://meta.discourse.org/t/lets-encrypt-crowdfunding-campaign/52754 "2016-11-23T15:59:57Z")

</div>

The folks at Let’s Encrypt have kicked off a crowd funding campaign. If you use their service for your self hosted Discourse site, or generally support what they are doing, consider making a donation (and spread the wor…

---

## [Pay for one-time Discourse migration?](https://meta.discourse.org/t/pay-for-one-time-discourse-migration/53221)

<div class="topic-metadata">

**Author:** [@dfabulich](https://meta.discourse.org/u/dfabulich)\
**回覆:** 4\
**Last updated:** [2016年十一月21日 22:20 UTC](https://meta.discourse.org/t/pay-for-one-time-discourse-migration/53221 "2016-11-21T22:20:38Z")

</div>

For some reason I thought the pricing page offered a way to pay CDCK to migrate a forum (e.g. from phpBB) to Discourse, but run the migrated site on a self-supported DigitalOcean instance. Is that a product CDCK offers? …

---

## [Wordpress and Discourse in a single droplet](https://meta.discourse.org/t/wordpress-and-discourse-in-a-single-droplet/53217)

<div class="topic-metadata">

**Author:** [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**回覆:** 3\
**Last updated:** [2016年十一月21日 21:10 UTC](https://meta.discourse.org/t/wordpress-and-discourse-in-a-single-droplet/53217 "2016-11-21T21:10:55Z")

</div>

Continuing the discussion from New Offering: Install Discourse and WordPress in one Droplet: In the above offering, I do a standard Cloud Install, move Discourse to another port, and install Apache to serve Wordpress an…

---

## [Installation fails due to postgre](https://meta.discourse.org/t/installation-fails-due-to-postgre/53211)

<div class="topic-metadata">

**Author:** [@Paktosan](https://meta.discourse.org/u/Paktosan)\
**回覆:** 2\
**Last updated:** [2016年十一月21日 20:26 UTC](https://meta.discourse.org/t/installation-fails-due-to-postgre/53211 "2016-11-21T20:26:05Z")

</div>

Hi, when trying to install discourse on Ubuntu 16.04 or OpenSUSE 42.2 I get the following error: SUSE Paste Can you tell me what is broken there and how I can fix it? Thank you, Paktosan

---

## [SMF's categories vs Discourse's categories](https://meta.discourse.org/t/smfs-categories-vs-discourses-categories/53212)

<div class="topic-metadata">

**Author:** [@dsanchez](https://meta.discourse.org/u/dsanchez)\
**回覆:** 3\
**Last updated:** [2016年十一月21日 19:48 UTC](https://meta.discourse.org/t/smfs-categories-vs-discourses-categories/53212 "2016-11-21T19:48:59Z")

</div>

In SMF a category is just a container for boards, i.e. you can not post anything in a category, you can only post in a Board or a sub-board. SMF allows for unlimited sub-boards. In Discourse you can create topics in cat…

---

## [All admin strings are gone after rebuild with plugin](https://meta.discourse.org/t/all-admin-strings-are-gone-after-rebuild-with-plugin/53152)

<div class="topic-metadata">

**Author:** [@amine](https://meta.discourse.org/u/amine)\
**回覆:** 13\
**Last updated:** [2016年十一月21日 10:31 UTC](https://meta.discourse.org/t/all-admin-strings-are-gone-after-rebuild-with-plugin/53152 "2016-11-21T10:31:27Z")

</div>

Hi, all amdin strings are gone when I did a rebuild to install a plugin. I can’t find a way to fix this.

---

## [Does the XenForo to Discourse Converter also imports password?](https://meta.discourse.org/t/does-the-xenforo-to-discourse-converter-also-imports-password/49647)

<div class="topic-metadata">

**Author:** [@RoldanLT](https://meta.discourse.org/u/RoldanLT)\
**回覆:** 5\
**Last updated:** [2016年十一月21日 10:06 UTC](https://meta.discourse.org/t/does-the-xenforo-to-discourse-converter-also-imports-password/49647 "2016-11-21T10:06:24Z")

</div>

What is the complete list of data it will retain or import from XenForo? Thanks!

---

## [Questions About Migrating From Xenforo](https://meta.discourse.org/t/questions-about-migrating-from-xenforo/42966)

<div class="topic-metadata">

**Author:** [@Overmind](https://meta.discourse.org/u/Overmind)\
**回覆:** 21\
**Last updated:** [2016年十一月21日 03:20 UTC](https://meta.discourse.org/t/questions-about-migrating-from-xenforo/42966 "2016-11-21T03:20:13Z")

</div>

I have a forum with 30k users, 3m posts, and 100k+ threads currently running Xenforo looking to migrate to Discourse. Have a few pre-migration questions, I had this typed in a draft but when I came back it seems to have …

---

## [Pgsql-9.1 No such file or directory](https://meta.discourse.org/t/pgsql-9-1-no-such-file-or-directory/53132)

<div class="topic-metadata">

**Author:** [@Ehsan\_Gholami](https://meta.discourse.org/u/Ehsan_Gholami)\
**回覆:** 3\
**Last updated:** [2016年十一月20日 02:52 UTC](https://meta.discourse.org/t/pgsql-9-1-no-such-file-or-directory/53132 "2016-11-20T02:52:24Z")

</div>

hi i use CentOS release 6.8 (Final) i use THIS guide from digitalocean to install discourse in installation i install pgsql-9.6 and now when i want to run bundle install --deployment show me this error Gem::Ex…

---

## [Won't Run on Different Port](https://meta.discourse.org/t/wont-run-on-different-port/52843)

<div class="topic-metadata">

**Author:** [@Jackz](https://meta.discourse.org/u/Jackz)\
**回覆:** 4\
**Last updated:** [2016年十一月15日 00:02 UTC](https://meta.discourse.org/t/wont-run-on-different-port/52843 "2016-11-15T00:02:53Z")

</div>

Hello. I’m trying to install discourse on my server. I have an apache server currently running on port 80 and 443 at /var/www I want to install discourse to run at port 8080 for HTTP (I don’t care for https at the mome…

---

## [在 Docker 中使用 Discourse + NGINX 反向代理 + 全部启用 SSL + 自定义 OAuth2](https://meta.discourse.org/t/discourse-in-docker-nginx-reverse-proxy-ssl-everywhere-oauth2-custom/52280)

<div class="topic-metadata">

**Author:** [@lightweight](https://meta.discourse.org/u/lightweight)\
**回覆:** 17\
**Last updated:** [2016年十一月14日 21:58 UTC](https://meta.discourse.org/t/discourse-in-docker-nginx-reverse-proxy-ssl-everywhere-oauth2-custom/52280 "2016-11-14T21:58:53Z")

</div>

我希望这里有人能有必要的洞察力/Discourse调试技巧，帮我弄清楚为什么我的SSO工作会失败……到目前为止的情况是：我有一个Discourse实例（v1.7.0.beta6），在一个Docker容器中运行……

---

## [Can I install discourse with docker in Debian?](https://meta.discourse.org/t/can-i-install-discourse-with-docker-in-debian/14305)

<div class="topic-metadata">

**Author:** [@vanabel](https://meta.discourse.org/u/vanabel)\
**回覆:** 10\
**Last updated:** [2016年十一月14日 02:16 UTC](https://meta.discourse.org/t/can-i-install-discourse-with-docker-in-debian/14305 "2016-11-14T02:16:29Z")

</div>

It seems that the official doc is only work in Ubuntu, I trt to follow the instruction in Debian, but stuck in the step IMPORTANT: Before You Start.

---

## [Installation failing on AWS EC2 with Ubuntu 16.04](https://meta.discourse.org/t/installation-failing-on-aws-ec2-with-ubuntu-16-04/52659)

<div class="topic-metadata">

**Author:** [@Aman\_Jagga](https://meta.discourse.org/u/Aman_Jagga)\
**回覆:** 6\
**Last updated:** [2016年十一月12日 10:34 UTC](https://meta.discourse.org/t/installation-failing-on-aws-ec2-with-ubuntu-16-04/52659 "2016-11-12T10:34:12Z")

</div>

I followed a standard guide to install Discourse on EC2 using docker by following this link http://stroupaloop.com/blog/discourse-setup-using-aws/ While running the launcher to install discourse I am getting error so…

---

## [30 min. install, green lights on everything, but emails fail](https://meta.discourse.org/t/30-min-install-green-lights-on-everything-but-emails-fail/52415)

<div class="topic-metadata">

**Author:** [@WhatNo](https://meta.discourse.org/u/WhatNo)\
**回覆:** 15\
**Last updated:** [2016年十一月12日 04:16 UTC](https://meta.discourse.org/t/30-min-install-green-lights-on-everything-but-emails-fail/52415 "2016-11-12T04:16:15Z")

</div>

I read everyone’s install guide(s) (THANK YOU ALL), got green lights on all the DNS and email config, the registration email is arriving at SparkPost … but every one that SparkPost receives is bounced with a 550 error a…

---

## [Help in new server install - small forum group](https://meta.discourse.org/t/help-in-new-server-install-small-forum-group/52413)

<div class="topic-metadata">

**Author:** [@radadam](https://meta.discourse.org/u/radadam)\
**回覆:** 6\
**Last updated:** [2016年十一月11日 23:08 UTC](https://meta.discourse.org/t/help-in-new-server-install-small-forum-group/52413 "2016-11-11T23:08:25Z")

</div>

Good evening, I have a small group of friends who continue to use proboards, but I have looked for better options for mobile forum use. Discourse has been really impressive with the photo upload from photo library on …

---

## [Docker install failing on bootstrap - that make the CPU Usage 100%](https://meta.discourse.org/t/docker-install-failing-on-bootstrap-that-make-the-cpu-usage-100/52807)

<div class="topic-metadata">

**Author:** [@ghostsf](https://meta.discourse.org/u/ghostsf)\
**回覆:** 1\
**Last updated:** [2016年十一月11日 20:09 UTC](https://meta.discourse.org/t/docker-install-failing-on-bootstrap-that-make-the-cpu-usage-100/52807 "2016-11-11T20:09:36Z")

</div>

That make the CPU Usage 100%.And then i could not connect to the VPS. It failed when the all Ruby Gems completely installed,the i found the CPU Usage 100%. Is there sth. wrong with the VPS ? The DNS ? OR other.

---

## [Unable to recieve sendgrid emails on your install](https://meta.discourse.org/t/unable-to-recieve-sendgrid-emails-on-your-install/52767)

<div class="topic-metadata">

**Author:** [@benbyford](https://meta.discourse.org/u/benbyford)\
**回覆:** 4\
**Last updated:** [2016年十一月11日 13:03 UTC](https://meta.discourse.org/t/unable-to-recieve-sendgrid-emails-on-your-install/52767 "2016-11-11T13:03:25Z")

</div>

Installed using Digitalocean one-click-installer and have this in my app.yml file DISCOURSE\_SMTP\_ADDRESS: smtp.sendgrid.net # (mandatory) DISCOURSE\_SMTP\_PORT: 587 # (optional) DISCOURSE\_SM…

---

## [Questions About Installing Discourse As A Stand-alone Forum](https://meta.discourse.org/t/questions-about-installing-discourse-as-a-stand-alone-forum/52785)

<div class="topic-metadata">

**Author:** [@el\_tobys](https://meta.discourse.org/u/el_tobys)\
**回覆:** 3\
**Last updated:** [2016年十一月10日 22:34 UTC](https://meta.discourse.org/t/questions-about-installing-discourse-as-a-stand-alone-forum/52785 "2016-11-10T22:34:05Z")

</div>

Hey guys, I have couple of questions I need answers to before making up my mind to use Discourse. I want to start a forum for students in my country Nigeria and these are my questions: Does the domain have to be forum…

---

## [Hosting Discourse - a few questions](https://meta.discourse.org/t/hosting-discourse-a-few-questions/52362)

<div class="topic-metadata">

**Author:** [@Giacomo\_Lawrance](https://meta.discourse.org/u/Giacomo_Lawrance)\
**回覆:** 2\
**Last updated:** [2016年十一月10日 15:10 UTC](https://meta.discourse.org/t/hosting-discourse-a-few-questions/52362 "2016-11-10T15:10:31Z")

</div>

Hi there! I’m looking to host Discourse by pulling it off the Github. Just a few questions: I don’t have a Linux machine, is one required? Is there a website that lets me host it for free by just uploading the Git con…

---

## [Easy install fails on AWS EC2 + Ubuntu 14.04](https://meta.discourse.org/t/easy-install-fails-on-aws-ec2-ubuntu-14-04/52590)

<div class="topic-metadata">

**Author:** [@bdombro](https://meta.discourse.org/u/bdombro)\
**回覆:** 4\
**Last updated:** [2016年十一月8日 14:05 UTC](https://meta.discourse.org/t/easy-install-fails-on-aws-ec2-ubuntu-14-04/52590 "2016-11-08T14:05:26Z")

</div>

I followed the 30 min installation instructions on Ubuntu 14.04 on AWS EC2 and the webserver is not started like the instructions say it should be. I am expecting the server to listen on port 80, but curling returns an …

---

## [Images lost when migrating to self-hosting](https://meta.discourse.org/t/images-lost-when-migrating-to-self-hosting/52643)

<div class="topic-metadata">

**Author:** [@vicki](https://meta.discourse.org/u/vicki)\
**回覆:** 3\
**Last updated:** [2016年十一月7日 22:00 UTC](https://meta.discourse.org/t/images-lost-when-migrating-to-self-hosting/52643 "2016-11-07T22:00:08Z")

</div>

I followed the instructions listed on how to move your Discourse instance to a different server as we move our forum from being Discourse-hosted to self-hosted. However, when I load the self-hosted instance (at a test UR…

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

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