# Issues while migrating from Kunena

**URL:** https://meta.discourse.org/t/issues-while-migrating-from-kunena/24859
**Category:** Migration
**Tags:** kunena
**Created:** [February 5, 2015, 10:42am UTC](https://meta.discourse.org/t/issues-while-migrating-from-kunena/24859 "2015-02-05T10:42:38Z")
**Posts on this page:** 9
**Page:** 2

<div class="post-metadata">

### Author: ![tarek](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tarek/32/124831_2.png) [@tarek](https://meta.discourse.org/u/tarek)
#### Post date: [May 6, 2016, 5:30am UTC](https://meta.discourse.org/t/issues-while-migrating-from-kunena/24859/21 "2016-05-06T05:30:04Z")

</div>

I have distilled the instructions into a thread, which you can find here:

> [@Migrate a Kunena 3 forum to Discourse](https://meta.discourse.org/t/howto-importing-from-kunena-3/43776):
>
> Want to migrate from Kunena3 to Discourse? Great! Let’s get started. Note: @tarek’s fine work on this topic was replaced wholesale after @pfaffman made considerable changes to the importer. Do not blame @tarek for mistakes! What data can be imported? Users Categories Topics & Posts Attachments Prerequisites Set up Discourse development environment on [OS X](https://meta.discourse.org/t/beginners-guide-to-install-discourse-on-mac-os-x-for-development/15772), [Ubuntu](https://meta.discourse.org/t/beginners-guide-to-install-discourse-on-ubuntu-for-development/14727) or [Windows](https://github.com/discourse/discourse/blob/master/docs/VAGRANT.md). Install MySQL or MariaDB sudo apt-get update sudo apt-get upgrade sudo apt-get install mariadb-server libmysql…

I hope it helps!

---

<div class="post-metadata">

### Author: ![tarek](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tarek/32/124831_2.png) [@tarek](https://meta.discourse.org/u/tarek)
#### Post date: [May 7, 2016, 12:53pm UTC](https://meta.discourse.org/t/issues-while-migrating-from-kunena/24859/22 "2016-05-07T12:53:50Z")

</div>

Generally the migration to Kunena has been excellent, however I have run into a another problem. I can’t figure out how to properly convert some of the posts, which appear like this:

```plaintext
[FONT=Arial][COLOR=#000000]I have just finished 
the first draft abstract – deadline is Dec 4 at 5 pm for SAEM. I would 
appreciate any and all feedback re below. In particular the results 
section will need to be fleshed out given our ongoing data analysis, but
 everything else is up for comment also.[/COLOR][/FONT]

```

It’s obviously some kind of markup language that doesn’t seem to apply to all posts. What is it even called so that I can figure out how to translate it? I vaguely recall “BBCode”? Is that what this is? Any thoughts re: how to convert it?

Update: Yes, it’s BBCode. Just trying to figure out how to do the conversion now

---

<div class="post-metadata">

### Author: ![tarek](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tarek/32/124831_2.png) [@tarek](https://meta.discourse.org/u/tarek)
#### Post date: [May 7, 2016, 3:59pm UTC](https://meta.discourse.org/t/issues-while-migrating-from-kunena/24859/23 "2016-05-07T15:59:03Z")

</div>

The forum I have is complex in that it represents at least 3 distinct eras from as far back as 2005. As such, I’ve just been hand-fixing the BB code with some regex, and will leave it as such. Also, some of the very old posts don’t have the owner properly attached, which is a real nuisance. I’ve also just been handfixing them as I run across them..

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [January 16, 2019, 9:07pm UTC](https://meta.discourse.org/t/issues-while-migrating-from-kunena/24859/24 "2019-01-16T21:07:47Z")

</div>



---

<div class="post-metadata">

### Author: ![wasimkham](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/wasimkham/32/121528_2.png) [@wasimkham](https://meta.discourse.org/u/wasimkham)
#### Post date: [April 19, 2016, 12:36pm UTC](https://meta.discourse.org/t/issues-while-migrating-from-kunena/24859/25 "2016-04-19T12:36:38Z")

</div>

Thanks for this. I have finally managed to get the Kunena import script working after a lot of trial and error (not a ruby developer).

I now have a workable database in a Vagrant machine in the `discourse_development` db. I’ve exported it and imported it into a production discourse setup but now I’m seeing `500 Internal Server Error` on the production site.

Are the databases exactly the same or is there something special I need to do when importing a development database into production?

---

<div class="post-metadata">

### Author: ![tarek](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tarek/32/124831_2.png) [@tarek](https://meta.discourse.org/u/tarek)
#### Post date: [May 7, 2016, 12:48pm UTC](https://meta.discourse.org/t/issues-while-migrating-from-kunena/24859/26 "2016-05-07T12:48:29Z")

</div>

> [@Migrate from another forum to Discourse](https://meta.discourse.org/t/migrate-from-another-forum-to-discourse/16616/28):
>
> Are the databases exactly the same or is there something special I need to do when importing a development database into production?

I assume this has been sorted out by now, but just FYI, the conversion process isn’t a direct DB copy. Instead, you have to do a backup / restore as per [these instructions](https://meta.discourse.org/t/move-your-discourse-instance-to-a-different-server/15721).

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [June 11, 2019, 5:21pm UTC](https://meta.discourse.org/t/issues-while-migrating-from-kunena/24859/27 "2019-06-11T17:21:31Z")

</div>



---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [November 14, 2022, 7:38am UTC](https://meta.discourse.org/t/issues-while-migrating-from-kunena/24859/28 "2022-11-14T07:38:09Z")

</div>



---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [November 14, 2022, 7:52am UTC](https://meta.discourse.org/t/issues-while-migrating-from-kunena/24859/29 "2022-11-14T07:52:53Z")

</div>



[Previous page](https://meta.discourse.org/t/issues-while-migrating-from-kunena/24859.md?page=1)
