# Migrating a PhpBB2 forum to Discourse

**URL:** https://meta.discourse.org/t/migrating-a-phpbb2-forum-to-discourse/31844
**Category:** Support
**Created:** [8월 6, 2015, 8:43오후 UTC](https://meta.discourse.org/t/migrating-a-phpbb2-forum-to-discourse/31844 "2015-08-06T20:43:14Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![gerhard](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gerhard/32/119479_2.png) [@gerhard](https://meta.discourse.org/u/gerhard)
#### Post date: [8월 6, 2015, 8:57오후 UTC](https://meta.discourse.org/t/migrating-a-phpbb2-forum-to-discourse/31844/3 "2015-08-06T20:57:03Z")

</div>

There’s no direct migration path from phpBB2.

I suggest that you first upgrade to phpBB3 and then use the phpBB3 importer. That should work fine. I myself have a phpBB3 forum that was upgraded from phpBB2 years ago. The migration to Discourse works fine.

Make sure you keep a copy of your old phpBB2 database in case you need it to fixed some issues after the upgrade.

> [@Migrate a phpBB3 forum to Discourse](https://meta.discourse.org/t/importing-from-phpbb3/30810):
>
> So, you discovered Discourse and want to know how to migrate from your existing phpBB3 forum? Great! Then keep on reading. This guide will show you how to use the [phpBB3 import script](https://github.com/discourse/discourse/blob/main/script/import_scripts/phpbb3.rb) for importing from phpBB 3.0 up to 3.3. What data can be imported? Users Avatars (optional) Anonymous users (either as user “system” or as suspended users) Password hashes, which can be used with the [migratepassword plugin](https://github.com/communiteq/discourse-migratepassword) (optional) User profile data (birth date, website, location, custom fields, etc.) G…

* * *

> [@Columbo](#):
>
> Are there known hassles?

I noticed two problems that were caused by the upgrade from phpBB2 to phpBB3. I’m not sure if they were fixed in later versions of the upgrader or if they still exist. There are solutions for both of them:

- Private Messages can be fixed by [enabling an option in the settings](https://github.com/discourse/discourse/blob/master/script/import_scripts/phpbb3/settings.yml#L42-L46).
- Invalid votes can be fixed with this [SQL script](https://gist.github.com/gschlager/c6ba58bdd2fa2839aebd).

---

_[View the full topic](https://meta.discourse.org/t/migrating-a-phpbb2-forum-to-discourse/31844)._
