nodebb-plugin-import icon indicating copy to clipboard operation
nodebb-plugin-import copied to clipboard

Can I migrate from discourse to NodeBB using this tool?

Open TerrificMao opened this issue 5 years ago • 7 comments

Can I migrate from discourse to NodeBB using this tool?

TerrificMao avatar Apr 30 '19 11:04 TerrificMao

Yes! when you get to the part where you select an exporter, select nodebb-plugin-import-discourse

Let me know if you run into any issues, I will help you through it

akhoury avatar Apr 30 '19 12:04 akhoury

Keep in mind that the discourse exporter is over a year old, so we might have to make changes to it if you're exporting a fairly new discourse instance with many schema changes, but that shouldn't be that bad

akhoury avatar Apr 30 '19 12:04 akhoury

Hi akhoury, thanks so much for your quickly reply, really appreciate!! I have installed the discourse with container deployment, and I also installed the the plugin that you suggested (nodebb-plugin-import-discourse) on another AWS EC2 ubuntu instance, but can I have some README or instructions? How can I migrate the database or the forum content from discourse to NodeBB? Could you help give me some suggestions or any kindly help? Thanks in advance!!

TerrificMao avatar May 03 '19 14:05 TerrificMao

Hi akhoury, thanks so much for your quickly reply, really appreciate!! I have installed the discourse with container deployment, and I also installed the the plugin that you suggested (nodebb-plugin-import-discourse) on another AWS EC2 ubuntu instance, but can I have some simple README or instructions? How can I migrate the database (pgsql in container discourse) or the forum content from discourse to NodeBB? Could you help give me some suggestions or any kindly help? Thanks in advance!!

At 2019-04-30 20:29:13, "Aziz Khoury" [email protected] wrote:

Yes! when you get to the part where you select an exporter, select nodebb-plugin-import-discourse

Let me know if you run into any issues, I will help you through it

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

TerrificMao avatar May 04 '19 01:05 TerrificMao

@TerrificMao you don't need to install nodebb-plugin-import-discourse, what you need to do is the following:

  • go to your nodebb instance admin page, Extend > Plugins, find and install "nodebb-plugin-import" NOT "nodebb-plugin-import-discourse" then activate it then restart your nodebb instance https://docs.nodebb.org/configuring/plugins/

  • then visit the Plugins > Import page, toggle the Toggle pre-import settings then fill those out properly, when you get to the Exporter section, this is where you enter the details of the discourse postgres instance

https://cloud.githubusercontent.com/assets/1398375/11704595/f66a8a00-9eb6-11e5-8592-5e0f2ca650ef.png

then, in the "Select an exporter" section, this is where your select "nodebb-plugin-import-discourse", it will be automatically installed for you, but it's ok if you installed manually, it won't hurt.

https://cloud.githubusercontent.com/assets/1398375/11704593/f667be60-9eb6-11e5-856c-bdfacde800bf.png

Make sure the server which nodebb instance is running on, can access the postgres instance of the discourse instance.

If you run into any issues, let me know. I am currently on vacation till the 28th of May but I am checking my email almost every day

akhoury avatar May 08 '19 13:05 akhoury

go to your nodebb instance admin page, Extend > Plugins, find and install "nodebb-plugin-import"

Not found! I managed to install it using npm

..then activate it then restart your nodebb instance

DONE

then visit the Plugins > Import page..

Not Found

zerefdev avatar Aug 19 '19 12:08 zerefdev

hmm..

  1. any errors in the logs?
  2. what is the nodebb version you are using? the import plugin only supports 1 version at a time of nodebb https://github.com/akhoury/nodebb-plugin-import#this-plugin-only-supports

akhoury avatar Aug 22 '19 09:08 akhoury