# Migration

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

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

**Page:** 9

---

## [How to import posts in CSV format?](https://meta.discourse.org/t/how-to-import-posts-in-csv-format/77107)

<div class="topic-metadata">

**Author:** [@Hamza\_Ahmed](https://meta.discourse.org/u/Hamza_Ahmed)\
**回覆:** 5\
**Last updated:** [2020年一月14日 12:17 UTC](https://meta.discourse.org/t/how-to-import-posts-in-csv-format/77107 "2020-01-14T12:17:04Z")

</div>

Can I import new posts using CSV format? any importer plugin or something? Thanks

---

## [导入带附件的 mbox/mbx](https://meta.discourse.org/t/import-mbox-mbx-with-attachments/136476)

<div class="topic-metadata">

**Author:** [@ruperty](https://meta.discourse.org/u/ruperty)\
**回覆:** 5\
**Last updated:** [2020年一月11日 13:00 UTC](https://meta.discourse.org/t/import-mbox-mbx-with-attachments/136476 "2020-01-11T13:00:53Z")

</div>

我正在跟随 Gerhard 的精彩帖子“将邮件列表迁移到 Discourse（mbox、Listserv、Google Groups 等）”中关于导入 mbox 帖子的部分。 然而，该帖子并未提及附件。Discourse 的导入功能如何处理附件…

---

## [批量导入问题](https://meta.discourse.org/t/import-questions-in-bulk/111587)

<div class="topic-metadata">

**Author:** [@Stephane\_Maarek](https://meta.discourse.org/u/Stephane_Maarek)\
**回覆:** 4\
**Last updated:** [2020年一月9日 16:09 UTC](https://meta.discourse.org/t/import-questions-in-bulk/111587 "2020-01-09T16:09:14Z")

</div>

你好 我的问题和回答采用 JSON 格式： 示例 JSON 文档{ "id": "x017c4h221p7T8sboHglB-7kQ==", "created": "2018-05-09T20:13:23Z", "tit&hellip;\</details\>

---

## [如何在从 phpBB 迁移时解析自定义 bb 代码？](https://meta.discourse.org/t/how-to-parse-custom-bb-codes-when-migrating-from-phpbb/137673)

<div class="topic-metadata">

**Author:** [@Queth](https://meta.discourse.org/u/Queth)\
**回覆:** 0\
**Last updated:** [2020年一月3日 17:04 UTC](https://meta.discourse.org/t/how-to-parse-custom-bb-codes-when-migrating-from-phpbb/137673 "2020-01-03T17:04:04Z")

</div>

你好， 我正在将当前的 phpBB2 论坛迁移到 Discourse（先转换为 phpBB3，然后使用转换器迁移到 Discourse）。我的论坛上有许多自定义的 BB 代码，例如 \[title\] 和 \[com\]。 当我使用…

---

## [如何在 Yahoo Groups 导入时批量合并主题到父主题？](https://meta.discourse.org/t/how-to-mass-merge-topics-into-parents-for-a-yahoo-groups-import/136555)

<div class="topic-metadata">

**Author:** [@Soretna](https://meta.discourse.org/u/Soretna)\
**回覆:** 7\
**Last updated:** [2019年十二月20日 22:11 UTC](https://meta.discourse.org/t/how-to-mass-merge-topics-into-parents-for-a-yahoo-groups-import/136555 "2019-12-20T22:11:31Z")

</div>

在将数万篇来自 Yahoo Groups 的旧帖子导入 Discourse 后，我留下了许多本应属于同一线程的孤立话题。看起来，针对这一问题的直观解决方案是 s…

---

## [Yahoo Groups 导入错误](https://meta.discourse.org/t/yahoo-groups-importation-errors/136277)

<div class="topic-metadata">

**Author:** [@Soretna](https://meta.discourse.org/u/Soretna)\
**回覆:** 6\
**Last updated:** [2019年十二月19日 20:19 UTC](https://meta.discourse.org/t/yahoo-groups-importation-errors/136277 "2019-12-19T20:19:32Z")

</div>

正在处理 Yahoo Groups 的 mbox 导入，遇到了一些错误。目前不确定在调试和导入方面该朝哪个方向推进。以下是我目前看到的错误： https://pastebin.com/raw/2WTN3GTj …

---

## [搜索/合并重复主题](https://meta.discourse.org/t/search-for-merge-duplicate-topics/135999)

<div class="topic-metadata">

**Author:** [@danb35](https://meta.discourse.org/u/danb35)\
**回覆:** 1\
**Last updated:** [2019年十二月15日 13:15 UTC](https://meta.discourse.org/t/search-for-merge-duplicate-topics/135999 "2019-12-15T13:15:55Z")

</div>

我从 Yahoo 群组导入的内容导致许多话题被碎片化（可能是因为用户过去回复不当，也可能是因为 Yahoo 未能正确维护话题的完整性，或者是导入脚本的问题…）

---

## [如何运行 Simple:Press 导入脚本？](https://meta.discourse.org/t/how-to-run-simple-press-import-script/126259)

<div class="topic-metadata">

**Author:** [@Steve\_Arnold](https://meta.discourse.org/u/Steve_Arnold)\
**回覆:** 7\
**Last updated:** [2019年十二月12日 16:45 UTC](https://meta.discourse.org/t/how-to-run-simple-press-import-script/126259 "2019-12-12T16:45:02Z")

</div>

我看到这里有一个 Ruby 脚本，用于将 Simple:Press 论坛导入到 Discourse 论坛： 然而，似乎没有任何关于如何运行该脚本的说明。 能否有人为我指点一下具体该如何操作……

---

## [从其他数据库导入的用户在夜间被清除](https://meta.discourse.org/t/imported-users-from-other-database-are-wipe-out-after-night/135647)

<div class="topic-metadata">

**Author:** [@David\_Pešava](https://meta.discourse.org/u/David_Pe%C5%A1ava)\
**回覆:** 3\
**Last updated:** [2019年十二月11日 14:58 UTC](https://meta.discourse.org/t/imported-users-from-other-database-are-wipe-out-after-night/135647 "2019-12-11T14:58:06Z")

</div>

您好， 从其他数据库成功导入用户到 Discourse 数据库后，一切正常，但过了一夜后，部分用户和数据丢失了。为什么会发生这种情况？Discourse 中是否有“修复”选项或回滚……

---

## [导入 XenForo 附件时遇到问题](https://meta.discourse.org/t/issues-while-importing-attachments-from-xenforo/266056)

<div class="topic-metadata">

**Author:** [@vladak](https://meta.discourse.org/u/vladak)\
**回覆:** 13\
**Last updated:** [2019年十一月15日 18:14 UTC](https://meta.discourse.org/t/issues-while-importing-attachments-from-xenforo/266056 "2019-11-15T18:14:59Z")

</div>

大家好， 我成功地将拥有 1500 名成员和约 75,000 篇帖子的 XenForo 数据库迁移到了运行 Discourse 的新服务器上。 关于附件有一个问题……从脚本中可以看到，如果附件文件夹存在，那么脚本将 ……

---

## [从 Yahoo! Groups 迁移](https://meta.discourse.org/t/migration-from-yahoo-groups/131951)

<div class="topic-metadata">

**Author:** [@danb35](https://meta.discourse.org/u/danb35)\
**回覆:** 23\
**Last updated:** [2019年十一月4日 19:12 UTC](https://meta.discourse.org/t/migration-from-yahoo-groups/131951 "2019-11-04T19:12:53Z")

</div>

许多 Yahoo 群组正受到 Yahoo 决定删除上传内容的影响，正在寻找替代服务商。显而易见的首选是 groups.io，它提供功能对等，并将自动迁移…

---

## [q2a 导入问题](https://meta.discourse.org/t/issue-for-q2a-import/128529)

<div class="topic-metadata">

**Author:** [@sat](https://meta.discourse.org/u/sat)\
**回覆:** 6\
**Last updated:** [2019年十月31日 12:19 UTC](https://meta.discourse.org/t/issue-for-q2a-import/128529 "2019-10-31T12:19:18Z")

</div>

我正在导入 question2answer 网站，并遵循了以下步骤。脚本无法连接到数据库。请任何人帮忙解决此问题。 我参考了 vBulletin 线程 Docker 安装服务器 步骤： 使用 Discourse 安装…

---

## [使用 muut.rb 导入](https://meta.discourse.org/t/import-using-muut-rb/131600)

<div class="topic-metadata">

**Author:** [@Armando\_Mastracci](https://meta.discourse.org/u/Armando_Mastracci)\
**回覆:** 2\
**Last updated:** [2019年十月22日 11:45 UTC](https://meta.discourse.org/t/import-using-muut-rb/131600 "2019-10-22T11:45:37Z")

</div>

你好， 运行 muut 的导入脚本时出现以下错误： 正在导入分类 2 / 2 (100.0%) \[5170854 项/分钟\] 正在导入讨论 回溯（最近调用最后）： 8: 从 script/i…

---

## [Q2a 导入错误](https://meta.discourse.org/t/q2a-import-error/130063)

<div class="topic-metadata">

**Author:** [@sat](https://meta.discourse.org/u/sat)\
**回覆:** 4\
**Last updated:** [2019年十月3日 01:50 UTC](https://meta.discourse.org/t/q2a-import-error/130063 "2019-10-03T01:50:39Z")

</div>

我正在使用 \[这个 q2a 导入\](https://gist.github.com/Communiteq (formerly DiscourseHosting)/769eff2014d5482f0ab776de03dc3349) 脚本，并看到以下错误。请帮助解决此问题。 是我的用户基础有问题，还是 s…

---

## [关于从 vbulletin 迁移的问题](https://meta.discourse.org/t/questions-about-migrating-from-vbulletin/129774)

<div class="topic-metadata">

**Author:** [@Islander](https://meta.discourse.org/u/Islander)\
**回覆:** 2\
**Last updated:** [2019年九月29日 14:18 UTC](https://meta.discourse.org/t/questions-about-migrating-from-vbulletin/129774 "2019-09-29T14:18:30Z")

</div>

我们正在考虑将当前的 vBulletin 论坛迁移到 Discourse，如果有谁能解答，我们有几个问题。 从 vBulletin 迁移有多容易？ 我们能否保留论坛或版块的结构……

---

## [Don't trigger digests on migration?](https://meta.discourse.org/t/dont-trigger-digests-on-migration/26345)

<div class="topic-metadata">

**Author:** [@dandv](https://meta.discourse.org/u/dandv)\
**回覆:** 11\
**Last updated:** [2019年九月13日 11:04 UTC](https://meta.discourse.org/t/dont-trigger-digests-on-migration/26345 "2019-09-13T11:04:09Z")

</div>

I’ve just migrated a large number of posts from MyBB and there were many jobs scheduled. I was using Gmail’s SMTP to send emails (our forum is low volume). The migration seems to have triggered digest email jobs ({"type"…

---

## [如何在 Discourse 中导入 Redmine 帖子？](https://meta.discourse.org/t/import-redmine-posts-in-discourse/128036)

<div class="topic-metadata">

**Author:** [@lyrrr](https://meta.discourse.org/u/lyrrr)\
**回覆:** 1\
**Last updated:** [2019年九月9日 20:00 UTC](https://meta.discourse.org/t/import-redmine-posts-in-discourse/128036 "2019-09-09T20:00:55Z")

</div>

大家好， 我想知道是否有办法从 Redmine 迁移到 Discourse？ 此致，

---

## [关于 vBulletin 导入脚本的问题](https://meta.discourse.org/t/question-about-the-vbulletin-import-script/121530)

<div class="topic-metadata">

**Author:** [@ravenzachary](https://meta.discourse.org/u/ravenzachary)\
**回覆:** 2\
**Last updated:** [2019年六月28日 05:07 UTC](https://meta.discourse.org/t/question-about-the-vbulletin-import-script/121530 "2019-06-28T05:07:55Z")

</div>

大家好。我正准备从 vBulletin 到 Discourse 进行一次测试导入。我有几个问题。 当导入发生时，每个被导入的用户是否会在导入后自动收到电子邮件通知……

---

## [自定义用户字段和 CSV 导入](https://meta.discourse.org/t/custom-user-fields-and-csv-import/105494)

<div class="topic-metadata">

**Author:** [@josborn](https://meta.discourse.org/u/josborn)\
**回覆:** 4\
**Last updated:** [2019年六月21日 21:28 UTC](https://meta.discourse.org/t/custom-user-fields-and-csv-import/105494 "2019-06-21T21:28:22Z")

</div>

大家好， 关于自定义用户配置文件字段和 CSV 导入，还有一个问题。 看起来通过 CSV 导入可填充的字段是有限的，但我们希望填充一些已创建的自定义用户字段。 我…

---

## [XenForo 导入脚本导入了被封禁的用户以及软删除的主题和帖子](https://meta.discourse.org/t/xenforo-import-script-imported-banned-users-and-soft-deleted-topics-and-posts/266055)

<div class="topic-metadata">

**Author:** [@msinger](https://meta.discourse.org/u/msinger)\
**回覆:** 2\
**Last updated:** [2019年六月18日 10:24 UTC](https://meta.discourse.org/t/xenforo-import-script-imported-banned-users-and-soft-deleted-topics-and-posts/266055 "2019-06-18T10:24:04Z")

</div>

我今天使用了这个脚本，效果很好。唯一的问题是它导入了所有被禁用户，并软删除（隐藏）了 XenForo 中的帖子/主题。这使得数百个垃圾帖子/主题在 Discourse 中可见……

---

## [将 HTML 网站导入 Discourse？](https://meta.discourse.org/t/import-html-site-to-discourse/120474)

<div class="topic-metadata">

**Author:** [@Timelord](https://meta.discourse.org/u/Timelord)\
**回覆:** 5\
**Last updated:** [2019年六月16日 14:49 UTC](https://meta.discourse.org/t/import-html-site-to-discourse/120474 "2019-06-16T14:49:32Z")

</div>

大家好。 有没有办法导入一个通过“wget”抓取的旧论坛数据？我想将其迁移到 Discourse，但我没有 SQL 文件。旧论坛是基于 XenForo 的。 这个帖子给了我希望。

---

## [bbPress 迁移与私密回复](https://meta.discourse.org/t/bbpress-migration-and-private-replies/116025)

<div class="topic-metadata">

**Author:** [@Poshwaffle](https://meta.discourse.org/u/Poshwaffle)\
**回覆:** 8\
**Last updated:** [2019年四月26日 03:49 UTC](https://meta.discourse.org/t/bbpress-migration-and-private-replies/116025 "2019-04-26T03:49:34Z")

</div>

您好， 我们刚刚从 bbPress 迁移过来，遇到了一些问题。基本上，我们使用 bbPress 作为支持论坛，用户在使用时需要发布敏感信息（如用户名…）时，会使用私密回复功能。

---

## [latest discourse-migratepassword 中的错误](https://meta.discourse.org/t/bug-in-latest-discourse-migratepassword/111508)

<div class="topic-metadata">

**Author:** [@fhe](https://meta.discourse.org/u/fhe)\
**回覆:** 2\
**Last updated:** [2019年三月13日 19:44 UTC](https://meta.discourse.org/t/bug-in-latest-discourse-migratepassword/111508 "2019-03-13T19:44:40Z")

</div>

我只想提请注意 discourse-migratepassword 中的一个错误，该错误导致在特定条件下，使用导入密码的用户无法重置其密码。 该问题是在添加支持...时引入的。

---

## [从 Mailman 迁移的已分阶段用户](https://meta.discourse.org/t/staged-users-migrated-from-mailman/104958)

<div class="topic-metadata">

**Author:** [@tisawyer](https://meta.discourse.org/u/tisawyer)\
**回覆:** 2\
**Last updated:** [2018年十二月24日 01:21 UTC](https://meta.discourse.org/t/staged-users-migrated-from-mailman/104958 "2018-12-24T01:21:28Z")

</div>

我已成功使用以下流程测试迁移了一个 Mailman 邮件列表： https://meta.discourse.org/t/importing-mailing-lists-mbox-listserv-google-groups-emails/79773/65?u=tisawyer 现在有一大批待处理的……

---

## [Do you consider making some tools to help discuz users migrate to discourse?](https://meta.discourse.org/t/do-you-consider-making-some-tools-to-help-discuz-users-migrate-to-discourse/24432)

<div class="topic-metadata">

**Author:** [@snakeninny](https://meta.discourse.org/u/snakeninny)\
**回覆:** 17\
**Last updated:** [2018年十一月29日 10:19 UTC](https://meta.discourse.org/t/do-you-consider-making-some-tools-to-help-discuz-users-migrate-to-discourse/24432 "2018-11-29T10:19:45Z")

</div>

Hi Discourse team: My forum is based on discuz, the biggest Chinese forum application, which has a great amount of users in China. I’ve heard that many discuz users would love to migrate to discourse, but there isn’t a …

---

## [Importing from a legacy forum](https://meta.discourse.org/t/importing-from-a-legacy-forum/28507)

<div class="topic-metadata">

**Author:** [@Kristen](https://meta.discourse.org/u/Kristen)\
**回覆:** 2\
**Last updated:** [2015年五月11日 04:20 UTC](https://meta.discourse.org/t/importing-from-a-legacy-forum/28507 "2015-05-11T04:20:16Z")

</div>

I am wanting to transfer Users and Posts from an antique forum. It uses SQL Server and Snitz \[forum software\] (which has been dead for many years …) I’ve had a bit of a look at the import solutions offered here, and it…

---

## [导入 phpbb3 头像后，信件头像仍然显示](https://meta.discourse.org/t/letter-avatars-still-displayed-after-importing-phpbb3-avatars/69553)

<div class="topic-metadata">

**Author:** [@marguerite](https://meta.discourse.org/u/marguerite)\
**回覆:** 17\
**Last updated:** [2017年九月27日 14:58 UTC](https://meta.discourse.org/t/letter-avatars-still-displayed-after-importing-phpbb3-avatars/69553 "2017-09-27T14:58:36Z")

</div>

你好， 抱歉我是新手。 我以前是phpbb3论坛的所有者，决定将phpbb3导入到discourse中。导入程序运行成功。我甚至发现了一个漏洞，并由我们的论坛用户提交了PR#5133修复。我已…

---

## [导入自phpBB3的帖子失败](https://meta.discourse.org/t/posts-failed-to-import-from-phpbb3/89559)

<div class="topic-metadata">

**Author:** [@danmaby](https://meta.discourse.org/u/danmaby)\
**回覆:** 8\
**Last updated:** [2018年六月11日 08:35 UTC](https://meta.discourse.org/t/posts-failed-to-import-from-phpbb3/89559 "2018-06-11T08:35:04Z")

</div>

您好，我们已使用提供的导入脚本完成将phpBB3论坛导入到一个原生 Discourse 安装中。导入已完成，但只导入了用户。没有帖子或主题被迁移进去吗？我们……

---

## [Discobot、头像、上传在已渲染内容中硬编码主机名](https://meta.discourse.org/t/discobot-avatars-uploads-include-hard-code-hostname-in-cooked/85736)

<div class="topic-metadata">

**Author:** [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**回覆:** 6\
**Last updated:** [2018年四月20日 14:32 UTC](https://meta.discourse.org/t/discobot-avatars-uploads-include-hard-code-hostname-in-cooked/85736 "2018-04-20T14:32:07Z")

</div>

在首次导入时，我看到 Discobot 创建了包含以下内容的已处理帖子： \<p\>如果您想了解更多，请选择 \<img src=\\"//importer.ltcmp.net/plugins/discourse-narrative-bot/images/font-awesome-ellipsis.png\\" width=\\"…

---

## [命令行非交互式 SiteSetting 修改](https://meta.discourse.org/t/commandline-non-interactive-sitesetting-modification/78050)

<div class="topic-metadata">

**Author:** [@erseco](https://meta.discourse.org/u/erseco)\
**回覆:** 3\
**Last updated:** [2018年一月15日 13:46 UTC](https://meta.discourse.org/t/commandline-non-interactive-sitesetting-modification/78050 "2018-01-15T13:46:45Z")

</div>

我正在编写一个迁移脚本，希望以编程方式设置 s3\_upload\_bucket 站点设置。我找到了一个在 Docker 实例内设置它的方法： echo 'SiteSetting.s3\_upload\_bucket="mybucket"' | bundle ex…

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

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