# Migration

**URL:** https://meta.discourse.org/c/support/migration/106.md?page=6

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

**Page:** 7

---

## [通过快照上传进行迁移](https://meta.discourse.org/t/migration-via-snapshot-upload/214917)

<div class="topic-metadata">

**Author:** [@schwa](https://meta.discourse.org/u/schwa)\
**回覆:** 3\
**Last updated:** [2022年一月15日 02:08 UTC](https://meta.discourse.org/t/migration-via-snapshot-upload/214917 "2022-01-15T02:08:44Z")

</div>

在成功处理了 vbulletin 迁移脚本后，并看着迁移脚本运行了 36 个小时，还有数百万个帖子未完成…… 如果不存在现有的 Discourse 内容或数据关系……

---

## [论坛迁移后永久链接求助](https://meta.discourse.org/t/help-with-permalinks-after-forum-migration/214616)

<div class="topic-metadata">

**Author:** [@mstm](https://meta.discourse.org/u/mstm)\
**回覆:** 8\
**Last updated:** [2022年一月14日 18:53 UTC](https://meta.discourse.org/t/help-with-permalinks-after-forum-migration/214616 "2022-01-14T18:53:28Z")

</div>

您好，从phpBB转换后，Google索引大幅下降，几个月过去了也从未恢复。我认为问题出在大量的404错误上，这是因为固定链接无法正常工作。它们是预设的……

---

## [迁移过程中保留站点设置](https://meta.discourse.org/t/preserving-site-settings-through-migration/214452)

<div class="topic-metadata">

**Author:** [@schwa](https://meta.discourse.org/u/schwa)\
**回覆:** 3\
**Last updated:** [2022年一月11日 14:26 UTC](https://meta.discourse.org/t/preserving-site-settings-through-migration/214452 "2022-01-11T14:26:56Z")

</div>

您好 Discourse， 关于将 Discourse 站点设置（独立于用户和帖子内容）保存和恢复，是否有最佳实践？ 我们正在考虑将一个大型 vB 论坛（约 15 万用户）迁移到 Discourse。我们预计……

---

## [将 Wordpress 博客（非论坛）迁移到 Discourse](https://meta.discourse.org/t/migrating-wordpress-blog-not-forum-to-discourse/213551)

<div class="topic-metadata">

**Author:** [@MiG](https://meta.discourse.org/u/MiG)\
**回覆:** 1\
**Last updated:** [2022年一月3日 11:38 UTC](https://meta.discourse.org/t/migrating-wordpress-blog-not-forum-to-discourse/213551 "2022-01-03T11:38:17Z")

</div>

我们有一个长期（自2005年起！）的Wordpress安装，包含大量帖子，但希望迁移到Discourse论坛格式。是否有简单的方法可以将所有以前的Wordpress帖子导入为Discourse中的“主题”……

---

## [如何从 freeflarum 迁移到 Discourse](https://meta.discourse.org/t/how-to-migrate-from-freeflarum-to-discourse/212669)

<div class="topic-metadata">

**Author:** [@Valdemar\_Birker](https://meta.discourse.org/u/Valdemar_Birker)\
**回覆:** 5\
**Last updated:** [2021年十二月20日 12:30 UTC](https://meta.discourse.org/t/how-to-migrate-from-freeflarum-to-discourse/212669 "2021-12-20T12:30:09Z")

</div>

谁知道我如何从Freeflarum.com迁移到Discourse？ 我已经设置好了我的Discourse论坛，并希望尽可能多地迁移数据。（至少迁移用户）

---

## [Flarum 到 Discourse 的迁移](https://meta.discourse.org/t/flarum-to-discourse-migration/210415)

<div class="topic-metadata">

**Author:** [@Muhammed\_EKİCİ](https://meta.discourse.org/u/Muhammed_EK%C4%B0C%C4%B0)\
**回覆:** 5\
**Last updated:** [2021年十二月10日 19:00 UTC](https://meta.discourse.org/t/flarum-to-discourse-migration/210415 "2021-12-10T19:00:49Z")

</div>

你好。今天我尝试将一个使用 Flarum 的站点迁移到 Discourse。 我已通过 WSL2 在我的 Win 10 计算机上成功安装了 Discourse 开发环境。 我在开发环境中安装了 Mysql 5.7 版本...

---

## [\[ipboard.rb\] ERROR: 重复键值违反唯一约束 "import\_ids\_pkey" (PG::UniqueViolation)](https://meta.discourse.org/t/ipboard-rb-error-duplicate-key-value-violates-unique-constraint-import-ids-pkey-pg-uniqueviolation/208492)

<div class="topic-metadata">

**Author:** [@t-e-d-d-y](https://meta.discourse.org/u/t-e-d-d-y)\
**回覆:** 6\
**Last updated:** [2021年十一月9日 08:38 UTC](https://meta.discourse.org/t/ipboard-rb-error-duplicate-key-value-violates-unique-constraint-import-ids-pkey-pg-uniqueviolation/208492 "2021-11-09T08:38:05Z")

</div>

你好，我正在尝试使用 ipboard.rb 导入 IPB 3.4 论坛，在导入主题时遇到了这个错误： .rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/rack-mini-profiler-2.3.3/lib/patches/db/pg.rb:56:in \`exec ': ERROR: dupl ...

---

## [将帖子从 Atlassian Confluence 迁移](https://meta.discourse.org/t/migrating-posts-from-atlassian-confluence/208007)

<div class="topic-metadata">

**Author:** [@Tris20](https://meta.discourse.org/u/Tris20)\
**回覆:** 3\
**Last updated:** [2021年十一月3日 11:59 UTC](https://meta.discourse.org/t/migrating-posts-from-atlassian-confluence/208007 "2021-11-03T11:59:17Z")

</div>

我想知道是否有人成功地或甚至尝试过从Confluence迁移主题？在阅读Confluence页面时，我看到一些导出选项 HTML XML PDF Word 这些选项看起来都不太好。我期望……

---

## [将 Xobor 导入 Discourse](https://meta.discourse.org/t/import-xobor-to-discourse/104170)

<div class="topic-metadata">

**Author:** [@Saalbuerger](https://meta.discourse.org/u/Saalbuerger)\
**回覆:** 3\
**Last updated:** [2018年十二月13日 13:56 UTC](https://meta.discourse.org/t/import-xobor-to-discourse/104170 "2018-12-13T13:56:04Z")

</div>

您好， 是否有插件、脚本或其他工具可以将 Xobor 论坛软件导入或迁移到 Discourse？ 此致

---

## [如何从 Yahoo Groups 迁移到 Discourse](https://meta.discourse.org/t/how-to-migrate-from-yahoo-groups-to-discourse/132662)

<div class="topic-metadata">

**Author:** [@danb35](https://meta.discourse.org/u/danb35)\
**回覆:** 0\
**Last updated:** [2019年十一月5日 15:13 UTC](https://meta.discourse.org/t/how-to-migrate-from-yahoo-groups-to-discourse/132662 "2019-11-05T15:13:19Z")

</div>

我已发起一个主题（从 Yahoo! Groups 迁移）以寻求相关指导，另有另一个主题（Yahoo Groups 到 Discourse 迁移？）也探讨了此问题，因此以下是我总结的迁移方案。 背景 Yahoo 宣布 …

---

## [Nodebb 转 Discourse](https://meta.discourse.org/t/nodebb-to-discourse/101423)

<div class="topic-metadata">

**Author:** [@michael](https://meta.discourse.org/u/michael)\
**回覆:** 12\
**Last updated:** [2018年十一月14日 16:15 UTC](https://meta.discourse.org/t/nodebb-to-discourse/101423 "2018-11-14T16:15:07Z")

</div>

I need a bit of guidance on migrating from nodebb to Discourse. I saw this thread and saw that @eatcodetravel created the script. I’m failing to understand how these scripts are executed. Do I need to install Redis on t…

---

## [从 Flarum 导入主题时出错 (用户、用户组导入成功)](https://meta.discourse.org/t/error-while-importing-topics-from-flarum-users-groups-import-ok/202503)

<div class="topic-metadata">

**Author:** [@oshyan](https://meta.discourse.org/u/oshyan)\
**回覆:** 3\
**Last updated:** [2021年九月3日 23:23 UTC](https://meta.discourse.org/t/error-while-importing-topics-from-flarum-users-groups-import-ok/202503 "2021-09-03T23:23:48Z")

</div>

各位，我正在处理一个从 Flarum 迁移到 Discourse 的工作，希望能得到大家的帮助。我靠着自己大量的知识盲区，并根据……解决了几个错误……

---

## [从 Nabble 迁移到 Discourse](https://meta.discourse.org/t/migrating-from-nabble-to-discourse/201031)

<div class="topic-metadata">

**Author:** [@dougouverson](https://meta.discourse.org/u/dougouverson)\
**回覆:** 3\
**Last updated:** [2021年八月31日 14:57 UTC](https://meta.discourse.org/t/migrating-from-nabble-to-discourse/201031 "2021-08-31T14:57:28Z")

</div>

我是一个技术社区的成员，我们使用 Nabble 大约有 10 年了。 我推荐大家改用 Discourse。 从 Nabble 迁移到 Discourse 会涉及哪些内容？有人进行过这样的迁移……

---

## [从 PlushForums 迁移](https://meta.discourse.org/t/migrate-from-plushforums/199356)

<div class="topic-metadata">

**Author:** [@Michael\_Rushton](https://meta.discourse.org/u/Michael_Rushton)\
**回覆:** 1\
**Last updated:** [2021年八月7日 00:48 UTC](https://meta.discourse.org/t/migrate-from-plushforums/199356 "2021-08-07T00:48:46Z")

</div>

是否可以从 PlushForums 迁移？据我所知，它是 Vanilla 的一个分支（或者在 2014 年是），并且我可以看到有一个 Vanilla 导入脚本。这是否适用于 PlushForums？

---

## [在 Discourse 中导入时保留旧帖子 ID](https://meta.discourse.org/t/import-keeping-old-post-ids-in-discourse/99852)

<div class="topic-metadata">

**Author:** [@pgr](https://meta.discourse.org/u/pgr)\
**回覆:** 9\
**Last updated:** [2018年十月22日 20:18 UTC](https://meta.discourse.org/t/import-keeping-old-post-ids-in-discourse/99852 "2018-10-22T20:18:31Z")

</div>

我正在从 Kunena 迁移，已经（几乎）成功完成了一次测试迁移，但当我考虑到永久链接问题以及内部链接问题时，我不禁思考…… 让 Discourse……会不会很难？

---

## [SMF2 到 Discourse 迁移问题](https://meta.discourse.org/t/smf2-to-discourse-migration-issue/196837)

<div class="topic-metadata">

**Author:** [@JustinZ](https://meta.discourse.org/u/JustinZ)\
**回覆:** 2\
**Last updated:** [2021年七月12日 12:08 UTC](https://meta.discourse.org/t/smf2-to-discourse-migration-issue/196837 "2021-07-12T12:08:06Z")

</div>

我已经按照指南操作，并且进行到了这里，但似乎无法通过此点。我甚至在 MySQL 服务器上创建了一个具有原生密码的新用户并进行了尝试，但都没有成功。 su discourse -c “bundle exec ruby…”

---

## [Importing phpBB group/forum permissions](https://meta.discourse.org/t/importing-phpbb-group-forum-permissions/26456)

<div class="topic-metadata">

**Author:** [@casey](https://meta.discourse.org/u/casey)\
**回覆:** 5\
**Last updated:** [2021年五月19日 15:09 UTC](https://meta.discourse.org/t/importing-phpbb-group-forum-permissions/26456 "2021-05-19T15:09:25Z")

</div>

I’ve been able to run the excellent import script for phpBB and get most of the content moved over with a few tweaks for our situation. Thanks to @neil and everyone who had a hand in the script. I’ve made an addition to…

---

## [从 Vanilla (托管) 迁移到 Discourse](https://meta.discourse.org/t/migrate-from-vanilla-hosted-to-discourse/182962)

<div class="topic-metadata">

**Author:** [@maxcap888](https://meta.discourse.org/u/maxcap888)\
**回覆:** 3\
**Last updated:** [2021年三月12日 20:39 UTC](https://meta.discourse.org/t/migrate-from-vanilla-hosted-to-discourse/182962 "2021-03-12T20:39:20Z")

</div>

我有一个托管在 Vanilla 上的站点，并希望迁移到 Discourse。我无法安装：Vanilla Porter，因为该站点托管在 Vanilla 上。我向 Vanilla 支持请求了数据备份文件，并收到了一个 SQL…

---

## [从 Questions2Answers 导入](https://meta.discourse.org/t/import-from-questions2answers/93424)

<div class="topic-metadata">

**Author:** [@Doug\_Hall](https://meta.discourse.org/u/Doug_Hall)\
**回覆:** 2\
**Last updated:** [2018年七月31日 10:14 UTC](https://meta.discourse.org/t/import-from-questions2answers/93424 "2018-07-31T10:14:06Z")

</div>

您好。 这里有一个导入脚本：discourse/script/import\_scripts/question2answer.rb，位于 main 分支，属于 discourse/discourse 项目，托管在 GitHub 上。 我有一个 Questions2Answer 网站，上面有不少帖子，我想将其导入到我的 …

---

## [将 WordPress 的 wpForo 帖子、消息等导入到 Discourse](https://meta.discourse.org/t/import-wordpress-wpforo-posts-messages-etc-into-discourse/179388)

<div class="topic-metadata">

**Author:** [@Yalmar](https://meta.discourse.org/u/Yalmar)\
**回覆:** 2\
**Last updated:** [2021年二月17日 21:14 UTC](https://meta.discourse.org/t/import-wordpress-wpforo-posts-messages-etc-into-discourse/179388 "2021-02-17T21:14:24Z")

</div>

您好 我不确定这是否是正确的类别。如果不是，请告知。 我们目前正在使用WordPress和wpForo，但我们已准备好使用外部讨论平台。 我们是否有任何方法可以导入我们的……

---

## [Discourse 导入 ips4](https://meta.discourse.org/t/discource-import-ips4/177354)

<div class="topic-metadata">

**Author:** [@Алексей\_Батурин1](https://meta.discourse.org/u/%D0%90%D0%BB%D0%B5%D0%BA%D1%81%D0%B5%D0%B9_%D0%91%D0%B0%D1%82%D1%83%D1%80%D0%B8%D0%BD1)\
**回覆:** 2\
**Last updated:** [2021年一月26日 21:00 UTC](https://meta.discourse.org/t/discource-import-ips4/177354 "2021-01-26T21:00:34Z")

</div>

你好，需要帮助。我不明白为什么会出现这个错误。有一个用于从 ips4 导入的脚本，在启动它时会给出这样的错误。 СводкаLoading existing groups… Loading existing users… Loading existing cahellip;

---

## [DiscourseTransfer 用于导入的简单 Java 工具](https://meta.discourse.org/t/discoursetransfer-simple-java-tool-for-import/138800)

<div class="topic-metadata">

**Author:** [@paultaylor](https://meta.discourse.org/u/paultaylor)\
**回覆:** 1\
**Last updated:** [2021年一月20日 21:12 UTC](https://meta.discourse.org/t/discoursetransfer-simple-java-tool-for-import/138800 "2021-01-20T21:12:00Z")

</div>

首先，感谢所有帮助我将旧论坛迁移到 Discourse 的人。 作为迁移的一部分，我编写了自己的 Java 导入工具，用于将 .csv 文件导入到新的 Discourse 安装中。 现在，我已将其开源，并 exp…

---

## [迁移后固定链接出现问题](https://meta.discourse.org/t/problem-with-permalinks-after-migration/176280)

<div class="topic-metadata">

**Author:** [@Göks](https://meta.discourse.org/u/G%C3%B6ks)\
**回覆:** 8\
**Last updated:** [2021年一月17日 11:59 UTC](https://meta.discourse.org/t/problem-with-permalinks-after-migration/176280 "2021-01-17T11:59:02Z")

</div>

你好， 我成功地将一个遗留的自写论坛软件迁移到了 Discourse。 在导入 200 万条记录 24 小时后，一切都运行得很顺利，除了固定链接。 我有大约 350,000 个固定链接……

---

## [从另一个论坛导入时内部链接会发生什么变化](https://meta.discourse.org/t/what-happens-to-internal-links-upon-import-from-another-forum/90474)

<div class="topic-metadata">

**Author:** [@tophee](https://meta.discourse.org/u/tophee)\
**回覆:** 2\
**Last updated:** [2018年六月25日 04:45 UTC](https://meta.discourse.org/t/what-happens-to-internal-links-upon-import-from-another-forum/90474 "2018-06-25T04:45:30Z")

</div>

我试图理解从其他论坛软件迁移到 Discourse 时，内部链接（帖子之间）是如何处理的。我在 Meta 上找到的零散信息似乎部分相互矛盾，这真是……

---

## [迁移后清理所有帖子中的html标签？](https://meta.discourse.org/t/clean-up-html-tags-in-all-posts-after-migration/172094)

<div class="topic-metadata">

**Author:** [@koen360](https://meta.discourse.org/u/koen360)\
**回覆:** 22\
**Last updated:** [2021年一月2日 20:40 UTC](https://meta.discourse.org/t/clean-up-html-tags-in-all-posts-after-migration/172094 "2021-01-02T20:40:35Z")

</div>

你好，正如在临时但有效的 Flarum 导入脚本中所提到的，我已经从 Flarum 迁移到了 Discourse。这是我的第一个站点，我非常喜欢你们的工作，向你们致敬。 起初在开发中看起来像是……

---

## [论坛导入后是否有任何任务可以提高速度？](https://meta.discourse.org/t/are-there-any-tasks-to-do-after-a-forum-import-to-improve-speed/172935)

<div class="topic-metadata">

**Author:** [@orchardstreet](https://meta.discourse.org/u/orchardstreet)\
**回覆:** 2\
**Last updated:** [2020年十二月12日 22:57 UTC](https://meta.discourse.org/t/are-there-any-tasks-to-do-after-a-forum-import-to-improve-speed/172935 "2020-12-12T22:57:10Z")

</div>

我将 Discourse 论坛从备份导入到了一台拥有更快、更新的 CPU 的机器上，但不幸的是，性能反而更慢了。每个帖子加载都需要几秒钟，等等，我想知道是否有某种...

---

## [如何使用原生固定链接？](https://meta.discourse.org/t/how-to-use-permalinks-from-vanilla/171470)

<div class="topic-metadata">

**Author:** [@Christian\_Suntay](https://meta.discourse.org/u/Christian_Suntay)\
**回覆:** 2\
**Last updated:** [2020年十一月27日 10:17 UTC](https://meta.discourse.org/t/how-to-use-permalinks-from-vanilla/171470 "2020-11-27T10:17:02Z")

</div>

我在 Discourse 中创建了永久链接，如何在我的旧的 vanilla 网站中使用它？我应该在哪里设置和使用 Discourse 的永久链接？

---

## [迁移后出现不同作者的重复主题](https://meta.discourse.org/t/duplicate-topics-with-different-authors-after-migration/171154)

<div class="topic-metadata">

**Author:** [@Christian\_Suntay](https://meta.discourse.org/u/Christian_Suntay)\
**回覆:** 0\
**Last updated:** [2020年十一月24日 12:29 UTC](https://meta.discourse.org/t/duplicate-topics-with-different-authors-after-migration/171154 "2020-11-24T12:29:32Z")

</div>

我使用了批量导入并运行了 rake import:ensure\_consistency，结果出现了这种情况： 存在一些作者不同的重复项 我需要运行什么脚本来合并它们吗？

---

## [对 nil:NilClass 未定义方法 \`skip\_new\_user\_tips\`](https://meta.discourse.org/t/undefined-method-skip-new-user-tips-for-nil-nilclass/170898)

<div class="topic-metadata">

**Author:** [@Christian\_Suntay](https://meta.discourse.org/u/Christian_Suntay)\
**回覆:** 1\
**Last updated:** [2020年十一月22日 09:15 UTC](https://meta.discourse.org/t/undefined-method-skip-new-user-tips-for-nil-nilclass/170898 "2020-11-22T09:15:35Z")

</div>

刚通过 bulk\_importer 从 vanilla 迁移到 discourse，就发生了这种情况

---

## [虽然我已正确导入帖子，但回复数却是-1](https://meta.discourse.org/t/1-replies-even-though-i-have-imported-posts-properly/170272)

<div class="topic-metadata">

**Author:** [@Christian\_Suntay](https://meta.discourse.org/u/Christian_Suntay)\
**回覆:** 17\
**Last updated:** [2020年十一月20日 17:09 UTC](https://meta.discourse.org/t/1-replies-even-though-i-have-imported-posts-properly/170272 "2020-11-20T17:09:16Z")

</div>

以下内容来自 Vanilla 并导入到 Discourse

[上一頁](https://meta.discourse.org/c/support/migration/106.md?page=5)

[下一頁](https://meta.discourse.org/c/support/migration/106.md?page=7)
