# Migration

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

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

**Page:** 8

---

## [BBCode格式问题：从Vanilla迁移到Discourse](https://meta.discourse.org/t/bbcode-formatting-issue-when-migrating-from-vanilla-to-discourse/169732)

<div class="topic-metadata">

**Author:** [@Christian\_Suntay](https://meta.discourse.org/u/Christian_Suntay)\
**回覆:** 10\
**Last updated:** [2020年十一月11日 13:10 UTC](https://meta.discourse.org/t/bbcode-formatting-issue-when-migrating-from-vanilla-to-discourse/169732 "2020-11-11T13:10:22Z")

</div>

存在一些格式问题。数据数据来自 Vanilla。我安装了 bbcode。我错过了什么？

---

## [vBulletin 5 导入：如何导入私人消息？](https://meta.discourse.org/t/vbulletin-5-import-how-to-import-private-messages/162971)

<div class="topic-metadata">

**Author:** [@Canapin](https://meta.discourse.org/u/Canapin)\
**回覆:** 1\
**Last updated:** [2020年九月9日 18:28 UTC](https://meta.discourse.org/t/vbulletin-5-import-how-to-import-private-messages/162971 "2020-09-09T18:28:00Z")

</div>

您好。我会尝试不离题，在 vBulletin4 导入主题上提问，所以我就在这里了… 我想将 vb5 私信导入 Discourse。 对我来说，vBulletin5 数据库似乎相当复杂，而且我…

---

## [导入的私有讨论未在作者收件箱中显示](https://meta.discourse.org/t/imported-private-discussion-doesnt-appear-in-the-author-inbox/163252)

<div class="topic-metadata">

**Author:** [@Canapin](https://meta.discourse.org/u/Canapin)\
**回覆:** 4\
**Last updated:** [2020年九月9日 06:07 UTC](https://meta.discourse.org/t/imported-private-discussion-doesnt-appear-in-the-author-inbox/163252 "2020-09-09T06:07:35Z")

</div>

您好，我正在尝试从vBulletin5数据库导入私人消息。 它能工作，但在发件人个人资料中，讨论仅出现在“已发送”中，而不是“收件箱”中。 在另一位参与者的个人资料中，讨论正确地…

---

## [导入脚本时出现错误](https://meta.discourse.org/t/require-error-with-import-script/162012)

<div class="topic-metadata">

**Author:** [@markcarey](https://meta.discourse.org/u/markcarey)\
**回覆:** 3\
**Last updated:** [2020年八月25日 18:13 UTC](https://meta.discourse.org/t/require-error-with-import-script/162012 "2020-08-25T18:13:20Z")

</div>

抱歉，这是个关于 Ruby 的新手问题，我刚放弃了在 nodeJS 中的导入思路，并尝试改用修改过的 Ruby import\_script。我遇到了以下 require 错误：无法加载此类文件 -- rb-inotify……

---

## [从 vBulletin 3.8 正确迁移到 Discourse 是否可行？](https://meta.discourse.org/t/is-a-proper-migration-from-vbulletin-3-8-to-discourse-possible/161754)

<div class="topic-metadata">

**Author:** [@Juless](https://meta.discourse.org/u/Juless)\
**回覆:** 3\
**Last updated:** [2020年八月23日 07:43 UTC](https://meta.discourse.org/t/is-a-proper-migration-from-vbulletin-3-8-to-discourse-possible/161754 "2020-08-23T07:43:22Z")

</div>

我已从vbulletin 3.8迁移到Discourse，但存在几个主要问题： bbcodes迁移不正确，现在Discourse中有大量的bbcodes html字符串（表格和更多内容，iframes）没有……

---

## [vBulletin 5 导入错误（网站字段中的无效字符）以及关于附件的一个快速问题](https://meta.discourse.org/t/vbulletin-5-import-error-invalid-character-in-website-field-and-a-quick-question-about-attachments/161108)

<div class="topic-metadata">

**Author:** [@Canapin](https://meta.discourse.org/u/Canapin)\
**回覆:** 3\
**Last updated:** [2020年八月17日 09:15 UTC](https://meta.discourse.org/t/vbulletin-5-import-error-invalid-character-in-website-field-and-a-quick-question-about-attachments/161108 "2020-08-17T09:15:29Z")

</div>

大家好！ 在导入了我的第一个旧论坛三年后，我很高兴能激励另一位国际社区论坛管理员将一个更大的论坛（180,000名成员，160万条消息）迁移到Discourse。

---

## [从 Buddypress 导入到 Discourse](https://meta.discourse.org/t/importing-from-buddypress-to-discourse/159835)

<div class="topic-metadata">

**Author:** [@zainybrainy](https://meta.discourse.org/u/zainybrainy)\
**回覆:** 1\
**Last updated:** [2020年八月5日 01:02 UTC](https://meta.discourse.org/t/importing-from-buddypress-to-discourse/159835 "2020-08-05T01:02:14Z")

</div>

您好，我有一个基于 buddypress 的论坛，我想将其迁移到 discourse。我注意到这里没有脚本：https://github.com/discourse/discourse/tree/master/script/import\_scripts 我该如何进行……

---

## [Export buddypress data (groups' activities) to Discourse](https://meta.discourse.org/t/export-buddypress-data-groups-activities-to-discourse/48284)

<div class="topic-metadata">

**Author:** [@ArkGladios](https://meta.discourse.org/u/ArkGladios)\
**回覆:** 2\
**Last updated:** [2020年七月9日 06:37 UTC](https://meta.discourse.org/t/export-buddypress-data-groups-activities-to-discourse/48284 "2020-07-09T06:37:53Z")

</div>

How can I import data from buddypress to Discourse?

---

## [将数据迁移到 Discourse](https://meta.discourse.org/t/data-migration-into-discourse/156935)

<div class="topic-metadata">

**Author:** [@yaroslawbagriy](https://meta.discourse.org/u/yaroslawbagriy)\
**回覆:** 1\
**Last updated:** [2020年七月6日 22:19 UTC](https://meta.discourse.org/t/data-migration-into-discourse/156935 "2020-07-06T22:19:36Z")

</div>

大家好， 我目前使用 Misago 托管我的论坛，计划切换到 Discourse。请问是否有方法将用户、线程和帖子迁移到 Discourse？

---

## [从其他应用程序迁移遗留数据](https://meta.discourse.org/t/migrating-legacy-data-from-other-applications/82122)

<div class="topic-metadata">

**Author:** [@lxsameer](https://meta.discourse.org/u/lxsameer)\
**回覆:** 5\
**Last updated:** [2018年三月3日 21:35 UTC](https://meta.discourse.org/t/migrating-legacy-data-from-other-applications/82122 "2018-03-03T21:35:29Z")

</div>

你好。我有一个来自旧论坛应用的数据库转储，想要迁移到 Discourse。最佳做法是什么？我应该为此创建一个插件，还是使用 API 创建新帖子？我需要确保日期完全…

---

## [MyBB 导入脚本错误](https://meta.discourse.org/t/mybb-import-script-error/155584)

<div class="topic-metadata">

**Author:** [@Newuser](https://meta.discourse.org/u/Newuser)\
**回覆:** 0\
**Last updated:** [2020年六月22日 16:10 UTC](https://meta.discourse.org/t/mybb-import-script-error/155584 "2020-06-22T16:10:33Z")

</div>

你好， 目前我正尝试将我的论坛从 MyBB 迁移到 Discourse。尽管已经阅读了多个相关主题，但到目前为止仍未成功。 这是我最近一次尝试所做的事情： 已下载数据…

---

## [在从 Xenforo 2.x 迁移到 Discourse 之前我有几个问题](https://meta.discourse.org/t/i-have-a-few-questions-before-migrate-from-xenforo-2-x-to-discourse/151562)

<div class="topic-metadata">

**Author:** [@lollipop](https://meta.discourse.org/u/lollipop)\
**回覆:** 8\
**Last updated:** [2020年五月15日 16:07 UTC](https://meta.discourse.org/t/i-have-a-few-questions-before-migrate-from-xenforo-2-x-to-discourse/151562 "2020-05-15T16:07:23Z")

</div>

你好，我刚刚发现了 Discourse。 我有几个问题： 1. 我刚刚使用来自 https://temp-mail(dot)org/ 的邮箱在此注册。是否有垃圾邮件过滤器可以阻止用户使用 https://temp-mail(dot)org/ 进行注册？这……

---

## [需要Discourse导出协助](https://meta.discourse.org/t/discourse-export-assistance-needed/150332)

<div class="topic-metadata">

**Author:** [@Charles.Dane](https://meta.discourse.org/u/Charles.Dane)\
**回覆:** 7\
**Last updated:** [2020年五月5日 07:31 UTC](https://meta.discourse.org/t/discourse-export-assistance-needed/150332 "2020-05-05T07:31:02Z")

</div>

我刚开始使用Discourse，最近继承了一个小型、较旧的Discourse社区的所有权/管理员身份。我要做的事情之一是导出社区的内容：主题、回复、支持等……

---

## [修复迁移后的论坛数据中的读取计数](https://meta.discourse.org/t/fixing-read-counts-in-migrated-forum-data/149546)

<div class="topic-metadata">

**Author:** [@007](https://meta.discourse.org/u/007)\
**回覆:** 2\
**Last updated:** [2020年四月27日 15:54 UTC](https://meta.discourse.org/t/fixing-read-counts-in-migrated-forum-data/149546 "2020-04-27T15:54:10Z")

</div>

运行 UserStats 以重新计算 posts\_read 数量的最佳方法是什么？是否有内置的 rake 命令，还是有其他调用方式？ 顺便一提，我不确定这个问题……

---

## [将 Askbot 迁移到 Discourse 的简易方法](https://meta.discourse.org/t/easy-way-to-migrate-askbot-to-discourse/148677)

<div class="topic-metadata">

**Author:** [@Venkat\_K](https://meta.discourse.org/u/Venkat_K)\
**回覆:** 1\
**Last updated:** [2020年四月20日 23:52 UTC](https://meta.discourse.org/t/easy-way-to-migrate-askbot-to-discourse/148677 "2020-04-20T23:52:37Z")

</div>

是否有任何方法可以将现有的基于 Askbot 的网站迁移到 Discourse？

---

## [从 XenForo 迁移到 Discourse 遇到的问题](https://meta.discourse.org/t/troubles-moving-from-xenforo-to-discourse/266060)

<div class="topic-metadata">

**Author:** [@007](https://meta.discourse.org/u/007)\
**回覆:** 5\
**Last updated:** [2020年四月15日 14:54 UTC](https://meta.discourse.org/t/troubles-moving-from-xenforo-to-discourse/266060 "2020-04-15T14:54:41Z")

</div>

你好，从第 7 步开始，我遇到了困难。任何帮助都将不胜感激。我从未接触过 Ruby，因此可能在第 7 步之前有一些显而易见的必要步骤，而我并不了解……

---

## [SQL 错误：\`screened\_ip\_addresses\`（API 返回 500）](https://meta.discourse.org/t/sql-error-with-screened-ip-addresses-api-throws-500/146694)

<div class="topic-metadata">

**Author:** [@pnoeric](https://meta.discourse.org/u/pnoeric)\
**回覆:** 14\
**Last updated:** [2020年四月6日 08:57 UTC](https://meta.discourse.org/t/sql-error-with-screened-ip-addresses-api-throws-500/146694 "2020-04-06T08:57:34Z")

</div>

大家好， 在调用创建新帖子（在现有主题中）的 API 时，我收到了 500 错误。在日志中我看到： ActiveRecord::StatementInvalid (PG::InvalidTextRepresentation: ERROR: 无效的输入语法为 …

---

## [如果无法使用示例 Ruby 脚本，如何最佳地批量导入帖子？](https://meta.discourse.org/t/how-to-best-bulk-import-posts-if-unable-to-use-sample-ruby-scripts/146674)

<div class="topic-metadata">

**Author:** [@pnoeric](https://meta.discourse.org/u/pnoeric)\
**回覆:** 6\
**Last updated:** [2020年四月3日 14:10 UTC](https://meta.discourse.org/t/how-to-best-bulk-import-posts-if-unable-to-use-sample-ruby-scripts/146674 "2020-04-03T14:10:41Z")

</div>

嘿，我正在将大量内容从我的旧（专有）论坛软件迁移到新的 Discourse 论坛。 我不是 Ruby 开发者，所以无法直接使用 Discourse 提供的示例导入脚本……这简直让人……

---

## [已完成从 vB3 到 Discourse 的迁移，包括旧版 vB3 的“感谢”功能](https://meta.discourse.org/t/completed-migration-vb3-to-discourse-including-legacy-vb3-thank-you-to-likes/144674)

<div class="topic-metadata">

**Author:** [@neounix](https://meta.discourse.org/u/neounix)\
**回覆:** 10\
**Last updated:** [2020年三月21日 07:02 UTC](https://meta.discourse.org/t/completed-migration-vb3-to-discourse-including-legacy-vb3-thank-you-to-likes/144674 "2020-03-21T07:02:52Z")

</div>

刚刚基本完成了一个15年前的vb3论坛的迁移工作（仍在测试阶段，但“最难的部分”基本上已完成，迁移运行良好）。该论坛最初（信不信由你）是一个20…年的vb2论坛。

---

## [导入用户的用户体验？](https://meta.discourse.org/t/user-experience-for-imported-users/141554)

<div class="topic-metadata">

**Author:** [@adamengst](https://meta.discourse.org/u/adamengst)\
**回覆:** 13\
**Last updated:** [2020年三月19日 19:06 UTC](https://meta.discourse.org/t/user-experience-for-imported-users/141554 "2020-03-19T19:06:51Z")

</div>

我正在考虑从邮件列表导入约 600 个电子邮件地址到 Discourse，目标是让所有人都自动设置为关注“公告”分类，该分类将主要用作回复...

---

## [导入的 MyBB 数据库 MyCode 问题](https://meta.discourse.org/t/imported-mybb-database-mycode-issue/144173)

<div class="topic-metadata">

**Author:** [@Paul\_King](https://meta.discourse.org/u/Paul_King)\
**回覆:** 3\
**Last updated:** [2020年三月13日 22:53 UTC](https://meta.discourse.org/t/imported-mybb-database-mycode-issue/144173 "2020-03-13T22:53:26Z")

</div>

我正在迁移一个 MyBB 论坛到 Discourse。我注意到，在导入的帖子中，许多（但并非全部）包含可见的 MyCode 格式标签。例如（还存在明显的 UTF-8 字符编码问题，我…

---

## [导入的 MyBB 数据库字符编码问题](https://meta.discourse.org/t/imported-mybb-database-character-encoding-issue/144156)

<div class="topic-metadata">

**Author:** [@Paul\_King](https://meta.discourse.org/u/Paul_King)\
**回覆:** 8\
**Last updated:** [2020年三月13日 09:56 UTC](https://meta.discourse.org/t/imported-mybb-database-character-encoding-issue/144156 "2020-03-13T09:56:25Z")

</div>

你好，我从 MyBB 论坛导入了一批帖子，甚至用户名，现在显示为乱码，例如 â€™ 和 Â。根据我在 WordPress 中类似问题的报告，这可能与 Latin1 编码有关…

---

## [导入后头像丢失](https://meta.discourse.org/t/avatars-missing-after-import/85482)

<div class="topic-metadata">

**Author:** [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**回覆:** 5\
**Last updated:** [2020年二月27日 16:45 UTC](https://meta.discourse.org/t/avatars-missing-after-import/85482 "2020-02-27T16:45:41Z")

</div>

我收到一位托管客户的 vBulletin 导入数据。头像已消失，现在显示为通用的空白人像形状，如下所示。 我相当确定它们之前是存在的。URL 看起来像 s…

---

## [错误：重复键值违反唯一约束"import\_ids\_pkey"](https://meta.discourse.org/t/error-duplicate-key-value-violates-unique-constraint-import-ids-pkey/142346)

<div class="topic-metadata">

**Author:** [@plouf](https://meta.discourse.org/u/plouf)\
**回覆:** 0\
**Last updated:** [2020年二月22日 13:07 UTC](https://meta.discourse.org/t/error-duplicate-key-value-violates-unique-constraint-import-ids-pkey/142346 "2020-02-22T13:07:37Z")

</div>

你好， 我正尝试使用 ipboard.rb 将我的 IPB 3.4 论坛（20 万用户，150 万帖子）导入到 Discourse。 用户导入顺利，但在导入主题时遇到以下错误： \*\*回溯\*\*（最近一次调用优先）…

---

## [父消息不存在](https://meta.discourse.org/t/parent-message-doesnt-exist/141746)

<div class="topic-metadata">

**Author:** [@ruperty](https://meta.discourse.org/u/ruperty)\
**回覆:** 11\
**Last updated:** [2020年二月19日 20:58 UTC](https://meta.discourse.org/t/parent-message-doesnt-exist/141746 "2020-02-19T20:58:41Z")

</div>

在导入 mbxs 时，我收到一个错误，提示父消息不存在，尽管它似乎确实存在于数据库 index.db 中。 错误信息如下： 父消息 9205270657.AB03850@ben.dciem.dnd.ca 不存在…

---

## [导入“无法映射帖子”错误](https://meta.discourse.org/t/import-failed-to-map-post-error/139024)

<div class="topic-metadata">

**Author:** [@ruperty](https://meta.discourse.org/u/ruperty)\
**回覆:** 14\
**Last updated:** [2020年二月16日 09:27 UTC](https://meta.discourse.org/t/import-failed-to-map-post-error/139024 "2020-02-16T09:27:22Z")

</div>

我在导入过程中遇到约 1000 篇帖子失败，主要错误似乎是“映射帖子失败”，例如： 映射帖子 b9ec0145-e587-c0e2-768d-ad482c3ab928@mmtaylor.net 失败 nil:N 没有 \`hex' 方法…

---

## [检查数据库完整性的最佳方法是什么？](https://meta.discourse.org/t/what-is-the-best-way-to-check-the-integrity-of-the-database/140670)

<div class="topic-metadata">

**Author:** [@AstonJ](https://meta.discourse.org/u/AstonJ)\
**回覆:** 1\
**Last updated:** [2020年二月5日 04:26 UTC](https://meta.discourse.org/t/what-is-the-best-way-to-check-the-integrity-of-the-database/140670 "2020-02-05T04:26:52Z")

</div>

我想将一个论坛的用户、主题和帖子合并到另一个论坛中。虽然论坛在开发环境中恢复时没有问题，但在尝试合并时却遇到了 PG::ForeignKeyViolation 错误（目前正在……

---

## [导入 ipboard，需要 mysql2 gem](https://meta.discourse.org/t/importing-ipboard-needs-mysql2-gem/140384)

<div class="topic-metadata">

**Author:** [@RubyRhod](https://meta.discourse.org/u/RubyRhod)\
**回覆:** 0\
**Last updated:** [2020年二月1日 22:47 UTC](https://meta.discourse.org/t/importing-ipboard-needs-mysql2-gem/140384 "2020-02-01T22:47:11Z")

</div>

您好，ipboard 导入脚本需要 mysql2 gem，但像任何生产环境的 Rails 应用一样，当我尝试添加该 gem 并执行 bundle update 时，Discourse 会报错。 现在在忽略错误后（我很勇敢！），我遇到了以下问题…

---

## [如何使用 mybb.ru 2 导入脚本？](https://meta.discourse.org/t/how-to-use-mybb-ru-2-import-script/139425)

<div class="topic-metadata">

**Author:** [@Paul\_King](https://meta.discourse.org/u/Paul_King)\
**回覆:** 6\
**Last updated:** [2020年一月25日 03:17 UTC](https://meta.discourse.org/t/how-to-use-mybb-ru-2-import-script/139425 "2020-01-25T03:17:33Z")

</div>

我正在尝试查找关于如何使用最新 Discourse 2.4.0 beta 10 版本（根据更新日志）中新增的 mybb.ru 导入脚本的信息。 点击更新日志中的链接将我带到了一个 presum…

---

## [Merging two Discourse forums](https://meta.discourse.org/t/merging-two-discourse-forums/72578)

<div class="topic-metadata">

**Author:** [@omarfilip](https://meta.discourse.org/u/omarfilip)\
**回覆:** 30\
**Last updated:** [2020年一月22日 04:46 UTC](https://meta.discourse.org/t/merging-two-discourse-forums/72578 "2020-01-22T04:46:22Z")

</div>

I’m trying to use this and I am not having much success. Discourse A has ~100k posts and Discourse B ~30k posts. I’ve moved all categories under one main category and then exported it from Discourse B. When I import i…

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

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