The discussion centers around importing bbPress forums into Discourse, with dkobia sharing a forked and updated version of a plugin originally by Wayne Graham, now compatible with bbPress as a WordPress plugin. The plugin is available at GitHub. erlend_sh praises the work and suggests moving the topic to the Plugins category, also recommending dkobia contact michaeld regarding migration services. michaeld expresses interest in testing the plugin. jorgtron reports success importing content locally but encounters errors when trying to restore backups or migrate via pg_restore, even when restoring locally — suggesting version mismatches or structural conflicts. michaeld asks if forum versions match; jorgtron confirms mismatches and that even same-environment restores fail. treb0r asks beginner questions about running the import script inside a Docker container, wondering about persistence and mailcatcher use; later treb0r follows up with more specific Docker and script execution questions. hamzahali confirms interest in compatibility with bbPress as a WordPress plugin. tonninseteli seeks real-world success or horror stories to prepare for their own migration. lead4good links to a guide on using the bbPress import script with MySQL dependencies. The thread highlights community interest, technical hurdles, and the need for clearer Docker/backup guidance.
@dkobia: Great plugin - it has probably saved me a ton of time. However, I’m having some issues.
I have the database with the old forum posts on my localhost. Using the plugin I’ve got all the content into discourse, running locally. So my next thought was to use the backup function in the admin panel to transfer the content from localhost to my digitalocean docker production server. However, when I try to restore a backup I get lots of different errors (“hstore not found”, “TABLE already exists etc.”).
Have you or anyone else tested if a bbpress converted database can be successfully backed up?
As an alternative, I tried just exporting the entire database using pgAdmin, and then importing it using pg_restore on the command line in the docker app. Which seems to work, but the app just shows an empty white page afterwards. So something is very broken, but I can’t quite figure out what. Frustrating.
@michaeld: The local and production forums might be off by 0.0.1 or so.
However, I’ve tried creating a backup locally and then importing the same backup locally in the very same forum, which fails with the same errors I mentioned - so even that doesn’t work.
…and now I’m wondering how to go about running the BBPress script.
The instructions say:
"After reviewing and modifying, to run the bbPress import script you will do:
cd path/to/your/discourse_folder
ruby script/import_scripts/bbpress.rb"
In my case this will be from inside the Docker container. If I can get it to run, am I correct in thinking that the database lives outside the container and that any content I manage to import will persist if I destry and rebuild the container?
Also, can I run mailcatcher from inside the container? I would like to avoid spamming my users as I tinker with the import process.
Any hints or tips gratefully received! Anybody looking for some paid consulting work?
I would really like to hear some success, and even better, horror stories about bbpress import as I might have to take up this task at some point and am curious to see what sort of trouble people have bumped into.