# How use API to convert topic in discourse1.com to discourse2.com

**URL:** <https://meta.discourse.org/t/how-use-api-to-convert-topic-in-discourse1-com-to-discourse2-com/211591>\
**Category:** General\
**Created:** [December 9, 2021, 8:22am UTC](https://meta.discourse.org/t/how-use-api-to-convert-topic-in-discourse1-com-to-discourse2-com/211591 "2021-12-09T08:22:44Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![Steven](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/steven/32/187890_2.png) [@Steven](https://meta.discourse.org/u/Steven)\
**Post date:** [December 10, 2021, 10:09am UTC](https://meta.discourse.org/t/how-use-api-to-convert-topic-in-discourse1-com-to-discourse2-com/211591/9 "2021-12-10T10:09:36Z")

</div>

Thats normal, you need to do a rebake, the posts will be processed and the oneboxes wilo be generated:

```plaintext
cd /var/discourse
./launcher enter app
rake posts:rebake

```

---

_[View the full topic](https://meta.discourse.org/t/how-use-api-to-convert-topic-in-discourse1-com-to-discourse2-com/211591)._
