# Herbouwen van top-onderwerpen en reacties in profielen na import

**URL:** https://meta.discourse.org/t/rebuilding-top-topics-and-replies-in-profiles-after-import/182924
**Category:** Support
**Created:** [11 maart 2021 om 20:29 UTC](https://meta.discourse.org/t/rebuilding-top-topics-and-replies-in-profiles-after-import/182924 "2021-03-11T20:29:00Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![TheDarkWizard](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/thedarkwizard/32/177913_2.png) [@TheDarkWizard](https://meta.discourse.org/u/TheDarkWizard)
#### Post date: [11 maart 2021 om 20:29 UTC](https://meta.discourse.org/t/rebuilding-top-topics-and-replies-in-profiles-after-import/182924/1 "2021-03-11T20:29:01Z")

</div>

Any decent way to accomplish this?

Like data exists since that was imported successfully.

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [12 maart 2021 om 14:42 UTC](https://meta.discourse.org/t/rebuilding-top-topics-and-replies-in-profiles-after-import/182924/3 "2021-03-12T14:42:17Z")

</div>

I think that stuff gets done daily?

---

<div class="post-metadata">

### Author: ![TheDarkWizard](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/thedarkwizard/32/177913_2.png) [@TheDarkWizard](https://meta.discourse.org/u/TheDarkWizard)
#### Post date: [12 maart 2021 om 15:51 UTC](https://meta.discourse.org/t/rebuilding-top-topics-and-replies-in-profiles-after-import/182924/4 "2021-03-12T15:51:58Z")

</div>

It does not it seems.

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [12 maart 2021 om 15:58 UTC](https://meta.discourse.org/t/rebuilding-top-topics-and-replies-in-profiles-after-import/182924/5 "2021-03-12T15:58:02Z")

</div>

Have all of your sidekiq jobs completed? If they have, you can look at the bulk importers and there are some rake tasks that might do that. (Or perhaps someone else will give you an actual answer.)

---

<div class="post-metadata">

### Author: ![Ghan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ghan/32/177964_2.png) [@Ghan](https://meta.discourse.org/u/Ghan)
#### Post date: [12 maart 2021 om 16:44 UTC](https://meta.discourse.org/t/rebuilding-top-topics-and-replies-in-profiles-after-import/182924/6 "2021-03-12T16:44:13Z")

</div>

Yes, all the sidekiq jobs have run successfully. The import has been running for a couple of weeks now and this data has not corrected itself. The ensure\_consistency rake task run after import doesn’t seem to rebuild this. There’s a rails console command to rebuild topic statistics that appears to fix this value, but that method is extremely slow. With our topic count we’d be looking at over a month for it to process all the topics at the rate it was going.

---

<div class="post-metadata">

### Author: ![TheDarkWizard](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/thedarkwizard/32/177913_2.png) [@TheDarkWizard](https://meta.discourse.org/u/TheDarkWizard)
#### Post date: [12 maart 2021 om 17:56 UTC](https://meta.discourse.org/t/rebuilding-top-topics-and-replies-in-profiles-after-import/182924/7 "2021-03-12T17:56:19Z")

</div>

Any ideas from anyone on the [@team](https://meta.discourse.org/groups/team)

Would be cool to properly fix profile stats.

---

<div class="post-metadata">

### Author: ![TheDarkWizard](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/thedarkwizard/32/177913_2.png) [@TheDarkWizard](https://meta.discourse.org/u/TheDarkWizard)
#### Post date: [26 maart 2021 om 00:11 UTC](https://meta.discourse.org/t/rebuilding-top-topics-and-replies-in-profiles-after-import/182924/8 "2021-03-26T00:11:48Z")

</div>

We still investigating how to resolve this that isn’t just a rails console command.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [17 januari 2022 om 20:14 UTC](https://meta.discourse.org/t/rebuilding-top-topics-and-replies-in-profiles-after-import/182924/9 "2022-01-17T20:14:42Z")

</div>

Did you ever get this resolved @TheDarkWizard?

---

<div class="post-metadata">

### Author: ![TheDarkWizard](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/thedarkwizard/32/177913_2.png) [@TheDarkWizard](https://meta.discourse.org/u/TheDarkWizard)
#### Post date: [6 februari 2022 om 21:37 UTC](https://meta.discourse.org/t/rebuilding-top-topics-and-replies-in-profiles-after-import/182924/10 "2022-02-06T21:37:14Z")

</div>

I apologize for the delay in getting back to you.

We paused our rebuild tests for now since the community wasn’t ready for the migration but we did many rebuilds and tests, and I believe one of them worked. @Ghan was the person responsible for building the migration script, so he’d be able to answer better. I did the styling and other decisions for our site.

---

<div class="post-metadata">

### Author: ![TheDarkWizard](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/thedarkwizard/32/177913_2.png) [@TheDarkWizard](https://meta.discourse.org/u/TheDarkWizard)
#### Post date: [26 april 2022 om 03:02 UTC](https://meta.discourse.org/t/rebuilding-top-topics-and-replies-in-profiles-after-import/182924/11 "2022-04-26T03:02:43Z")

</div>

Going to possibly start looking at all this again, will report back any issues that come up!

---

<div class="post-metadata">

### Author: ![TheDarkWizard](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/thedarkwizard/32/177913_2.png) [@TheDarkWizard](https://meta.discourse.org/u/TheDarkWizard)
#### Post date: [6 juli 2023 om 16:26 UTC](https://meta.discourse.org/t/rebuilding-top-topics-and-replies-in-profiles-after-import/182924/12 "2023-07-06T16:26:28Z")

</div>

> [@codinghorror](#):
>
> Did you ever get this resolved @TheDarkWizard?

We still haven’t figured this out.
