# Migration

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

[Latest](https://meta.discourse.org/latest.md) · [Categories](https://meta.discourse.org/categories.md) · [Tags](https://meta.discourse.org/tags.md)

**Page:** 4

---

## [Can I import users and conversations from Yammer](https://meta.discourse.org/t/can-i-import-users-and-conversations-from-yammer/42329)

<div class="topic-metadata">

**Author:** [@Mark\_Stokes](https://meta.discourse.org/u/Mark_Stokes)\
**Replies:** 16\
**Last updated:** [January 12, 2024, 8:03pm UTC](https://meta.discourse.org/t/can-i-import-users-and-conversations-from-yammer/42329 "2024-01-12T20:03:14Z")

</div>

Hi All, I run a technical community in the UK and we run our conversations on Yammer, but I am looking to move that to Discourse going forward. Has anyone managed to do a user and conversation export from Yammer and im…

---

## [Time difference import posts via API in France](https://meta.discourse.org/t/time-difference-import-posts-via-api-in-france/289452)

<div class="topic-metadata">

**Author:** [@FLucas](https://meta.discourse.org/u/FLucas)\
**Replies:** 1\
**Last updated:** [December 21, 2023, 3:45pm UTC](https://meta.discourse.org/t/time-difference-import-posts-via-api-in-france/289452 "2023-12-21T15:45:40Z")

</div>

Hi, I’m almost finished migrating data from an old forum to a Discourse forum. When I import my posts via CURL and the Discourse APIs, I get a time lag. Example 1: curl -X POST "https://monappli/posts.json" -H \\ -H "…

---

## [Migration from mysql forum to discourse](https://meta.discourse.org/t/migration-from-mysql-forum-to-discourse/288687)

<div class="topic-metadata">

**Author:** [@maaatt](https://meta.discourse.org/u/maaatt)\
**Replies:** 1\
**Last updated:** [December 14, 2023, 5:40pm UTC](https://meta.discourse.org/t/migration-from-mysql-forum-to-discourse/288687 "2023-12-14T17:40:29Z")

</div>

Hello, I’m trying to migrate my old forum in mysql into discourse importing a 500MB database inside the docker machine. The issue I found is that I don’t have enough space on discourse docker instance even if my hard d…

---

## [How can I migrate Stack Overflow data into Discourse?](https://meta.discourse.org/t/how-can-i-migrate-stack-overflow-data-into-discourse/284989)

<div class="topic-metadata">

**Author:** [@Discoder](https://meta.discourse.org/u/Discoder)\
**Replies:** 5\
**Last updated:** [November 19, 2023, 2:37am UTC](https://meta.discourse.org/t/how-can-i-migrate-stack-overflow-data-into-discourse/284989 "2023-11-19T02:37:09Z")

</div>

I want to transfer about 1000 posts from our old Stack Overflow Enterprise instance into Discourse. Has anyone migrated Stack Overflow data into Discourse? Is there a plugin or repo with scripts that could help facilita…

---

## [How to spread out import over longer timer to prevent running into rate limits of external services](https://meta.discourse.org/t/how-to-spread-out-import-over-longer-timer-to-prevent-running-into-rate-limits-of-external-services/285186)

<div class="topic-metadata">

**Author:** [@winston-yallow](https://meta.discourse.org/u/winston-yallow)\
**Replies:** 3\
**Last updated:** [November 12, 2023, 9:20pm UTC](https://meta.discourse.org/t/how-to-spread-out-import-over-longer-timer-to-prevent-running-into-rate-limits-of-external-services/285186 "2023-11-12T21:20:40Z")

</div>

Backstory: Imgur images not rendering because server is rate limited I already have a custom import script written in ruby. It works and adds all topics, however it is too fast. This leads to the server fetching a lot o…

---

## [Difference between \`bulk\_import\` and \`import\_scripts\`?](https://meta.discourse.org/t/difference-between-bulk-import-and-import-scripts/285165)

<div class="topic-metadata">

**Author:** [@winston-yallow](https://meta.discourse.org/u/winston-yallow)\
**Replies:** 1\
**Last updated:** [November 12, 2023, 1:41pm UTC](https://meta.discourse.org/t/difference-between-bulk-import-and-import-scripts/285165 "2023-11-12T13:41:46Z")

</div>

I’m currently evaluating different options to import 120k topics into discourse. It seems like the preferred way is via scripts. I’ve found two folders of interest: script/bulk\_import script/import\_scripts Is there an…

---

## [Error while using bulk migration script](https://meta.discourse.org/t/error-while-using-bulk-migration-script/284003)

<div class="topic-metadata">

**Author:** [@Dr\_Shihaan\_Larif](https://meta.discourse.org/u/Dr_Shihaan_Larif)\
**Replies:** 0\
**Last updated:** [October 31, 2023, 12:15pm UTC](https://meta.discourse.org/t/error-while-using-bulk-migration-script/284003 "2023-10-31T12:15:09Z")

</div>

\`async\_connect\_or\_reset’: connection to server on socket “/var/run/postgresql/.s.PGSQL.5432” failed: FATAL: Peer authentication failed for user “discourse” (PG::ConnectionBad) Hello there I am getting the above error i…

---

## [Importing HTML into Discourse](https://meta.discourse.org/t/importing-html-into-discourse/283658)

<div class="topic-metadata">

**Author:** [@Micael\_Noir](https://meta.discourse.org/u/Micael_Noir)\
**Replies:** 1\
**Last updated:** [October 29, 2023, 4:43am UTC](https://meta.discourse.org/t/importing-html-into-discourse/283658 "2023-10-29T04:43:28Z")

</div>

Good day, When google yahoo was sunset, the admins of an existing group exported all messages into HTML. They then uploaded all the HTML into Groups.io and that was their migration process. Today there are few hundred …

---

## [Import from Woltlab suite 5 to Discourse](https://meta.discourse.org/t/import-from-woltlab-suite-5-to-discourse/283423)

<div class="topic-metadata">

**Author:** [@Dr\_Shihaan\_Larif](https://meta.discourse.org/u/Dr_Shihaan_Larif)\
**Replies:** 2\
**Last updated:** [October 26, 2023, 1:07am UTC](https://meta.discourse.org/t/import-from-woltlab-suite-5-to-discourse/283423 "2023-10-26T01:07:45Z")

</div>

Hello there I have a forum with woltab suite5 software, its a hobby forum and because of the economic crash in Sri Lanka I can no longer afford to pay annual licence fee. I have successfully installed discourse and very…

---

## [Importing posts with Markdown](https://meta.discourse.org/t/importing-posts-with-markdown/282635)

<div class="topic-metadata">

**Author:** [@n1bff](https://meta.discourse.org/u/n1bff)\
**Replies:** 10\
**Last updated:** [October 19, 2023, 2:32pm UTC](https://meta.discourse.org/t/importing-posts-with-markdown/282635 "2023-10-19T14:32:39Z")

</div>

I rewrote discourse/script/import\_scripts/json\_generic.rb at main · discourse/discourse · GitHub a bit for my own data. It works well but I cannot figure out how to have Discourse use Markdown in the imported posts. For…

---

## [Error importing from vanilla: invalid byte sequence in UTF-8](https://meta.discourse.org/t/error-importing-from-vanilla-invalid-byte-sequence-in-utf-8/104320)

<div class="topic-metadata">

**Author:** [@dpkoch](https://meta.discourse.org/u/dpkoch)\
**Replies:** 23\
**Last updated:** [October 18, 2023, 11:21pm UTC](https://meta.discourse.org/t/error-importing-from-vanilla-invalid-byte-sequence-in-utf-8/104320 "2023-10-18T23:21:07Z")

</div>

I’m trying to import from a Vanilla forum using the instructions posted here. However, I get the following error when I run the vanilla.rb import script: Loading existing groups... Loading existing users... Loading exis…

---

## [How to create a new user in pure sql](https://meta.discourse.org/t/how-to-create-a-new-user-in-pure-sql/136525)

<div class="topic-metadata">

**Author:** [@paultaylor](https://meta.discourse.org/u/paultaylor)\
**Replies:** 26\
**Last updated:** [October 18, 2023, 1:10am UTC](https://meta.discourse.org/t/how-to-create-a-new-user-in-pure-sql/136525 "2023-10-18T01:10:37Z")

</div>

What are the minimum required tables that require rows to be added to create user, so is then visible active in discourse Ive just inserted one row into user\_emails insert into user\_emails (user\_id, email, "primary", c…

---

## [How to edit an import script on the production server?](https://meta.discourse.org/t/how-to-edit-an-import-script-on-the-production-server/282505)

<div class="topic-metadata">

**Author:** [@ddeveloper](https://meta.discourse.org/u/ddeveloper)\
**Replies:** 11\
**Last updated:** [October 17, 2023, 1:01pm UTC](https://meta.discourse.org/t/how-to-edit-an-import-script-on-the-production-server/282505 "2023-10-17T13:01:32Z")

</div>

How do you edit vanila.rb on production server directly? I’m getting the same error and I know nothing about ruby.

---

## [Reset after running migration script?](https://meta.discourse.org/t/reset-after-running-migration-script/281224)

<div class="topic-metadata">

**Author:** [@MikeD](https://meta.discourse.org/u/MikeD)\
**Replies:** 4\
**Last updated:** [October 9, 2023, 12:17am UTC](https://meta.discourse.org/t/reset-after-running-migration-script/281224 "2023-10-09T00:17:46Z")

</div>

I’m using the migration scripts to migrate a Vanilla 3 forum to self-hosted Discourse. The migration script is working fine: RAILS\_ENV=production ruby script/import\_scripts/vanilla.rb /shared/uploads/export.text The o…

---

## [Import new posts/users from a spreadsheet](https://meta.discourse.org/t/import-new-posts-users-from-a-spreadsheet/279419)

<div class="topic-metadata">

**Author:** [@Max937](https://meta.discourse.org/u/Max937)\
**Replies:** 1\
**Last updated:** [September 19, 2023, 8:02am UTC](https://meta.discourse.org/t/import-new-posts-users-from-a-spreadsheet/279419 "2023-09-19T08:02:37Z")

</div>

I am looking for a way to import some artificial user posts/comments into a new discourse install to encourage some organic posting. Here is what I would like: Day1: I import a new spreadsheet with new posts Day 2: I …

---

## [Parsing/importing portions of very large JSON export from another forum](https://meta.discourse.org/t/parsing-importing-portions-of-very-large-json-export-from-another-forum/271722)

<div class="topic-metadata">

**Author:** [@Cordtus](https://meta.discourse.org/u/Cordtus)\
**Replies:** 4\
**Last updated:** [September 9, 2023, 7:21pm UTC](https://meta.discourse.org/t/parsing-importing-portions-of-very-large-json-export-from-another-forum/271722 "2023-09-09T19:21:25Z")

</div>

I have a forum we’ve just migrated with a lot of discussions (unfortunately not all, about 500 of the thousands) that need to be archived/accessible for the life of the project. It’s coming from is cpmmonwealth.im - a fa…

---

## [No description in a category via API](https://meta.discourse.org/t/no-description-in-a-category-via-api/277473)

<div class="topic-metadata">

**Author:** [@FLucas](https://meta.discourse.org/u/FLucas)\
**Replies:** 4\
**Last updated:** [September 4, 2023, 4:00pm UTC](https://meta.discourse.org/t/no-description-in-a-category-via-api/277473 "2023-09-04T16:00:39Z")

</div>

Hi, I’m still importing data from an old app into our new Discourse. I can’t create a category with its description with the following API call : curl -X POST "https://site-discourse/categories.json" \\ -H "Api-Key: ap…

---

## [Import custom fields of user with import\_scripts Ruby](https://meta.discourse.org/t/import-custom-fields-of-user-with-import-scripts-ruby/275683)

<div class="topic-metadata">

**Author:** [@LN\_test](https://meta.discourse.org/u/LN_test)\
**Replies:** 8\
**Last updated:** [August 18, 2023, 2:09pm UTC](https://meta.discourse.org/t/import-custom-fields-of-user-with-import-scripts-ruby/275683 "2023-08-18T14:09:18Z")

</div>

I’ve created the DrupalID field from user fields and now I want to import data into this create\_users(@users\_json) do |u| { # id: u\["uid"\], # name: u\["name"\], # email: u\["mail"\],# # …

---

## [Large Drupal forum migration, importer errors and limitations](https://meta.discourse.org/t/large-drupal-forum-migration-importer-errors-and-limitations/246939)

<div class="topic-metadata">

**Author:** [@rahim123](https://meta.discourse.org/u/rahim123)\
**Replies:** 28\
**Last updated:** [August 10, 2023, 2:26pm UTC](https://meta.discourse.org/t/large-drupal-forum-migration-importer-errors-and-limitations/246939 "2023-08-10T14:26:28Z")

</div>

Hi there, this topic gives some background on the migration that I’m slowly planning and testing. I finally tried the Drupal importer last Friday on a testbed VPS using a combination of this and this. The importer is sti…

---

## [How to import bbPress images and links redirect 301 to Discourse?](https://meta.discourse.org/t/how-to-import-bbpress-images-and-links-redirect-301-to-discourse/263312)

<div class="topic-metadata">

**Author:** [@hiccup](https://meta.discourse.org/u/hiccup)\
**Replies:** 8\
**Last updated:** [August 8, 2023, 8:37pm UTC](https://meta.discourse.org/t/how-to-import-bbpress-images-and-links-redirect-301-to-discourse/263312 "2023-08-08T20:37:23Z")

</div>

Hey, I handled to transfer all the contents of bbPress to to Discourse “development environment”, by use bbpress.rb script. but I have two questions that I would help with: 1: All the images appear on the Discourse wi…

---

## [Bulk upload topics and posts from Slack](https://meta.discourse.org/t/bulk-upload-topics-and-posts-from-slack/274054)

<div class="topic-metadata">

**Author:** [@bitsondatadev](https://meta.discourse.org/u/bitsondatadev)\
**Replies:** 6\
**Last updated:** [August 6, 2023, 2:07am UTC](https://meta.discourse.org/t/bulk-upload-topics-and-posts-from-slack/274054 "2023-08-06T02:07:16Z")

</div>

Hi all, I’m using the hosted Discourse/CDCK to set up my site. I’m currently working on taking conversations from a Slack export, doing a bit of preprocessing on the text, generating a title with a hugging face transfor…

---

## [Bundle install fails after adding gem "mysql2" and gem "reverse\_markdown"](https://meta.discourse.org/t/bundle-install-fails-after-adding-gem-mysql2-and-gem-reverse-markdown/272925)

<div class="topic-metadata">

**Author:** [@xbd](https://meta.discourse.org/u/xbd)\
**Replies:** 4\
**Last updated:** [July 26, 2023, 6:52pm UTC](https://meta.discourse.org/t/bundle-install-fails-after-adding-gem-mysql2-and-gem-reverse-markdown/272925 "2023-07-26T18:52:37Z")

</div>

I’m trying to add “mysql2” and “reverse\_markdown” to my fresh discourse container in “Gemfile” to migrate data with the ipb script. bundle config unset deployment bundle install results with: Gem::Ext::BuildError: …

---

## [Unable to create group owner with API](https://meta.discourse.org/t/unable-to-create-group-owner-with-api/272631)

<div class="topic-metadata">

**Author:** [@FLucas](https://meta.discourse.org/u/FLucas)\
**Replies:** 2\
**Last updated:** [July 24, 2023, 1:11pm UTC](https://meta.discourse.org/t/unable-to-create-group-owner-with-api/272631 "2023-07-24T13:11:12Z")

</div>

Hi, I need to migrate an old application to Discourse. I’m using the APIs with CURL to create the users and groups. I am using Discourse v3.1.0.beta5 +392 For users, I had no problem: curl -X POST “site-discourse/us…

---

## [Symbols in Topic Titles](https://meta.discourse.org/t/symbols-in-topic-titles/270795)

<div class="topic-metadata">

**Author:** [@TheDarkWizard](https://meta.discourse.org/u/TheDarkWizard)\
**Replies:** 2\
**Last updated:** [July 8, 2023, 4:23am UTC](https://meta.discourse.org/t/symbols-in-topic-titles/270795 "2023-07-08T04:23:41Z")

</div>

Hey all, You’ve all seen me around over the last few years as we work towards moving our large community from xenForo to discourse, and we’ve gotten ever closer to this goal, even though we’ve had to take our time on it…

---

## [Importing Votes: Is it Possible to Use a PostgreSQL Command or other to Set Vote Counts on Specific Topics?"](https://meta.discourse.org/t/importing-votes-is-it-possible-to-use-a-postgresql-command-or-other-to-set-vote-counts-on-specific-topics/266895)

<div class="topic-metadata">

**Author:** [@Luicid](https://meta.discourse.org/u/Luicid)\
**Replies:** 2\
**Last updated:** [July 4, 2023, 9:10am UTC](https://meta.discourse.org/t/importing-votes-is-it-possible-to-use-a-postgresql-command-or-other-to-set-vote-counts-on-specific-topics/266895 "2023-07-04T09:10:20Z")

</div>

Hello, I’m in the process of migrating from AnswerHub to Discourse. However, since I don’t have access to the AnswerHub database, I’ve scraped the entire website to gather the Ideas and their respective vote counts. How…

---

## [phpBB import issue](https://meta.discourse.org/t/phpbb-import-issue/270383)

<div class="topic-metadata">

**Author:** [@johnsmyth](https://meta.discourse.org/u/johnsmyth)\
**Replies:** 1\
**Last updated:** [July 3, 2023, 1:50pm UTC](https://meta.discourse.org/t/phpbb-import-issue/270383 "2023-07-03T13:50:56Z")

</div>

Hello, I am importing my phpBB forum data to Discourse, in the source, there are around 3300 users but on complete import, it just creates 1888 users. Did anyone face this issue?

---

## [Migrate phpBB3 forum new data to existing discourse forum](https://meta.discourse.org/t/migrate-phpbb3-forum-new-data-to-existing-discourse-forum/263818)

<div class="topic-metadata">

**Author:** [@johnsmyth](https://meta.discourse.org/u/johnsmyth)\
**Replies:** 5\
**Last updated:** [June 21, 2023, 1:04pm UTC](https://meta.discourse.org/t/migrate-phpbb3-forum-new-data-to-existing-discourse-forum/263818 "2023-06-21T13:04:29Z")

</div>

Hello, I want to migrate my new data from phpbb3 forum to discourse with existing which already a migrated phpbb3 forum

---

## [User data corruption in phpBB3 to WP/Discourse migration](https://meta.discourse.org/t/user-data-corruption-in-phpbb3-to-wp-discourse-migration/267538)

<div class="topic-metadata">

**Author:** [@kiefferr](https://meta.discourse.org/u/kiefferr)\
**Replies:** 8\
**Last updated:** [June 9, 2023, 12:45am UTC](https://meta.discourse.org/t/user-data-corruption-in-phpbb3-to-wp-discourse-migration/267538 "2023-06-09T00:45:56Z")

</div>

Occasionally and seemingly right after a fresh import of user data from our old phpBB3-based site, we’re seeing an issue where some user data gets corrupted with another user’s data during the WP-to-Discourse synchroniza…

---

## [How migrate from Discourse to another platform of community?](https://meta.discourse.org/t/how-migrate-from-discourse-to-another-platform-of-community/264709)

<div class="topic-metadata">

**Author:** [@Gabriel\_Fernando\_Mar](https://meta.discourse.org/u/Gabriel_Fernando_Mar)\
**Replies:** 21\
**Last updated:** [May 23, 2023, 6:39am UTC](https://meta.discourse.org/t/how-migrate-from-discourse-to-another-platform-of-community/264709 "2023-05-23T06:39:31Z")

</div>

Hello! I intend to move my community, which is on Discourse, to another platform. How can I export the contents and users in an SQL file?

---

## [Migration from yaf.net to discourse](https://meta.discourse.org/t/migration-from-yaf-net-to-discourse/264645)

<div class="topic-metadata">

**Author:** [@Amine\_Jelassi](https://meta.discourse.org/u/Amine_Jelassi)\
**Replies:** 3\
**Last updated:** [May 12, 2023, 7:53am UTC](https://meta.discourse.org/t/migration-from-yaf-net-to-discourse/264645 "2023-05-12T07:53:45Z")

</div>

Hello, I’m trying to migrate my forum (closed to public) from https://www.yetanotherforum.net/ to discourse. I found a lot of migration scripts but never from https://www.yetanotherforum.net/. Any solution ?

[Previous page](https://meta.discourse.org/c/support/migration/106.md?page=2)

[Next page](https://meta.discourse.org/c/support/migration/106.md?page=4)
